mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
881a17e508
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.
34 lines
714 B
Lua
34 lines
714 B
Lua
pfUI_locale["enUS"] = {}
|
|
|
|
|
|
pfUI_locale["enUS"]["healduration"] = {
|
|
["Rejuvenation"] = "Increases the duration of your Rejuvenation spell by 3 sec.",
|
|
["Renew"] = "Increases the duration of your Renew spell by 3 sec.",
|
|
}
|
|
|
|
pfUI_locale["enUS"]["customcast"] = {
|
|
["AIMEDSHOT"] = "Aimed Shot",
|
|
["MULTISHOT"] = "Multi-Shot",
|
|
}
|
|
|
|
|
|
|
|
pfUI_locale["enUS"]["judgements"] = {
|
|
["Judgement of Justice"] = true,
|
|
["Judgement of Light"] = true,
|
|
["Judgement of Wisdom"] = true,
|
|
["Judgement of the Crusader"] = true,
|
|
}
|
|
|
|
pfUI_locale["enUS"]["resurrections"] = {
|
|
["Resurrection"] = true,
|
|
["Rebirth"] = true,
|
|
["Redemption"] = true,
|
|
["Ancestral Spirit"] = true,
|
|
}
|
|
|
|
|
|
-- custom entries not detected by DBC extractor
|
|
|
|
|