diff --git a/Bar.lua b/Bar.lua index e0f5644..510f961 100644 --- a/Bar.lua +++ b/Bar.lua @@ -90,7 +90,7 @@ function Bartender4.Bar:Create(id, config) overlay:SetBackdropBorderColor(0.5, 0.5, 0, 0) overlay.Text = overlay:CreateFontString(nil, "ARTWORK") overlay.Text:SetFontObject(GameFontNormal) - overlay.Text:SetText(tonumber(id) and "Bar "..id or id.." Bar") + overlay.Text:SetText(tonumber(id) and L["Bar "]..id or L[id.." Bar"]) overlay.Text:Show() overlay.Text:ClearAllPoints() overlay.Text:SetPoint("CENTER", overlay, "CENTER") diff --git a/locale/enUS.lua b/locale/enUS.lua index cf2037f..b0e2cfd 100644 --- a/locale/enUS.lua +++ b/locale/enUS.lua @@ -87,6 +87,12 @@ L["Always Show"] = true L["Always Hide"] = true L["Show in Combat"] = true L["Hide in Combat"] = true +L["Bar "] = true +--L[id.." Bar"] +L["Pet Bar"] = true +L["Bag Bar"] = true +L["Stance Bar"] = true +L["MicroMenu Bar"] = true --ButtonBar.lua L["Padding"] = true L["Configure the padding of the buttons."] = true diff --git a/locale/zhCN.lua b/locale/zhCN.lua index ca6f1ca..bc0e9b1 100644 --- a/locale/zhCN.lua +++ b/locale/zhCN.lua @@ -88,6 +88,12 @@ L["Always Show"] = "始终显示" L["Always Hide"] = "始终隐藏" L["Show in Combat"] = "战斗中显示" L["Hide in Combat"] = "战斗中隐藏" +L["Bar "] = "动作条 " +--L[id.." Bar"] +L["Pet Bar"] = "宠物动作条" +L["Bag Bar"] = "背包栏" +L["Stance Bar"] = "姿态栏" +L["MicroMenu Bar"] = "微型菜单栏" --ButtonBar.lua L["Padding"] = "间距" L["Configure the padding of the buttons."] = "配置按钮之间的距离"