refactor(i18n): U38 phantom CTK 清理 — 13 文件 16 处模板字面量/JSX 属性残余中文→i18n.t() 调用

13 文件 16 处 UI-facing phantom CTK (i18n.t() 模板字面量中的中文片段) 全部替换为语义化 i18n.t() 调用:
- LogsHeader: '行'suffix→common.lineSuffix
- analyzerHelpers: '当前值'→common.currentValue
- DeploymentEditStorage: 2 toast description→k8s.editStorage.*Desc (插值)
- WorkloadViewPage: 2 toast description→k8s.workloadView.restartSentDesc + k8s.workloads.scaleSuccessDesc (插值)
- ServerFileBrowser: confirm→common.confirmDeleteType (插值)
- LogDatasourcePage: toast '可达'→aiops.reachable
- LogAlertsPanel: confirm→monitor.deleteRuleConfirmDesc (插值)
- DeployTargetFields: JSX '(多容器时填写)'→common.fillIfMultiContainer
- UserGroupsManager: 3 处 confirm/desc→deploy.rbac.deleteGroupDesc + pipeline.removeMemberDesc + common.memberCount (插值)
- BuildNodesManager: JSX '(可选)'→common.optional (已有键复用)
- useLdapManagement: confirm→system.ldapMgmt.deleteEntryDesc (插值)

新增 14 语义化翻译键 (5 common + 2 k8s.editStorage + 1 k8s.workloadView + 1 k8s.workloads + 1 aiops + 1 monitor + 1 deploy.rbac + 1 pipeline + 1 system.ldapMgmt), zh/en 7737→7751 +14 对齐
tsc -b=0, npm build✓ (16.86s), ESLint=0/43/any=0, go build=0, 17/17 测试通过
This commit is contained in:
attacker committed 2026-07-13 08:55:28 +08:00
1 parent 7c80e35411
commit a1d82574a7
14 files changed
+64 -35

No files matched your search

+24 -10
View File
@@ -616,7 +616,12 @@
"yesterday": "昨天",
"zone": "可用区",
"zoomIn": "放大",
"zoomOut": "缩小"
"zoomOut": "缩小",
"lineSuffix": "行",
"currentValue": "当前值",
"memberCount": "{{count}} 位成员",
"fillIfMultiContainer": "(多容器时填写)",
"confirmDeleteType": "确认删除 {{type}} \"{{name}}\"?"
},
"menu": {
"aiAgentCli": "Agent CLI",
@@ -2135,7 +2140,8 @@
"subtitle": "按流水线 code / Job 名称正则分配发布权限",
"noPolicy": "暂无 Job 权限策略",
"createHint": "创建策略后,用户将按正则自动获得匹配流水线的访问权限"
}
},
"deleteGroupDesc": "确定删除「{{name}}」?所有成员和流水线授权将同时移除。"
},
"rdpPassword": "Windows 密码",
"rdpPasswordPlaceholder": "Windows 登录密码",
@@ -2972,7 +2978,9 @@
"saved": "存储配置已保存",
"namePlaceholder": "如 app-logs / fluent-bit-config",
"mountPathPlaceholder": "挂载路径 /bitcloud/app/.../logs",
"typeRequiredHint": "的类型必填项"
"typeRequiredHint": "的类型必填项",
"incompleteConfigDesc": "请为「{{name}}」{{hint}}",
"mountPathRequiredDesc": "数据卷「{{name}}」需至少挂载到一个容器"
},
"empty": {
"nodes": "暂无节点数据",
@@ -3621,7 +3629,8 @@
"desiredSchedule": "期望调度",
"serviceName": "服务名",
"podCount": "Pod 数量",
"actualSchedule": "当前调度"
"actualSchedule": "当前调度",
"restartSentDesc": "{{kind}} 滚动重启已触发"
},
"workloads": {
"scaleSuccess": "扩缩容成功",
@@ -3635,7 +3644,8 @@
"noDeployment": "暂无 Deployment",
"decreaseReplica": "减少副本",
"increaseReplica": "增加副本",
"noPod": "暂无 Pod"
"noPod": "暂无 Pod",
"scaleSuccessDesc": "StatefulSet 副本数已更新为 {{count}}"
},
"yamlImport": {
"empty": "请输入 YAML",
@@ -5193,7 +5203,8 @@
"prevPage": "上一页",
"nextPage": "下一页"
},
"zookeeper": "ZooKeeper"
"zookeeper": "ZooKeeper",
"deleteRuleConfirmDesc": "删除「{{name}}」?"
},
"task": {
"cronJob": {
@@ -6554,7 +6565,8 @@
"varValue": "变量值",
"variables": "变量",
"viewer": "查看者",
"webhookTrigger": "Webhook 触发"
"webhookTrigger": "Webhook 触发",
"removeMemberDesc": "确定从组中移除「{{username}}」?"
},
"automation": {
"addCronJob": "添加定时任务",
@@ -7401,7 +7413,8 @@
"updateFailed": "修改失败",
"verifyFailed": "验证失败",
"selectUsers": "请至少选择一个用户",
"importFailed": "导入失败: "
"importFailed": "导入失败: ",
"deleteEntryDesc": "确定删除 {{dn}}?"
},
"ldapOu": "组织单元(OU)",
"ldapPassword": "管理员密码",
@@ -8359,7 +8372,8 @@
"zhipuCodingHint": "需单独购买编码套餐,走 Anthropic 协议;Key 与通用 GLM 不互通",
"zhipuGeneral": "智谱 GLM (通用)",
"zhipuGetKey": "注册智谱账号并开通模型服务后获取 API Key",
"zhipuOpenPlatform": "智谱开放平台"
"zhipuOpenPlatform": "智谱开放平台",
"reachable": "可达"
},
"breadcrumb": {
"aiAlertAnalyzer": "告警分析",
@@ -8528,4 +8542,4 @@
"system": "跟随系统",
"tokyoNightDesc": "东京霓虹深蓝紫,VS Code 热门"
}
}
}