refactor(i18n): U39 残余 JSX 属性/模板字面量中文清零 — 14 处→0
10 文件修复: - DualLineChart: subtitle 接收/发送→i18n.t(monitor.lbl.receiveSend) - NetworkTab: 5处 unit="个"→t(common.unitCount) - FDUsageCard: subtitle 当前→t(monitor.lbl.currentFDUsage) - NamespaceOverviewPage: subtitle 命名空间概览→i18n.t(k8s.nsOverview.subtitle) - NamespaceManagementPage: subtitle 资源配额→i18n.t(k8s.nsMgmt.quotaSubtitle) - CreateHPADialog: title+text 命名空间→i18n.t(k8s.hpa.targetInfo) - LogFieldSidebar: title 个值→i18n.t(common.fieldValues) - LiveMonitorDialog: title 全屏/退出全屏→t(common.fullscreen/exitFullscreen) - ExecutionHistoryDialog: title 成功/失败→t(task.execHistory.successFail) - LdapSettingsTab: className 成功检查→ldapTestSuccess boolean 状态 新增 11 翻译键 (common.unitCount/fieldValues/exitFullscreen/fullscreen + monitor.lbl.receiveSend/currentFDUsage + k8s.nsOverview.subtitle/nsMgmt.quotaSubtitle/hpa.targetInfo + task.execHistory.successFail), zh/en 7751→7762 对齐 tsc -b=0, npm build✓ (16.94s), ESLint=0/0/any=0, go build=0, 17/17 测试通过
This commit is contained in:
1 parent
a1d82574a7
commit
5205def47f
14 files changed
+67
-29
No files matched your search
@@ -621,7 +621,9 @@
|
||||
"currentValue": "current value",
|
||||
"memberCount": "{{count}} members",
|
||||
"fillIfMultiContainer": "(required for multi-container)",
|
||||
"confirmDeleteType": "Delete {{type}} \"{{name}}\"?"
|
||||
"confirmDeleteType": "Delete {{type}} \"{{name}}\"?",
|
||||
"unitCount": "",
|
||||
"fieldValues": "{{count}} values"
|
||||
},
|
||||
"menu": {
|
||||
"aiAgentCli": "Agent CLI",
|
||||
@@ -3031,7 +3033,8 @@
|
||||
"maxReplicas": "Max Replicas",
|
||||
"cpuTarget": "CPU Target (%)",
|
||||
"memTarget": "Memory Target (%)",
|
||||
"targetCPU": "Target CPU Utilization"
|
||||
"targetCPU": "Target CPU Utilization",
|
||||
"targetInfo": "Deployment: {{deploy}} · Namespace: {{ns}}"
|
||||
},
|
||||
"hpaCronHpa": {
|
||||
"currentReplicas": "Current replicas:",
|
||||
@@ -3148,7 +3151,8 @@
|
||||
"searchPlaceholder": "Search namespaces...",
|
||||
"title": "Namespace Management",
|
||||
"quotaLimit": "Quota Limits",
|
||||
"nameExample": "e.g. my-app"
|
||||
"nameExample": "e.g. my-app",
|
||||
"quotaSubtitle": "{{code}} · Resource Quotas & Lifecycle"
|
||||
},
|
||||
"nsOverview": {
|
||||
"workloadReplicas": "Workload replica management",
|
||||
@@ -3159,7 +3163,8 @@
|
||||
"configMaps": "Configuration maps",
|
||||
"secrets": "Secrets & credentials",
|
||||
"hpaStrategy": "Horizontal autoscaling strategy",
|
||||
"loadingStats": "Loading resource statistics..."
|
||||
"loadingStats": "Loading resource statistics...",
|
||||
"subtitle": "{{code}} · Namespace Overview"
|
||||
},
|
||||
"nsResource": {
|
||||
"deployDesc": "Deployment workload status",
|
||||
@@ -4370,7 +4375,9 @@
|
||||
"siteRequestTimeout": "Request Timeout",
|
||||
"siteConnFailed": "Connection Failed",
|
||||
"noProbeHint": "No health probes. Click \"{{action}}\" to create one.",
|
||||
"searchFields": "Search fields"
|
||||
"searchFields": "Search fields",
|
||||
"receiveSend": "RX {{rx}} · TX {{tx}}",
|
||||
"currentFDUsage": "Current {{pct}}%"
|
||||
},
|
||||
"logAlertBell": {
|
||||
"linked": "Alert Policy Linked",
|
||||
@@ -5329,7 +5336,8 @@
|
||||
"copied": "Copied to clipboard",
|
||||
"recentTrend": "Last 7 days trends and execution logs (latest 100)",
|
||||
"noRecords": "No execution records",
|
||||
"last7days": "Last 7 days"
|
||||
"last7days": "Last 7 days",
|
||||
"successFail": "{{label}}: Success {{success}} / Failed {{failed}}"
|
||||
},
|
||||
"remoteExec": {
|
||||
"subtitle": "Batch execute commands / upload files via native SSH",
|
||||
@@ -7663,7 +7671,11 @@
|
||||
"userTitle": "Title",
|
||||
"userTitleField": "User Information",
|
||||
"users": "Users",
|
||||
"validUntil": "Valid Until"
|
||||
"validUntil": "Valid Until",
|
||||
"liveMonitor": {
|
||||
"exitFullscreen": "Exit Fullscreen",
|
||||
"fullscreen": "Fullscreen"
|
||||
}
|
||||
},
|
||||
"aiops": {
|
||||
"activeCount": "{{count}} active",
|
||||
@@ -8541,5 +8553,8 @@
|
||||
"oneDarkDesc": "Atom warm gray IDE, purple-green syntax",
|
||||
"system": "Follow System",
|
||||
"tokyoNightDesc": "Tokyo neon deep blue-purple, VS Code popular"
|
||||
},
|
||||
"monitor.hostMonitorPanel": {
|
||||
"unitCount": ""
|
||||
}
|
||||
}
|
||||
@@ -621,7 +621,9 @@
|
||||
"currentValue": "当前值",
|
||||
"memberCount": "{{count}} 位成员",
|
||||
"fillIfMultiContainer": "(多容器时填写)",
|
||||
"confirmDeleteType": "确认删除 {{type}} \"{{name}}\"?"
|
||||
"confirmDeleteType": "确认删除 {{type}} \"{{name}}\"?",
|
||||
"unitCount": "个",
|
||||
"fieldValues": "{{count}} 个值"
|
||||
},
|
||||
"menu": {
|
||||
"aiAgentCli": "Agent CLI",
|
||||
@@ -3031,7 +3033,8 @@
|
||||
"maxReplicas": "最大副本数",
|
||||
"cpuTarget": "CPU 目标 (%)",
|
||||
"memTarget": "内存目标 (%)",
|
||||
"targetCPU": "目标 CPU 使用率"
|
||||
"targetCPU": "目标 CPU 使用率",
|
||||
"targetInfo": "Deployment: {{deploy}} · 命名空间: {{ns}}"
|
||||
},
|
||||
"hpaCronHpa": {
|
||||
"currentReplicas": "当前副本:",
|
||||
@@ -3148,7 +3151,8 @@
|
||||
"searchPlaceholder": "搜索命名空间...",
|
||||
"title": "命名空间管理",
|
||||
"quotaLimit": "配额限制",
|
||||
"nameExample": "例如: my-app"
|
||||
"nameExample": "例如: my-app",
|
||||
"quotaSubtitle": "{{code}} · 资源配额与生命周期管理"
|
||||
},
|
||||
"nsOverview": {
|
||||
"workloadReplicas": "工作负载副本管理",
|
||||
@@ -3159,7 +3163,8 @@
|
||||
"configMaps": "配置字典",
|
||||
"secrets": "密钥与凭证",
|
||||
"hpaStrategy": "水平自动伸缩策略",
|
||||
"loadingStats": "加载资源统计..."
|
||||
"loadingStats": "加载资源统计...",
|
||||
"subtitle": "{{code}} · 命名空间概览"
|
||||
},
|
||||
"nsResource": {
|
||||
"deployDesc": "Deployment 工作负载运行状态",
|
||||
@@ -4370,7 +4375,9 @@
|
||||
"siteRequestTimeout": "请求超时",
|
||||
"siteConnFailed": "连接失败",
|
||||
"noProbeHint": "暂无健康探针,点击「{{action}}」创建",
|
||||
"searchFields": "搜索字段"
|
||||
"searchFields": "搜索字段",
|
||||
"receiveSend": "接收 {{rx}} · 发送 {{tx}}",
|
||||
"currentFDUsage": "当前 {{pct}}%"
|
||||
},
|
||||
"logAlertBell": {
|
||||
"linked": "已关联告警策略",
|
||||
@@ -5329,7 +5336,8 @@
|
||||
"copied": "已复制到剪贴板",
|
||||
"recentTrend": "近 7 天趋势与执行日志(最近 100 条)",
|
||||
"noRecords": "暂无执行记录",
|
||||
"last7days": "最近 7 天"
|
||||
"last7days": "最近 7 天",
|
||||
"successFail": "{{label}}: 成功 {{success}} / 失败 {{failed}}"
|
||||
},
|
||||
"remoteExec": {
|
||||
"subtitle": "关联主机后批量执行命令 / 上传文件(Go-native SSH)",
|
||||
@@ -7663,7 +7671,11 @@
|
||||
"userTitle": "职位",
|
||||
"userTitleField": "用户信息",
|
||||
"users": "用户管理",
|
||||
"validUntil": "有效至"
|
||||
"validUntil": "有效至",
|
||||
"liveMonitor": {
|
||||
"exitFullscreen": "退出全屏",
|
||||
"fullscreen": "全屏"
|
||||
}
|
||||
},
|
||||
"aiops": {
|
||||
"activeCount": "{{count}} 个活跃",
|
||||
@@ -8541,5 +8553,8 @@
|
||||
"oneDarkDesc": "Atom 暖灰 IDE,紫绿语法渐变",
|
||||
"system": "跟随系统",
|
||||
"tokyoNightDesc": "东京霓虹深蓝紫,VS Code 热门"
|
||||
},
|
||||
"monitor.hostMonitorPanel": {
|
||||
"unitCount": "个"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user