add zhCN Localization(not finished yet)

This commit is contained in:
cwdg
2008-06-18 15:42:12 +00:00
parent ddc11d864e
commit 9b14b72fe9
2 changed files with 38 additions and 18 deletions
+18 -18
View File
@@ -28,8 +28,8 @@ local function getOptions()
lock = {
order = 1,
type = "toggle",
name = "Lock",
desc = "Lock all bars.",
name = L["Lock"],
desc = L["Lock all bars."],
get = function() return Bartender4.Locked end,
set = function(info, value) Bartender4[value and "Lock" or "Unlock"](Bartender4) end,
},
@@ -44,13 +44,13 @@ local function getOptions()
bars = {
order = 20,
type = "group",
name = "Bars",
name = L["Bars"],
args = {
selfcastmodifier = {
order = 1,
type = "toggle",
name = "Self-Cast by modifier",
desc = "Toggle the use of the modifier-based self-cast functionality.",
name = L["Self-Cast by modifier"],
desc = L["Toggle the use of the modifier-based self-cast functionality."],
get = getFunc,
set = function(info, value)
Bartender4.db.profile.selfcastmodifier = value
@@ -60,8 +60,8 @@ local function getOptions()
selfcastrightclick = {
order = 2,
type = "toggle",
name = "Right-click Self-Cast",
desc = "Toggle the use of the right-click self-cast functionality.",
name = L["Right-click Self-Cast"],
desc = L["Toggle the use of the right-click self-cast functionality."],
get = getFunc,
set = function(info, value)
Bartender4.db.profile.selfcastrightclick = value
@@ -70,8 +70,8 @@ local function getOptions()
},
range = {
order = 10,
name = "Out of Range Indicator",
desc = "Configure how the Out of Range Indicator should display on the buttons.",
name = L["Out of Range Indicator"],
desc = L["Configure how the Out of Range Indicator should display on the buttons."],
type = "select",
style = "dropdown",
get = function()
@@ -87,7 +87,7 @@ local function getOptions()
order = 13,
type = "group",
guiInline = true,
name = "Colors",
name = L["Colors"],
get = function(info)
local color = Bartender4.db.profile.colors[info[#info]]
return color.r, color.g, color.b
@@ -101,22 +101,22 @@ local function getOptions()
range = {
order = 1,
type = "color",
name = "Out of Range Indicator",
desc = "Specify the Color of the Out of Range Indicator",
name = L["Out of Range Indicator"],
desc = L["Specify the Color of the Out of Range Indicator"],
},
mana = {
order = 2,
type = "color",
name = "Out of Mana Indicator",
desc = "Specify the Color of the Out of Mana Indicator",
name = L["Out of Mana Indicator"],
desc = L["Specify the Color of the Out of Mana Indicator"],
},
},
},
tooltip = {
order = 20,
name = "Button Tooltip",
name = L["Button Tooltip"],
type = "select",
desc = "Configure the Button Tooltip.",
desc = L["Configure the Button Tooltip."],
values = { ["disabled"] = "Disabled", ["nocombat"] = "Disabled in Combat", ["enabled"] = "Enabled" },
get = function() return Bartender4.db.profile.tooltip end,
set = function(info, value) Bartender4.db.profile.tooltip = value end,
@@ -124,8 +124,8 @@ local function getOptions()
},
},
faq = {
name = "FAQ",
desc = "Frequently Asked Questions",
name = L["FAQ"],
desc = L["Frequently Asked Questions"],
type = "group",
order = 200,
args = {
+20
View File
@@ -1 +1,21 @@
--[[ $Id$ ]]
local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4","zhCN")
if not L then return end
L["Lock"]="锁定"
L["Lock all bars."]="锁定所有动作条。"
L["Bars"]="动作条"
L["Self-Cast by modifier"]="修改自我施法"
L["Toggle the use of the modifier-based self-cast functionality."]="关闭/开启 自我施法功能。"
L["Right-click Self-Cast"]="右键自我施法"
L["Toggle the use of the right-click self-cast functionality."]="关闭/开启 使用右键点击对自己施法功能。"
L["Out of Range Indicator"]="射程指示器"
L["Configure how the Out of Range Indicator should display on the buttons."]="显示/隐藏 射程基本按钮着色。"
L["Colors"]="颜色设置"
L["Out of Range Indicator"]="射程指示器"
L["Specify the Color of the Out of Range Indicator"]="设置射程之外的标识颜色"
L["Out of Mana Indicator"]="低法力指示器"
L["Specify the Color of the Out of Mana Indicator"]="设置法力不足的标识颜色"
L["Button Tooltip"]="按钮鼠标提示"
L["Configure the Button Tooltip."]="设置按钮的鼠标提示。"
L["FAQ"]="帮助"
L["Frequently Asked Questions"]="帮助信息"