mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-02 17:06:57 +00:00
Load only the client's locale strings; abbreviate numbers through ClassicAPI's numeric formatter; build the module environment once instead of on every load
This commit is contained in:
@@ -236,7 +236,9 @@ pfUI:RegisterModule("turtle-wow", function ()
|
||||
-- castbar.lua reads pfUI.synthetic_casts[unit] as a fallback when
|
||||
-- C_Spell.UnitCastingInfo returns nil.
|
||||
pfUI_locale["enUS"]["customcast"]["TRUESHOT"] = "Steady Shot"
|
||||
pfUI_locale["zhCN"]["customcast"]["TRUESHOT"] = "稳固射击"
|
||||
if pfUI_locale["zhCN"] then -- loaded on zhCN clients only
|
||||
pfUI_locale["zhCN"]["customcast"]["TRUESHOT"] = "稳固射击"
|
||||
end
|
||||
pfUI.synthetic_casts = pfUI.synthetic_casts or {}
|
||||
|
||||
local steadyShotName = L["customcast"]["TRUESHOT"]
|
||||
|
||||
Reference in New Issue
Block a user