diff --git a/BagBar.lua b/BagBar.lua index 30c1646..b9ec76b 100644 --- a/BagBar.lua +++ b/BagBar.lua @@ -27,7 +27,7 @@ local noopFunc = function() end function BagBarMod:OnEnable() if not self.bar then - self.bar = setmetatable(Bartender4.ButtonBar:Create("Bag", self.db.profile), {__index = BagBar}) + self.bar = setmetatable(Bartender4.ButtonBar:Create(L["Bag"], self.db.profile), {__index = BagBar}) -- TODO: real start position self.bar:SetPoint("CENTER") @@ -102,7 +102,7 @@ function BagBarMod:SetupOptions() desc = L["Configure the Bag Bar"], childGroups = "tab", } - Bartender4:RegisterBarOptions("Bag", self.options) + Bartender4:RegisterBarOptions(L["Bag"], self.options) end self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions end diff --git a/MicroMenu.lua b/MicroMenu.lua index 04ef1c0..1e0992a 100644 --- a/MicroMenu.lua +++ b/MicroMenu.lua @@ -26,7 +26,7 @@ local noopFunc = function() end function MicroMenuMod:OnEnable() if not self.bar then - self.bar = setmetatable(Bartender4.Bar:Create("MicroMenu", self.db.profile), {__index = MicroMenuBar}) + self.bar = setmetatable(Bartender4.Bar:Create(L["MicroMenu"], self.db.profile), {__index = MicroMenuBar}) local buttons = {} table_insert(buttons, CharacterMicroButton) table_insert(buttons, SpellbookMicroButton) @@ -98,7 +98,7 @@ function MicroMenuMod:SetupOptions() desc = L["Configure the Micro Menu"], childGroups = "tab", } - Bartender4:RegisterBarOptions("MicroMenu", self.options) + Bartender4:RegisterBarOptions(L["MicroMenu"], self.options) end self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions end diff --git a/PetBar.lua b/PetBar.lua index 99a4f00..914ac5b 100644 --- a/PetBar.lua +++ b/PetBar.lua @@ -27,7 +27,7 @@ end function PetBarMod:OnEnable() if not self.bar then - self.bar = setmetatable(Bartender4.ButtonBar:Create("Pet", self.db.profile), {__index = PetBar}) + self.bar = setmetatable(Bartender4.ButtonBar:Create(L["Pet"], self.db.profile), {__index = PetBar}) local buttons = {} for i=1,10 do @@ -162,7 +162,7 @@ function PetBarMod:SetupOptions() desc = L["Configure the Pet Bar"], childGroups = "tab", } - Bartender4:RegisterBarOptions("Pet", self.options) + Bartender4:RegisterBarOptions(L["Pet"], self.options) end self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions end diff --git a/StanceBar.lua b/StanceBar.lua index ae3d2d7..258b23d 100644 --- a/StanceBar.lua +++ b/StanceBar.lua @@ -29,7 +29,7 @@ end function StanceBarMod:OnEnable() if not self.bar then - self.bar = setmetatable(Bartender4.ButtonBar:Create("Stance", self.db.profile), {__index = StanceBar}) + self.bar = setmetatable(Bartender4.ButtonBar:Create(L["Stance"], self.db.profile), {__index = StanceBar}) self.bar:ClearSetPoint("CENTER") self.bar:SetScript("OnEvent", StanceBar.OnEvent) @@ -93,7 +93,7 @@ function StanceBarMod:SetupOptions() childGroups = "tab", disabled = function(info) return GetNumShapeshiftForms() == 0 end, } - Bartender4:RegisterBarOptions("Stance", self.options) + Bartender4:RegisterBarOptions(L["Stance"], self.options) end self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions end diff --git a/locale/deDE.lua b/locale/deDE.lua index 110685a..a5b1f96 100644 --- a/locale/deDE.lua +++ b/locale/deDE.lua @@ -11,6 +11,7 @@ if not L then return end -- L["Always Hide"] = true -- L["Always Show"] = true -- L["Auto-Assist"] = true +--L["Bag"] = true -- L["Bag Bar"] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true @@ -65,6 +66,7 @@ if not L then return end -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true +--L["MicroMenu"] = true -- L["Micro Menu"] = true -- L["Modifier Based Switching"] = true -- L["No Display"] = true @@ -75,6 +77,7 @@ if not L then return end -- L["Out of Mana Indicator"] = true -- L["Out of Range Indicator"] = true -- L["Padding"] = true +--L["Pet"] = true -- L["Pet Bar"] = true -- L["Possess Bar"] = true -- L["Right-click Self-Cast"] = true @@ -87,6 +90,7 @@ if not L then return end -- L["Show/Hide"] = true -- L["Specify the Color of the Out of Mana Indicator"] = true -- L["Specify the Color of the Out of Range Indicator"] = true +--L["Stance"] = true -- L["Stance Bar"] = true -- L["Stance Configuration"] = true -- L["State Configuration"] = true diff --git a/locale/enUS.lua b/locale/enUS.lua index d5a9352..050cdde 100644 --- a/locale/enUS.lua +++ b/locale/enUS.lua @@ -11,6 +11,7 @@ L["Alpha"] = true L["Always Hide"] = true L["Always Show"] = true L["Auto-Assist"] = true +L["Bag"] = true L["Bag Bar"] = true L["Bar %s"] = true L["Bar Style & Layout"] = true @@ -65,6 +66,7 @@ L["Hotkey Mode"] = true L["Keyring"] = true L["Lock"] = true L["Lock all bars."] = true +L["MicroMenu"] = true L["Micro Menu"] = true L["Modifier Based Switching"] = true L["No Display"] = true @@ -75,6 +77,7 @@ L["Only show one Bag Button in the BagBar."] = true L["Out of Mana Indicator"] = true L["Out of Range Indicator"] = true L["Padding"] = true +L["Pet"] = true L["Pet Bar"] = true L["Possess Bar"] = true L["Right-click Self-Cast"] = true @@ -87,6 +90,7 @@ L["Show the keyring button."] = true L["Show/Hide"] = true L["Specify the Color of the Out of Mana Indicator"] = true L["Specify the Color of the Out of Range Indicator"] = true +L["Stance"] = true L["Stance Bar"] = true L["Stance Configuration"] = true L["State Configuration"] = true diff --git a/locale/esES.lua b/locale/esES.lua index 7637fcf..b0bb13e 100644 --- a/locale/esES.lua +++ b/locale/esES.lua @@ -11,6 +11,7 @@ if not L then return end -- L["Always Hide"] = true -- L["Always Show"] = true -- L["Auto-Assist"] = true +--L["Bag"] = true -- L["Bag Bar"] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true @@ -65,6 +66,7 @@ if not L then return end -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true +--L["MicroMenu"] = true -- L["Micro Menu"] = true -- L["Modifier Based Switching"] = true -- L["No Display"] = true @@ -75,6 +77,7 @@ if not L then return end -- L["Out of Mana Indicator"] = true -- L["Out of Range Indicator"] = true -- L["Padding"] = true +--L["Pet"] = true -- L["Pet Bar"] = true -- L["Possess Bar"] = true -- L["Right-click Self-Cast"] = true @@ -87,6 +90,7 @@ if not L then return end -- L["Show/Hide"] = true -- L["Specify the Color of the Out of Mana Indicator"] = true -- L["Specify the Color of the Out of Range Indicator"] = true +--L["Stance"] = true -- L["Stance Bar"] = true -- L["Stance Configuration"] = true -- L["State Configuration"] = true diff --git a/locale/frFR.lua b/locale/frFR.lua index bea9a00..42bd347 100644 --- a/locale/frFR.lua +++ b/locale/frFR.lua @@ -11,6 +11,7 @@ if not L then return end -- L["Always Hide"] = true -- L["Always Show"] = true -- L["Auto-Assist"] = true +--L["Bag"] = true -- L["Bag Bar"] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true @@ -65,6 +66,7 @@ if not L then return end -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true +--L["MicroMenu"] = true -- L["Micro Menu"] = true -- L["Modifier Based Switching"] = true -- L["No Display"] = true @@ -75,6 +77,7 @@ if not L then return end -- L["Out of Mana Indicator"] = true -- L["Out of Range Indicator"] = true -- L["Padding"] = true +--L["Pet"] = true -- L["Pet Bar"] = true -- L["Possess Bar"] = true -- L["Right-click Self-Cast"] = true @@ -87,6 +90,7 @@ if not L then return end -- L["Show/Hide"] = true -- L["Specify the Color of the Out of Mana Indicator"] = true -- L["Specify the Color of the Out of Range Indicator"] = true +--L["Stance"] = true -- L["Stance Bar"] = true -- L["Stance Configuration"] = true -- L["State Configuration"] = true diff --git a/locale/koKR.lua b/locale/koKR.lua index 6c86862..dc08f34 100644 --- a/locale/koKR.lua +++ b/locale/koKR.lua @@ -11,6 +11,7 @@ if not L then return end -- L["Always Hide"] = true -- L["Always Show"] = true -- L["Auto-Assist"] = true +--L["Bag"] = true -- L["Bag Bar"] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true @@ -65,6 +66,7 @@ L["Colors"] = "색상" -- L["Keyring"] = true L["Lock"] = "고정" -- L["Lock all bars."] = true +--L["MicroMenu"] = true -- L["Micro Menu"] = true -- L["Modifier Based Switching"] = true -- L["No Display"] = true @@ -72,21 +74,23 @@ L["Lock"] = "고정" -- L["Number of rows."] = true -- L["One Bag"] = true -- L["Only show one Bag Button in the BagBar."] = true -L["Out of Mana Indicator"] = "마나 표시" +-- L["Out of Mana Indicator"] = true L["Out of Range Indicator"] = "사거리 표시" -- L["Padding"] = true +--L["Pet"] = true -- L["Pet Bar"] = true -- L["Possess Bar"] = true L["Right-click Self-Cast"] = "오른쪽 클릭 자신에게 시전" -- L["Rows"] = true -- L["SHIFT"] = true -- L["Scale"] = true -L["Self-Cast by modifier"] = "기능키로 자신에게 시전" +-- L["Self-Cast by modifier"] = true -- L["Show in Combat"] = true -- L["Show the keyring button."] = true -- L["Show/Hide"] = true -L["Specify the Color of the Out of Mana Indicator"] = "마나 표시를 색상화 합니다." +-- L["Specify the Color of the Out of Mana Indicator"] = true L["Specify the Color of the Out of Range Indicator"] = "사거리 표시를 색상화 합니다." +--L["Stance"] = true -- L["Stance Bar"] = true -- L["Stance Configuration"] = true -- L["State Configuration"] = true @@ -98,3 +102,4 @@ L["Specify the Color of the Out of Range Indicator"] = "사거리 표시를 색 -- L["Toggle the use of the modifier-based self-cast functionality."] = true -- L["Toggle the use of the right-click self-cast functionality."] = true -- L["Zoom"] = true + diff --git a/locale/zhCN.lua b/locale/zhCN.lua index a33de11..760de9b 100644 --- a/locale/zhCN.lua +++ b/locale/zhCN.lua @@ -3,7 +3,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "zhCN") if not L then return end --- L["%s Bar"] = true +L["%s Bar"] = "%s栏" L["ALT"] = "按下ALT" L["ActionBar Switching"] = "切换动作条" L["Alignment"] = "对齐" @@ -11,6 +11,7 @@ L["Alpha"] = "透明度" L["Always Hide"] = "始终隐藏" L["Always Show"] = "始终显示" L["Auto-Assist"] = "自动协助" +L["Bag"] = "背包" L["Bag Bar"] = "背包栏" L["Bar %s"] = "动作条 %s" L["Bar Style & Layout"] = "动作条风格与布局" @@ -38,7 +39,7 @@ L["Configure when to Show/Hide the bar."] = "配置何时显示/隐藏动作条 L["Default Bar State"] = "默认动作条状态" L["Disabled"] = "关闭" L["Disabled in Combat"] = "战斗中关闭" --- L["Enable Auto-Assist for this bar.\n Auto-Assist will automatically try to cast on your target's target if your target is no valid target for the selected spell."] = true + L["Enable Auto-Assist for this bar.\n Auto-Assist will automatically try to cast on your target's target if your target is no valid target for the selected spell."] = "为该动作条开启自动协助。\n 当你所尝试使用的技能不能对你当前目标生效时,自动协助会尝试对目标的目标使用该技能。" -- L["Enable Bar Switching based on the actionbar controls provided by the game."] = true L["Enable State-based Button Swaping"] = "开始基于状态配置的按钮切换功能。" L["Enable the Bag Bar"] = "开启背包栏" @@ -49,7 +50,6 @@ L["Enable the StanceBar"] = "开启姿态栏" L["Enable/Disable the bar."] = "开启/关闭 该动作条。" L["Enabled"] = "开启" L["FAQ"] = "帮助" --- L["FAQ_TEXT"] = true L["Fade Out"] = "淡出" L["Fade Out Alpha"] = "淡出程度" L["Fade Out Delay"] = "淡出延迟" @@ -65,6 +65,7 @@ L["Hotkey Mode"] = "快捷键模式" L["Keyring"] = "钥匙链" L["Lock"] = "锁定" L["Lock all bars."] = "锁定所有动作条。" +L["MicroMenu"] = "微型主菜单" L["Micro Menu"] = "微型主菜单" L["Modifier Based Switching"] = "修改基本切换" L["No Display"] = "不显示" @@ -72,9 +73,10 @@ L["Number of buttons."] = "设置按钮的数量。" L["Number of rows."] = "设置行数。" L["One Bag"] = "单背包" L["Only show one Bag Button in the BagBar."] = "仅仅显示一个背包来代表背包栏。" -L["Out of Mana Indicator"] = "低法力指示器" +L["Out of Mana Indicator"] = "低法力指示" L["Out of Range Indicator"] = "射程指示" L["Padding"] = "间距" +L["Pet"] = "宠物" L["Pet Bar"] = "宠物栏" L["Possess Bar"] = "控制栏" L["Right-click Self-Cast"] = "右键自我施法" @@ -87,13 +89,14 @@ L["Show the keyring button."] = "显示钥匙链" L["Show/Hide"] = "显示/隐藏" L["Specify the Color of the Out of Mana Indicator"] = "设置法力不足的标识颜色" L["Specify the Color of the Out of Range Indicator"] = "设置射程之外的标识颜色" +L["Stance"] = "姿态" 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["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 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 default behaviour of this bar when no state-based paging option affects it."] = "当没有状态配置作用于该动作条时的动作条默认行为" --- L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = true +L["Toggle Button Zoom\nFor more style options you need to install ButtonFacade"] = "开启/关闭 按钮缩放\n若需要进一步改变按钮风格,您需要安装插件ButtonFacade" L["Toggle the button grid."] = "勾选该选项将显示空的按钮。" L["Toggle the use of the modifier-based self-cast functionality."] = "关闭/开启 自我施法功能。" L["Toggle the use of the right-click self-cast functionality."] = "关闭/开启 使用右键点击对自己施法功能。" diff --git a/locale/zhTW.lua b/locale/zhTW.lua index a54241d..faa111e 100644 --- a/locale/zhTW.lua +++ b/locale/zhTW.lua @@ -11,6 +11,7 @@ if not L then return end -- L["Always Hide"] = true -- L["Always Show"] = true -- L["Auto-Assist"] = true +--L["Bag"] = true -- L["Bag Bar"] = true -- L["Bar %s"] = true -- L["Bar Style & Layout"] = true @@ -65,6 +66,7 @@ if not L then return end -- L["Keyring"] = true -- L["Lock"] = true -- L["Lock all bars."] = true +--L["MicroMenu"] = true -- L["Micro Menu"] = true -- L["Modifier Based Switching"] = true -- L["No Display"] = true @@ -75,6 +77,7 @@ if not L then return end -- L["Out of Mana Indicator"] = true -- L["Out of Range Indicator"] = true -- L["Padding"] = true +--L["Pet"] = true -- L["Pet Bar"] = true -- L["Possess Bar"] = true -- L["Right-click Self-Cast"] = true @@ -87,6 +90,7 @@ if not L then return end -- L["Show/Hide"] = true -- L["Specify the Color of the Out of Mana Indicator"] = true -- L["Specify the Color of the Out of Range Indicator"] = true +--L["Stance"] = true -- L["Stance Bar"] = true -- L["Stance Configuration"] = true -- L["State Configuration"] = true