mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 02:36:02 +00:00
api: add translation mechanics
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user