api: add translation mechanics

This commit is contained in:
shagu
2017-06-24 14:43:19 +02:00
parent fa053a5f78
commit 5832215f95
14 changed files with 1981 additions and 488 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ pfUI:RegisterModule("skin", function ()
local pfUIButton = CreateFrame("Button", "GameMenuButtonPFUI", GameMenuFrame, "GameMenuButtonTemplate")
pfUIButton:SetPoint("TOP", 0, -10)
pfUIButton:SetText("\"pfUI\" Settings")
pfUIButton:SetText(T["pfUI Settings"])
pfUIButton:SetScript("OnClick", function()
pfUI.gui:Show()
HideUIPanel(GameMenuFrame)