mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 12:30:50 +00:00
Build the class name lookup from FillLocalizedClassList
Replace the hardcoded per-locale ["class"] reverse-lookup tables (localized
class name -> token) with a runtime build in GetEnvironment:
L["class"] = tInvert(FillLocalizedClassList({}))
The client's own class list supplies the localized names for whatever locale is
running, so the tables were pure duplication -- and this also covers locales the
hardcoded tables never listed. Consumers (libunitscan, panel, socialmod) are
unchanged. Drop ["class"] from every locale file.
This commit is contained in:
Vendored
-11
@@ -1,16 +1,5 @@
|
||||
pfUI_locale["koKR"] = {}
|
||||
|
||||
pfUI_locale["koKR"]["class"] = {
|
||||
["흑마법사"] = "WARLOCK",
|
||||
["전사"] = "WARRIOR",
|
||||
["사냥꾼"] = "HUNTER",
|
||||
["마법사"] = "MAGE",
|
||||
["사제"] = "PRIEST",
|
||||
["드루이드"] = "DRUID",
|
||||
["성기사"] = "PALADIN",
|
||||
["주술사"] = "SHAMAN",
|
||||
["도적"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["koKR"]["healduration"] = {
|
||||
["Rejuvenation"] = "회복의 지속시간이 3초만큼 증가합니다.",
|
||||
|
||||
Reference in New Issue
Block a user