Quantcast

The SkillToggle text now uses _G.SKILL instead of _G.SKILL_LEVEL so it will properly fit in other locales.

James D. Callahan III [07-11-10 - 06:37]
The SkillToggle text now uses _G.SKILL instead of _G.SKILL_LEVEL so it will properly fit in other locales.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 3e00705..bb87bfe 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -790,7 +790,7 @@ SkillToggle:SetHighlightTexture("Interface\\Buttons\\UI-CheckBox-Highlight")
 SkillToggle:SetDisabledCheckedTexture("Interface\\Buttons\\UI-CheckBox-Check-Disabled")
 SkillToggle:SetCheckedTexture("Interface\\Buttons\\UI-CheckBox-Check")

-SkillToggle.text:SetText(_G.SKILL_LEVEL)
+SkillToggle.text:SetText(_G.SKILL)
 SetTooltipScripts(SkillToggle, L["SKILL_TOGGLE_DESC"], 1)

 -------------------------------------------------------------------------------