mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46: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
656 B
Lua
34 lines
656 B
Lua
pfUI_locale["zhCN"] = {}
|
|
|
|
|
|
pfUI_locale["zhCN"]["healduration"] = {
|
|
["Rejuvenation"] = "使你的回春术的持续时间延长3秒。",
|
|
["Renew"] = "使你的恢复术的持续时间延长3秒。",
|
|
}
|
|
|
|
pfUI_locale["zhCN"]["customcast"] = {
|
|
["AIMEDSHOT"] = "瞄准射击",
|
|
["MULTISHOT"] = "多重射击",
|
|
}
|
|
|
|
|
|
|
|
pfUI_locale["zhCN"]["judgements"] = {
|
|
["公正审判"] = true,
|
|
["圣光审判"] = true,
|
|
["智慧审判"] = true,
|
|
["十字军审判"] = true,
|
|
}
|
|
|
|
pfUI_locale["zhCN"]["resurrections"] = {
|
|
["复活术"] = true,
|
|
["复生"] = true,
|
|
["救赎"] = true,
|
|
["先祖之魂"] = true,
|
|
}
|
|
|
|
|
|
-- custom entries not detected by DBC extractor
|
|
|
|
|