Skip to content

Commit

Permalink
Merge pull request #15 from JasonDepp/localization-zhCN
Browse files Browse the repository at this point in the history
Localization for zhCN
  • Loading branch information
Limmek authored Aug 7, 2024
2 parents f663bd1 + 1e6023d commit 58d8f61
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 0 deletions.
1 change: 1 addition & 0 deletions Locales/Locales.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
..\FrameXML\UI.xsd">

<Script file="enUS.lua"/>
<Script file="zhCN.lua"/>
</Ui>
10 changes: 10 additions & 0 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,13 @@ L["SHITLIST_MINIMAP_TOOLTIP_CTRL_LEFT_CLICK"] = "|cFFD2B48C CTRL + Left-Click|cf
L["SHITLIST_CHAT_PLAYER"] = "Player:";
L["SHITLIST_CHAT_REASON"] = "Reason:";
L["SHITLIST_CHAT_DESCRIPTION"] = "Description:";

L["SHITLIST_DEFAULT_REASON"] = "None";
L["SHITLIST_DEFAULT_REASON_2"] = "Kill Stealing";
L["SHITLIST_DEFAULT_REASON_3"] = "Ninja Looting";
L["SHITLIST_DEFAULT_REASON_4"] = "Spamming";

L["SHITLIST_EXAMPLE_NAME"] = "Example";
L["SHITLIST_EXAMPLE_REALM"] = "Silvermoon";
L["SHITLIST_EXAMPLE_REASON"] = 1;
L["SHITLIST_EXAMPLE_DESC"] = "Example Description";
133 changes: 133 additions & 0 deletions Locales/zhCN.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
local L = LibStub("AceLocale-3.0"):NewLocale("Shitlist", "zhCN")
if not L then return end

-- White |cffffffff
-- Red |cffff0000
-- Light Blue |c0000ffff
-- Yellow |cffffd700
-- Orange |cffff8c00
-- Black |c00000000
-- GOLDENROD |cFFDAA520
-- TAN |cFFD2B48C

L["SHITLIST"] = "关注名单";
L["SHITLIST_DEBUG"] = "|cffff0000[关注名单]|cffffffff";
L["SHITLIST_PRINT"] = "|cffffd700[关注名单]|cffffffff";

L["SHITLIST_NA"] = "不适用";

L["SHITLIST_DISABLE"] = "正在禁用...";

L["SHITLIST_MENU_TITLE"] = "ShitList关注名单";
L["SHITLIST_MENU_SETTINGS"] = "设置选项";
L["SHITLIST_MENU_REASONS"] = "分组分类设置";
L["SHITLIST_MENU_LISTED_PLAYERS"] = "已关注的玩家";
L["SHITLIST_MENU_PROFILES"] = "配置文件";

L["SHITLIST_CONFIG_LOADING"] = "正在加载...";
L["SHITLIST_CONFIG_LOADED"] = "已加载.";
L["SHITLIST_CONFIG_VERSION"] = "版本:";
L["SHITLIST_CONFIG_REASONS"] = "分组分类:";
L["SHITLIST_CONFIG_LISTEDPLAYERS"] = "玩家名字:";
L["SHITLIST_CONFIG_REFRESH"] = "正在重新加载配置...";
L["SHITLIST_CONFIG_CHECK_OLD_DATA"] = "正在检查历史数据...";
L["SHITLIST_CONFIG_ADDED_OLD_DATA"] = "已添加历史数据:";
L["SHITLIST_CONFIG_DUPLICATE_DATA"] = "找到重复数据:";

