refactor(i18n): U43 深度残余硬编码中文 UI 文本清零 — 17 文件 ~40 处→0

趋势标签(上升/下降/平稳) + K8s 卡片标题(Pod级别/安全上下文/实例/详情) + data-table 默认值(搜索/暂无数据) + Deployment 编辑器标签(数据卷/挂载/只读写/manifest提示/镜像拉取凭证) + HostSettings 4 个命名空间描述 + 7 个 K8s 页面刷新按钮 + 资源编辑器新建/编辑 + Agent 执行命令描述 + 账单保存成功 toast + 容量预警标题

新增 common 30 语义化翻译键, zh/en 7898→7928 对齐
tsc -b=0, npm build✓ (16.55s), ESLint=0/43/any=0, go build=0, 17/17 测试通过
This commit is contained in:
attacker committed 2026-07-14 05:27:49 +08:00
1 parent c6e0d6ca57
commit 39a4432f79
26 files changed
+117 -62

No files matched your search

+33 -3
View File
@@ -636,7 +636,33 @@
"last1Hour": "Last 1 hour",
"currentHost": "Current host: {{host}}",
"minutes30": "30 min",
"hours2": "2 hours"
"hours2": "2 hours",
"trendUp": "Up",
"trendDown": "Down",
"trendStable": "Stable",
"executeOn": "Execute command on {{host}}",
"podLevel": "Pod Level",
"podSecurityContext": "Pod Security Context",
"hostNetworkDesc": "hostNetwork (share host network namespace)",
"hostIPCDesk": "hostIPC (share host IPC namespace)",
"hostPIDDesk": "hostPID (share host PID namespace)",
"shareProcessNamespaceDesc": "shareProcessNamespace (share process namespace)",
"podInstances": "Pod Instances ({{count}})",
"podDetail": "Pod Details",
"metricTrend": "Metric Trends",
"portDiscovery": "Port Discovery ({{count}})",
"remoteCommand": "Remote Command",
"searchPlaceholder": "Search...",
"imagePullSecrets": "Image Pull Secrets",
"noManifestHint": "No manifest data available. Please use YAML edit mode to modify directly.",
"volumeDefinition": "Volumes",
"noVolumeHint": "No volumes configured. Click \"Add Volume\" to start.",
"mountToContainers": "Mount volumes to containers",
"readOnly": "Read Only",
"readWrite": "Read Write",
"manageAll": "Manage All",
"createNew": "Create New",
"saveSuccess": "Saved successfully"
},
"menu": {
"aiAgentCli": "Agent CLI",
@@ -3713,7 +3739,8 @@
"kubectlTerminalDesc": "Kubernetes cluster command-line terminal",
"podLevel": "Pod Level",
"podNameLabel": "Pod Name",
"podManagePolicy": "Pod Management Policy"
"podManagePolicy": "Pod Management Policy",
"uploadFile": "Upload"
},
"monitor": {
"acknowledge": "Acknowledge",
@@ -8021,7 +8048,10 @@
"expectedToReach": "Expected to",
"days": "days",
"afterReachThreshold": "until threshold reached",
"aiSuggestion": "AI Suggestion"
"aiSuggestion": "AI Suggestion",
"warningTitle": "Capacity Planning Alerts",
"currentThreshold": "Current {{current}} / Threshold {{threshold}}",
"predictedLabel": ", Predicted {{predicted}}"
},
"capacityPlanPrompt": "Based on the following host resource usage, provide cost optimization and capacity planning advice (identify idle/overloaded hosts; suggest scale-down/scale-up)",
"capacityPlanning": "Capacity Planning",