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
+2 -5
View File
@@ -37,11 +37,8 @@ pfUI:RegisterModule("hoverbind", function ()
pfUI.gui:Hide()
pfUI.hoverbind.edit:Show()
pfUI.info:ShowInfoBox("|cff33ffccKeybind Mode|r\n" ..
"This mode allows you to bind keyboard shortcuts to your actionbars.\n" ..
"By hovering a button with your cursor and pressing a key, the key will be assigned to that button.\n" ..
"Hit Escape on a button to remove bindings.\n\n" ..
"Press Escape or click on an empty area to leave the keybind mode.\n", 30, pfUI.hoverbind.edit)
local txt = T["|cff33ffccKeybind Mode|r\nThis mode allows you to bind keyboard shortcuts to your actionbars.\nBy hovering a button with your cursor and pressing a key, the key will be assigned to that button.\nHit Escape on a button to remove bindings.\n\nPress Escape or click on an empty area to leave the keybind mode."]
pfUI.info:ShowInfoBox(txt, 30, pfUI.hoverbind.edit)
end)
pfUI.hoverbind:SetScript("OnHide",function()