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:
1 parent
7c80e35411
commit
a1d82574a7
14 files changed
+64
-35
No files matched your search
@@ -616,7 +616,12 @@
|
||||
"yesterday": "Yesterday",
|
||||
"zone": "Zone",
|
||||
"zoomIn": "Zoom In",
|
||||
"zoomOut": "Zoom Out"
|
||||
"zoomOut": "Zoom Out",
|
||||
"lineSuffix": "lines",
|
||||
"currentValue": "current value",
|
||||
"memberCount": "{{count}} members",
|
||||
"fillIfMultiContainer": "(required for multi-container)",
|
||||
"confirmDeleteType": "Delete {{type}} \"{{name}}\"?"
|
||||
},
|
||||
"menu": {
|
||||
"aiAgentCli": "Agent CLI",
|
||||
@@ -2135,7 +2140,8 @@
|
||||
"subtitle": "Assign release permissions by pipeline code / job name regex",
|
||||
"noPolicy": "No job permission policies",
|
||||
"createHint": "After creating a policy, users will automatically get access to matching pipelines via regex"
|
||||
}
|
||||
},
|
||||
"deleteGroupDesc": "Delete \"{{name}}\"? All members and pipeline grants will be removed."
|
||||
},
|
||||
"rdpPassword": "Windows Password",
|
||||
"rdpPasswordPlaceholder": "Windows login password",
|
||||
@@ -2972,7 +2978,9 @@
|
||||
"saved": "Storage configuration saved",
|
||||
"namePlaceholder": "e.g. app-logs / fluent-bit-config",
|
||||
"mountPathPlaceholder": "Mount path /bitcloud/app/.../logs",
|
||||
"typeRequiredHint": " type required field"
|
||||
"typeRequiredHint": " type required field",
|
||||
"incompleteConfigDesc": "Please {{hint}} for \"{{name}}\"",
|
||||
"mountPathRequiredDesc": "Volume \"{{name}}\" must be mounted to at least one container"
|
||||
},
|
||||
"empty": {
|
||||
"nodes": "No node data",
|
||||
@@ -3621,7 +3629,8 @@
|
||||
"desiredSchedule": "Desired Schedule",
|
||||
"serviceName": "Service Name",
|
||||
"podCount": "Pod Count",
|
||||
"actualSchedule": "Actual Schedule"
|
||||
"actualSchedule": "Actual Schedule",
|
||||
"restartSentDesc": "{{kind}} rolling restart triggered"
|
||||
},
|
||||
"workloads": {
|
||||
"scaleSuccess": "Scaling succeeded",
|
||||
@@ -3635,7 +3644,8 @@
|
||||
"noDeployment": "No Deployments",
|
||||
"decreaseReplica": "Decrease replicas",
|
||||
"increaseReplica": "Increase replicas",
|
||||
"noPod": "No Pods"
|
||||
"noPod": "No Pods",
|
||||
"scaleSuccessDesc": "StatefulSet replicas updated to {{count}}"
|
||||
},
|
||||
"yamlImport": {
|
||||
"empty": "Please enter YAML",
|
||||
@@ -5193,7 +5203,8 @@
|
||||
"prevPage": "Prev",
|
||||
"nextPage": "Next"
|
||||
},
|
||||
"zookeeper": "ZooKeeper"
|
||||
"zookeeper": "ZooKeeper",
|
||||
"deleteRuleConfirmDesc": "Delete \"{{name}}\"?"
|
||||
},
|
||||
"task": {
|
||||
"cronJob": {
|
||||
@@ -6554,7 +6565,8 @@
|
||||
"varValue": "Variable Value",
|
||||
"variables": "Variables",
|
||||
"viewer": "Viewer",
|
||||
"webhookTrigger": "Webhook"
|
||||
"webhookTrigger": "Webhook",
|
||||
"removeMemberDesc": "Remove \"{{username}}\" from group?"
|
||||
},
|
||||
"automation": {
|
||||
"addCronJob": "Add Cron Job",
|
||||
@@ -7401,7 +7413,8 @@
|
||||
"updateFailed": "Update failed",
|
||||
"verifyFailed": "Verification failed",
|
||||
"selectUsers": "Please select at least one user",
|
||||
"importFailed": "Import failed: "
|
||||
"importFailed": "Import failed: ",
|
||||
"deleteEntryDesc": "Delete {{dn}}?"
|
||||
},
|
||||
"ldapOu": "Org Unit (OU)",
|
||||
"ldapPassword": "Admin Password",
|
||||
@@ -8359,7 +8372,8 @@
|
||||
"zhipuCodingHint": "Requires a separate coding plan via the Anthropic protocol; the key is not interchangeable with general GLM",
|
||||
"zhipuGeneral": "Zhipu GLM (General)",
|
||||
"zhipuGetKey": "Register a Zhipu account and enable model services to get an API Key",
|
||||
"zhipuOpenPlatform": "Zhipu Open Platform"
|
||||
"zhipuOpenPlatform": "Zhipu Open Platform",
|
||||
"reachable": "reachable"
|
||||
},
|
||||
"breadcrumb": {
|
||||
"aiAlertAnalyzer": "Alert Analysis",
|
||||
@@ -8528,4 +8542,4 @@
|
||||
"system": "Follow System",
|
||||
"tokyoNightDesc": "Tokyo neon deep blue-purple, VS Code popular"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user