Skip to content

Commit

Permalink
Merge pull request #13 from EKE00372/master
Browse files Browse the repository at this point in the history
Add zhTW/zhCN
  • Loading branch information
Aviana authored Aug 27, 2019
2 parents af53427 + 797441d commit 5a752ce
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
2 changes: 2 additions & 0 deletions YaHT.toc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ libs\AceConfig-3.0\AceConfig-3.0.xml

locales\enUS.lua
locales\deDE.lua
locales\zhTW.lua
locales\zhCN.lua

YaHT.lua
defaults.lua
Expand Down
62 changes: 62 additions & 0 deletions locales/zhCN.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
if select(2,UnitClass("player")) ~= "HUNTER" then return end
if( GetLocale() ~= "zhCN" ) then return end

local YaHT = select(2, ...)
local L = {
["Profiles"] = "配置",
["Overview"] = "一般",
["Options"] = "选项",
["Lock"] = "锁定",
["Lock / Unlock the timer bar for drag."] = "锁定或解锁计时条以拖动",
["Width"] = "宽度",
["Set the width."] = "设置宽度",
["Height"] = "高度",
["Set the height."] = "设置高度",
["Scale"] = "缩放",
["Set the scale."] = "调整缩放",
["Alpha"] = "透明度",
["Set the alpha."] = "调整透明度",
["Movement alpha"] = "移动透明度",
["Set the alpha while moving."] = "移动时的透明度。",
["Bar options"] = "计量条选项",
["Bar texture"] = "计量条材质",
["Bar border"] = "计量条边框",
["Background options"] = "背景选项",
["Background"] = "背景",
["Show a background."] = "显示背景",
["Background texture"] = "背景材质",
["Background Color"] = "背景颜色",
["Border options"] = "边框选项",
["Border"] = "边框",
["Show a border."] = "显示边框",
["Border texture"] = "边框材质",
["Border Color"] = "边框颜色",
["Timer Color"] = "计时颜色",
["Draw Color"] = "拉弓颜色",
["Fill from middle"] = "从中央开始填充",
["Extend the bar from the middle outwards."] = "从中央向两侧延伸。",
["Castbar options"] = "施法条选项",
["Show this on the default castbar."] = "在默认施法条上显示。",
["Announce options"] = "通报选项",
["Announce %s"] = "通报%s",
["Enable / disable the announcement."] = "启用或停用这项通报",
["Announce failed %s"] = "通报%s失败",
["Announce in"] = "通报在",
["The channel in which to announce."] = "选择将通报发送到哪个频道。",
["Whisper"] = "密语",
["Channel"] = "频道",
["Raid Warning"] = "团队警告",
["Say"] = "",
["Yell"] = "大喊",
["Party"] = "队伍",
["Raid"] = "团队",
["Channel/Playername"] = "频道/玩家名",
["Set the channel or player for whisper."] = "输入要密语的玩家名或发送通报的频道名",
["Announce Message"] = "通报信息",
["Announce Fail Message"] = "通报失败信息",
["Set the message to be broadcasted."] = "设定通报信息的格式。",
["announcemsg"] = "对%s施放宁神射击!",
["announcefailmsg"] = "对%s施放的宁神射击失败了!",
}

YaHT.L = L
62 changes: 62 additions & 0 deletions locales/zhTW.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
if select(2,UnitClass("player")) ~= "HUNTER" then return end
if( GetLocale() ~= "zhTW" ) then return end

local YaHT = select(2, ...)
local L = {
["Profiles"] = "設定",
["Overview"] = "一般",
["Options"] = "選項",
["Lock"] = "鎖定",
["Lock / Unlock the timer bar for drag."] = "鎖定或解鎖計時條以拖動",
["Width"] = "寬度",
["Set the width."] = "調整寬度",
["Height"] = "高度",
["Set the height."] = "調整高度",
["Scale"] = "縮放",
["Set the scale."] = "調整縮放",
["Alpha"] = "透明度",
["Set the alpha."] = "調整透明度",
["Movement alpha"] = "移動透明度",
["Set the alpha while moving."] = "移動時的透明度。",
["Bar options"] = "計量條選項",
["Bar texture"] = "計量條材質",
["Bar border"] = "計量條邊框",
["Background options"] = "背景選項",
["Background"] = "背景",
["Show a background."] = "顯示背景",
["Background texture"] = "背景材質",
["Background Color"] = "背景顏色",
["Border options"] = "邊框選項",
["Border"] = "邊框",
["Show a border."] = "顯示邊框",
["Border texture"] = "邊框材質",
["Border Color"] = "邊框顏色",
["Timer Color"] = "計時顏色",
["Draw Color"] = "拉弓顏色",
["Fill from middle"] = "從中央開始填充",
["Extend the bar from the middle outwards."] = "從中央向兩側延伸。",
["Castbar options"] = "施法條選項",
["Show this on the default castbar."] = "在預設施法條上顯示。",
["Announce options"] = "通報選項",
["Announce %s"] = "通報%s",
["Enable / disable the announcement."] = "啟用或停用這項通報",
["Announce failed %s"] = "通報%s失敗",
["Announce in"] = "通報在",
["The channel in which to announce."] = "選擇將通報發送到哪個頻道。",
["Whisper"] = "密語",
["Channel"] = "頻道",
["Raid Warning"] = "團隊警告",
["Say"] = "",
["Yell"] = "大喊",
["Party"] = "隊伍",
["Raid"] = "團隊",
["Channel/Playername"] = "頻道/玩家名",
["Set the channel or player for whisper."] = "輸入要密語的玩家名或發送通報的頻道名",
["Announce Message"] = "通報訊息",
["Announce Fail Message"] = "通報失敗訊息",
["Set the message to be broadcasted."] = "設定通報訊息的格式。",
["announcemsg"] = "對%s施放寧神射擊!",
["announcefailmsg"] = "對%s施放的寧神射擊失敗了!",
}

YaHT.L = L

0 comments on commit 5a752ce

Please sign in to comment.