diff --git a/Options/Options.lua b/Options/Options.lua index 652fd45..b5082f2 100644 --- a/Options/Options.lua +++ b/Options/Options.lua @@ -15,6 +15,7 @@ do end end +local KB = LibStub("LibKeyBound-1.0") local function getOptions() if not Bartender4.options then Bartender4.options = { @@ -40,6 +41,16 @@ local function getOptions() get = getFunc, set = setFunc, }, + kb = { + order = 3, + type = "execute", + name = L["Key Bindings"], + desc = L["Switch to key-binding mode"], + func = function() + KB:Toggle() + AceConfigDialog:Close("Bartender4") + end, + }, bars = { order = 20, type = "group", diff --git a/locale/deDE.lua b/locale/deDE.lua index c5eb4ba..933a803 100644 --- a/locale/deDE.lua +++ b/locale/deDE.lua @@ -69,6 +69,7 @@ if not L then return end -- L["Hide with pet"] = true -- L["Hide without pet"] = true -- L["Hotkey Mode"] = true +-- L["Key Bindings"] = true -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true @@ -98,6 +99,7 @@ if not L then return end -- L["Stance Configuration"] = true -- L["State Configuration"] = true -- L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true +-- L["Switch to key-binding mode"] = true -- L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true -- L["The default behaviour of this bar when no state-based paging option affects it."] = true diff --git a/locale/enUS.lua b/locale/enUS.lua index 1b68be0..7652aeb 100644 --- a/locale/enUS.lua +++ b/locale/enUS.lua @@ -69,6 +69,7 @@ L["Hide when Possessing"] = true L["Hide with pet"] = true L["Hide without pet"] = true L["Hotkey Mode"] = true +L["Key Bindings"] = true L["Keyring"] = true L["Lock"] = true L["Lock all bars."] = true @@ -98,6 +99,7 @@ L["Stance Bar"] = true L["Stance Configuration"] = true L["State Configuration"] = true L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true +L["Switch to key-binding mode"] = true L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true L["The default behaviour of this bar when no state-based paging option affects it."] = true diff --git a/locale/esES.lua b/locale/esES.lua index 5bfc04c..e163968 100644 --- a/locale/esES.lua +++ b/locale/esES.lua @@ -69,6 +69,7 @@ if not L then return end -- L["Hide with pet"] = true -- L["Hide without pet"] = true -- L["Hotkey Mode"] = true +-- L["Key Bindings"] = true -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true @@ -98,6 +99,7 @@ if not L then return end -- L["Stance Configuration"] = true -- L["State Configuration"] = true -- L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true +-- L["Switch to key-binding mode"] = true -- L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true -- L["The default behaviour of this bar when no state-based paging option affects it."] = true diff --git a/locale/esMX.lua b/locale/esMX.lua index 417ffa2..565a08d 100644 --- a/locale/esMX.lua +++ b/locale/esMX.lua @@ -69,6 +69,7 @@ if not L then return end -- L["Hide with pet"] = true -- L["Hide without pet"] = true -- L["Hotkey Mode"] = true +-- L["Key Bindings"] = true -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true @@ -98,6 +99,7 @@ if not L then return end -- L["Stance Configuration"] = true -- L["State Configuration"] = true -- L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = true +-- L["Switch to key-binding mode"] = true -- L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = true -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true -- L["The default behaviour of this bar when no state-based paging option affects it."] = true diff --git a/locale/frFR.lua b/locale/frFR.lua index 897100a..1b29b4b 100644 --- a/locale/frFR.lua +++ b/locale/frFR.lua @@ -69,6 +69,7 @@ L["Hide the Macro Text on the buttons of this bar."] = "Masque le texte des macr -- L["Hide with pet"] = true -- L["Hide without pet"] = true L["Hotkey Mode"] = "Mode Raccourci" +-- L["Key Bindings"] = true L["Keyring"] = "Trousseau de clés" L["Lock"] = "Verrouiller" L["Lock all bars."] = "Verrouille toutes les barres." @@ -98,6 +99,7 @@ L["Stance Bar"] = "Barre des postures" L["Stance Configuration"] = "Configuration des postures" L["State Configuration"] = "Configuration des états" L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "Permute cette barre vers la barre de posssession lors du contrôle d'un PNJ (par ex. avec Contrôle mental)." +-- L["Switch to key-binding mode"] = true L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "Le menu Alignement est toujours sur la liste des choses à faire.\n\nVoici un bref aperçu de ce qui est prévu :\n\n\t- Positionnement absolu et relatif des barres\n\t- Barres \"collées\" les unes contre les autres et la construction de groupes" -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true L["The default behaviour of this bar when no state-based paging option affects it."] = "Le comportement par défaut de cette barre quand les options de permutation basés sur les états ne l'affecte pas." diff --git a/locale/koKR.lua b/locale/koKR.lua index 502963d..d935957 100644 --- a/locale/koKR.lua +++ b/locale/koKR.lua @@ -69,6 +69,7 @@ L["Hide when Possessing"] = "지배 숨기기" L["Hide with pet"] = "소환수 숨기기" L["Hide without pet"] = "소환수 없음 숨기기" L["Hotkey Mode"] = "단축키 모드" +-- L["Key Bindings"] = true L["Keyring"] = "열쇠 고리" L["Lock"] = "고정" L["Lock all bars."] = "모든 바를 고정합니다." @@ -98,6 +99,7 @@ L["Stance Bar"] = "태세바" L["Stance Configuration"] = "태세 설정" L["State Configuration"] = "상태 설정" L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "npc를 지배중인 경우에 지배바로 이 바를 교체합니다. (예: 정신 지배)" +-- L["Switch to key-binding mode"] = true L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "현재 바 정렬 옵션은 미구현되어 있습니다." L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = "모든 행동바의 기본상태를 표시했을 때, 바의 설정을 조절할 수 있습니다." L["The default behaviour of this bar when no state-based paging option affects it."] = "형세-기반에 근거한 페이지 교체 옵션에 영향을 미치지 않는 경우에 이 바의 기본 동작을 설정합니다." diff --git a/locale/ruRU.lua b/locale/ruRU.lua index 7295047..36da970 100644 --- a/locale/ruRU.lua +++ b/locale/ruRU.lua @@ -69,6 +69,7 @@ L["Hide the Macro Text on the buttons of this bar."] = "Не отображат -- L["Hide with pet"] = true -- L["Hide without pet"] = true L["Hotkey Mode"] = "Использовать ярлык" +-- L["Key Bindings"] = true L["Keyring"] = "Связка ключей" L["Lock"] = "Блокировка" L["Lock all bars."] = "Заблокировать все панели" @@ -98,6 +99,7 @@ L["Stance Bar"] = "Панель стоек" L["Stance Configuration"] = "Настройка стоек" L["State Configuration"] = "Настройка состояния" L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "Переключать эту панель на панель контроля, когда вы контрлируете NPC (например 'Контроль Разума')" +-- L["Switch to key-binding mode"] = true L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "Настройки выравнивания все еще в разработке.\n\nВ качестве информации, планируется:\n\n\t- Абсолютное и относительное позиционирование панелей\n\t- Панели 'прилипающие' друг к другу и создание кластеров" -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true L["The default behaviour of this bar when no state-based paging option affects it."] = "Поведение данной панели когда она не попадает под какие-либо другие модификаторы состояния." diff --git a/locale/zhCN.lua b/locale/zhCN.lua index deb09ec..24f7492 100644 --- a/locale/zhCN.lua +++ b/locale/zhCN.lua @@ -69,6 +69,7 @@ L["Hide the Macro Text on the buttons of this bar."] = "在该动作条上不显 -- L["Hide with pet"] = true -- L["Hide without pet"] = true L["Hotkey Mode"] = "快捷键模式" +-- L["Key Bindings"] = true L["Keyring"] = "钥匙链" L["Lock"] = "锁定" L["Lock all bars."] = "锁定所有动作条。" @@ -98,6 +99,7 @@ L["Stance Bar"] = "姿态栏" L["Stance Configuration"] = "姿态配置" L["State Configuration"] = "状态配置" L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "当控制某个NPC时切换该动作条至控制技能栏。(例如心灵控制)" +-- L["Switch to key-binding mode"] = true L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "该部分功能尚未完成" -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true L["The default behaviour of this bar when no state-based paging option affects it."] = "当没有状态配置作用于该动作条时的动作条默认行为" diff --git a/locale/zhTW.lua b/locale/zhTW.lua index be4561b..fa88ef5 100644 --- a/locale/zhTW.lua +++ b/locale/zhTW.lua @@ -69,6 +69,7 @@ L["Hide the Macro Text on the buttons of this bar."] = "隱藏這個動作條的 -- L["Hide with pet"] = true -- L["Hide without pet"] = true L["Hotkey Mode"] = "熱鍵模式" +-- L["Key Bindings"] = true L["Keyring"] = "鑰匙圈" L["Lock"] = "鎖定" L["Lock all bars."] = "鎖定所有動作列" @@ -98,6 +99,7 @@ L["Stance Bar"] = "姿勢列" L["Stance Configuration"] = "姿勢設定" L["State Configuration"] = "狀態設定" L["Switch this bar to the Possess Bar when possessing a npc (eg. Mind Control)"] = "當控制一個NPC時切換此動作條為控制條(eg. 心靈控制)" +-- L["Switch to key-binding mode"] = true L["The Alignment menu is still on the TODO.\n\nAs a quick preview of whats planned:\n\n\t- Absolute and relative Bar Positioning\n\t- Bars \"snapping\" together and building clusters"] = "對齊選單還在趕工進行中" -- L["The bar default is to be visible all the time, you can configure conditions here to control when the bar should be hidden."] = true L["The default behaviour of this bar when no state-based paging option affects it."] = "沒有狀態設定於動作條為此動作條預設行為"