api: rework of locale system

This commit is contained in:
shagu
2017-02-26 21:29:27 +01:00
parent ce5abaa8b4
commit 6e26336d36
12 changed files with 101 additions and 108 deletions
+2 -2
View File
@@ -23,9 +23,9 @@ pfUI:RegisterModule("hunterbar", function ()
pfUI.hunterbar.scanner:SetAction(i)
if pfHunterBarScannerTextLeft1 and pfHunterBarScannerTextLeft1:GetText() then
if pfHunterBarScannerTextLeft1:GetText() == pfLocaleHunterbars[pfUI.cache["locale"]]["MELEE"] then
if pfHunterBarScannerTextLeft1:GetText() == L["hunterpaging"]["MELEE"] then
pfUI.hunterbar.melee = i
elseif pfHunterBarScannerTextLeft1:GetText() == pfLocaleHunterbars[pfUI.cache["locale"]]["RANGED"] then
elseif pfHunterBarScannerTextLeft1:GetText() == L["hunterpaging"]["RANGED"] then
pfUI.hunterbar.ranged = i
end
end