Skip to content

Commit

Permalink
Improve localization
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Feb 14, 2024
1 parent dc2ae75 commit f972cdc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions LocaleExtra/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ if Addon.isEra then

Addon:AddExtraStatCapture("Spell Power",
{INPUT = "^Aumenta el daño y la curación de los hechizos mágicos y los efectos hasta en (%d+) p%.$"},
{INPUT = "^Aumenta el daño y la sanación de los hechizos mágicos y los efectos hasta en (%d+) p%.$"},
{INPUT = "^%+(%d+) de daño y Hechizos de curación$"})

Addon:AddExtraStatCapture("Arcane Damage",
Expand Down
8 changes: 7 additions & 1 deletion LocaleExtra/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ local ADDON_NAME, Data = ...
local Addon = LibStub("AceAddon-3.0"):GetAddon(ADDON_NAME)


local strMatch = string.match

-- override the default stat rewords for this locale
do
-- Addon:AddDefaultRewordByLocale(stat, val)

if Addon.isSoD then
local ITEM_MOD_CRIT_RATING_SHORT = strMatch(ITEM_MOD_CRIT_RATING_SHORT, "^[^%.]*")

Addon:AddDefaultRewordByLocale("Critical Strike Rating", ITEM_MOD_CRIT_RATING_SHORT)

Addon:AddDefaultRewordByLocale("Physical Hit Rating", format("%s (%s)", ITEM_MOD_HIT_RATING_SHORT, SPELL_SCHOOL0_NAME))
Addon:AddDefaultRewordByLocale("Physical Critical Strike Rating", format("%s (%s)", ITEM_MOD_CRIT_RATING_SHORT, SPELL_SCHOOL0_NAME))
end
Expand Down Expand Up @@ -84,7 +89,8 @@ if Addon.isEra then
{INPUT = "^%+(%d+) à la puissance des attaques à distance%.$"})

Addon:AddExtraStatCapture("Attack Power In Forms",
{INPUT = "^%+(%d+) à la puissance d'attaque pour les formes de félin, d'ours et d'ours redoutable uniquement%.$"})
{INPUT = "^%+(%d+) à la puissance d'attaque pour les formes de félin, d'ours et d'ours redoutable uniquement%.$"},
{INPUT = "^%+(%d+) à la puissance d’attaque pour les formes de félin, d’ours et d’ours redoutable uniquement%.$"})

Addon:AddExtraStatCapture("Spell Power",
{INPUT = "^Augmente les dégâts et les soins produits par les sorts et effets magiques de (%d+) au maximum%.$"},
Expand Down
3 changes: 2 additions & 1 deletion LocaleExtra/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ if Addon.isEra then
{INPUT = "^방패로 적의 공격을 방어할 확률이 (%d+%%)만큼 증가합니다%.$"})

Addon:AddExtraStatCapture("Attack Power In Forms",
{INPUT = "^표범, 광포한 곰, 곰 변신 상태일 때 전투력이 (%d+)만큼 증가합니다%.$"})
{INPUT = "^표범, 광포한 곰, 곰 변신 상태일 때 전투력이 (%d+)만큼 증가합니다%.$"},
{INPUT = "^표범, 곰, 광포한 곰 변신 상태일 때 전투력이 (%d+)만큼 증가합니다%.$"})

Addon:AddExtraStatCapture("Spell Power",
{INPUT = "^모든 주문 및 효과에 의한 피해와 치유량이 최대 (%d+)만큼 증가합니다%.$"},
Expand Down

0 comments on commit f972cdc

Please sign in to comment.