local addonName, ns = ...

-- 获取当前客户端语言
local locale = GetLocale()

-- 1. 简体中文 (基准表)
local L_zhCN = {
    ["  /ldcs config  - 配置面板"] = "  /ldcs config  - 配置面板",
    ["  /ldcs lock    - 锁定/解锁窗口"] = "  /ldcs lock    - 锁定/解锁窗口",
    ["  /ldcs report [n] - 报告前N名到聊天频道"] = "  /ldcs report [n] - 报告前N名到聊天频道",
    ["  /ldcs reset   - 重置所有数据"] = "  /ldcs reset   - 重置所有数据",
    ["  /ldcs show    - 显示/隐藏窗口"] = "  /ldcs show    - 显示/隐藏窗口",
    ["  GetAvailableCombatSessions: %d 条"] = "  GetAvailableCombatSessions: %d 条",
    ["  history: %d 条"] = "  history: %d 条",
    ["团队总%s: %s次"] = "团队总%s: %s次",
    ["含宠物"] = "含宠物",
    ["[全程]"] = "[全程]",
    ["|cff00ccff[实时]|r"] = "|cff00ccff[实时]|r",
    ["|cff888888[当前]|r"] = "|cff888888[当前]|r",
    ["|cffaaaaaa[实时加密]|r"] = "|cffaaaaaa[实时加密]|r",
    ["|cffff8888[自己]|r"] = "|cffff8888[自己]|r",
    ["的配置"] = "的配置",
    ["未知"] = "未知",
    ["治疗"] = "治疗",
    ["近战"] = "近战",
    ["发光描边 (Outline)"] = "发光描边 (Outline)",
    ["%.1f 秒"] = "%.1f 秒",
    ["%.2f万"] = "%.2f万",
    ["%.2f亿"] = "%.2f亿",
    ["%[开本前%]"] = "%[开本前%]",
    ["%s 的技能细分"] = "%s 的技能细分",
    ["%s%s|r 的%s细分%s"] = "%s%s|r 的%s细分%s",
    ["水闸行动"] = "水闸行动",
    ["=== [Light Damage] Sessions 诊断 ==="] = "=== [Light Damage] Sessions 诊断 ===",
    ["=== [Light Damage] 死亡 RecapID 诊断 ==="] = "=== [Light Damage] 死亡 RecapID 诊断 ===",
    ["=== 结束 ==="] = "=== 结束 ===",
    [" 的死亡详情"] = " 的死亡详情",
    ["应用此角色配置"] = "应用此角色配置",
    ["预览"] = "预览",
    ["DPS(总量)"] = "DPS(总量)",
    ["加粗描边"] = "加粗描边",
    [" (合计)"] = " (合计)",
    ["[Light Damage] C_DeathRecap 不存在"] = "[Light Damage] C_DeathRecap 不存在",
    ["[Light Damage] maxHealth=%s 共%d条，打印前3条字段:"] = "[Light Damage] maxHealth=%s 共%d条，打印前3条字段:",
    ["[Light Damage] 没有死亡记录，先死一次"] = "[Light Damage] 没有死亡记录，先死一次",
    ["[Light Damage] 返回空"] = "[Light Damage] 返回空",
    ["[一键清空野外战斗]"] = "[一键清空野外战斗]",
    ["[开本前] "] = "[开本前] ",
    ["副本"] = "副本",
    ["伤害"] = "伤害",
    ["伤害量"] = "伤害量",
    ["承伤"] = "承伤",
    ["死亡"] = "死亡",
    ["数据"] = "数据",
    ["打断"] = "打断",
    ["驱散"] = "驱散",
    ["全部关闭"] = "全部关闭",
    ["打断合计"] = "打断合计",
    ["布局"] = "布局",
    ["外观"] = "外观",
    ["大秘境"] = "大秘境",
    ["其他副本"] = "其他副本",
    ["所有副本开启"] = "所有副本开启",
    ["非副本"] = "非副本",
    ["总计"] = "总计",
    ["性能"] = "性能",
    ["我"] = "我",
    ["配置管理"] = "配置管理",
    ["|cff%02x%02x%02x— 全程 —|r"] = "|cff%02x%02x%02x— 全程 —|r",
    ["|cff00ccffLight Damage|r 设置"] = "|cff00ccffLight Damage|r 设置",
    ["|cff00ccff[Light Damage]|r 副本 %s 已整理%s + 1 条全程汇总"] = "|cff00ccff[Light Damage]|r 副本 %s 已整理%s + 1 条全程汇总",
    ["|cff00ccff[Light Damage]|r 已清空所有野外历史记录，只保留副本与首领战数据。"] = "|cff00ccff[Light Damage]|r 已清空所有野外历史记录，只保留副本与首领战数据。",
    ["|cff00ccff[Light Damage]|r 已锁定"] = "|cff00ccff[Light Damage]|r 已锁定",
    ["|cff00ccff[Light Damage]|r Baseline 已手动重置"] = "|cff00ccff[Light Damage]|r Baseline 已手动重置",
    [" 已加载 | /ldcs show · /ldcs help"] = " 已加载 | /ldcs show · /ldcs help",
    ["|cff00ccff[Light Damage]|r 命令:"] = "|cff00ccff[Light Damage]|r 命令:",
    ["|cff00ccff[Light Damage]|r 已应用 "] = "|cff00ccff[Light Damage]|r 已应用 ",
    ["|cff00ccff[Light Damage]|r 数据已重置"] = "|cff00ccff[Light Damage]|r 数据已重置",
    ["|cff00ccff[Light Damage]|r 无数据"] = "|cff00ccff[Light Damage]|r 无数据",
    ["|cff00ccff左键: 技能细分  右键: 切换模式|r"] = "|cff00ccff左键: 技能细分  右键: 切换模式|r",
    ["|cff00ccff点击查看完整死亡日志|r"] = "|cff00ccff点击查看完整死亡日志|r",
    ["|cff00ccff预览场景:|r"] = "|cff00ccff预览场景:|r",
    ["|cff00ff00> 当前战斗|r"] = "|cff00ff00> 当前战斗|r",
    ["|cff00ff00[战]|r "] = "|cff00ff00[战]|r ",
    ["|cff444444暂无事件数据（12.0副本内CLEU受限）|r"] = "|cff444444暂无事件数据（12.0副本内CLEU受限）|r",
    ["|cff4499cc— 死亡前事件（近 → 远）|r"] = "|cff4499cc— 死亡前事件（近 → 远）|r",
    ["|cff4cb8e8+%d|r %s |cffaaaaaa[全程]|r"] = "|cff4cb8e8+%d|r %s |cffaaaaaa[全程]|r",
    ["|cff4cb8e8[Light Damage]|r M+ 完成: %s (计时: %s)"] = "|cff4cb8e8[Light Damage]|r M+ 完成: %s (计时: %s)",
    ["|cff4cb8e8[Light Damage]|r 检测到大秘境: %s +%d (reload)"] = "|cff4cb8e8[Light Damage]|r 检测到大秘境: %s +%d (reload)",
    ["|cff4cb8e8[Light Damage]|r 离开副本，数据已归档"] = "|cff4cb8e8[Light Damage]|r 离开副本，数据已归档",
    ["|cff4cb8e8[全程]"] = "|cff4cb8e8[全程]",
    ["|cff555555暂无技能数据|r"] = "|cff555555暂无技能数据|r",
    ["|cff555555本段暂无死亡记录|r"] = "|cff555555本段暂无死亡记录|r",
    ["|cff666666%d条|r"] = "|cff666666%d条|r",
    ["|cff666666* 当前|r"] = "|cff666666* 当前|r",
    ["|cff888888%.1fs前|r"] = "|cff888888%.1fs前|r",
    ["|cff888888跨度 %.1fs|r"] = "|cff888888跨度 %.1fs|r",
    ["|cffaaaaaa* 总计|r"] = "|cffaaaaaa* 总计|r",
    ["|cffaaaaaa[API限制，请脱战后查看]"] = "|cffaaaaaa[API限制，请脱战后查看]",
    ["|cffaaaaaa[队友死亡]|r"] = "|cffaaaaaa[队友死亡]|r",
    ["|cffaaaaaa— 战斗中 (实时) —|r"] = "|cffaaaaaa— 战斗中 (实时) —|r",
    ["|cffaaaaaa— 本段 —|r"] = "|cffaaaaaa— 本段 —|r",
    ["|cffaaaaaa击杀者: |r"] = "|cffaaaaaa击杀者: |r",
    ["|cffaaaaaa总计|r"] = "|cffaaaaaa总计|r",
    ["|cffff3333[Light Damage] ERROR:|r Segments 模块未加载"] = "|cffff3333[Light Damage] ERROR:|r Segments 模块未加载",
    ["|cffff3333[致命]: |r"] = "|cffff3333[致命]: |r",
    ["|cffff3333死亡|r"] = "|cffff3333死亡|r",
    ["|cffff8888[自己的死亡]|r"] = "|cffff8888[自己的死亡]|r",
    ["|cffffff00%d次|r"] = "|cffffff00%d次|r",
    ["|r [死亡]"] = "|r [死亡]",
    ["一键清空野外战斗"] = "一键清空野外战斗",
    ["专精"] = "专精",
    ["已锁定"] = "已锁定",
    ["已手动重置"] = "已手动重置",
    [" 已加载 | /ldcs show · /ldcs help"] = " 已加载 | /ldcs show · /ldcs help",
    ["命令:"] = "命令:",
    ["主栏 (上方) 高度占比"] = "主栏 (上方) 高度占比",
    ["主栏显示"] = "主栏显示",
    ["仅大秘境开启"] = "仅大秘境开启",
    ["全局字体"] = "全局字体",
    ["全局尺寸"] = "全局尺寸",
    ["全程%s"] = "全程%s",
    ["%s [全程]"] = "%s [全程]",
    ["|cff4cb8e8[全程%s]|r"] = "|cff4cb8e8[全程%s]|r",
    ["全程 %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "全程 %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r",
    ["全程 0:00  |  Damage 0  Heal 0"] = "全程 0:00  |  Damage 0  Heal 0",
    ["全程占比"] = "全程占比",
    ["全程数据双列显示"] = "全程数据双列显示",
    ["共 %d 个 session"] = "共 %d 个 session",
    ["击杀者"] = "击杀者",
    ["分栏模式 (同时显示两种数据)"] = "分栏模式 (同时显示两种数据)",
    ["剩余生命"] = "剩余生命",
    ["副栏显示"] = "副栏显示",
    ["单栏模式 (底部标签切换)"] = "单栏模式 (底部标签切换)",
    ["占比"] = "占比",
    ["取消预览"] = "取消预览",
    ["受伤: |cffff9966%s|r"] = "受伤: |cffff9966%s|r",
    ["总计区域宽度占比"] = "总计区域宽度占比",
    ["总计区域背景色"] = "总计区域背景色",
    ["总计区域显示场景"] = "总计区域显示场景",
    ["同时显示伤害总量和DPS"] = "同时显示伤害总量和DPS",
    ["名称颜色"] = "名称颜色",
    ["名称颜色选择"] = "名称颜色选择",
    ["离开副本后自动生成副本全程段落"] = "离开副本后自动生成副本全程段落",
    ["命中"] = "命中",
    ["团队总%s: %s"] = "团队总%s: %s",
    ["在最左侧显示专精图标"] = "在最左侧显示专精图标",
    ["图标风格"] = "图标风格",
    ["专精图标"] = "专精图标",
    ["大秘境与副本自适应"] = "大秘境与副本自适应",
    ["大秘境评分"] = "大秘境评分",
    ["字体基础大小"] = "字体基础大小",
    ["字体描边"] = "字体描边",
    ["字体设置"] = "字体设置",
    ["已存档角色配置"] = "已存档角色配置",
    ["已解锁"] = "已解锁",
    ["布局模式"] = "布局模式",
    ["平均"] = "平均",
    ["平均装等"] = "平均装等",
    ["平滑渐变 (Smooth)"] = "平滑渐变 (Smooth)",
    ["开启文字阴影"] = "开启文字阴影",
    ["当前"] = "当前",
    ["当前战斗"] = "当前战斗",
    ["总 overkillAmount 合计: %d"] = "总 overkillAmount 合计: %d",
    ["总量"] = "总量",
    ["我方应记录的单位"] = "我方应记录的单位",
    ["战斗"] = "战斗",
    ["战斗中刷新间隔 (秒)"] = "战斗中刷新间隔 (秒)",
    ["承伤合计"] = "承伤合计",
    ["控制技能打断"] = "控制技能打断",
    ["数据区背景色"] = "数据区背景色",
    ["数据显示"] = "数据显示",
    ["数据显示格式"] = "数据显示格式",
    ["数据条外观"] = "数据条外观",
    ["数据条材质"] = "数据条材质",
    ["数据条透明度"] = "数据条透明度",
    ["数据条间距 (行高)"] = "数据条间距 (行高)",
    ["数据条高度"] = "数据条高度",
    ["方正粗圆"] = "方正粗圆",
    ["无"] = "无",
    ["无历史 session"] = "无历史 session",
    ["无数据"] = "无数据",
    ["无治疗数据"] = "无治疗数据",
    ["是同一把副本(Reload)"] = "是同一把副本(Reload)",
    ["显示排名序号"] = "显示排名序号",
    ["显示玩家服务器"] = "显示玩家服务器",
    ["智能刷新"] = "智能刷新",
    ["暂无其他角色存档\n登录其他角色并打开插件后会自动存档"] = "暂无其他角色存档\n登录其他角色并打开插件后会自动存档",
    ["暴击"] = "暴击",
    ["暴雪默认 (Blizz Default)"] = "暴雪默认 (Blizz Default)",
    ["最低"] = "最低",
    ["最高"] = "最高",
    ["有快照"] = "有快照",
    ["来源"] = "来源",
    ["极简纯色 (Minimal Flat)"] = "极简纯色 (Minimal Flat)",
    ["标题下方显示全程摘要行（仅在副本中生效）"] = "标题下方显示全程摘要行（仅在副本中生效）",
    ["标题栏/页签主题色"] = "标题栏/页签主题色",
    ["模拟战斗"] = "模拟战斗",
    ["模拟全程"] = "模拟全程",
    ["次"] = "次",
    ["死前受伤"] = "死前受伤",
    ["死前受治"] = "死前治疗",
    ["每秒"] = "每秒",
    ["治疗量"] = "治疗量",
    ["界面颜色"] = "界面颜色",
    ["窗口缩放 (Scale)"] = "窗口缩放 (Scale)",
    ["纯白"] = "纯白",
    ["组内单位"] = "队伍/团队成员",
    ["职业颜色"] = "职业颜色",
    ["脱战刷新间隔 (秒)"] = "脱战刷新间隔 (秒)",
    ["自定义"] = "自定义",
    ["自定义名称颜色"] = "自定义名称颜色",
    ["自适应布局比例"] = "自适应布局比例",
    ["致命技能"] = "致命技能",
    ["距死亡"] = "距死亡",
    ["过量击杀"] = "过量击杀",
    ["过量治疗"] = "过量治疗",
    ["锁定窗口位置"] = "锁定窗口位置",
    ["驱散合计"] = "驱散合计",
    ["黑体"] = "黑体",
    ["，保留 %d 个 Boss"] = "，保留 %d 个 Boss",
    ["界面语言"] = "界面语言",
    ["语言 (需要重载UI生效)"] = "语言 (需要重载UI生效)",
    ["跟随客户端"] = "跟随客户端",
    ["如果开启，则离开副本后，会把副本中所有发生的所有战斗进行汇总，并生成“全程”的战斗段落，同时副本中所有的战斗段落，会删除所有的小怪战斗段落，只保留Boss战。\n特别的，在团队副本（Raid）中，“全程”战斗段落会去掉所有的小怪战斗，只汇总所有Boss战。而其他任何副本中，“全程”段落包含小怪+Boss战的所有战斗。"] = "如果开启，则离开副本后，会把副本中所有发生的所有战斗进行汇总，并生成“全程”的战斗段落，同时副本中所有的战斗段落，会删除所有的小怪战斗段落，只保留Boss战。\n特别的，在团队副本（Raid）中，“全程”战斗段落会去掉所有的小怪战斗，只汇总所有Boss战。而其他任何副本中，“全程”段落包含小怪+Boss战的所有战斗。",
    ["系统默认"] = "系统默认",
    ["伤害数字"] = "伤害数字",
    ["聊天框字体"] = "聊天框字体",
    ["单位名称"] = "单位名称",

    -- 新增配置相关翻译
    ["默认"] = "默认",
    ["创建新配置"] = "创建新配置",
    ["配置名称不能为空或已存在"] = "配置名称不能为空或已存在",
    ["配置名称已存在！"] = "配置名称已存在！",
    ["输入新的配置名称:"] = "输入新的配置名称:",
    ["当前配置"] = "当前配置",
    ["已存配置"] = "已存配置",
    ["应用"] = "应用",
    ["删除"] = "删除",
    ["改名"] = "改名",
    ["确定"] = "确定",
    ["取消"] = "取消",
    ["|cff00ccffLight Damage|r 设置 - %s"] = "|cff00ccffLight Damage|r 设置 - %s",
    ["|cff00ccff[Light Damage]|r 配置已重命名为 "] = "|cff00ccff[Light Damage]|r 配置已重命名为 ",
    ["确定要删除配置 '%s' 吗？"] = "确定要删除配置 '%s' 吗？",
    
    ["当前与总计窗口"] = "当前与总计窗口",
    ["同时显示当前与总计数据"] = "同时显示当前与总计数据",
    ["开启场景"] = "开启场景",
    ["总是开启"] = "总是开启",
    ["永不开启"] = "永不开启",
    ["当前/总计划分方向"] = "[当前/总计]划分方向",
    ["双数据划分方向"] = "[双数据]划分方向",
    ["左右划分"] = "左右划分",
    ["上下划分"] = "上下划分",
    ["当前数据位置"] = "[当前]数据位置",
    ["左侧"] = "左侧",
    ["上方"] = "上方",
    ["右侧"] = "右侧",
    ["下方"] = "下方",
    ["双数据显示"] = "双数据显示",
    ["开启双数据显示"] = "开启双数据显示",
    ["主数据位置"] = "主数据位置",
    ["主数据内容"] = "主数据内容",
    ["副数据内容"] = "副数据内容",
    ["上下分栏比例"] = "上下分栏比例",
    ["左右分栏比例"] = "左右分栏比例",
    ["|cff4cb8e8[%s%s]|r"] = "|cff4cb8e8[%s%s]|r",
    ["|cff%02x%02x%02x— %s —|r"] = "|cff%02x%02x%02x— %s —|r",
    ["%s%s"] = "%s%s",
    ["%s占比"] = "%s占比",

    ["%s %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "%s %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r",
    ["%s 0:00  |  Damage 0  Heal 0"] = "%s 0:00  |  Damage 0  Heal 0",

    ["OVERALL_DATA_TOOLTIP"] = "关于“总计”数据：\n 统计起点： 每次进入或离开副本时重新开始。\n 显示内容： 自起点起累积的所有战斗汇总。\n 请注意： 手动删除某段具体的战斗记录，不会影响总计数据。",
    ["排版行高 (文字/图标区域)"] = "排版行高 (文字/图标区域)",
    ["颜色条实际粗细"] = "颜色条实际粗细",
    ["颜色条垂直偏移 (从底向上)"] = "颜色条垂直偏移 (从底向上)",

    ["技能详情页外观"] = "技能详情页外观",
    ["排版行高 (文字/图标区域)"] = "排版行高 (文字/图标区域)",
    ["颜色条实际粗细"] = "颜色条实际粗细",
    ["颜色条垂直偏移 (从底向上)"] = "颜色条垂直偏移 (从底向上)",
    ["数据条间距"] = "数据条间距",
    ["数据条透明度"] = "数据条透明度",
    ["数据条材质"] = "数据条材质",
    ["技能详情页字体"] = "技能详情页字体",
    ["字体基础大小"] = "字体基础大小",
    ["字体描边"] = "字体描边",
    ["开启文字阴影"] = "开启文字阴影",

    ["展开与折叠"] = "展开与折叠",
    ["脱战后自动折叠"] = "脱战后自动折叠",
    ["副本中永不自动折叠"] = "副本中永不自动折叠",
    ["折叠后透明度"] = "折叠后透明度",
    ["开启折叠动画"] = "开启折叠动画",
    ["折叠动画持续时间"] = "折叠动画持续时间",
    ["脱战后多久后开始折叠 (秒)"] = "脱战后多久后开始折叠 (秒)",

    ["总计窗口开启场景"] = "总计窗口开启场景",
    ["双数据开启场景"] = "双数据开启场景",
    ["团队副本"] = "团队副本",
    ["其他副本 (含地下堡/战场/竞技场)"] = "其他副本 (含地下堡/战场/竞技场)",
    ["非副本 (开放世界)"] = "非副本 (开放世界)",
    ["大秘境"] = "大秘境",
    ["离开副本后自动生成副本全程段落"] = "离开副本后自动生成副本全程段落",
    ["生效场景："] = "生效场景：",
    ["其他副本"] = "其他副本",

    ["折叠与隐藏"] = "折叠与隐藏",
    ["折叠"] = "折叠",
    ["自动渐隐"] = "自动渐隐",
    ["脱战后自动渐隐"] = "脱战后自动渐隐",
    ["鼠标移到窗口上时取消渐隐"] = "鼠标移到窗口上时取消渐隐",
    ["自动渐隐的内容"] = "自动渐隐的内容",
    ["顶部与底部菜单"] = "顶部与底部菜单",
    ["数据栏"] = "数据栏",
    ["顶/底部菜单渐隐后透明度"] = "顶/底部菜单渐隐后透明度",
    ["数据栏渐隐后透明度"] = "数据栏渐隐后透明度",
    ["开启渐隐动画"] = "开启渐隐动画",
    ["渐隐动画持续时间"] = "渐隐动画持续时间",
    ["脱战后自动渐隐延迟 (秒)"] = "脱战后自动渐隐延迟 (秒)",

    ["显示数据贡献百分比 (脱战后生效)"] = "显示数据贡献百分比 (脱战后生效)",

    ["自动隐藏"] = "自动隐藏",
    ["自动隐藏延迟 (秒)"] = "自动隐藏延迟 (秒)",
    ["顶部与底部菜单隐藏的场合"] = "顶部与底部菜单隐藏的场合",
    ["数据栏隐藏的场合"] = "数据栏隐藏的场合",
    ["永远"] = "永远",
    ["脱战时"] = "脱战时",
    ["副本中永不隐藏顶部与底部菜单"] = "副本中永不隐藏顶部与底部菜单",
    ["副本中永不隐藏数据栏"] = "副本中永不隐藏数据栏",
    ["顶部与底部菜单隐藏时透明度"] = "顶部与底部菜单隐藏时透明度",
    ["数据栏隐藏时透明度"] = "数据栏隐藏时透明度",
    ["鼠标移到窗口上时取消隐藏"] = "鼠标移到窗口上时取消隐藏",
    ["开启隐藏动画"] = "开启隐藏动画",
    ["隐藏动画持续时间"] = "隐藏动画持续时间",
    ["[设置]界面缩放"] = "[设置]界面缩放",
    ["在排名中永远显示自己"] = "在排名中永远显示自己",

    ["数据追踪"] = "数据追踪",
    ["历史记录保存上限"] = "历史记录保存上限",
    ["(当超过上限时，将自动删除小怪记录，优先保留Boss战和副本全程记录)"] = "(当超过上限时，将自动删除小怪记录，优先保留Boss战和副本全程记录)",
    ["伤"] = "伤", ["治"] = "治", ["承"] = "承", ["敌"] = "敌", ["死"] = "死", ["断"] = "断", ["驱"] = "驱",
    ["启用标签简写"] = "启用标签简写",
    ["标签简写预览"] = "启用后: 伤害→伤  治疗→治  承伤→承  死亡→死  打断→断  驱散→驱",
    ["友方"] = "友方",
    ["敌方"] = "敌方",
    ["敌人承伤"] = "敌人承伤",
    ["%s 的承伤来源"] = "%s 的承伤来源",
    ["|cff555555暂无承伤数据|r"] = "|cff555555暂无承伤数据|r",

    ["按场景记忆窗口大小"] = "按场景记忆窗口大小",
    ["SCENE_SIZE_DESC"] = "启用后，大秘境/团副/其他副本/野外四种场景各自记忆窗口大小。切换场景时自动应用对应尺寸，位置不变。",
    ["缩放锚点"] = "缩放锚点",
    ["SCENE_ANCHOR_DESC"] = "切换场景时，窗口以此点为基准缩放（该点位置保持不动）",
    ["左上"] = "左上",
    ["右上"] = "右上",
    ["中心"] = "中心",
    ["左下"] = "左下",
    ["右下"] = "右下",

    ["离开副本后自动删除小怪段落"] = "离开副本后自动删除小怪段落",
    ["全程段落生效场景："] = "全程段落生效场景：",
    ["删除小怪生效场景："] = "删除小怪生效场景：",
}

-- 2. 繁体中文
local L_zhTW = {
    ["  /ldcs config  - 配置面板"] = "  /ldcs config  - 設定面板",
    ["  /ldcs lock    - 锁定/解锁窗口"] = "  /ldcs lock    - 鎖定/解鎖視窗",
    ["  /ldcs report [n] - 报告前N名到聊天频道"] = "  /ldcs report [n] - 報告前N名到聊天頻道",
    ["  /ldcs reset   - 重置所有数据"] = "  /ldcs reset   - 重置所有數據",
    ["  /ldcs show    - 显示/隐藏窗口"] = "  /ldcs show    - 顯示/隱藏視窗",
    ["  GetAvailableCombatSessions: %d 条"] = "  GetAvailableCombatSessions: %d 筆",
    ["  history: %d 条"] = "  history: %d 筆",
    ["团队总%s: %s次"] = "團隊總%s: %s次",
    ["含宠物"] = "含寵物",
    ["[全程]"] = "[全程]",
    ["|cff00ccff[实时]|r"] = "|cff00ccff[即時]|r",
    ["|cff888888[当前]|r"] = "|cff888888[當前]|r",
    ["|cffaaaaaa[实时加密]|r"] = "|cffaaaaaa[即時加密]|r",
    ["|cffff8888[自己]|r"] = "|cffff8888[自己]|r",
    ["的配置"] = "的設定檔",
    ["未知"] = "未知",
    ["治疗"] = "治療",
    ["近战"] = "近戰",
    ["发光描边 (Outline)"] = "發光描邊 (Outline)",
    ["%.1f 秒"] = "%.1f 秒",
    ["%.2f万"] = "%.2f萬",
    ["%.2f亿"] = "%.2f億",
    ["%[开本前%]"] = "%[開本前%]",
    ["%s 的技能细分"] = "%s 的技能細分",
    ["%s%s|r 的%s细分%s"] = "%s%s|r 的%s細分%s",
    ["水闸行动"] = "水閘行動",
    ["=== [Light Damage] Sessions 诊断 ==="] = "=== [Light Damage] Sessions 診斷 ===",
    ["=== [Light Damage] 死亡 RecapID 诊断 ==="] = "=== [Light Damage] 死亡 RecapID 診斷 ===",
    ["=== 结束 ==="] = "=== 結束 ===",
    [" 的死亡详情"] = " 的死亡詳情",
    ["应用此角色配置"] = "套用此角色設定",
    ["预览"] = "預覽",
    ["DPS(总量)"] = "DPS(總量)",
    ["加粗描边"] = "加粗描邊",
    [" (合计)"] = " (合計)",
    ["[Light Damage] C_DeathRecap 不存在"] = "[Light Damage] C_DeathRecap 不存在",
    ["[Light Damage] maxHealth=%s 共%d条，打印前3条字段:"] = "[Light Damage] maxHealth=%s 共%d筆，列印前3筆欄位:",
    ["[Light Damage] 没有死亡记录，先死一次"] = "[Light Damage] 沒有死亡紀錄，先死一次",
    ["[Light Damage] 返回空"] = "[Light Damage] 傳回空",
    ["[一键清空野外战斗]"] = "[一鍵清空野外戰鬥]",
    ["[开本前] "] = "[開本前] ",
    ["副本"] = "副本",
    ["伤害"] = "傷害",
    ["伤害量"] = "傷害量",
    ["承伤"] = "承傷",
    ["死亡"] = "死亡",
    ["数据"] = "數據",
    ["打断"] = "斷法",
    ["驱散"] = "驅散",
    ["全部关闭"] = "全部關閉",
    ["打断合计"] = "斷法合計",
    ["布局"] = "版面",
    ["外观"] = "外觀",
    ["大秘境"] = "傳奇+",
    ["其他副本"] = "其他副本",
    ["所有副本开启"] = "所有副本開啟",
    ["非副本"] = "非副本",
    ["总计"] = "總計",
    ["性能"] = "效能",
    ["我"] = "我",
    ["配置管理"] = "設定管理",
    ["|cff%02x%02x%02x— 全程 —|r"] = "|cff%02x%02x%02x— 全程 —|r",
    ["|cff00ccffLight Damage|r 设置"] = "|cff00ccffLight Damage|r 設定",
    ["|cff00ccff[Light Damage]|r 副本 %s 已整理%s + 1 条全程汇总"] = "|cff00ccff[Light Damage]|r 副本 %s 已整理%s + 1 筆全程彙整",
    ["|cff00ccff[Light Damage]|r 已清空所有野外历史记录，只保留副本与首领战数据。"] = "|cff00ccff[Light Damage]|r 已清空所有野外歷史紀錄，只保留副本與首領戰數據。",
    ["|cff00ccff[Light Damage]|r 已锁定"] = "|cff00ccff[Light Damage]|r 已鎖定",
    ["|cff00ccff[Light Damage]|r Baseline 已手动重置"] = "|cff00ccff[Light Damage]|r Baseline 已手動重置",
    [" 已加载 | /ldcs show · /ldcs help"] = " 已載入 | /ldcs show · /ldcs help",
    ["|cff00ccff[Light Damage]|r 命令:"] = "|cff00ccff[Light Damage]|r 指令:",
    ["|cff00ccff[Light Damage]|r 已应用 "] = "|cff00ccff[Light Damage]|r 已套用 ",
    ["|cff00ccff[Light Damage]|r 数据已重置"] = "|cff00ccff[Light Damage]|r 數據已重置",
    ["|cff00ccff[Light Damage]|r 无数据"] = "|cff00ccff[Light Damage]|r 無數據",
    ["|cff00ccff左键: 技能细分  右键: 切换模式|r"] = "|cff00ccff左鍵: 技能細分  右鍵: 切換模式|r",
    ["|cff00ccff点击查看完整死亡日志|r"] = "|cff00ccff點擊查看完整死亡日誌|r",
    ["|cff00ccff预览场景:|r"] = "|cff00ccff預覽場景:|r",
    ["|cff00ff00> 当前战斗|r"] = "|cff00ff00> 當前戰鬥|r",
    ["|cff00ff00[战]|r "] = "|cff00ff00[戰]|r ",
    ["|cff444444暂无事件数据（12.0副本内CLEU受限）|r"] = "|cff444444暫無事件數據（12.0副本內CLEU受限）|r",
    ["|cff4499cc— 死亡前事件（近 → 远）|r"] = "|cff4499cc— 死亡前事件（近 → 遠）|r",
    ["|cff4cb8e8+%d|r %s |cffaaaaaa[全程]|r"] = "|cff4cb8e8+%d|r %s |cffaaaaaa[全程]|r",
    ["|cff4cb8e8[Light Damage]|r M+ 完成: %s (计时: %s)"] = "|cff4cb8e8[Light Damage]|r 傳奇+ 完成: %s (計時: %s)",
    ["|cff4cb8e8[Light Damage]|r 检测到大秘境: %s +%d (reload)"] = "|cff4cb8e8[Light Damage]|r 偵測到傳奇+: %s +%d (reload)",
    ["|cff4cb8e8[Light Damage]|r 离开副本，数据已归档"] = "|cff4cb8e8[Light Damage]|r 離開副本，數據已歸檔",
    ["|cff4cb8e8[全程]"] = "|cff4cb8e8[全程]",
    ["|cff555555暂无技能数据|r"] = "|cff555555暫無技能數據|r",
    ["|cff555555本段暂无死亡记录|r"] = "|cff555555本段暫無死亡紀錄|r",
    ["|cff666666%d条|r"] = "|cff666666%d筆|r",
    ["|cff666666* 当前|r"] = "|cff666666* 當前|r",
    ["|cff888888%.1fs前|r"] = "|cff888888%.1fs前|r",
    ["|cff888888跨度 %.1fs|r"] = "|cff888888跨度 %.1fs|r",
    ["|cffaaaaaa* 总计|r"] = "|cffaaaaaa* 總計|r",
    ["|cffaaaaaa[API限制，请脱战后查看]"] = "|cffaaaaaa[API限制，請脫戰後查看]",
    ["|cffaaaaaa[队友死亡]|r"] = "|cffaaaaaa[隊友死亡]|r",
    ["|cffaaaaaa— 战斗中 (实时) —|r"] = "|cffaaaaaa— 戰鬥中 (即時) —|r",
    ["|cffaaaaaa— 本段 —|r"] = "|cffaaaaaa— 本段 —|r",
    ["|cffaaaaaa击杀者: |r"] = "|cffaaaaaa擊殺者: |r",
    ["|cffaaaaaa总计|r"] = "|cffaaaaaa總計|r",
    ["|cffff3333[Light Damage] ERROR:|r Segments 模块未加载"] = "|cffff3333[Light Damage] ERROR:|r Segments 模組未載入",
    ["|cffff3333[致命]: |r"] = "|cffff3333[致命]: |r",
    ["|cffff3333死亡|r"] = "|cffff3333死亡|r",
    ["|cffff8888[自己的死亡]|r"] = "|cffff8888[自己的死亡]|r",
    ["|cffffff00%d次|r"] = "|cffffff00%d次|r",
    ["|r [死亡]"] = "|r [死亡]",
    ["一键清空野外战斗"] = "一鍵清空野外戰鬥",
    ["专精"] = "專精",
    ["已锁定"] = "已鎖定",
    ["主栏 (上方) 高度占比"] = "主欄 (上方) 高度占比",
    ["主栏显示"] = "主欄顯示",
    ["仅大秘境开启"] = "僅傳奇+開啟",
    ["全局字体"] = "全局字體",
    ["全局尺寸"] = "全局尺寸",
    ["全程%s"] = "全程%s",
    ["%s [全程]"] = "%s [全程]",
    ["|cff4cb8e8[全程%s]|r"] = "|cff4cb8e8[全程%s]|r",
    ["全程 %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "全程 %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r",
    ["全程 0:00  |  Damage 0  Heal 0"] = "全程 0:00  |  Damage 0  Heal 0",
    ["全程占比"] = "全程占比",
    ["全程数据双列显示"] = "全程數據雙列顯示",
    ["共 %d 个 session"] = "共 %d 個 session",
    ["击杀者"] = "擊殺者",
    ["分栏模式 (同时显示两种数据)"] = "分欄模式 (同時顯示兩種數據)",
    ["剩余生命"] = "剩餘生命",
    ["副栏显示"] = "副欄顯示",
    ["单栏模式 (底部标签切换)"] = "單欄模式 (底部標籤切換)",
    ["占比"] = "占比",
    ["取消预览"] = "取消預覽",
    ["受伤: |cffff9966%s|r"] = "受傷: |cffff9966%s|r",
    ["总计区域宽度占比"] = "總計區域寬度占比",
    ["总计区域背景色"] = "總計區域背景色",
    ["总计区域显示场景"] = "總計區域顯示場景",
    ["同时显示伤害总量和DPS"] = "同時顯示傷害總量和DPS",
    ["名称颜色"] = "名稱顏色",
    ["名称颜色选择"] = "名稱顏色選擇",
    ["离开副本后自动生成副本全程段落"] = "離開副本後自動生成副本全程段落",
    ["命中"] = "命中",
    ["团队总%s: %s"] = "團隊總%s: %s",
    ["在最左侧显示专精图标"] = "在最左側顯示專精圖示",
    ["图标风格"] = "圖示風格",
    ["专精图标"] = "專精圖示",
    ["大秘境与副本自适应"] = "傳奇+與副本自適應",
    ["大秘境评分"] = "傳奇+評分",
    ["字体基础大小"] = "字體基礎大小",
    ["字体描边"] = "字體描邊",
    ["字体设置"] = "字體設定",
    ["已存档角色配置"] = "已存檔角色設定",
    ["已解锁"] = "已解鎖",
    ["布局模式"] = "版面模式",
    ["平均"] = "平均",
    ["平均装等"] = "平均裝等",
    ["平滑渐变 (Smooth)"] = "平滑漸變 (Smooth)",
    ["开启文字阴影"] = "開啟文字陰影",
    ["当前"] = "當前",
    ["当前战斗"] = "當前戰鬥",
    ["总 overkillAmount 合计: %d"] = "總 overkillAmount 合計: %d",
    ["总量"] = "總量",
    ["我方应记录的单位"] = "我方應紀錄的單位",
    ["战斗"] = "戰鬥",
    ["战斗中刷新间隔 (秒)"] = "戰鬥中刷新間隔 (秒)",
    ["承伤合计"] = "承傷合計",
    ["控制技能打断"] = "控制技能斷法",
    ["数据区背景色"] = "數據區背景色",
    ["数据显示"] = "數據顯示",
    ["数据显示格式"] = "數據顯示格式",
    ["数据条外观"] = "數據條外觀",
    ["数据条材质"] = "數據條材質",
    ["数据条透明度"] = "數據條透明度",
    ["数据条间距 (行高)"] = "數據條間距 (行高)",
    ["数据条高度"] = "數據條高度",
    ["方正粗圆"] = "方正粗圓",
    ["无"] = "無",
    ["无历史 session"] = "無歷史 session",
    ["无数据"] = "無數據",
    ["无治疗数据"] = "無治療數據",
    ["是同一把副本(Reload)"] = "是同一把副本(Reload)",
    ["显示排名序号"] = "顯示排名序號",
    ["显示玩家服务器"] = "顯示玩家伺服器",
    ["智能刷新"] = "智能刷新",
    ["暂无其他角色存档\n登录其他角色并打开插件后会自动存档"] = "暫無其他角色存檔\n登入其他角色並開啟插件後會自動存檔",
    ["暴击"] = "致命一擊",
    ["暴雪默认 (Blizz Default)"] = "暴雪預設 (Blizz Default)",
    ["最低"] = "最低",
    ["最高"] = "最高",
    ["有快照"] = "有快照",
    ["来源"] = "來源",
    ["极简纯色 (Minimal Flat)"] = "極簡純色 (Minimal Flat)",
    ["标题下方显示全程摘要行（仅在副本中生效）"] = "標題下方顯示全程摘要行（僅在副本中生效）",
    ["标题栏/页签主题色"] = "標題列/頁籤主題色",
    ["模拟战斗"] = "模擬戰鬥",
    ["模拟全程"] = "模擬全程",
    ["次"] = "次",
    ["死前受伤"] = "死前受傷",
    ["死前受治"] = "死前治療",
    ["每秒"] = "每秒",
    ["治疗量"] = "治療量",
    ["界面颜色"] = "介面顏色",
    ["窗口缩放 (Scale)"] = "視窗縮放 (Scale)",
    ["纯白"] = "純白",
    ["组内单位"] = "隊伍/團隊成員",
    ["职业颜色"] = "職業顏色",
    ["脱战刷新间隔 (秒)"] = "脫戰刷新間隔 (秒)",
    ["自定义"] = "自定義",
    ["自定义名称颜色"] = "自定義名稱顏色",
    ["自适应布局比例"] = "自適應版面比例",
    ["致命技能"] = "致命技能",
    ["距死亡"] = "距死亡",
    ["过量击杀"] = "過量擊殺",
    ["过量治疗"] = "過量治療",
    ["锁定窗口位置"] = "鎖定視窗位置",
    ["驱散合计"] = "驅散合計",
    ["黑体"] = "黑體",
    ["，保留 %d 个 Boss"] = "，保留 %d 個 Boss",
    ["界面语言"] = "介面語言",
    ["语言 (需要重载UI生效)"] = "語言 (需要重載UI生效)",
    ["跟随客户端"] = "跟隨客戶端",
    ["如果开启，则离开副本后，会把副本中所有发生的所有战斗进行汇总，并生成“全程”的战斗段落，同时副本中所有的战斗段落，会删除所有的小怪战斗段落，只保留Boss战。\n特别的，在团队副本（Raid）中，“全程”战斗段落会去掉所有的小怪战斗，只汇总所有Boss战。而其他任何副本中，“全程”段落包含小怪+Boss战的所有战斗。"] = "如果開啟，則離開副本後，會把副本中所有發生的所有戰鬥進行彙總，並生成「全程」的戰鬥段落，同時副本中所有的戰鬥段落，會刪除所有的小怪戰鬥段落，只保留Boss戰。\n特別的，在團隊副本（Raid）中，「全程」戰鬥段落會去掉所有的小怪戰鬥，只彙總所有Boss戰。而其他任何副本中，「全程」段落包含小怪+Boss戰的所有戰鬥。",
    ["系统默认"] = "系統預設",
    ["伤害数字"] = "傷害數字",
    ["聊天框字体"] = "聊天框字體",
    ["单位名称"] = "單位名稱",

    ["当前与总计窗口"] = "當前與總計視窗",
    ["同时显示当前与总计数据"] = "同時顯示當前與總計數據",
    ["开启场景"] = "開啟場景",
    ["总是开启"] = "總是開啟",
    ["永不开启"] = "永不開啟",
    ["当前/总计划分方向"] = "[當前/總計]划分方向",
    ["双数据划分方向"] = "[雙數據]劃分方向",
    ["左右划分"] = "左右劃分",
    ["上下划分"] = "上下劃分",
    ["当前数据位置"] = "[當前]數據位置",
    ["左侧"] = "左側",
    ["上方"] = "上方",
    ["右侧"] = "右側",
    ["下方"] = "下方",
    ["双数据显示"] = "雙數據顯示",
    ["开启双数据显示"] = "開啟雙數據顯示",
    ["主数据位置"] = "主數據位置",
    ["主数据内容"] = "主數據內容",
    ["副数据内容"] = "副數據內容",
    ["上下分栏比例"] = "上下分欄比例",
    ["左右分栏比例"] = "左右分欄比例",
    ["|cff4cb8e8[%s%s]|r"] = "|cff4cb8e8[%s%s]|r",
    ["|cff%02x%02x%02x— %s —|r"] = "|cff%02x%02x%02x— %s —|r",
    ["%s%s"] = "%s%s",
    ["%s占比"] = "%s占比",

    ["总计窗口开启场景"] = "總計視窗開啟場景",
    ["双数据开启场景"] = "雙數據開啟場景",
    ["团队副本"] = "團隊副本",
    ["其他副本 (含地下堡/战场/竞技场)"] = "其他副本 (含探究/戰場/競技場)",
    ["非副本 (开放世界)"] = "非副本 (開放世界)",
    ["大秘境"] = "傳奇+",
    ["离开副本后自动生成副本全程段落"] = "離開副本後自動生成副本全程段落",
    ["生效场景："] = "生效場景：",
    ["其他副本"] = "其他副本",
    

    -- 新增配置相关翻译
    ["默认"] = "預設",
    ["创建新配置"] = "建立新設定",
    ["配置名称不能为空或已存在"] = "設定名稱不能為空或已存在",
    ["配置名称已存在！"] = "設定名稱已存在！",
    ["输入新的配置名称:"] = "輸入新的設定名稱:",
    ["当前配置"] = "當前設定",
    ["已存配置"] = "已存設定",
    ["应用"] = "套用",
    ["删除"] = "刪除",
    ["改名"] = "重新命名",
    ["确定"] = "確定",
    ["取消"] = "取消",
    ["|cff00ccffLight Damage|r 设置 - %s"] = "|cff00ccffLight Damage|r 設定 - %s",
    ["|cff00ccff[Light Damage]|r 配置已重命名为 "] = "|cff00ccff[Light Damage]|r 設定已重新命名為 ",
    ["确定要删除配置 '%s' 吗？"] = "確定要刪除設定 '%s' 嗎？",

    ["%s %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "%s %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r",
    ["%s 0:00  |  Damage 0  Heal 0"] = "%s 0:00  |  Damage 0  Heal 0",

    ["OVERALL_DATA_TOOLTIP"] = "關於「總計」數據：\n 統計起點： 每次進入或離開副本時重新開始。\n 顯示內容： 自起點起累積的所有戰鬥彙總。\n 請注意： 手動刪除某段具體的戰鬥紀錄，不會影響總計數據。",
    ["排版行高 (文字/图标区域)"] = "排版行高 (文字/圖示區域)",
    ["颜色条实际粗细"] = "顏色條實際粗細",
    ["颜色条垂直偏移 (从底向上)"] = "顏色條垂直偏移 (從底向上)",

    ["技能详情页外观"] = "技能詳情頁外觀",
    ["排版行高 (文字/图标区域)"] = "排版行高 (文字/圖示區域)",
    ["颜色条实际粗细"] = "顏色條實際粗細",
    ["颜色条垂直偏移 (从底向上)"] = "顏色條垂直偏移 (從底向上)",
    ["数据条间距"] = "數據條間距",
    ["数据条透明度"] = "數據條透明度",
    ["数据条材质"] = "數據條材質",
    ["技能详情页字体"] = "技能詳情頁字體",
    ["字体基础大小"] = "字體基礎大小",
    ["字体描边"] = "字體描邊",
    ["开启文字阴影"] = "開啟文字陰影",

    ["展开与折叠"] = "展開與折疊",
    ["脱战后自动折叠"] = "脫戰後自動折疊",
    ["副本中永不自动折叠"] = "副本中永不自動折疊",
    ["折叠后透明度"] = "折疊後透明度",
    ["开启折叠动画"] = "開啟折疊動畫",
    ["折叠动画持续时间"] = "折疊動畫持續時間",
    ["脱战后多久后开始折叠 (秒)"] = "脫戰後多久後開始折疊 (秒)",

    ["折叠与隐藏"] = "折疊與隱藏",
    ["折叠"] = "折疊",
    ["自动渐隐"] = "自動漸隱",
    ["脱战后自动渐隐"] = "脫戰後自動漸隱",
    ["鼠标移到窗口上时取消渐隐"] = "滑鼠移到視窗時取消漸隱",
    ["自动渐隐的内容"] = "自動漸隱的內容",
    ["顶部与底部菜单"] = "頂部與底部選單",
    ["数据栏"] = "數據欄",
    ["顶/底部菜单渐隐后透明度"] = "頂/底部選單漸隱後透明度",
    ["数据栏渐隐后透明度"] = "數據欄漸隱後透明度",
    ["开启渐隐动画"] = "開啟漸隱動畫",
    ["渐隐动画持续时间"] = "漸隱動畫持續時間",
    ["脱战后自动渐隐延迟 (秒)"] = "脫戰後自動漸隱延遲 (秒)",

    ["显示数据贡献百分比 (脱战后生效)"] = "顯示數據貢獻百分比 (脫戰後生效)",

    ["自动隐藏"] = "自動隱藏",
    ["自动隐藏延迟 (秒)"] = "自動隱藏延遲 (秒)",
    ["顶部与底部菜单隐藏的场合"] = "頂部與底部選單隱藏的場合",
    ["数据栏隐藏的场合"] = "數據欄隱藏的場合",
    ["永远"] = "永遠",
    ["脱战时"] = "脫戰時",
    ["副本中永不隐藏顶部与底部菜单"] = "副本中永不隱藏頂部與底部選單",
    ["副本中永不隐藏数据栏"] = "副本中永不隱藏數據欄",
    ["顶部与底部菜单隐藏时透明度"] = "頂部與底部選單隱藏時透明度",
    ["数据栏隐藏时透明度"] = "數據欄隱藏時透明度",
    ["鼠标移到窗口上时取消隐藏"] = "滑鼠移到視窗時取消隱藏",
    ["开启隐藏动画"] = "開啟隱藏動畫",
    ["隐藏动画持续时间"] = "隱藏動畫持續時間",
    ["[设置]界面缩放"] = "[設定]介面縮放",
    ["在排名中永远显示自己"] = "在排名中永遠顯示自己",

    ["数据追踪"] = "數據追蹤",
    ["历史记录保存上限"] = "歷史紀錄儲存上限",
    ["(当超过上限时，将自动删除小怪记录，优先保留Boss战和副本全程记录)"] = "(當超過上限時，將自動刪除小怪紀錄，優先保留Boss戰與副本全程紀錄)",
    ["伤"] = "傷", ["治"] = "治", ["承"] = "承", ["敌"] = "敵", ["死"] = "死", ["断"] = "斷", ["驱"] = "驅",
    ["启用标签简写"] = "啟用標籤簡寫",
    ["标签简写预览"] = "啟用後: 傷害→傷  治療→治  承傷→承  死亡→死  斷法→斷  驅散→驅",
    ["友方"] = "友方",
    ["敌方"] = "敵方",
    ["敌人承伤"] = "敵人承傷",
    ["%s 的承伤来源"] = "%s 的承傷來源",
    ["|cff555555暂无承伤数据|r"] = "|cff555555暫無承傷數據|r",

    ["按场景记忆窗口大小"] = "按場景記憶視窗大小",
    ["SCENE_SIZE_DESC"] = "啟用後，傳奇+/團副/其他副本/野外四種場景各自記憶視窗大小。切換場景時自動套用對應尺寸，位置不變。",
    ["缩放锚点"] = "縮放錨點",
    ["SCENE_ANCHOR_DESC"] = "切換場景時，視窗以此點為基準縮放（該點位置保持不動）",
    ["左上"] = "左上",
    ["右上"] = "右上",
    ["中心"] = "中心",
    ["左下"] = "左下",
    ["右下"] = "右下",

    ["离开副本后自动删除小怪段落"] = "離開副本後自動刪除小怪段落",
    ["全程段落生效场景："] = "全程段落生效場景：",
    ["删除小怪生效场景："] = "刪除小怪生效場景：",
}

-- 3. 英文
local L_enUS = {
    ["  /ldcs config  - 配置面板"] = "  /ldcs config  - Config Panel",
    ["  /ldcs lock    - 锁定/解锁窗口"] = "  /ldcs lock    - Lock/Unlock Window",
    ["  /ldcs report [n] - 报告前N名到聊天频道"] = "  /ldcs report [n] - Report top N to chat",
    ["  /ldcs reset   - 重置所有数据"] = "  /ldcs reset   - Reset all data",
    ["  /ldcs show    - 显示/隐藏窗口"] = "  /ldcs show    - Show/Hide Window",
    ["  GetAvailableCombatSessions: %d 条"] = "  GetAvailableCombatSessions: %d",
    ["  history: %d 条"] = "  history: %d",
    ["团队总%s: %s次"] = "Team Total %s: %s",
    ["含宠物"] = "Incl. Pet",
    ["[全程]"] = "[Overall]",
    ["|cff00ccff[实时]|r"] = "|cff00ccff[Real-time]|r",
    ["|cff888888[当前]|r"] = "|cff888888[Current]|r",
    ["|cffaaaaaa[实时加密]|r"] = "|cffaaaaaa[Real-time Encrypted]|r",
    ["|cffff8888[自己]|r"] = "|cffff8888[Self]|r",
    ["的配置"] = "'s Profile",
    ["未知"] = "Unknown",
    ["治疗"] = "Heal",
    ["近战"] = "Melee",
    ["发光描边 (Outline)"] = "Outline",
    ["%.1f 秒"] = "%.1f sec",
    ["%.2f万"] = "%.2fk",
    ["%.2f亿"] = "%.2fM",
    ["%[开本前%]"] = "%[Pre-Instance%]",
    ["%s 的技能细分"] = "%s's Spell Breakdown",
    ["%s%s|r 的%s细分%s"] = "%s%s|r's %s Breakdown %s",
    ["水闸行动"] = "Operation: Floodgate",
    ["=== [Light Damage] Sessions 诊断 ==="] = "=== [Light Damage] Sessions Diagnostics ===",
    ["=== [Light Damage] 死亡 RecapID 诊断 ==="] = "=== [Light Damage] Death RecapID Diagnostics ===",
    ["=== 结束 ==="] = "=== End ===",
    [" 的死亡详情"] = "'s Death Details",
    ["应用此角色配置"] = "Apply this profile",
    ["预览"] = "Preview",
    ["DPS(总量)"] = "DPS(Total)",
    ["加粗描边"] = "Thick Outline",
    [" (合计)"] = " (Total)",
    ["[Light Damage] C_DeathRecap 不存在"] = "[Light Damage] C_DeathRecap missing",
    ["[Light Damage] maxHealth=%s 共%d条，打印前3条字段:"] = "[Light Damage] maxHealth=%s Total %d, first 3:",
    ["[Light Damage] 没有死亡记录，先死一次"] = "[Light Damage] No deaths recorded, die first",
    ["[Light Damage] 返回空"] = "[Light Damage] Returned empty",
    ["[一键清空野外战斗]"] = "[Clear Outdoor Combat]",
    ["[开本前] "] = "[Pre-Instance] ",
    ["副本"] = "Instance",
    ["伤害"] = "DMG",
    ["伤害量"] = "Damage Done",
    ["承伤"] = "Taken",
    ["死亡"] = "Deaths",
    ["数据"] = "Data",
    ["打断"] = "Ints",
    ["驱散"] = "Dispels",
    ["全部关闭"] = "All Off",
    ["打断合计"] = "Total Interrupts",
    ["布局"] = "Layout",
    ["外观"] = "Appearance",
    ["大秘境"] = "Mythic+",
    ["其他副本"] = "Other Instances",
    ["所有副本开启"] = "All Instances",
    ["非副本"] = "Non-Instance",
    ["总计"] = "Overall",
    ["性能"] = "Performance",
    ["我"] = "Me",
    ["配置管理"] = "Profiles",
    ["|cff%02x%02x%02x— 全程 —|r"] = "|cff%02x%02x%02x— Overall —|r",
    ["|cff00ccffLight Damage|r 设置"] = "|cff00ccffLight Damage|r Settings",
    ["|cff00ccff[Light Damage]|r 副本 %s 已整理%s + 1 条全程汇总"] = "|cff00ccff[Light Damage]|r Inst %s organized %s + 1 summary",
    ["|cff00ccff[Light Damage]|r 已清空所有野外历史记录，只保留副本与首领战数据。"] = "|cff00ccff[Light Damage]|r Cleared outdoor history, keeping instance/bosses.",
    ["|cff00ccff[Light Damage]|r 已锁定"] = "|cff00ccff[Light Damage]|r Locked",
    ["|cff00ccff[Light Damage]|r Baseline 已手动重置"] = "|cff00ccff[Light Damage]|r Baseline manually reset",
    [" 已加载 | /ldcs show · /ldcs help"] = " Loaded | /ldcs show · /ldcs help",
    ["|cff00ccff[Light Damage]|r 命令:"] = "|cff00ccff[Light Damage]|r Commands:",
    ["|cff00ccff[Light Damage]|r 已应用 "] = "|cff00ccff[Light Damage]|r Applied ",
    ["|cff00ccff[Light Damage]|r 数据已重置"] = "|cff00ccff[Light Damage]|r Data reset",
    ["|cff00ccff[Light Damage]|r 无数据"] = "|cff00ccff[Light Damage]|r No Data",
    ["|cff00ccff左键: 技能细分  右键: 切换模式|r"] = "|cff00ccffLeft-Click: Spells  Right-Click: Switch Mode|r",
    ["|cff00ccff点击查看完整死亡日志|r"] = "|cff00ccffClick for full death log|r",
    ["|cff00ccff预览场景:|r"] = "|cff00ccffPreview:|r",
    ["|cff00ff00> 当前战斗|r"] = "|cff00ff00> Current Combat|r",
    ["|cff00ff00[战]|r "] = "|cff00ff00[Combat]|r ",
    ["|cff444444暂无事件数据（12.0副本内CLEU受限）|r"] = "|cff444444No event data (12.0 CLEU restricted)|r",
    ["|cff4499cc— 死亡前事件（近 → 远）|r"] = "|cff4499cc— Events before death (Recent → Old)|r",
    ["|cff4cb8e8+%d|r %s |cffaaaaaa[全程]|r"] = "|cff4cb8e8+%d|r %s |cffaaaaaa[Overall]|r",
    ["|cff4cb8e8[Light Damage]|r M+ 完成: %s (计时: %s)"] = "|cff4cb8e8[Light Damage]|r M+ Completed: %s (Time: %s)",
    ["|cff4cb8e8[Light Damage]|r 检测到大秘境: %s +%d (reload)"] = "|cff4cb8e8[Light Damage]|r Mythic+ Detected: %s +%d (reload)",
    ["|cff4cb8e8[Light Damage]|r 离开副本，数据已归档"] = "|cff4cb8e8[Light Damage]|r Left instance, data archived",
    ["|cff4cb8e8[全程]"] = "|cff4cb8e8[Overall]",
    ["|cff555555暂无技能数据|r"] = "|cff555555No spell data|r",
    ["|cff555555本段暂无死亡记录|r"] = "|cff555555No death records in this segment|r",
    ["|cff666666%d条|r"] = "|cff666666%d|r",
    ["|cff666666* 当前|r"] = "|cff666666* Current|r",
    ["|cff888888%.1fs前|r"] = "|cff888888%.1fs ago|r",
    ["|cff888888跨度 %.1fs|r"] = "|cff888888Span %.1fs|r",
    ["|cffaaaaaa* 总计|r"] = "|cffaaaaaa* Total|r",
    ["|cffaaaaaa[API限制，请脱战后查看]"] = "|cffaaaaaa[API Restricted, check out of combat]",
    ["|cffaaaaaa[队友死亡]|r"] = "|cffaaaaaa[Ally Death]|r",
    ["|cffaaaaaa— 战斗中 (实时) —|r"] = "|cffaaaaaa— In Combat (Real-time) —|r",
    ["|cffaaaaaa— 本段 —|r"] = "|cffaaaaaa— Segment —|r",
    ["|cffaaaaaa击杀者: |r"] = "|cffaaaaaaKiller: |r",
    ["|cffaaaaaa总计|r"] = "|cffaaaaaaOverall|r",
    ["|cffff3333[Light Damage] ERROR:|r Segments 模块未加载"] = "|cffff3333[Light Damage] ERROR:|r Segments not loaded",
    ["|cffff3333[致命]: |r"] = "|cffff3333[Fatal]: |r",
    ["|cffff3333死亡|r"] = "|cffff3333Death|r",
    ["|cffff8888[自己的死亡]|r"] = "|cffff8888[Own Death]|r",
    ["|cffffff00%d次|r"] = "|cffffff00%d times|r",
    ["|r [死亡]"] = "|r [Death]",
    
    ["一键清空野外战斗"] = "Clear Outdoor Combat",
    ["专精"] = "Spec",
    ["已锁定"] = "Locked",
    ["主栏 (上方) 高度占比"] = "Top Bar Height %",
    ["主栏显示"] = "Top Bar Display",
    ["仅大秘境开启"] = "M+ Only",
    ["全局字体"] = "Global Font",
    ["全局尺寸"] = "Global Size",
    ["全程%s"] = "Overall %s",  -- 英文里加上空格！这样就会显示 "Overall Damage" 或 "Overall DPS"
    ["%s [全程]"] = "%s [Overall]",
    ["|cff4cb8e8[全程%s]|r"] = "|cff4cb8e8[Overall %s]|r",
    ["全程 %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "Overall %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r",
    ["全程 0:00  |  Damage 0  Heal 0"] = "Overall 0:00  |  Damage 0  Heal 0",
    ["全程占比"] = "Overall %",
    ["全程数据双列显示"] = "Overall Dual Column",
    ["共 %d 个 session"] = "Total %d sessions",
    ["击杀者"] = "Killer",
    ["分栏模式 (同时显示两种数据)"] = "Split Mode (Two metrics)",
    ["剩余生命"] = "HP Remaining",
    ["副栏显示"] = "Bottom Bar Display",
    ["单栏模式 (底部标签切换)"] = "Single Mode (Tabs)",
    ["占比"] = "%",
    ["取消预览"] = "Cancel Preview",
    ["受伤: |cffff9966%s|r"] = "Dmg Taken: |cffff9966%s|r",
    ["总计区域宽度占比"] = "Overall Column Width %",
    ["总计区域背景色"] = "Overall Column BG Color",
    ["总计区域显示场景"] = "Overall Column Shows",
    ["同时显示伤害总量和DPS"] = "Show Total DMG & DPS",
    ["名称颜色"] = "Name Color",
    ["名称颜色选择"] = "Name Color Selection",
    ["离开副本后自动生成副本全程段落（地下堡不适用)"] = "Leave instance to generate overall segment (Delves not supported)",
    ["命中"] = "Hits",
    ["团队总%s: %s"] = "Group %s: %s",
    ["在最左侧显示专精图标"] = "Spec Icon on Left",
    ["图标风格"] = "Icon Style",
    ["专精图标"] = "Spec Icon Pack",
    ["大秘境与副本自适应"] = "M+ & Instance Adaptive",
    ["大秘境评分"] = "Mythic+ Rating",
    ["字体基础大小"] = "Base Font Size",
    ["字体描边"] = "Font Outline",
    ["字体设置"] = "Font Settings",
    ["已存档角色配置"] = "Saved Profiles",
    ["已解锁"] = "Unlocked",
    ["布局模式"] = "Layout Mode",
    ["平均"] = "Avg",
    ["平均装等"] = "Avg ilvl",
    ["平滑渐变 (Smooth)"] = "Smooth",
    ["开启文字阴影"] = "Enable Text Shadow",
    ["当前"] = "Current",
    ["当前战斗"] = "Current Combat",
    ["总 overkillAmount 合计: %d"] = "Total Overkill: %d",
    ["总量"] = "Total",
    ["我方应记录的单位"] = "Units to Record",
    ["战斗"] = "Combat",
    ["战斗中刷新间隔 (秒)"] = "Combat Refresh (sec)",
    ["承伤合计"] = "Total DMG Taken",
    ["控制技能打断"] = "CC Interrupts",
    ["数据区背景色"] = "Data BG Color",
    ["数据显示"] = "Data Display",
    ["数据显示格式"] = "Data Display Format",
    ["数据条外观"] = "Bar Appearance",
    ["数据条材质"] = "Bar Texture",
    ["数据条透明度"] = "Bar Alpha",
    ["数据条间距 (行高)"] = "Bar Gap",
    ["数据条高度"] = "Bar Height",
    ["方正粗圆"] = "FZCuYuan",
    ["无"] = "None",
    ["无历史 session"] = "No history session",
    ["无数据"] = "No Data",
    ["无治疗数据"] = "No Healing Data",
    ["是同一把副本(Reload)"] = "Same Instance (Reload)",
    ["显示排名序号"] = "Show Rank Num",
    ["显示玩家服务器"] = "Show Player Realm",
    ["智能刷新"] = "Smart Refresh",
    ["暂无其他角色存档\n登录其他角色并打开插件后会自动存档"] = "No other profiles.\nLog into another character to auto-save.",
    ["暴击"] = "Crit",
    ["暴雪默认 (Blizz Default)"] = "Blizz Default",
    ["最低"] = "Min",
    ["最高"] = "Max",
    ["有快照"] = "Has Snapshot",
    ["来源"] = "Source",
    ["极简纯色 (Minimal Flat)"] = "Minimal Flat",
    ["标题下方显示全程摘要行（仅在副本中生效）"] = "Show Overall Summary Row (Instance Only)",
    ["标题栏/页签主题色"] = "Title/Tab Theme Color",
    ["模拟战斗"] = "Mock Combat",
    ["模拟全程"] = "Mock Overall",
    ["次"] = " hits",
    ["死前受伤"] = "DMG Before Death",
    ["死前受治"] = "Healed Before Death",
    ["每秒"] = "Per Sec",
    ["治疗量"] = "Healing Done",
    ["界面颜色"] = "UI Colors",
    ["窗口缩放 (Scale)"] = "Window Scale",
    ["纯白"] = "Pure White",
    ["组内单位"] = "Group Units",
    ["职业颜色"] = "Class Color",
    ["脱战刷新间隔 (秒)"] = "OOC Refresh (sec)",
    ["自定义"] = "Custom",
    ["自定义名称颜色"] = "Custom Name Color",
    ["自适应布局比例"] = "Adaptive Layout Ratio",
    ["致命技能"] = "Fatal Spell",
    ["距死亡"] = "To Death",
    ["过量击杀"] = "Overkill",
    ["过量治疗"] = "Overheal",
    ["锁定窗口位置"] = "Lock Window",
    ["驱散合计"] = "Total Dispels",
    ["黑体"] = "Heiti",
    ["，保留 %d 个 Boss"] = ", kept %d Bosses",
    ["界面语言"] = "UI Language",
    ["语言 (需要重载UI生效)"] = "Language (Requires Reload)",
    ["跟随客户端"] = "Auto (Client)",
    ["如果开启，则离开副本后，会把副本中所有发生的所有战斗进行汇总，并生成“全程”的战斗段落，同时副本中所有的战斗段落，会删除所有的小怪战斗段落，只保留Boss战。\n特别的，在团队副本（Raid）中，“全程”战斗段落会去掉所有的小怪战斗，只汇总所有Boss战。而其他任何副本中，“全程”段落包含小怪+Boss战的所有战斗。"] = "If enabled, after leaving an instance, all combat will be merged into an 'Overall' segment. All trash mob segments will be deleted, keeping only Boss fights.\nSpecifically, in Raids, the 'Overall' segment will exclude all trash fights and only summarize Bosses. In any other instances, 'Overall' includes both trash and Bosses.",
    ["系统默认"] = "System Default",
    ["伤害数字"] = "Damage Text",
    ["聊天框字体"] = "Chat Font",
    ["单位名称"] = "Unit Name",

    -- 新增配置相关翻译
    ["默认"] = "Default",
    ["创建新配置"] = "New Profile",
    ["配置名称不能为空或已存在"] = "Profile name cannot be empty or already exists",
    ["配置名称已存在！"] = "Profile name already exists!",
    ["输入新的配置名称:"] = "Enter new profile name:",
    ["当前配置"] = "Current Profile",
    ["已存配置"] = "Saved Profiles",
    ["应用"] = "Apply",
    ["删除"] = "Delete",
    ["改名"] = "Rename",
    ["确定"] = "OK",
    ["取消"] = "Cancel",
    ["|cff00ccffLight Damage|r 设置 - %s"] = "|cff00ccffLight Damage|r Settings - %s",
    ["|cff00ccff[Light Damage]|r 配置已重命名为 "] = "|cff00ccff[Light Damage]|r Profile renamed to ",
    ["确定要删除配置 '%s' 吗？"] = "Are you sure you want to delete profile '%s'?",

    ["当前与总计窗口"] = "Current & Overall Window",
    ["同时显示当前与总计数据"] = "Show Current & Overall",
    ["开启场景"] = "Enable in Scenario",
    ["总是开启"] = "Always On",
    ["永不开启"] = "Never On",
    ["当前/总计划分方向"] = "Current/Overall Split",
    ["双数据划分方向"] = "Dual Data Split",
    ["左右划分"] = "Left/Right Split",
    ["上下划分"] = "Top/Bottom Split",
    ["当前数据位置"] = "Current Data Pos",
    ["左侧"] = "Left",
    ["上方"] = "Top",
    ["右侧"] = "Right",
    ["下方"] = "Bottom",
    ["双数据显示"] = "Dual Data Display",
    ["开启双数据显示"] = "Enable Dual Data",
    ["主数据位置"] = "Primary Data Pos",
    ["主数据内容"] = "Primary Content",
    ["副数据内容"] = "Secondary Content",
    ["上下分栏比例"] = "Top/Bottom Ratio",
    ["左右分栏比例"] = "Left/Right Ratio",
    ["|cff4cb8e8[%s%s]|r"] = "|cff4cb8e8[%s %s]|r",
    ["|cff%02x%02x%02x— %s —|r"] = "|cff%02x%02x%02x— %s —|r",
    ["%s%s"] = "%s %s",
    ["%s占比"] = "%s %%",

    ["%s %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "%s %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r",
    ["%s 0:00  |  Damage 0  Heal 0"] = "%s 0:00  |  Damage 0  Heal 0",

    ["OVERALL_DATA_TOOLTIP"] = "About 'Overall' Data:\n Starting Point: Resets each time you enter or leave an instance.\n Content: Accumulates all combat data from the starting point.\n Note: Manually deleting a specific combat segment does not affect the overall data.",
    ["排版行高 (文字/图标区域)"] = "Layout Row Height (Text/Icon Area)",
    ["颜色条实际粗细"] = "Bar Actual Thickness",
    ["颜色条垂直偏移 (从底向上)"] = "Bar Vertical Offset (Bottom-Up)",

    ["技能详情页外观"] = "Spell Details Appearance",
    ["排版行高 (文字/图标区域)"] = "Layout Row Height (Text/Icon Area)",
    ["颜色条实际粗细"] = "Bar Actual Thickness",
    ["颜色条垂直偏移 (从底向上)"] = "Bar Vertical Offset (Bottom-Up)",
    ["数据条间距"] = "Data Bar Spacing",
    ["数据条透明度"] = "Data Bar Opacity",
    ["数据条材质"] = "Data Bar Material",
    ["技能详情页字体"] = "Spell Details Font",
    ["字体基础大小"] = "Font Base Size",
    ["字体描边"] = "Font Outline",
    ["开启文字阴影"] = "Enable Text Shadow",

    ["展开与折叠"] = "Expand & Collapse",
    ["脱战后自动折叠"] = "Auto-collapse out of combat",
    ["副本中永不自动折叠"] = "Never auto-collapse in instances",
    ["折叠后透明度"] = "Collapsed Alpha",
    ["开启折叠动画"] = "Enable Collapse Animation",
    ["折叠动画持续时间"] = "Animation Duration",
    ["脱战后多久后开始折叠 (秒)"] = "Auto-collapse Delay (sec)",

    ["总计窗口开启场景"] = "Overall Window Enable Scenario",
    ["双数据开启场景"] = "Dual Data Enable Scenario",
    ["团队副本"] = "Raid Instance",
    ["其他副本 (含地下堡/战场/竞技场)"] = "Other Instances (incl. Delves/BGs/Arenas)",
    ["非副本 (开放世界)"] = "Non-Instance (Open World)",
    ["大秘境"] = "Mythic+",
    ["离开副本后自动生成副本全程段落"] = "Generate Overall Segment After Leaving Instance",
    ["生效场景："] = "Enable Scenario:",
    ["其他副本"] = "Other Instances",

    ["折叠与隐藏"] = "Collapse & Fade",
    ["折叠"] = "Collapse",
    ["自动渐隐"] = "Auto Fade",
    ["脱战后自动渐隐"] = "Auto-fade out of combat",
    ["鼠标移到窗口上时取消渐隐"] = "Unfade on mouse hover",
    ["自动渐隐的内容"] = "Fade targets",
    ["顶部与底部菜单"] = "Title & Tab Bar",
    ["数据栏"] = "Data Area",
    ["顶/底部菜单渐隐后透明度"] = "Title/Tab Bar Faded Alpha",
    ["数据栏渐隐后透明度"] = "Data Area Faded Alpha",
    ["开启渐隐动画"] = "Enable Fade Animation",
    ["渐隐动画持续时间"] = "Fade Animation Duration",
    ["脱战后自动渐隐延迟 (秒)"] = "Fade Delay After Combat (sec)",

    ["显示数据贡献百分比 (脱战后生效)"] = "Show Contribution % (Out of Combat)",

    ["自动隐藏"] = "Auto Hide",
    ["自动隐藏延迟 (秒)"] = "Auto Hide Delay (sec)",
    ["顶部与底部菜单隐藏的场合"] = "Hide Title/Tab When",
    ["数据栏隐藏的场合"] = "Hide Data Area When",
    ["永远"] = "Always",
    ["脱战时"] = "Out of Combat",
    ["副本中永不隐藏顶部与底部菜单"] = "Never hide Title/Tab in instances",
    ["副本中永不隐藏数据栏"] = "Never hide Data Area in instances",
    ["顶部与底部菜单隐藏时透明度"] = "Title/Tab Hidden Alpha",
    ["数据栏隐藏时透明度"] = "Data Area Hidden Alpha",
    ["鼠标移到窗口上时取消隐藏"] = "Unhide on mouse hover",
    ["开启隐藏动画"] = "Enable Hide Animation",
    ["隐藏动画持续时间"] = "Hide Animation Duration",
    ["[设置]界面缩放"] = "Config Panel Scale",
    ["在排名中永远显示自己"] = "Always Show Self in Ranking",

    ["数据追踪"] = "Data Tracking",
    ["历史记录保存上限"] = "Max History Segments",
    ["(当超过上限时，将自动删除小怪记录，优先保留Boss战和副本全程记录)"] = "(When limit is reached, trash mob records are auto-deleted to preserve Boss and Overall data)",
    ["伤"] = "Dmg", ["治"] = "Heal", ["承"] = "Tkn", ["敌"] = "Emy", ["死"] = "Dth", ["断"] = "Int", ["驱"] = "Dis",
    ["启用标签简写"] = "Use Short Tab Labels",
    ["标签简写预览"] = "When enabled: DMG→Dmg  Heal→Heal  Taken→Tkn  Deaths→Dth  Ints→Int  Dispels→Dis",
    ["友方"] = "Ally",
    ["敌方"] = "Enemy",
    ["敌人承伤"] = "Enemy Dmg Taken",
    ["%s 的承伤来源"] = "Damage to %s",
    ["|cff555555暂无承伤数据|r"] = "|cff555555No damage data|r",
    ["按场景记忆窗口大小"] = "Per-Scene Window Size",
    ["SCENE_SIZE_DESC"] = "When enabled, window size is remembered separately for Mythic+, Raid, Other Instances, and Open World.",
    ["缩放锚点"] = "Resize Anchor",
    ["SCENE_ANCHOR_DESC"] = "When switching scenes, the window resizes around this point (stays in place)",
    ["左上"] = "Top-Left",
    ["右上"] = "Top-Right",
    ["中心"] = "Center",
    ["左下"] = "Bottom-Left",
    ["右下"] = "Bottom-Right",

    ["离开副本后自动删除小怪段落"] = "Auto-delete trash segments after leaving instance",
    ["全程段落生效场景："] = "Generate overall segment in:",
    ["删除小怪生效场景："] = "Delete trash segments in:",
}

-- 4. 俄语 (ruRU)
local L_ruRU = {
    ["  /ldcs config  - 配置面板"] = "  /ldcs config  - Панель настроек",
    ["  /ldcs lock    - 锁定/解锁窗口"] = "  /ldcs lock    - Блок./Разблок. окно",
    ["  /ldcs report [n] - 报告前N名到聊天频道"] = "  /ldcs report [n] - Отчет топ-N в чат",
    ["  /ldcs reset   - 重置所有数据"] = "  /ldcs reset   - Сбросить все данные",
    ["  /ldcs show    - 显示/隐藏窗口"] = "  /ldcs show    - Показать/Скрыть окно",
    ["  GetAvailableCombatSessions: %d 条"] = "  GetAvailableCombatSessions: %d",
    ["  history: %d 条"] = "  история: %d",
    ["团队总%s: %s次"] = "Всего в группе %s: %s",
    ["含宠物"] = "Вкл. питомца",
    ["[全程]"] = "[Общее]",
    ["|cff00ccff[实时]|r"] = "|cff00ccff[В реальном времени]|r",
    ["|cff888888[当前]|r"] = "|cff888888[Текущий]|r",
    ["|cffaaaaaa[实时加密]|r"] = "|cffaaaaaa[Зашифровано]|r",
    ["|cffff8888[自己]|r"] = "|cffff8888[Вы]|r",
    ["的配置"] = " - профиль",
    ["未知"] = "Неизвестно",
    ["治疗"] = "Исцеление",
    ["近战"] = "Ближний бой",
    ["发光描边 (Outline)"] = "Контур (Outline)",
    ["%.1f 秒"] = "%.1f сек",
    ["%.2f万"] = "%.2f тыс.",
    ["%.2f亿"] = "%.2f млн",
    ["%[开本前%]"] = "%[До подземелья%]",
    ["%s 的技能细分"] = "Детализация заклинаний: %s",
    ["%s%s|r 的%s细分%s"] = "Детализация %s для %s%s|r %s",
    ["水闸行动"] = "Операция: Шлюз",
    ["=== [Light Damage] Sessions 诊断 ==="] = "=== Диагностика сессий [Light Damage] ===",
    ["=== [Light Damage] 死亡 RecapID 诊断 ==="] = "=== Диагностика RecapID смертей [Light Damage] ===",
    ["=== 结束 ==="] = "=== Конец ===",
    [" 的死亡详情"] = " - детали смерти",
    ["应用此角色配置"] = "Применить этот профиль",
    ["预览"] = "Предпросмотр",
    ["DPS(总量)"] = "УВС(Всего)",
    ["加粗描边"] = "Жирный контур",
    [" (合计)"] = " (Всего)",
    ["[Light Damage] C_DeathRecap 不存在"] = "[Light Damage] C_DeathRecap отсутствует",
    ["[Light Damage] maxHealth=%s 共%d条，打印前3条字段:"] = "[Light Damage] maxHealth=%s Всего %d, первые 3:",
    ["[Light Damage] 没有死亡记录，先死一次"] = "[Light Damage] Нет записей о смертях, сначала умрите",
    ["[Light Damage] 返回空"] = "[Light Damage] Возвращено пустое значение",
    ["[一键清空野外战斗]"] = "[Очистить бои в мире]",
    ["[开本前] "] = "[До подземелья] ",
    ["副本"] = "Подземелье",
    ["伤害"] = "Урон",
    ["伤害量"] = "Нанесенный урон",
    ["承伤"] = "Получ. урон",
    ["死亡"] = "Смерти",
    ["数据"] = "Данные",
    ["打断"] = "Прерывания",
    ["驱散"] = "Рассеивания",
    ["全部关闭"] = "Все выкл",
    ["打断合计"] = "Всего прерываний",
    ["布局"] = "Макет",
    ["外观"] = "Внешний вид",
    ["大秘境"] = "Эпохальный+",
    ["其他副本"] = "Другие подземелья",
    ["所有副本开启"] = "Все подземелья",
    ["非副本"] = "Вне подземелий",
    ["总计"] = "Общее",
    ["性能"] = "Производительность",
    ["我"] = "Я",
    ["配置管理"] = "Профили",
    ["|cff%02x%02x%02x— 全程 —|r"] = "|cff%02x%02x%02x— Общее —|r",
    ["|cff00ccffLight Damage|r 设置"] = "Настройки |cff00ccffLight Damage|r",
    ["|cff00ccff[Light Damage]|r 副本 %s 已整理%s + 1 条全程汇总"] = "|cff00ccff[Light Damage]|r Подземелье %s: собрано %s + 1 сводка",
    ["|cff00ccff[Light Damage]|r 已清空所有野外历史记录，只保留副本与首领战数据。"] = "|cff00ccff[Light Damage]|r История боев в мире очищена, оставлены только подземелья/боссы.",
    ["|cff00ccff[Light Damage]|r 已锁定"] = "|cff00ccff[Light Damage]|r Заблокировано",
    ["|cff00ccff[Light Damage]|r Baseline 已手动重置"] = "|cff00ccff[Light Damage]|r Базовые данные сброшены вручную",
    [" 已加载 | /ldcs show · /ldcs help"] = " Загружено | /ldcs show · /ldcs help",
    ["|cff00ccff[Light Damage]|r 命令:"] = "|cff00ccff[Light Damage]|r Команды:",
    ["|cff00ccff[Light Damage]|r 已应用 "] = "|cff00ccff[Light Damage]|r Применено ",
    ["|cff00ccff[Light Damage]|r 数据已重置"] = "|cff00ccff[Light Damage]|r Данные сброшены",
    ["|cff00ccff[Light Damage]|r 无数据"] = "|cff00ccff[Light Damage]|r Нет данных",
    ["|cff00ccff左键: 技能细分  右键: 切换模式|r"] = "|cff00ccffЛКМ: Заклинания  ПКМ: Смена режима|r",
    ["|cff00ccff点击查看完整死亡日志|r"] = "|cff00ccffНажмите для просмотра полного журнала смертей|r",
    ["|cff00ccff预览场景:|r"] = "|cff00ccffПредпросмотр:|r",
    ["|cff00ff00> 当前战斗|r"] = "|cff00ff00> Текущий бой|r",
    ["|cff00ff00[战]|r "] = "|cff00ff00[Бой]|r ",
    ["|cff444444暂无事件数据（12.0副本内CLEU受限）|r"] = "|cff444444Нет данных о событиях (Ограничение CLEU в 12.0)|r",
    ["|cff4499cc— 死亡前事件（近 → 远）|r"] = "|cff4499cc— События до смерти (Новые → Старые)|r",
    ["|cff4cb8e8+%d|r %s |cffaaaaaa[全程]|r"] = "|cff4cb8e8+%d|r %s |cffaaaaaa[Общее]|r",
    ["|cff4cb8e8[Light Damage]|r M+ 完成: %s (计时: %s)"] = "|cff4cb8e8[Light Damage]|r Эпохальный+ пройден: %s (Время: %s)",
    ["|cff4cb8e8[Light Damage]|r 检测到大秘境: %s +%d (reload)"] = "|cff4cb8e8[Light Damage]|r Обнаружен Эпохальный+: %s +%d (перезагрузка)",
    ["|cff4cb8e8[Light Damage]|r 离开副本，数据已归档"] = "|cff4cb8e8[Light Damage]|r Подземелье покинуто, данные сохранены",
    ["|cff4cb8e8[全程]"] = "|cff4cb8e8[Общее]",
    ["|cff555555暂无技能数据|r"] = "|cff555555Нет данных о заклинаниях|r",
    ["|cff555555本段暂无死亡记录|r"] = "|cff555555Нет записей о смертях в этом сегменте|r",
    ["|cff666666%d条|r"] = "|cff666666%d|r",
    ["|cff666666* 当前|r"] = "|cff666666* Текущий|r",
    ["|cff888888%.1fs前|r"] = "|cff888888%.1fs назад|r",
    ["|cff888888跨度 %.1fs|r"] = "|cff888888Диапазон %.1fs|r",
    ["|cffaaaaaa* 总计|r"] = "|cffaaaaaa* Всего|r",
    ["|cffaaaaaa[API限制，请脱战后查看]"] = "|cffaaaaaa[Ограничение API, проверьте вне боя]",
    ["|cffaaaaaa[队友死亡]|r"] = "|cffaaaaaa[Смерть союзника]|r",
    ["|cffaaaaaa— 战斗中 (实时) —|r"] = "|cffaaaaaa— В бою (Реальное время) —|r",
    ["|cffaaaaaa— 本段 —|r"] = "|cffaaaaaa— Сегмент —|r",
    ["|cffaaaaaa击杀者: |r"] = "|cffaaaaaaУбийца: |r",
    ["|cffaaaaaa总计|r"] = "|cffaaaaaaОбщее|r",
    ["|cffff3333[Light Damage] ERROR:|r Segments 模块未加载"] = "|cffff3333[Light Damage] ОШИБКА:|r Модуль Segments не загружен",
    ["|cffff3333[致命]: |r"] = "|cffff3333[Смертельный]: |r",
    ["|cffff3333死亡|r"] = "|cffff3333Смерть|r",
    ["|cffff8888[自己的死亡]|r"] = "|cffff8888[Своя смерть]|r",
    ["|cffffff00%d次|r"] = "|cffffff00%d раз|r",
    ["|r [死亡]"] = "|r [Смерть]",
    
    ["一键清空野外战斗"] = "Очистить бои в мире",
    ["专精"] = "Специализация",
    ["已锁定"] = "Заблокировано",
    ["主栏 (上方) 高度占比"] = "Высота верхней панели %",
    ["主栏显示"] = "Верхняя панель показывает",
    ["仅大秘境开启"] = "Только Эпохальный+",
    ["全局字体"] = "Глобальный шрифт",
    ["全局尺寸"] = "Глобальный размер",
    ["全程%s"] = "Общий %s",
    ["%s [全程]"] = "%s [Общее]",
    ["|cff4cb8e8[全程%s]|r"] = "|cff4cb8e8[Общий %s]|r",
    ["全程 %s  |  Damage |cffffd100%s|r  Heal |cff66ff66%s|r"] = "Общее %s  |  Урон |cffffd100%s|r  Исц. |cff66ff66%s|r",
    ["全程 0:00  |  Damage 0  Heal 0"] = "Общее 0:00  |  Урон 0  Исц. 0",
    ["全程占比"] = "Общий %",
    ["全程数据双列显示"] = "Общие данные в два столбца",
    ["共 %d 个 session"] = "Всего сессий: %d",
    ["击杀者"] = "Убийца",
    ["分栏模式 (同时显示两种数据)"] = "Разделенный режим (Два показателя)",
    ["剩余生命"] = "Остаток здоровья",
    ["副栏显示"] = "Нижняя панель показывает",
    ["单栏模式 (底部标签切换)"] = "Одиночный режим (Вкладки)",
    ["占比"] = "%",
    ["取消预览"] = "Отменить предпросмотр",
    ["受伤: |cffff9966%s|r"] = "Получ. урон: |cffff9966%s|r",
    ["总计区域宽度占比"] = "Ширина колонки 'Общее' %",
    ["总计区域背景色"] = "Цвет фона 'Общее'",
    ["总计区域显示场景"] = "Показывать колонку 'Общее'",
    ["同时显示伤害总量和DPS"] = "Показывать общий урон и УВС",
    ["名称颜色"] = "Цвет имени",
    ["名称颜色选择"] = "Выбор цвета имени",
    ["离开副本后自动生成副本全程段落（地下堡不适用)"] = "Создавать общий сегмент при выходе (не работает в вылазках)",
    ["命中"] = "Попадания",
    ["团队总%s: %s"] = "Группа %s: %s",
    ["在最左侧显示专精图标"] = "Иконка специализации слева",
    ["图标风格"] = "Стиль иконок",
    ["专精图标"] = "Набор иконок специализаций",
    ["大秘境与副本自适应"] = "Адаптация под Эпох+ и подземелья",
    ["大秘境评分"] = "Рейтинг Эпохальный+",
    ["字体基础大小"] = "Базовый размер шрифта",
    ["字体描边"] = "Контур шрифта",
    ["字体设置"] = "Настройки шрифта",
    ["已存档角色配置"] = "Сохраненные профили",
    ["已解锁"] = "Разблокировано",
    ["布局模式"] = "Режим макета",
    ["平均"] = "Сред.",
    ["平均装等"] = "Ср. уровень предметов",
    ["平滑渐变 (Smooth)"] = "Гладкий (Smooth)",
    ["开启文字阴影"] = "Включить тень текста",
    ["当前"] = "Текущий",
    ["当前战斗"] = "Текущий бой",
    ["总 overkillAmount 合计: %d"] = "Общий избыточный урон: %d",
    ["总量"] = "Всего",
    ["我方应记录的单位"] = "Отслеживаемые юниты",
    ["战斗"] = "Бой",
    ["战斗中刷新间隔 (秒)"] = "Обновление в бою (сек)",
    ["承伤合计"] = "Общий получ. урон",
    ["控制技能打断"] = "Прерывания контролем",
    ["数据区背景色"] = "Цвет фона данных",
    ["数据显示"] = "Отображение данных",
    ["数据显示格式"] = "Формат данных",
    ["数据条外观"] = "Внешний вид полос",
    ["数据条材质"] = "Текстура полос",
    ["数据条透明度"] = "Непрозрачность полос",
    ["数据条间距 (行高)"] = "Интервал полос",
    ["数据条高度"] = "Высота полос",
    ["方正粗圆"] = "FZCuYuan",
    ["无"] = "Нет",
    ["无历史 session"] = "Нет истории сессий",
    ["无数据"] = "Нет данных",
    ["无治疗数据"] = "Нет данных об исцелении",
    ["是同一把副本(Reload)"] = "То же подземелье (Перезагрузка)",
    ["显示排名序号"] = "Показывать номер ранга",
    ["显示玩家服务器"] = "Показывать игровой мир игрока",
    ["智能刷新"] = "Умное обновление",
    ["暂无其他角色存档\n登录其他角色并打开插件后会自动存档"] = "Нет других профилей.\nВойдите за другого персонажа для автосохранения.",
    ["暴击"] = "Крит",
    ["暴雪默认 (Blizz Default)"] = "По умолчанию (Blizz)",
    ["最低"] = "Мин.",
    ["最高"] = "Макс.",
    ["有快照"] = "Снимок сохранен",
    ["来源"] = "Источник",
    ["极简纯色 (Minimal Flat)"] = "Минималистичный",
    ["标题下方显示全程摘要行（仅在副本中生效）"] = "Сводка под заголовком (только подземелья)",
    ["标题栏/页签主题色"] = "Цвет темы заголовка/вкладок",
    ["模拟战斗"] = "Тестовый бой",
    ["模拟全程"] = "Тестовое общее",
    ["次"] = " попаданий",
    ["死前受伤"] = "Урон перед смертью",
    ["死前受治"] = "Исц. перед смертью",
    ["每秒"] = "В сек",
    ["治疗量"] = "Нанесенное исцеление",
    ["界面颜色"] = "Цвета интерфейса",
    ["窗口缩放 (Scale)"] = "Масштаб окна",
    ["纯白"] = "Чистый белый",
    ["组内单位"] = "Юниты группы",
    ["职业颜色"] = "Цвет класса",
    ["脱战刷新间隔 (秒)"] = "Обновление вне боя (сек)",
    ["自定义"] = "Свой",
    ["自定义名称颜色"] = "Свой цвет имени",
    ["自适应布局比例"] = "Пропорции адаптивного макета",
    ["致命技能"] = "Смертельное заклинание",
    ["距死亡"] = "До смерти",
    ["过量击杀"] = "Избыточный урон",
    ["过量治疗"] = "Избыточное исцеление",
    ["锁定窗口位置"] = "Заблокировать окно",
    ["驱散合计"] = "Всего рассеиваний",
    ["黑体"] = "Heiti",
    ["，保留 %d 个 Boss"] = ", оставлено боссов: %d",
    ["界面语言"] = "Язык интерфейса",
    ["语言 (需要重载UI生效)"] = "Язык (Требуется перезагрузка)",
    ["跟随客户端"] = "Автоматически (Клиент)",
    ["如果开启，则离开副本后，会把副本中所有发生的所有战斗进行汇总，并生成“全程”的战斗段落，同时副本中所有的战斗段落，会删除所有的小怪战斗段落，只保留Boss战。\n特别的，在团队副本（Raid）中，“全程”战斗段落会去掉所有的小怪战斗，只汇总所有Boss战。而其他任何副本中，“全程”段落包含小怪+Boss战的所有战斗。"] = "Если включено, после выхода из подземелья все бои объединяются в сегмент 'Общее'. Сегменты боев с обычными противниками (трешем) удаляются, остаются только бои с боссами.\nВ рейдах 'Общее' учитывает только урон по боссам. В остальных подземельях 'Общее' включает как боссов, так и треш.",
    ["系统默认"] = "Системный по умолчанию",
    ["伤害数字"] = "Текст урона",
    ["聊天框字体"] = "Шрифт чата",
    ["单位名称"] = "Имя юнита",

    ["默认"] = "По умолчанию",
    ["创建新配置"] = "Новый профиль",
    ["配置名称不能为空或已存在"] = "Имя профиля не может быть пустым или уже существует",
    ["配置名称已存在！"] = "Имя профиля уже существует!",
    ["输入新的配置名称:"] = "Введите новое имя профиля:",
    ["当前配置"] = "Текущий профиль",
    ["已存配置"] = "Сохраненные профили",
    ["应用"] = "Применить",
    ["删除"] = "Удалить",
    ["改名"] = "Переименовать",
    ["确定"] = "ОК",
    ["取消"] = "Отмена",
    ["|cff00ccffLight Damage|r 设置 - %s"] = "Настройки |cff00ccffLight Damage|r - %s",
    ["|cff00ccff[Light Damage]|r 配置已重命名为 "] = "|cff00ccff[Light Damage]|r Профиль переименован в ",
    ["确定要删除配置 '%s' 吗？"] = "Вы уверены, что хотите удалить профиль '%s'?",

    ["当前与总计窗口"] = "Окно Текущий и Общее",
    ["同时显示当前与总计数据"] = "Показывать Текущий и Общее",
    ["开启场景"] = "Включать в сценариях",
    ["总是开启"] = "Всегда включено",
    ["永不开启"] = "Никогда не включать",
    ["当前/总计划分方向"] = "Разделение Текущий/Общее",
    ["双数据划分方向"] = "Разделение двойных данных",
    ["左右划分"] = "Разделение слева/справа",
    ["上下划分"] = "Разделение сверху/снизу",
    ["当前数据位置"] = "Позиция текущих данных",
    ["左侧"] = "Слева",
    ["上方"] = "Сверху",
    ["右侧"] = "Справа",
    ["下方"] = "Снизу",
    ["双数据显示"] = "Двойное отображение",
    ["开启双数据显示"] = "Включить двойные данные",
    ["主数据位置"] = "Позиция основных данных",
    ["主数据内容"] = "Основной контент",
    ["副数据内容"] = "Дополнительный контент",
    ["上下分栏比例"] = "Пропорция сверху/снизу",
    ["左右分栏比例"] = "Пропорция слева/справа",
    ["|cff4cb8e8[%s%s]|r"] = "|cff4cb8e8[%s %s]|r",
    ["|cff%02x%02x%02x— %s —|r"] = "|cff%02x%02x%02x— %s —|r",
    ["%s%s"] = "%s %s",
    ["%s占比"] = "%s %%",

    ["OVERALL_DATA_TOOLTIP"] = "О данных 'Общее':\n Начало отсчета: Сбрасывается при каждом входе или выходе из подземелья.\n Содержимое: Накапливает все бои с момента старта.\n Примечание: Ручное удаление отдельного боя не влияет на общие данные.",
    ["排版行高 (文字/图标区域)"] = "Высота строки макета (Текст/Иконки)",
    ["颜色条实际粗细"] = "Фактическая толщина полосы",
    ["颜色条垂直偏移 (从底向上)"] = "Смещение полосы (снизу вверх)",

    ["技能详情页外观"] = "Внешний вид деталей заклинаний",
    ["数据条间距"] = "Интервал между полосами",
    ["技能详情页字体"] = "Шрифт деталей заклинаний",

    ["展开与折叠"] = "Развертывание и свертывание",
    ["脱战后自动折叠"] = "Авто-свертывание вне боя",
    ["副本中永不自动折叠"] = "Никогда не свертывать в подземельях",
    ["折叠后透明度"] = "Непрозрачность свернутого окна",
    ["开启折叠动画"] = "Включить анимацию свертывания",
    ["折叠动画持续时间"] = "Длительность анимации",
    ["脱战后多久后开始折叠 (秒)"] = "Задержка авто-свертывания (сек)",

    ["总计窗口开启场景"] = "Условия включения окна 'Общее'",
    ["双数据开启场景"] = "Условия включения двойных данных",
    ["团队副本"] = "Рейд",
    ["其他副本 (含地下堡/战场/竞技场)"] = "Другие инсты (вкл. Вылазки/БГ/Арены)",
    ["非副本 (开放世界)"] = "Вне подземелий (Открытый мир)",
    ["离开副本后自动生成副本全程段落"] = "Генерировать сегмент 'Общее' после выхода",
    ["生效场景："] = "Активно в:",

    ["折叠与隐藏"] = "Свёртывание и затухание",
    ["折叠"] = "Свёртывание",
    ["自动渐隐"] = "Авто-затухание",
    ["脱战后自动渐隐"] = "Авто-затухание вне боя",
    ["鼠标移到窗口上时取消渐隐"] = "Отменить затухание при наведении",
    ["自动渐隐的内容"] = "Цели затухания",
    ["顶部与底部菜单"] = "Заголовок и вкладки",
    ["数据栏"] = "Область данных",
    ["顶/底部菜单渐隐后透明度"] = "Непрозрачность заголовка/вкладок",
    ["数据栏渐隐后透明度"] = "Непрозрачность области данных",
    ["开启渐隐动画"] = "Включить анимацию затухания",
    ["渐隐动画持续时间"] = "Длительность анимации затухания",
    ["脱战后自动渐隐延迟 (秒)"] = "Задержка затухания вне боя (сек)",

    ["显示数据贡献百分比 (脱战后生效)"] = "Показывать % вклада (вне боя)",

    ["自动隐藏"] = "Авто-скрытие",
    ["自动隐藏延迟 (秒)"] = "Задержка авто-скрытия (сек)",
    ["顶部与底部菜单隐藏的场合"] = "Скрывать заголовок/вкладки",
    ["数据栏隐藏的场合"] = "Скрывать область данных",
    ["永远"] = "Всегда",
    ["脱战时"] = "Вне боя",
    ["副本中永不隐藏顶部与底部菜单"] = "Не скрывать заголовок/вкладки в подземельях",
    ["副本中永不隐藏数据栏"] = "Не скрывать область данных в подземельях",
    ["顶部与底部菜单隐藏时透明度"] = "Непрозрачность скрытого заголовка/вкладок",
    ["数据栏隐藏时透明度"] = "Непрозрачность скрытой области данных",
    ["鼠标移到窗口上时取消隐藏"] = "Показать при наведении мыши",
    ["开启隐藏动画"] = "Включить анимацию скрытия",
    ["隐藏动画持续时间"] = "Длительность анимации скрытия",
    ["[设置]界面缩放"] = "Масштаб панели настроек",
    ["在排名中永远显示自己"] = "Всегда показывать себя в рейтинге",

    ["数据追踪"] = "Отслеживание данных",
    ["历史记录保存上限"] = "Макс. сегментов истории",
    ["(当超过上限时，将自动删除小怪记录，优先保留Boss战和副本全程记录)"] = "(При превышении лимита треш удаляется первым для сохранения боссов и общих данных)",
    ["伤"] = "Ур", ["治"] = "Исц", ["承"] = "Пол", ["敌"] = "Вр", ["死"] = "См", ["断"] = "Пре", ["驱"] = "Рас",
    ["启用标签简写"] = "Сокращенные вкладки",
    ["标签简写预览"] = "При вкл.: Урон→Ур  Исцеление→Исц  Получ.→Пол  Смерти→См  Прерыв.→Пре  Рассеив.→Рас",
    ["友方"] = "Союз.",
    ["敌方"] = "Враг",
    ["敌人承伤"] = "Ур. врагам",
    ["%s 的承伤来源"] = "Урон по %s",
    ["|cff555555暂无承伤数据|r"] = "|cff555555Нет данных|r",
    ["按场景记忆窗口大小"] = "Размер окна по сценам",
    ["SCENE_SIZE_DESC"] = "Запоминает размер окна отдельно для Эпохальный+, Рейдов, Других подземелий и Открытого мира.",
    ["缩放锚点"] = "Точка привязки",
    ["SCENE_ANCHOR_DESC"] = "При смене сцены окно меняет размер вокруг этой точки (точка остается на месте)",
    ["左上"] = "Сверху-слева",
    ["右上"] = "Сверху-справа",
    ["中心"] = "Центр",
    ["左下"] = "Снизу-слева",
    ["右下"] = "Снизу-справа",

    ["离开副本后自动删除小怪段落"] = "Автоудаление сегментов треша после выхода из подземелья",
    ["全程段落生效场景："] = "Создавать сводку для:",
    ["删除小怪生效场景："] = "Удалять треш для:",
}

-- 把四种语言包存到 ns 里，方便后续调用
ns.Locales = {
    zhCN = L_zhCN,
    zhTW = L_zhTW,
    enUS = L_enUS,
    ruRU = L_ruRU -- 新增俄语表
}

-- 初始化一个空的全局 L 表，所有文件都会引用这个空表
ns.L = {}

-- 动态切换语言的核心函数
function ns:SwitchLanguage(lang)
    ns.currentLang = lang
end

setmetatable(ns.L, {
    __index = function(t, k)
        -- 1. 优先使用手动指定的语言
        local lang = ns.currentLang
        
        -- 2. 如果没指定，尝试从存档读取 (支持实时读取)
        if not lang or lang == "auto" then
            lang = (ns.db and ns.db.display and ns.db.display.language) or 
                   (LDCombatStatsDB and LDCombatStatsDB.display and LDCombatStatsDB.display.language) or "auto"
        end
        
        -- 3. 如果还是 auto，则跟随客户端
        if lang == "auto" then
            local client = GetLocale()
            if client == "zhTW" then lang = "zhTW"
            elseif client == "zhCN" then lang = "zhCN"
            elseif client == "ruRU" then lang = "ruRU" -- 新增：判断如果客户端是俄语
            else lang = "enUS" end
        end
        
        local targetTable = ns.Locales[lang] or ns.Locales["zhCN"]
        return targetTable[k] or k
    end
})

-- 初始化时标记为 auto，真正获取文本时会动态判定
ns:SwitchLanguage("auto")