local _addonName, _addon = ...;
local L = _addon:AddLocalization("zhCN", true);
if L == nil then return; end

L["ERROR_SYNC_NOT_IN_GUILD"] = "You are not in a guild, guild sync disabled!";
L["ERROR_SYNC_CHANNEL_NAME"] = "Channel name must be defined when channel sync is active!";
L["ERROR_SYNC_CHANNEL_JOIN"] = "Failed to join sync channel! Is the password wrong?";
L["SYNC_CHANNEL_JOINED"] = "Joined sync channel!";

L["ERROR_ENTRY_ALREADY_EXISTS"] = "Entry for %s already exists, recieved from %s.";
L["ERROR_MAXIMUM_REACHED"] = "Maximum number of local entries reached, you can't just add everybody!";

L["CHATLINE_TARGET_FOUND"] = "Found a target -> %s";
L["CHATLINE_PLAYER_USED_SPELL"] = "Hostile player %s used |cFF77FF77|Hspell:%d|h[%s]|h|r!";
L["CHATLINE_PLAYER_USED_SPELL_LISTED"] = "Listed player %s used |cFF77FF77|Hspell:%d|h[%s]|h|r!";

L["ERROR_SYNC_NOT_IN_GUILD"] = "你没有公会, 公会扫描禁用!";
L["ERROR_SYNC_CHANNEL_NAME"] = "当频道扫描启用时必须有一个频道名字!";
L["ERROR_SYNC_CHANNEL_JOIN"] = "加入同步频道失败! 你密码输错了?";
L["SYNC_CHANNEL_JOINED"] = "已加入同步频道!";

L["ERROR_ENTRY_ALREADY_EXISTS"] = "%s 已经存在, 接收自 %s.";
L["ERROR_MAXIMUM_REACHED"] = "已达到本地条目数上限, 你无法添加任何人!";

L["CHATLINE_TARGET_FOUND"] = "找到目标 -> %s";
L["CHATLINE_PLAYER_USED_SPELL"] = "敌对玩家 %s 使用了 |cFF77FF77|Hspell:%d|h[%s]|h|r!";
L["CHATLINE_PLAYER_USED_SPELL_LISTED"] = "列表中的玩家 %s 使用了 |cFF77FF77|Hspell:%d|h[%s]|h|r!";

L["SETTINGS_HEAD_GENERAL"] = "一般";
L["SETTINGS_HEAD_SYNC"] = "同步";
L["SETTINGS_HEAD_TESTSHOW"] = "测试/显示功能";
L["SETTINGS_HEAD_DATA"] = "删除数据";
L["SETTINGS_PLAY_SOUND"] = "播放声音"
L["SETTINGS_PLAY_SOUND_TT"] = "当一个目标被发现是播放声音.";
L["SETTINGS_TEST_SOUND"] = "为额外的的目标播放声音";
L["SETTINGS_SHOW_KILLER_LIST"] = "死亡时最后一个攻击者名单";
L["SETTINGS_SHOW_KILLER_LIST_TT"] = "显示最后一个攻击者的列表.";
L["SETTINGS_STEALTH_ALERT_ALL"] = "为所有玩家显示潜在(潜行)警报";
L["SETTINGS_STEALTH_ALERT_ALL_TT"] = "选中后，插件将为所有玩家显示潜在威胁的警报（潜行）, 不仅仅是名单上的那些.";
L["SETTINGS_SYNC_GUILD"] = "扫描公会";
L["SETTINGS_SYNC_GUILD_TT"] = "通过你的公会发送和接收条目.";
L["SETTINGS_SYNC_CHANNEL"] = "同步频道";
L["SETTINGS_SYNC_CHANNEL_TT"] = "通过自定义聊天频道发送和接收条目.";
L["SETTINGS_CHANNEL_NAME"] = "频道名:";
L["SETTINGS_CHANNEL_PW"] = "频道密码:";
L["SETTINGS_TRIGGER_CD"] = "触发CD:";
L["SETTINGS_TRIGGER_CD_TT"] = "警报后，等待几秒然后再次触发. 找到的目标仍将触发声音和聊天消息.";
L["SETTINGS_TARGET_CD"] = "每个目标CD:";
L["SETTINGS_TARGET_CD_TT"] = "在触发一个目标之后，完全忽略它的时间.";
L["SETTINGS_TEST_ALERT"] = "目标警报";
L["SETTINGS_TEST_NEARBY"] = "附近敌对";
L["SETTINGS_TEST_KILLER_LIST"] = "最近";
L["SETTINGS_DELETE_SYNCDATA"] = "接收到的目标数据";
L["SETTINGS_DELETE_SYNCDATA_SUCCESS"] = "删除从其他的玩家处接收的数据!";
L["SETTINGS_DELETE_SYNCDATA_SUCCESS_NAME"] = "删除从 %s 处接收的数据!";
L["SETTINGS_DELETE_DATA_SUCCESS"] = "列表已清除!";
L["SETTINGS_SNAP_MINIMAP"] = "将按钮放到小地图";
L["SETTINGS_SNAP_MINIMAP_TT"] = "将小地图按钮捕放到小地图边框.";
L["SETTINGS_DELETE_NBWLDATA"] = "附近敌对白名单";
L["SETTINGS_DELETE_NBWLDATA_SUCCESS"] = "清除附近白名单的敌对!";
L["SETTINGS_NEARBY_MAX_LABEL"] = "附近敌对列表大小";
L["SETTINGS_NEARBY_MAX_TT"] = "附近敌对列表大小数量";

