mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 11:50:49 +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["deDE"] = {}
|
||||
|
||||
pfUI_locale["deDE"]["class"] = {
|
||||
["Hexenmeister"] = "WARLOCK",
|
||||
["Krieger"] = "WARRIOR",
|
||||
["Jäger"] = "HUNTER",
|
||||
["Magier"] = "MAGE",
|
||||
["Priester"] = "PRIEST",
|
||||
["Druide"] = "DRUID",
|
||||
["Paladin"] = "PALADIN",
|
||||
["Schamane"] = "SHAMAN",
|
||||
["Schurke"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["deDE"]["healduration"] = {
|
||||
["Rejuvenation"] = "Erhöht die Dauer Eures Zaubers 'Verjüngung' um 3 Sek.",
|
||||
|
||||
Reference in New Issue
Block a user