refactor(i18n): U26 Kubernetes 模块 phantom key 大规模清理 — 32 文件 171 phantom key → 8 残留(均为误匹配), 163 个替换为 k8s.* 语义化键, 新增 19 子命名空间 + 扩展 8 个已有, zh/en 6990→7185 +195 键对齐, tsc -b=0, npm build✓ (17.59s), ESLint=0/53/0, go build=0, 17/17 测试通过
This commit is contained in:
1 parent
c6a50216dd
commit
7f5295cfc2
31 files changed
+657
-190
No files matched your search
+247
-14
@@ -2343,7 +2343,10 @@
|
||||
"resourceTrend": "Resource Usage Trend (simulated)",
|
||||
"refreshMetrics": "Refresh node metrics",
|
||||
"resourceDistribution": "Resource Distribution",
|
||||
"now": "Now"
|
||||
"now": "Now",
|
||||
"allNamespaces": "All Namespaces",
|
||||
"provider": "Provider",
|
||||
"region": "Region"
|
||||
},
|
||||
"tab": {
|
||||
"overview": "Overview",
|
||||
@@ -2352,7 +2355,15 @@
|
||||
"deployments": "Deployments",
|
||||
"services": "Services",
|
||||
"ingresses": "Ingresses",
|
||||
"events": "Events"
|
||||
"events": "Events",
|
||||
"statistics": "Statistics",
|
||||
"cronJobs": "CronJobs",
|
||||
"configMap": "ConfigMaps",
|
||||
"secret": "Secrets",
|
||||
"role": "Roles",
|
||||
"roleBinding": "RoleBindings",
|
||||
"serviceAccount": "Service Accounts",
|
||||
"pvc": "PVCs"
|
||||
},
|
||||
"column": {
|
||||
"name": "Name",
|
||||
@@ -2703,7 +2714,13 @@
|
||||
"deploymentDeleted": "{{name}} deleted",
|
||||
"confirmDeletePod": "Confirm delete Pod \"{{name}}\"? This action cannot be undone.",
|
||||
"deploymentNotFound": "Deployment not found: {{name}}",
|
||||
"imageLabel": "Image"
|
||||
"imageLabel": "Image",
|
||||
"resourceQuota": "Resource Quota",
|
||||
"limitRange": "Limit Range",
|
||||
"pdb": "Pod Disruption Budget",
|
||||
"editYaml": "Edit YAML",
|
||||
"imageUpdated": "Image updated successfully",
|
||||
"hpaDeleted": "HPA deleted"
|
||||
},
|
||||
"podLogs": {
|
||||
"noLogs": "No logs",
|
||||
@@ -2726,7 +2743,11 @@
|
||||
"loading": "Loading…",
|
||||
"fetchFailed": "Failed to fetch logs",
|
||||
"streamEnded": "Stream ended",
|
||||
"streamStopped": "Stream stopped"
|
||||
"streamStopped": "Stream stopped",
|
||||
"download": "Download Logs",
|
||||
"searchPlaceholder": "Search logs...",
|
||||
"previousLogs": "View previous (crashed) container logs",
|
||||
"keywordFilter": "Keyword filter…"
|
||||
},
|
||||
"editMode": {
|
||||
"basic": "Basic Info",
|
||||
@@ -2791,7 +2812,8 @@
|
||||
"minReplicas": "Min Replicas",
|
||||
"maxReplicas": "Max Replicas",
|
||||
"cpuTarget": "CPU Target (%)",
|
||||
"memTarget": "Memory Target (%)"
|
||||
"memTarget": "Memory Target (%)",
|
||||
"targetCPU": "Target CPU Utilization"
|
||||
},
|
||||
"redirect": {
|
||||
"redirecting": "Redirecting..."
|
||||
@@ -2889,7 +2911,14 @@
|
||||
"colMessage": "Message",
|
||||
"nameLabel": "Event name:",
|
||||
"totalCount": "Total {{count}} events",
|
||||
"virtualScroll": "virtual scroll rendering"
|
||||
"virtualScroll": "virtual scroll rendering",
|
||||
"center": "Event Center",
|
||||
"clusterAlerts": "Cluster Events & Alerts",
|
||||
"normal": "Normal Events",
|
||||
"warning": "Warning Events",
|
||||
"warningType": "Warning Type",
|
||||
"resourceType": "Resource Type",
|
||||
"warningReason": "Warning Reason"
|
||||
},
|
||||
"yamlImport": {
|
||||
"empty": "Please enter YAML",
|
||||
@@ -3005,7 +3034,10 @@
|
||||
"shareProcessDesc": "Share process namespace",
|
||||
"save": "Save",
|
||||
"saved": "update submitted",
|
||||
"secondsPlaceholder": "seconds"
|
||||
"secondsPlaceholder": "seconds",
|
||||
"maxSurge": "Max Surge",
|
||||
"maxUnavailable": "Max Unavailable",
|
||||
"strategyLabel": "Update Strategy"
|
||||
},
|
||||
"editBasic": {
|
||||
"synced": "Synced",
|
||||
@@ -3062,7 +3094,12 @@
|
||||
"file": "File",
|
||||
"upload": "Upload",
|
||||
"readFailed": "Read failed",
|
||||
"uploadFailed": "Upload failed"
|
||||
"uploadFailed": "Upload failed",
|
||||
"confirmDelete": "Confirm Delete",
|
||||
"scaleTo": "Scale to",
|
||||
"restartConfirm": "Are you sure you want to restart this workload?",
|
||||
"deleteWarning": "This action cannot be undone",
|
||||
"yamlDocError": "Each YAML document must contain kind and metadata.name"
|
||||
},
|
||||
"namespaceResource": {
|
||||
"delete1": "确认删除 Pod \"",
|
||||
@@ -3085,14 +3122,17 @@
|
||||
"close1": "Close",
|
||||
"container1": "正在进入容器...",
|
||||
"enterPod": "Enter Pod container to execute commands",
|
||||
"connectErrorAnsi": "\\r\\n\\x1b[31m[连接发生错误]\\x1b[0m\\r\\n"
|
||||
"connectErrorAnsi": "\\r\\n\\x1b[31m[连接发生错误]\\x1b[0m\\r\\n",
|
||||
"shell": "Shell"
|
||||
},
|
||||
"podMetrics": {
|
||||
"resources2": "Pod 资源用量",
|
||||
"container2": "容器 CPU/内存实时指标",
|
||||
"cpu": "总 CPU",
|
||||
"memory": "总内存",
|
||||
"namespace": "所有命名空间"
|
||||
"namespace": "所有命名空间",
|
||||
"cpuUsage": "CPU Usage",
|
||||
"memUsage": "Memory Usage"
|
||||
},
|
||||
"resourceEditor": {
|
||||
"create": "Create",
|
||||
@@ -3133,7 +3173,11 @@
|
||||
"servicePort": "Service Port",
|
||||
"noSelector": "(No selector)",
|
||||
"confirmDelete": "Confirm Delete",
|
||||
"deleteDesc": "This operation cannot be undone"
|
||||
"deleteDesc": "This operation cannot be undone",
|
||||
"portName": "Port Name",
|
||||
"targetPort": "Target Port",
|
||||
"protocol": "Protocol",
|
||||
"serviceCreated": "Service created"
|
||||
},
|
||||
"editContainers": {
|
||||
"noManifest": "Manifest data not loaded. Please use YAML editor to modify directly.",
|
||||
@@ -3143,7 +3187,14 @@
|
||||
"addNew": "Add New",
|
||||
"initContainers": "Init Containers",
|
||||
"workContainers": "Work Containers",
|
||||
"save": "Save"
|
||||
"save": "Save",
|
||||
"imageRequired": " image is required",
|
||||
"nameRequired": " name is required",
|
||||
"portNameRequired": "Port name is required",
|
||||
"saved": "Container configuration saved",
|
||||
"containerCount": "containers",
|
||||
"secretPlaceholder": "Type Secret name and press Enter",
|
||||
"initDesc": "Containers executed sequentially before main container starts, for environment initialization"
|
||||
},
|
||||
"editStorage": {
|
||||
"volumes": "Volumes",
|
||||
@@ -3154,13 +3205,34 @@
|
||||
"noContainers": "(No containers)",
|
||||
"readOnly": "Read Only",
|
||||
"readWrite": "Read/Write",
|
||||
"save": "Save"
|
||||
"save": "Save",
|
||||
"emptyDir": "EmptyDir (temporary)",
|
||||
"volumeNameRequired": "Volume name is required",
|
||||
"selectConfigMap": "Please select a ConfigMap",
|
||||
"selectSecret": "Please select a Secret",
|
||||
"selectPVC": "Please select a PVC",
|
||||
"typeRequired": " type field is required",
|
||||
"incompleteConfig": "Volume configuration incomplete",
|
||||
"mountPathRequired": "Mount path is required",
|
||||
"saved": "Storage configuration saved",
|
||||
"namePlaceholder": "e.g. app-logs / fluent-bit-config",
|
||||
"mountPathPlaceholder": "Mount path /bitcloud/app/.../logs",
|
||||
"typeRequiredHint": " type required field"
|
||||
},
|
||||
"clusterDialog": {
|
||||
"nameHint": "Only English letters, numbers and hyphens (-) allowed. Cannot start or end with hyphen. Name will be the cluster unique identifier.",
|
||||
"configured": "Configured (leave empty to keep)",
|
||||
"kubeconfigHint": "API Server address will be auto-parsed after pasting kubeconfig content",
|
||||
"cancel": "Cancel"
|
||||
"cancel": "Cancel",
|
||||
"nameRule": "Only letters, digits, and hyphens (-) allowed; cannot start or end with a hyphen",
|
||||
"nameInvalid": "Please enter a valid cluster name (letters/digits/hyphens)",
|
||||
"saveFailed": "Failed to save cluster:",
|
||||
"namePlaceholder": "e.g. prod-cluster",
|
||||
"descLabel": "Cluster description",
|
||||
"tokenPlaceholder": "Paste Service Account Token...",
|
||||
"tokenConfigured": "Configured, enter new value to override...",
|
||||
"addTitle": "Add Cluster",
|
||||
"editTitle": "Edit Cluster"
|
||||
},
|
||||
"nodeDetail": {
|
||||
"nodeTitle": "Node Details",
|
||||
@@ -3184,6 +3256,167 @@
|
||||
"podsOnNode": "Pods on Node",
|
||||
"noPodsOnNode": "No pods on this node",
|
||||
"cpuRequest": "CPU Request"
|
||||
},
|
||||
"nsResource": {
|
||||
"deployDesc": "Deployment workload status",
|
||||
"podDesc": "Pod instance status",
|
||||
"serviceDesc": "Service networking",
|
||||
"ingressDesc": "Ingress routing rules",
|
||||
"configMapDesc": "Configuration maps",
|
||||
"secretDesc": "Secret management (name and type only)",
|
||||
"hpaDesc": "Horizontal Pod Autoscaler",
|
||||
"pvcDesc": "Persistent Volume Claims",
|
||||
"stsDesc": "StatefulSets",
|
||||
"dsDesc": "DaemonSets",
|
||||
"saDesc": "Service Accounts (RBAC identity)",
|
||||
"roleDesc": "Namespace-level Roles (RBAC)",
|
||||
"rbDesc": "RoleBindings (RBAC authorization)",
|
||||
"viewYaml": "View YAML",
|
||||
"resourceName": "Name",
|
||||
"namespace": "Namespace"
|
||||
},
|
||||
"nsOverview": {
|
||||
"workloadReplicas": "Workload replica management",
|
||||
"podStatus": "Container instance status",
|
||||
"cronjobManage": "CronJob management",
|
||||
"serviceDiscovery": "Service discovery & load balancing",
|
||||
"externalRoute": "External traffic routing rules",
|
||||
"configMaps": "Configuration maps",
|
||||
"secrets": "Secrets & credentials",
|
||||
"hpaStrategy": "Horizontal autoscaling strategy",
|
||||
"loadingStats": "Loading resource statistics..."
|
||||
},
|
||||
"deploymentWorkload": {
|
||||
"loadFailed": "Failed to load details:",
|
||||
"manifestFailed": "Failed to load manifest (edit degraded):",
|
||||
"restartSent": "Restart command sent",
|
||||
"restarting": "Deployment rolling restart in progress",
|
||||
"scaleSuccess": "Scale successful",
|
||||
"loading": "Loading Deployment...",
|
||||
"create": "New Deployment",
|
||||
"withService": "Includes associated Service",
|
||||
"manifestLoadFailed": "Failed to load manifest (edit degraded):"
|
||||
},
|
||||
"deploymentView": {
|
||||
"rollbackVersion": "Rollback Version",
|
||||
"rollbackSent": "Rollback initiated",
|
||||
"scaleSent": "Scaling submitted",
|
||||
"pods": "Pods",
|
||||
"access": "Access",
|
||||
"scale": "Scale"
|
||||
},
|
||||
"rve": {
|
||||
"visualUnavailable": "Visual editor unavailable",
|
||||
"fallbackYaml": "Unable to parse resource structure, switched to YAML edit mode",
|
||||
"saveFailed": "Save failed",
|
||||
"parseFailed": "Unable to parse YAML",
|
||||
"parseFailedHint": "Please check syntax and continue in YAML mode",
|
||||
"downloaded": "Downloaded",
|
||||
"hostPlaceholder": "Domain (e.g. api.example.com)",
|
||||
"keyPlaceholder": "Key name (e.g. LOG_LEVEL)",
|
||||
"parseYamlFailed": "Unable to parse YAML",
|
||||
"checkSyntax": "Please check syntax and continue in YAML mode",
|
||||
"fallbackToYaml": "Unable to parse resource structure, switched to YAML edit mode"
|
||||
},
|
||||
"workloadView": {
|
||||
"restartSent": "Restart command sent",
|
||||
"restartFailed": "Restart failed",
|
||||
"loading": "Loading workload...",
|
||||
"restarting": "Restarting...",
|
||||
"currentReplicas": "Current Replicas",
|
||||
"desiredSchedule": "Desired Schedule",
|
||||
"serviceName": "Service Name",
|
||||
"podCount": "Pod Count",
|
||||
"actualSchedule": "Actual Schedule"
|
||||
},
|
||||
"pvc": {
|
||||
"sizeLabel": "Size",
|
||||
"accessMode": "Access Mode",
|
||||
"storageClass": "Storage Class",
|
||||
"sizePlaceholder": "e.g. 10Gi",
|
||||
"scPlaceholder": "Leave empty for default StorageClass"
|
||||
},
|
||||
"service": {
|
||||
"portName": "Port Name",
|
||||
"portNum": "Port",
|
||||
"targetPort": "Target Port",
|
||||
"protocol": "Protocol",
|
||||
"nodePort": "Node Port",
|
||||
"sessionAffinity": "Session Affinity",
|
||||
"externalTrafficPolicy": "External Traffic Policy",
|
||||
"portLabel": "Port",
|
||||
"selectorKey": "Key (e.g. app)",
|
||||
"selectorValue": "Value (e.g. nginx)"
|
||||
},
|
||||
"ingress": {
|
||||
"host": "Host",
|
||||
"path": "Path",
|
||||
"pathType": "Path Type",
|
||||
"backend": "Backend Service",
|
||||
"backendPort": "Backend Port",
|
||||
"tlsSecret": "TLS Certificate",
|
||||
"pathPlaceholder": "Path /"
|
||||
},
|
||||
"configMap": {
|
||||
"key": "Key",
|
||||
"value": "Value",
|
||||
"addKey": "Add Key-Value",
|
||||
"collapseAll": "Collapse All"
|
||||
},
|
||||
"secret": {
|
||||
"type": "Type",
|
||||
"data": "Data",
|
||||
"addKey": "Add Key",
|
||||
"collapseAll": "Collapse All"
|
||||
},
|
||||
"nodes": {
|
||||
"ready": "Ready",
|
||||
"notReady": "Not Ready",
|
||||
"selectCluster": "Select Cluster",
|
||||
"subtitle": "Kubernetes cluster node status and resources",
|
||||
"noData": "No node data"
|
||||
},
|
||||
"capacityPage": {
|
||||
"title": "Capacity Management"
|
||||
},
|
||||
"nsMgmt": {
|
||||
"status": "Status",
|
||||
"age": "Age",
|
||||
"quota": "Quota",
|
||||
"labels": "Labels",
|
||||
"searchPlaceholder": "Search namespaces...",
|
||||
"title": "Namespace Management",
|
||||
"quotaLimit": "Quota Limits",
|
||||
"nameExample": "e.g. my-app"
|
||||
},
|
||||
"clusterOverview": {
|
||||
"nodeCount": "Nodes",
|
||||
"podCount": "Pods",
|
||||
"serviceCount": "Services",
|
||||
"notFound": "Cluster not found",
|
||||
"title": "Cluster Overview"
|
||||
},
|
||||
"controlBar": {
|
||||
"allNs": "All Namespaces",
|
||||
"searchPlaceholder": "Search resources...",
|
||||
"refresh": "Refresh",
|
||||
"create": "Create"
|
||||
},
|
||||
"nsResourcePage": {
|
||||
"loading": "Loading...",
|
||||
"noData": "No data",
|
||||
"exportCsv": "Export CSV",
|
||||
"exportJson": "Export JSON",
|
||||
"exportYaml": "Export namespace YAML (tar.gz)"
|
||||
},
|
||||
"yamlViewer": {
|
||||
"copy": "Copy",
|
||||
"download": "Download",
|
||||
"copied": "Copied",
|
||||
"fetchFailed": "Failed to fetch YAML"
|
||||
},
|
||||
"podFile": {
|
||||
"loadFailed": "Failed to load file list"
|
||||
}
|
||||
},
|
||||
"monitor": {
|
||||
|
||||
Reference in new issue
Block a user