L["SLASH_CHAT_COMMANDS"] = "|cFFFFFF00" .. _addonName .. " commands:";
L["SLASH_CHAT_SETTINGS"] = "|cFF00FFFF%s %s|r Open settings panel";
L["SLASH_CHAT_OPEN"] = "|cFF00FFFF%s %s|r Open hitlist";
L["SLASH_CHAT_ADD"] = "|cFF00FFFF%s %s|r Open add dialog";
L["SLASH_CHAT_NEARBY"] = "|cFF00FFFF%s %s|r Open and unlock nearby hostiles list";
L["SLASH_CHAT_UPDATE"] = "|cFF00FFFF%s %s|r Send manual update request if sync options are active, should be unnecessary";

L["UI_BACK"] = "返回";
L["UI_CANCEL"] = "取消";

L["UI_LIST_ADDED"] = "(%s 前)";
L["UI_LIST_DELMEN_TITLE"] = "删除条目";
L["UI_LIST_DELMEN_DELALL"] = "所有条目";
L["UI_LIST_DELMEN_DELALLREC"] = "所有接收的条目";
L["UI_LIST_DELMEN_DELSPECIFIC"] = "来自指定玩家";
L["UI_ADDFORM_TITLE"] = "添加目标";
L["UI_ADDFORM_NAME"] = "名字:";
L["UI_ADDFORM_REASON"] = "原因:";
L["UI_ADDFORM_ADD_BUTTON"] = "添加";
L["UI_ADDFORM_ERR_NAME"] = "目标名字缺失或太短!";
L["UI_ADDFORM_ERR_NAME_INVALID"] = "目标名字无效!";
L["UI_ADDFORM_ERR_REASON"] = "原因缺失或太短!";
L["UI_RMFORM_TITLE"] = "删除条目";
L["UI_RMFORM_DESC"] = "这将删除从指定玩家处接收的所有条目.";
L["UI_RMFORM_ERR_MISSING"] = "目标名字缺失或太短!";
L["UI_RMFORM_REMOVE"] = "删除";
L["UI_RMOTHER_TITLE"] = "删除外部条目";
L["UI_RMOTHER_DESC"] = "这将删除从其他玩家接收到的所有条目.";
L["UI_RMALL_TITLE"] = "删除所有条目";
L["UI_RMALL_DESC"] = "这将从列表中删除所有条目, 包括你的!";
L["UI_RMALL_REMOVE"] = "删除所有";

L["UI_LIST_BUTTON_NEARBY_SHOW"] = "显示附近敌对列表";
L["UI_LIST_BUTTON_NEARBY_UNLOCK"] = "解锁附近敌对列表";
L["UI_LIST_BUTTON_NEARBY_UNLOCK_COMBAT"] = "无法在战斗中解锁!";
L["UI_LIST_BUTTON_SETTINGS"] = "打开设置";
L["UI_LIST_BUTTON_ADD"] = "添加条目";
L["UI_LIST_BUTTON_DELETE"] = "管理条目";

L["UI_KILLERLIST_TITLE"] = "最近";

L["TIME_UNIT_SECOND"] = "秒";
L["TIME_UNIT_MINUTE"] = "分";
L["TIME_UNIT_HOUR"] = "小时";
L["TIME_UNIT_DAY"] = "天";
L["TIME_UNIT_WEEK"] = "周";
L["TIME_UNIT_MONTH"] = "月";
L["TIME_UNIT_SECONDS"] = "秒";
L["TIME_UNIT_MINUTES"] = "分";
L["TIME_UNIT_HOURS"] = "小时";
L["TIME_UNIT_DAYS"] = "天";
L["TIME_UNIT_WEEKS"] = "周";
L["TIME_UNIT_MONTHS"] = "月";

L["UI_MMB_OPEN"] = "打开 " .. _addonName;

L["UI_TARGETDISP_TARGET_FOUND"] = "发现敌对目标";
L["UI_TARGETDISP_TARGETING_LOCKED"] = "战斗结束后将瞄准他!";
L["UI_TARGETDISP_TT_TARGET"] = "左键目标对方.";
L["UI_TARGETDISP_TT_TARGET_HIDE"] = "左键目标, 右键隐藏.";

L["UI_TT_PLAYER_ON_LIST"] = "玩家在名单上:";
L["UI_TT_YOU"] = "你";
L["UI_TT_ADDED_BY"] = "(添加 %s ，在 %s 前)";

L["NBL_TITLE"] = "附近敌对";
L["UI_NBL_TT_TARGET_WL"] = "左键目标对方, (shift-)右键 (永久) 隐藏";