L["SHITLIST_INFO_COMMANDS_TITLE"] = "命令";
L["SHITLIST_INFO_COMMANDS_DESC"] = "所有可用的斜杠命令";
L["SHITLIST_INFO_COMMANDS_1"] = "|cFFD2B48C/sli|cffffffff - 显示信息.";
L["SHITLIST_INFO_COMMANDS_2"] = "|cFFD2B48C/slo|cffffffff - 更改选项.";
L["SHITLIST_INFO_COMMANDS_3"] = "|cFFD2B48C/slr|cffffffff - 编辑分组分类.";
L["SHITLIST_INFO_COMMANDS_4"] = "|cFFD2B48C/slp|cffffffff - 编辑玩家信息.";
L["SHITLIST_INFO_COMMANDS_5"] = "|cFFD2B48C/slm|cffffffff - 小地图图标开关.";
L["SHITLIST_INFO_ABOUT_TITLE"] = "关于";
L["SHITLIST_INFO_ABOUT_VERSION"] = "版本";
L["SHITLIST_INFO_ABOUT_AUTHOR"] = "作者";
L["SHITLIST_INFO_ABOUT_CATEGORY"] = "插件类型";
L["SHITLIST_INFO_ABOUT_LOCALIZATION"] = "本地化";
L["SHITLIST_INFO_ABOUT_LICENSE"] = "许可证";
L["SHITLIST_INFO_ABOUT_WEB"] = "发布网站";

L["SHITLIST_SETTINGS"] = "设置选项";
L["SHITLIST_SETTINGS_TITLE"] = "关注名单 - 设置选项";
L["SHITLIST_SETTINGS_MINIMAP"] = "小地图图标";
L["SHITLIST_SETTINGS_MINIMAP_ICON"] = "隐藏图标";
L["SHITLIST_SETTINGS_MINIMAP_ICON_DESC"] = "显示或隐藏小地图图标";
L["SHITLIST_SETTINGS_MINIMAP_POS"] = "图标位置";
L["SHITLIST_SETTINGS_MINIMAP_POS_DESC"] = "调整小地图图标位置";
L["SHITLIST_SETTINGS_ANNOUNCEMENT"] = "聊天频道通告";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_DESC"] = "当发现已关注的玩家时允许向哪些聊天频道发布信息";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_PARY"] = "小队";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_PARY_DESC"] = "在小队聊天频道中发布关注名单通告";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_RAID"] = "团队";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_RAID_DESC"] = "在团队聊天频道中发布关注名单通告";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_INSTANCE"] = "副本";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_INSTANCE_DESC"] = "在副本聊天频道中发布关注名单通告";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_GUILD"] = "公会";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_GUILD_DESC"] = "在公会聊天频道中发布关注名单通告";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_DELAY"] = "发送延迟";
L["SHITLIST_SETTINGS_ANNOUNCEMENT_DELAY_DESC"] = "设置通告发送前的延迟时间(秒),以减少对聊天频道的干扰";

L["SHITLIST_SETTINGS_ALERT"] = "提示音";
L["SHITLIST_SETTINGS_ALERT_DESC"] = "配置当发现已关注的玩家时播放的提示音";
L["SHITLIST_SETTINGS_ALERT_ENABLED"] = "启用提示音";
L["SHITLIST_SETTINGS_ALERT_ENABLED_DESC"] = "勾选此选项以启用提示音功能. 当发现已关注的玩家时, 将播放配置的提示音.";
L["SHITLIST_SETTINGS_ALERT_SOUNDS"] = "声音列表";
L["SHITLIST_SETTINGS_ALERT_SOUNDS_DESC"] = "选择当发现已关注的玩家时要播放的声音.";
L["SHITLIST_SETTINGS_ALERT_DELAY"] = "提示间隔";
L["SHITLIST_SETTINGS_ALERT_DELAY_DESC"] = "设置在为同一玩家播放下一个提示音之前需要等待的时间(秒). 这有助于防止在短时间内重复播放相同的提示音.";

L["SHITLIST_REASONS_TITLE"] = "关注名单 - 分组分类设置";
L["SHITLIST_REASONS"] = "现有分组分类";
L["SHITLIST_REASON"] = "添加或编辑分组分类";
L["SHITLIST_REASON_DESCRIPTION"] = "添加,编辑或删除关注名单分组分类\n";
L["SHITLIST_REASON_REMOVE"] = "删除分组";
L["SHITLIST_REASON_REMOVE_CONFIRMATION"] = "您确定要删除:\n|cffffd700";
L["SHITLIST_REASON_COLOR"] = "选择颜色(此分组在鼠标提示中的颜色)";
L["SHITLIST_REASON_ALERT_ENABLED"] = "启用分组提示音"
L["SHITLIST_REASON_ALERT_ENABLED_DESC"] = "当前分组提示音效开关. 启用后, 当发现此分组内的玩家时, 将播放配置的提示音."

