local _, core = ...

core.LOCALES = core.LOCALES or {}

local SUPPORTED_LOCALE_OVERRIDES = {
    zhCN = true,
    zhTW = true,
}

core.IsSupportedLocaleOverride = function(locale)
    return SUPPORTED_LOCALE_OVERRIDES[locale] == true
end

local function GetSavedLocaleOverride()
    local database = _G.MythicKeystoneAssistantDB
    if type(database) ~= "table" or type(database.global) ~= "table" then
        return nil
    end

    local override = database.global.debugLocaleOverride
    if core.IsSupportedLocaleOverride(override) then
        return override
    end

    return nil
end

core.GetActiveLocale = function()
    return GetSavedLocaleOverride() or GetLocale()
end

core.TRANSLATE = function(msg)
    if not msg then
        return msg
    end

    local activeLocale = core.GetActiveLocale and core.GetActiveLocale() or GetLocale()
    local dictionary = core.LOCALES and core.LOCALES[activeLocale]
    if dictionary and dictionary[msg] then
        return dictionary[msg]
    end

    return msg
end

core.LOCALES.zhCN = {
    ["ADDON.NAME"] = "大秘境钥石助手",
    ["ADDON.TITLE_PREFIX"] = "大秘境",
    ["ADDON.TITLE_SUFFIX"] = "钥匙助手",
    ["TAB.CHARACTERS"] = "角色",
    ["TAB.GROUP"] = "队伍",
    ["TAB.CARPOOL"] = "车队",
    ["TAB.DUNGEONS"] = "地下城",
    ["TAB.MEETINGSTONE"] = "集合石",
    ["TAB.FIND_GROUP"] = "寻找队伍",
    ["TAB.OPTIONS"] = "设置",
    ["SETTINGS.INTRO_TITLE"] = "插件简介",
    ["SETTINGS.INTRO_DESC"] = "大秘境钥石助手是一款集钥石管理、角色数据统计、集合石辅助、车队管理、传送通报与大秘分数查询于一体的大秘境综合管理插件，帮助玩家高效组队、核验阵容并快速完成战前准备。",
    ["SETTINGS.SHORTCUT_TITLE"] = "快捷呼出代码",
    ["SETTINGS.SHORTCUT_VALUE"] = "/mka、/dm",
    ["SETTINGS.VERSION_TITLE"] = "版本信息",
    ["SETTINGS.VERSION_FORMAT"] = "当前版本：%s",
    ["SETTINGS.AUTHOR_TITLE"] = "作者信息",
    ["SETTINGS.AUTHOR_HOMEPAGE_TITLE"] = "作者主页",
    ["SETTINGS.AUTHOR_HOMEPAGE_VALUE"] = "https://www.gaicas.com",
    ["SETTINGS.OPEN_PANEL"] = "打开配置面板",
    ["COMMON.CHARACTER"] = "角色",
    ["COMMON.NONE"] = "无",
    ["COMMON.UNKNOWN"] = "未知",
    ["COMMON.NO_RECORD"] = "无记录",
    ["COMMON.NO_INFORMATION"] = "暂无信息",
    ["COMMON.PREVIEW"] = "预览",
    ["COMMON.CONFIRM"] = "确认",
    ["COMMON.CLEAR"] = "清空",
    ["COLUMN.ARMOR"] = "护甲",
    ["COLUMN.KEYSTONE"] = "钥石",
    ["COLUMN.RATING"] = "评分",
    ["COLUMN.ROLES"] = "职责",
    ["COLUMN.TELEPORT"] = "传送",
    ["COLUMN.ACCOUNT_TYPE"] = "账号类型",
    ["COLUMN.OWNING_WARBAND"] = "所属战团",
    ["ARMOR.PLATE"] = "板甲",
    ["ARMOR.MAIL"] = "锁甲",
    ["ARMOR.LEATHER"] = "皮甲",
    ["ARMOR.CLOTH"] = "布甲",
    ["KEYSTONE.FORMAT"] = "钥石：%s (%d)",
    ["KEYSTONE.CURRENT"] = "当前钥石",
    ["KEYSTONE.NONE"] = "无钥石",
    ["KEYSTONE.UNAVAILABLE"] = "暂无钥匙",
    ["KEYSTONE.LEVEL_SUFFIX"] = "层",
    ["AFFIX.FORTIFIED"] = "坚韧",
    ["RATING.SEASON"] = "赛季评分",
    ["RATING.PREFIX"] = "评分：",
    ["RATING.POINTS_SUFFIX"] = " 分",
    ["RATING.UNAVAILABLE"] = "获取失败",
    ["ROLE.SELECTION"] = "职责选择",
    ["SPEC.CURRENT"] = "当前专精",
    ["SPEC.CURRENT_FORMAT"] = "当前专精：%s",
    ["GREAT_VAULT.TITLE"] = "宏伟宝库",
    ["GREAT_VAULT.OPEN"] = "打开宏伟宝库",
    ["GREAT_VAULT.REWARD.INITIAL"] = "初级奖励",
    ["GREAT_VAULT.REWARD.FOUR_RUN"] = "四本奖励",
    ["GREAT_VAULT.REWARD.EIGHT_RUN"] = "八本奖励",
    ["GREAT_VAULT.REWARD.INCOMPLETE"] = "未完成",
    ["UPGRADE_TRACK.CHAMPION"] = "勇士",
    ["UPGRADE_TRACK.HERO"] = "英雄",
    ["UPGRADE_TRACK.MYTH"] = "神话",
    ["WARBAND.LABEL"] = "战团",
    ["WARBAND.CHARACTERS"] = "战团角色",
    ["WARBAND.OWNER_FORMAT"] = "%s的战团",
    ["WARBAND.EMPTY.NO_MAX_LEVEL_CHARACTER"] = "未查询到满级的战团角色信息，切换登录战团下其他角色后将会自动同步信息。",
    ["CHARACTER.CURRENT"] = "当前角色",
    ["CHARACTER.JOIN_CARPOOL_LIST"] = "加入车队列表",
    ["CHARACTER.BEST_DUNGEON_RECORDS"] = "角色最佳副本记录",
    ["CHARACTER.WEEKLY_REPORT.TITLE"] = "大秘境周报",
    ["CHARACTER.WEEKLY_REPORT.UNAVAILABLE"] = "无法读取本周大秘境记录。",
    ["CHARACTER.WEEKLY_REPORT.NO_RUNS"] = "本周暂无大秘境记录。",
    ["CHARACTER.WEEKLY_REPORT.RUN_COUNT"] = "本周大秘境次数",
    ["CHARACTER.WEEKLY_REPORT.CLEARED_COUNT_FORMAT"] = "本周通关 %d 次",
    ["CHARACTER.WEEKLY_REPORT.TOP_RUNS"] = "通关记录",
    ["CHARACTER.WEEKLY_REPORT.BY_DUNGEON"] = "通关地下城",
    ["STATUS.LABEL"] = "状态",
    ["STATUS.OFFLINE"] = "离线",
    ["STATUS.ONLINE"] = "在线",
    ["TOOLTIP.CACHED_WHILE_OFFLINE"] = "该玩家离线，正在显示最后一次缓存数据。",
    ["TOOLTIP.ROSTER_ONLY_DATA"] = "当前只能获得该玩家的队伍名册信息。",
    ["TOOLTIP.OPEN_OVERVIEW"] = "左键：打开总览",
    ["TOOLTIP.OPEN_OPTIONS"] = "右键：打开设置",
    ["TOOLTIP.OPEN_LEFT_TAB_FORMAT"] = "左键：打开%s",
    ["TOOLTIP.OPEN_RIGHT_TAB_FORMAT"] = "右键：打开%s",
    ["MEETINGSTONE.MISSING_ADDON"] = "游戏集合石接口不可用。",
    ["MEETINGSTONE.ACTION.CREATE"] = "创建招募",
    ["MEETINGSTONE.ACTION.UPDATE"] = "更新招募",
    ["MEETINGSTONE.ACTION.DISBAND"] = "解散招募",
    ["MEETINGSTONE.SYNCING"] = "同步中",
    ["MEETINGSTONE.SELECT_DUNGEON"] = "请选择副本名称",
    ["MEETINGSTONE.CREATE_PROMPT"] = "请创建集合石招募",
    ["MEETINGSTONE.ERROR.LEADER_ONLY"] = "只有队长可以发布活动。",
    ["MEETINGSTONE.ERROR.KEYSTONE_UNAVAILABLE"] = "当前行没有可用于创建招募的钥石数据。",
    ["MEETINGSTONE.ERROR.ACTIVITY_UNAVAILABLE"] = "没有找到该钥石对应的集合石活动。",
    ["MEETINGSTONE.ERROR.TITLE_REQUIRED"] = "请填写活动标题。",
    ["MEETINGSTONE.ERROR.PUBLISH_FAILED"] = "活动发布失败。",
    ["MEETINGSTONE.ERROR.CREATE_RETRY"] = "活动创建失败，请重试。",
    ["MEETINGSTONE.ERROR.ITEM_LEVEL_ABOVE_SELF"] = "创建失败：最低装等不能高于自己的装备等级",
    ["MEETINGSTONE.ERROR.NATIVE_PANEL_NOT_LOADED"] = "暴雪集合石创建面板未加载。",
    ["MEETINGSTONE.ERROR.NATIVE_PANEL_UNAVAILABLE"] = "暴雪集合石创建面板不可用。",
    ["MEETINGSTONE.ERROR.NATIVE_CREATE_BUTTON_UNAVAILABLE"] = "原生创建按钮不可用。",
    ["MEETINGSTONE.ERROR.NATIVE_CREATE_BUTTON_FAILED"] = "原生创建按钮调用失败。",
    ["MEETINGSTONE.ERROR.NATIVE_CREATE_FUNCTION_FAILED"] = "原生创建函数调用失败。",
    ["MEETINGSTONE.ERROR.ACTIVITY_INFO_UNAVAILABLE"] = "集合石活动信息不可用。",
    ["MEETINGSTONE.ERROR.TITLE_API_UNAVAILABLE"] = "集合石标题接口不可用。",
    ["MEETINGSTONE.ERROR.LISTING_API_UNAVAILABLE"] = "C_LFGList 招募接口不可用。",
    ["MEETINGSTONE.ERROR.UNKNOWN"] = "未知错误",
    ["MEETINGSTONE.MESSAGE.UPDATE_SUCCESS"] = "集合石招募已更新。",
    ["MEETINGSTONE.MESSAGE.PUBLISH_SUCCESS"] = "集合石招募已发布。",
    ["MEETINGSTONE.MESSAGE.PUBLISH_PENDING_CONFIRM"] = "集合石发布请求已发送，等待系统确认。",
    ["MEETINGSTONE.MESSAGE.PUBLISH_PENDING"] = "集合石发布请求已发送。",
    ["MEETINGSTONE.MESSAGE.PUBLISH_FAILED_FORMAT"] = "集合石发布失败：%s",
    ["MEETINGSTONE.MESSAGE.DISBAND_FAILED_FORMAT"] = "集合石解散失败：%s",
    ["MEETINGSTONE.PLAY_STYLE.LEARNING"] = "新手上路",
    ["MEETINGSTONE.PLAY_STYLE.RELAXED"] = "休闲娱乐",
    ["MEETINGSTONE.PLAY_STYLE.CHALLENGE"] = "高阶挑战",
    ["MEETINGSTONE.PLAY_STYLE.EXPERT"] = "老手带队",
    ["MEETINGSTONE.FORM.MANAGE_TITLE"] = "组队管理",
    ["MEETINGSTONE.FORM.INFO_TITLE"] = "招募信息",
    ["MEETINGSTONE.FORM.DUNGEON"] = "选择赛季副本",
    ["MEETINGSTONE.FORM.TITLE"] = "队伍名称",
    ["MEETINGSTONE.FORM.SUMMARY"] = "组队说明",
    ["MEETINGSTONE.FORM.PLAY_STYLE"] = "队伍风格",
    ["MEETINGSTONE.FORM.MIN_ITEM_LEVEL"] = "最低装等",
    ["MEETINGSTONE.FORM.MIN_SCORE"] = "最低分数",
    ["MEETINGSTONE.FORM.CONFIG"] = "队伍配置",
    ["MEETINGSTONE.FORM.REQUIREMENT"] = "队伍需求",
    ["MEETINGSTONE.FORM.MIN_ITEM_LEVEL_LABEL"] = "最低装等：",
    ["MEETINGSTONE.FORM.MIN_SCORE_LABEL"] = "最低分数：",
    ["MEETINGSTONE.APPLICANT.LEAVER"] = "逃兵",
    ["MEETINGSTONE.APPLICANT_HEADER.STAR"] = "类型",
    ["MEETINGSTONE.APPLICANT_HEADER.NAME"] = "角色名",
    ["MEETINGSTONE.APPLICANT_HEADER.CLASS"] = "职业",
    ["MEETINGSTONE.APPLICANT_HEADER.SCORE"] = "大秘境分数",
    ["MEETINGSTONE.APPLICANT_HEADER.ITEM_LEVEL"] = "装等",
    ["MEETINGSTONE.APPLICANT_HEADER.DESCRIPTION"] = "描述信息",
    ["MEETINGSTONE.APPLICANT_HEADER.ACTION"] = "操作",
    ["MEETINGSTONE.APPLICANT_ACTION.INVITE"] = "邀请",
    ["MEETINGSTONE.APPLICANT_ACTION.DECLINE"] = "拒绝",
    ["MEETINGSTONE.APPLICANT_ACTION.INVITE_GROUP"] = "整队邀请",
    ["MEETINGSTONE.APPLICANT_ACTION.DECLINE_GROUP"] = "整队拒绝",
    ["MEETINGSTONE.APPLICANT_STATUS.CANCELLED"] = "已取消",
    ["MEETINGSTONE.APPLICANT_EMPTY.RECRUITING"] = "队伍正在招募中",
    ["MEETINGSTONE.APPLICANT_EMPTY.LEADER_REQUIRED"] = "创建招募需要队长权限",
    ["MEETINGSTONE.APPLICANT_EMPTY.NO_INFO"] = "暂无招募信息",
    ["MEETINGSTONE.APPLICANT_TOOLTIP.PROVING_GROUNDS"] = "试炼场",
    ["MEETINGSTONE.APPLICANT_TOOLTIP.LEVEL_CLASS_FORMAT"] = "等级%d %s",
    ["MEETINGSTONE.APPLICANT_TOOLTIP.ITEM_LEVEL_FORMAT"] = "物品等级: %d",
    ["MEETINGSTONE.APPLICANT_TOOLTIP.SCORE_FORMAT"] = "大秘评分: %s",
    ["MEETINGSTONE.APPLICANT_TOOLTIP.CURRENT_DUNGEON_FORMAT"] = "当前副本: %s / %s",
    ["MEETINGSTONE.APPLICANT_TOOLTIP.CURRENT_DUNGEON_NONE"] = "当前副本: |cff7f7f7f无信息|r",
    ["MEETINGSTONE.APPLICANT_REFRESH.TITLE"] = "刷新",
    ["MEETINGSTONE.APPLICANT_REFRESH.DESCRIPTION"] = "刷新集合石申请列表",
    ["FIND_GROUP.DUNGEON.ALL"] = "全部副本",
    ["FIND_GROUP.DUNGEON.DEFAULT"] = "钥石地下城",
    ["FIND_GROUP.DUNGEON.ALL_SELECTED"] = "全部钥石地下城",
    ["FIND_GROUP.DUNGEON.SELECT_ALL"] = "全选",
    ["FIND_GROUP.DUNGEON.CLEAR"] = "清空",
    ["FIND_GROUP.DUNGEON.SELECTED_ONE"] = "已选 1 个副本",
    ["FIND_GROUP.DUNGEON.SELECTED_COUNT_FORMAT"] = "已选 %d 个副本",
    ["FIND_GROUP.FILTER.ROLES"] = "筛选职责",
    ["FIND_GROUP.FILTER.HAVE_HEALER"] = "有治疗",
    ["FIND_GROUP.FILTER.HAVE_TANK"] = "有坦克",
    ["FIND_GROUP.FILTER.NO_HEALER"] = "缺治疗",
    ["FIND_GROUP.FILTER.NO_TANK"] = "缺坦克",
    ["FIND_GROUP.FILTER.NO_DPS"] = "缺输出",
    ["FIND_GROUP.FILTER.MIN_SLOTS"] = "至少空位",
    ["FIND_GROUP.FILTER.MIN_SCORE"] = "最低评分",
    ["FIND_GROUP.FILTER.SEARCH_NEWBIE"] = "筛选大秘新兵队伍",
    ["FIND_GROUP.QUICK.TITLE"] = "便捷加入",
    ["FIND_GROUP.QUICK.DOUBLE_CLICK"] = "双击加入",
    ["FIND_GROUP.QUICK.AUTO_JOIN"] = "自动进组",
    ["FIND_GROUP.ACTION.SEARCH"] = "搜索",
    ["FIND_GROUP.ACTION.REFRESH"] = "刷新",
    ["FIND_GROUP.ACTION.RESET"] = "重置",
    ["FIND_GROUP.HEADER.TITLE"] = "队伍标题",
    ["FIND_GROUP.HEADER.DUNGEON"] = "副本名称",
    ["FIND_GROUP.HEADER.TYPE"] = "类型",
    ["FIND_GROUP.HEADER.MEMBERS"] = "队伍成员",
    ["FIND_GROUP.HEADER.NEED"] = "需求",
    ["FIND_GROUP.HEADER.REQUIREMENT"] = "要求",
    ["FIND_GROUP.HEADER.LEADER"] = "队长",
    ["FIND_GROUP.HEADER.SCORE"] = "分数",
    ["FIND_GROUP.HEADER.COMMENT"] = "说明",
    ["FIND_GROUP.RELATION.FRIEND"] = "友",
    ["FIND_GROUP.RELATION.GUILD"] = "会",
    ["FIND_GROUP.TYPE.LEAVER"] = "逃兵",
    ["FIND_GROUP.TYPE.NEWBIE"] = "新兵",
    ["FIND_GROUP.TYPE.BNET"] = "好友",
    ["FIND_GROUP.TYPE.FRIEND"] = "好友",
    ["FIND_GROUP.TYPE.GUILD"] = "公会",
    ["FIND_GROUP.NEED_FORMAT"] = "空 %d",
    ["FIND_GROUP.APPLICATION.PENDING"] = "待定",
    ["FIND_GROUP.APPLICATION.PENDING_FORMAT"] = "待定 %s",
    ["FIND_GROUP.APPLICATION.DECLINED"] = "被拒绝",
    ["FIND_GROUP.APPLICATION.CANCELLED"] = "已取消",
    ["FIND_GROUP.APPLICATION.CANCEL"] = "取消申请",
    ["FIND_GROUP.EMPTY.NO_RESULTS"] = "点击搜索获取队伍列表",
    ["FIND_GROUP.EMPTY.NO_MATCHES"] = "未检索到队伍",
    ["FIND_GROUP.EMPTY.LOADING_LIST"] = "队伍列表检索中",
    ["FIND_GROUP.EMPTY.SEARCHING"] = "正在搜索队伍...",
    ["FIND_GROUP.ERROR.LFG_UNAVAILABLE"] = "队伍查找器接口不可用。",
    ["FIND_GROUP.ERROR.SEARCH_FAILED"] = "队伍搜索失败。",
    ["FIND_GROUP.ERROR.SELECT_DUNGEON"] = "请先选择副本。",
    ["FIND_GROUP.ERROR.APPLY_UNAVAILABLE"] = "申请接口不可用。",
    ["FIND_GROUP.ERROR.APPLY_LEADER_REQUIRED"] = "只有队长可以申请队伍。",
    ["FIND_GROUP.ERROR.APPLY_FAILED"] = "申请加入失败。",
    ["FIND_GROUP.ERROR.CANCEL_UNAVAILABLE"] = "取消申请接口不可用。",
    ["FIND_GROUP.ERROR.CANCEL_FAILED"] = "取消申请失败。",
    ["FIND_GROUP.ERROR.REPORT_UNAVAILABLE"] = "举报接口不可用。",
    ["FIND_GROUP.MENU.APPLY"] = "申请加入",
    ["FIND_GROUP.MENU.WHISPER"] = "与队长密聊",
    ["FIND_GROUP.MENU.REPORT_GROUP"] = "举报队伍",
    ["FIND_GROUP.MENU.REPORT_AD"] = "举报广告",
    ["FIND_GROUP.MENU.BLOCK_TITLE"] = "屏蔽同标题广告",
    ["FIND_GROUP.TOOLTIP.LEADER"] = "队长：",
    ["FIND_GROUP.TOOLTIP.SCORE"] = "队长大秘评分：",
    ["FIND_GROUP.TOOLTIP.MEMBERS"] = "队员：",
    ["FIND_GROUP.TOOLTIP.SLOTS"] = "空位：",
    ["FIND_GROUP.TOOLTIP.ITEM_LEVEL"] = "需要物品等级：",
    ["FIND_GROUP.TOOLTIP.AGE"] = "创建于：",
    ["FIND_GROUP.TOOLTIP.AGE_FORMAT"] = "%d 分钟前",
    ["FIND_GROUP.TOOLTIP.MEMBER_TITLE"] = "队伍成员",
    ["FIND_GROUP.TOOLTIP.MEMBERS_LOADING"] = "成员信息加载中",
    ["FIND_GROUP.TOOLTIP.NAME_SEPARATOR"] = "、",
    ["FIND_GROUP.TOOLTIP.TYPE_MEMBERS_FORMAT"] = "%s：%s",
    ["FIND_GROUP.TOOLTIP.LEAVER"] = "该队伍中有钥石逃亡者",
    ["FIND_GROUP.TOOLTIP.NEWBIE"] = "该队伍中有大秘新兵",
    ["FIND_GROUP.ROLE.TANK"] = "坦克",
    ["FIND_GROUP.ROLE.HEAL"] = "治疗",
    ["FIND_GROUP.ROLE.DPS"] = "输出",
    ["FIND_GROUP.ROLE.UNKNOWN"] = "未知",
    ["ACCOUNT_TYPE.VETERAN"] = "老兵",
    ["ACCOUNT_TYPE.QUERYING"] = "查询中",
    ["OPTIONS.MINIMAP_BUTTON_VISIBLE"] = "显示小地图图标",
    ["OPTIONS.MICRO_MENU_ENTRY_VISIBLE"] = "显示菜单栏按钮",
    ["OPTIONS.MICRO_MENU_BUTTON_VISIBLE"] = "显示菜单栏按钮",
    ["OPTIONS.STARTUP_TAB"] = "默认启动页面",
    ["OPTIONS.RIGHT_CLICK_STARTUP_TAB"] = "右键启动页面",
    ["OPTIONS.AUTO_OPEN_AFTER_KEY"] = "大秘境结束后默认打开",
    ["OPTIONS.AUTO_OPEN_OFF"] = "关闭",
    ["OPTIONS.DEFAULT_SETTINGS"] = "默认配置",
    ["OPTIONS.SECTION.ADDON"] = "自定义",
    ["OPTIONS.PREVIEW_EFFECT"] = "预览效果",
    ["TELEPORT.DIALOG_TITLE"] = "传送通报",
    ["TELEPORT.ANNOUNCEMENT"] = "传送通报",
    ["TELEPORT.PROMPT"] = "跟随传送",
    ["TELEPORT.FOLLOW"] = "跟随传送",
    ["TELEPORT.FOLLOW_PROMPT"] = "队友已发起副本传送，是否跟随传送",
    ["TELEPORT.FOLLOW_MESSAGE_FORMAT"] = "%s 正在传送前往 [%s] %s",
    ["TELEPORT.FOLLOW_QUESTION"] = "是否跟随传送",
    ["TELEPORT.CUSTOM_TEXT"] = "自定义通报文案",
    ["TELEPORT.TACTICAL_ANNOUNCEMENT"] = "战术通报",
    ["TELEPORT.TACTICAL_PREFIX"] = "战术通报：",
    ["TELEPORT.TACTICAL_PLACEHOLDER"] = "战术通报将在副本传送时自动发送至聊天频道",
    ["TELEPORT.ANNOUNCEMENT_DEFAULT"] = "{player} 正在使用传送[{spell}]，即将前往[{dungeon}]！",
    ["TELEPORT.STATUS.READY"] = "传送技能已就绪",
    ["TELEPORT.STATUS.COOLDOWN"] = "传送技能冷却中",
    ["TELEPORT.STATUS.NOT_LEARNED"] = "尚未学会传送技能",
    ["GROUP.EMPTY.NO_KEYSTONES"] = "队伍中没有找到钥石。",
    ["GROUP.EMPTY.NO_KEYSTONES_SHORT"] = "队伍中没有钥石",
    ["GROUP.EMPTY.NO_SHARED_DATA"] = "没有找到已共享钥石数据的队伍成员。",
    ["CARPOOL.EMPTY.NO_WARBAND_CHARACTERS"] = "车队列表中没有战团角色。",
    ["SEASON.ERROR.LOAD_FAILED"] = "无法加载当前赛季。",
    ["DUNGEON.UNKNOWN"] = "未知地下城",
    ["DUNGEON.BEST_PREFIX"] = "最佳成绩：",
    ["MENU.REPORT"] = "举报",
    ["MENU.IGNORE"] = "忽略",
    ["DATA.NO_CHARACTERS"] = "没有找到角色数据。",
    ["DATA.STORED_CHARACTERS_FORMAT"] = "已保存角色：%d",
    ["DATA.GROUP_MEMBERS_WITH_KEYS_FORMAT"] = "持有钥石的队伍成员：%d",
    ["DEBUG.MESSAGE_PREFIX_FORMAT"] = "[调试] %s",
    ["DEBUG.LOGGING_ENABLED"] = "调试日志已启用。",
    ["DEBUG.LOGGING_DISABLED"] = "调试日志已禁用。",
    ["DEBUG.VERBOSE_LOGGING_ENABLED"] = "完整调试日志已开启。",
    ["DEBUG.VERBOSE_LOGGING_DISABLED"] = "完整调试日志已关闭，保留精简调试。",
    ["TESTDATA.ENABLED"] = "临时测试数据已启用。",
    ["TESTDATA.REMOVED"] = "临时测试数据已移除。",
    ["COMMAND.HELP.OPEN_PANEL"] = "/mka 或 /dm - 打开主面板",
    ["COMMAND.HELP.CONFIG"] = "/mka config - 打开设置选项卡",
    ["COMMAND.HELP.TESTDATA_ON"] = "/mka testdata - 启用临时测试数据",
    ["COMMAND.HELP.TESTDATA_ONE"] = "/mka testdata 1 - 添加 1 个临时测试成员",
    ["COMMAND.HELP.TESTDATA_TWO"] = "/mka testdata 2 - 添加 2 个临时测试成员",
    ["COMMAND.HELP.TESTDATA_THREE"] = "/mka testdata 3 - 添加 3 个临时测试成员",
    ["COMMAND.HELP.TESTDATA_OFF"] = "/mka testdata off - 移除临时测试数据",
    ["COMMAND.HELP.DUMP"] = "/mka dump - 显示已保存的角色数据",
    ["COMMAND.HELP.GROUPDUMP"] = "/mka groupdump - 显示收到的队伍数据",
    ["COMMAND.HELP.ACCOUNTDEBUG"] = "/mka accountdebug [角色-服务器] - 查询账号类型服务器回包状态",
    ["COMMAND.HELP.ACCOUNTREFRESH"] = "/mka accountrefresh - 清空账号类型缓存并重新查询当前列表",
    ["COMMAND.HELP.TELEPORT_DIALOG"] = "/mka teleportdialog - 预览传送弹窗",
    ["COMMAND.HELP.DEBUG_ON"] = "/mka debug on - 启用调试日志",
    ["COMMAND.HELP.DEBUG_VERBOSE"] = "/mka debug verbose - 开启完整调试日志",
    ["COMMAND.HELP.DEBUG_VERBOSE_OFF"] = "/mka debug verbose off - 关闭完整调试日志，保留精简调试",
    ["COMMAND.HELP.DEBUG_OFF"] = "/mka debug off - 禁用调试日志",
    ["COMMAND.HELP.LOCALE_ZHCN"] = "/mka locale zh - 下次 /reload 后加载简体中文",
    ["COMMAND.HELP.LOCALE_ZHTW"] = "/mka locale zhTW - 下次 /reload 后加载繁体中文",
    ["COMMAND.HELP.LOCALE_RESET"] = "/mka locale reset - 下次 /reload 后重新使用客户端语言",
    ["LOCALE.OVERRIDE.REQUIRES_DEBUG"] = "仅在启用调试日志时可使用语言覆盖。",
    ["LOCALE.OVERRIDE.SAVED_ZHCN"] = "语言覆盖已保存：下次 /reload 后将加载简体中文。",
    ["LOCALE.OVERRIDE.SAVED_ZHTW"] = "语言覆盖已保存：下次 /reload 后将加载繁体中文。",
    ["LOCALE.OVERRIDE.CLEARED"] = "语言覆盖已清除：下次 /reload 后将重新使用客户端语言。",
    ["COMBAT.WINDOW_CLOSED"] = "因进入战斗，窗口已关闭。",
    ["COMBAT.SYSTEM_PANEL_BLOCKED"] = "战斗中无法打开系统面板。",
}
