refactor(i18n): U17 K8s 残余组件 i18n 补全 — NodeDetailPage 16 处硬编码中文清零 + 8 个 hash 键替换为语义化 k8s.nodeDetail.* + DeploymentWorkload 12 处 toast/confirm 硬编码中文清零. 新增 k8s.nodeDetail 命名空间 21 键 + k8s.deploymentDetail 扩展 12 键(含插值). zh/en 7564→7597 对齐. 组件从 i18n.t() 全局改为 useTranslation() hook. tsc -b=0, npm build✓, ESLint=0, 17/17 测试通过
This commit is contained in:
1 parent
a85e063a47
commit
be1011eb58
5 files changed
+129
-57
No files matched your search
@@ -2771,7 +2771,19 @@
|
||||
"notFound": "Deployment not found",
|
||||
"podList": "Pod List",
|
||||
"logs": "Logs",
|
||||
"confirmDeleteHpa": "Confirm Delete HPA"
|
||||
"confirmDeleteHpa": "Confirm Delete HPA",
|
||||
"replicasSetTo": "Replicas set to {{count}}",
|
||||
"confirmRestart": "Confirm rolling restart of Deployment \"{{name}}\"?",
|
||||
"rollingUpdate": "{{action}} Rolling Update",
|
||||
"confirmRollingUpdate": "Confirm {{action}} rolling update of Deployment \"{{name}}\"?",
|
||||
"actionSuccess": "{{action}} Succeeded",
|
||||
"actionFailed": "{{action}} Failed",
|
||||
"rollingUpdated": "Deployment rolling update {{action}}d",
|
||||
"rollingUpdateImage": "Rolling updating to {{image}}",
|
||||
"deploymentDeleted": "{{name}} deleted",
|
||||
"confirmDeletePod": "Confirm delete Pod \"{{name}}\"? This action cannot be undone.",
|
||||
"deploymentNotFound": "Deployment not found: {{name}}",
|
||||
"imageLabel": "Image"
|
||||
},
|
||||
"podLogs": {
|
||||
"noLogs": "No logs",
|
||||
@@ -3234,6 +3246,29 @@
|
||||
"configured": "Configured (leave empty to keep)",
|
||||
"kubeconfigHint": "API Server address will be auto-parsed after pasting kubeconfig content",
|
||||
"cancel": "Cancel"
|
||||
},
|
||||
"nodeDetail": {
|
||||
"nodeTitle": "Node Details",
|
||||
"loadingNode": "Loading node details...",
|
||||
"loadFailed": "Failed to load node details",
|
||||
"systemInfo": "System Info",
|
||||
"resourceAllocation": "Resource Allocation",
|
||||
"cpuAllocated": "CPU Allocated",
|
||||
"cpuRealtimeUsage": "CPU Real-time Usage",
|
||||
"memAllocated": "Memory Allocated",
|
||||
"memRealtimeUsage": "Memory Real-time Usage",
|
||||
"podCount": "Pod Count",
|
||||
"cpuCapacityAlloc": "CPU Capacity / Allocatable",
|
||||
"memCapacityAlloc": "Memory Capacity / Allocatable",
|
||||
"podCapacityAlloc": "Pod Capacity / Allocatable",
|
||||
"coreUnit": "cores",
|
||||
"conditions": "Conditions",
|
||||
"noConditions": "No condition data",
|
||||
"taints": "Taints",
|
||||
"labels": "Labels ({{count}})",
|
||||
"podsOnNode": "Pods on Node",
|
||||
"noPodsOnNode": "No pods on this node",
|
||||
"cpuRequest": "CPU Request"
|
||||
}
|
||||
},
|
||||
"monitor": {
|
||||
|
||||
Reference in new issue
Block a user