L["SHITLIST_LISTED_PLAYERS_TITLE"] = "关注名单 - 已关注的玩家";
L["SHITLIST_LISTED_PLAYERS"] = "已关注的玩家";
L["SHITLIST_LISTED_PLAYER"] = "已关注的玩家";
L["SHITLIST_LISTED_PLAYER_REMOVE"] = "取消关注玩家";
L["SHITLIST_LISTED_PLAYER_REMOVE_CONFIRMATION"] = "你确定要从关注名单里删除:\n|cffffd700";
L["SHITLIST_LISTED_PLAYER_NAME"] = "玩家名称";
L["SHITLIST_LISTED_PLAYER_REALM"] = "所在服务器";
L["SHITLIST_LISTED_PLAYER_REASON"] = "分组分类";
L["SHITLIST_LISTED_PLAYER_DESCRIPTION"] = "附加描述";
L["SHITLIST_LISTED_PLAYER_COLOR"] = "文字颜色(此附加描述在鼠标提示中的颜色)";
L["SHITLIST_LISTED_PLAYER_ALERT_ENABLED"] = "启用玩家提示音"
L["SHITLIST_LISTED_PLAYER_ALERT_ENABLED_DESC"] =
"为该玩家启用或禁用提示音. 如果该玩家所在的分组分类已禁用了提示音, 则不能开启."

L["SHITLIST_POPUP_ADD"] = "添加到关注名单";
L["SHITLIST_POPUP_EDIT"] = "编辑关注信息";
L["SHITLIST_POPUP_ANNOUNCEMENT"] = "聊天频道通告";
L["SHITLIST_POPUP_NEW_ADDED"] = "已成功添加到关注名单";

L["SHITLIST_POPUP_ANNOUNCEMENT_GUILD"] = "公会";
L["SHITLIST_POPUP_ANNOUNCEMENT_PARTY"] = "小队";
L["SHITLIST_POPUP_ANNOUNCEMENT_INSTANCE_CHAT"] = "副本";
L["SHITLIST_POPUP_ANNOUNCEMENT_RAID"] = "团队";

L["SHITLIST_MINIMAP_TOOLTIP_TITLE"] = "关注名单"
L["SHITLIST_MINIMAP_TOOLTIP_RIGHT_CLICK"] = "|cFFD2B48C 右键点击|cff00ff00 打开插件选项."
L["SHITLIST_MINIMAP_TOOLTIP_LEFT_CLICK"] = "|cFFD2B48C 左键点击|cff00ff00 打开全局设置."
L["SHITLIST_MINIMAP_TOOLTIP_SHIFT_LEFT_CLICK"] = "|cFFD2B48C SHIFT+左键点击|cff00ff00 管理分组分类."
L["SHITLIST_MINIMAP_TOOLTIP_CTRL_LEFT_CLICK"] = "|cFFD2B48C CTRL+左键点击|cff00ff00 查看已关注的玩家."

L["SHITLIST_CHAT_PLAYER"] = "玩家:";
L["SHITLIST_CHAT_REASON"] = "通告原因:";
L["SHITLIST_CHAT_DESCRIPTION"] = "附加描述:";

L["SHITLIST_DEFAULT_REASON"] = "小本本";
L["SHITLIST_DEFAULT_REASON_2"] = "黑名单";
L["SHITLIST_DEFAULT_REASON_3"] = "白名单";
L["SHITLIST_DEFAULT_REASON_4"] = "红名单";

L["SHITLIST_EXAMPLE_NAME"] = "变异骷髅";
L["SHITLIST_EXAMPLE_REALM"] = "灰烬使者";
L["SHITLIST_EXAMPLE_REASON"] = 1;
L["SHITLIST_EXAMPLE_DESC"] = "ShitList关注名单初代汉化大魔王";

0 comments on commit 58d8f61

Please sign in to comment.