From d1ad873340dbb7356fd4191d39edeb52058ad349 Mon Sep 17 00:00:00 2001 From: weibaohui Date: Thu, 26 Dec 2024 10:28:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor(i18n):=E4=BC=98=E5=8C=96=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E9=A1=B5=E9=9D=A2=E9=83=A8=E5=88=86=E6=96=87=E6=A1=88?= =?UTF-8?q?=E7=9A=84=E5=9B=BD=E9=99=85=E5=8C=96=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改"驱逐"操作的确认文本,增加英文括号 - 将"cordon"标签翻译为"隔离状态" -将"taints"标签翻译为"污点" -调整部分技术术语的翻译,如"节点架构"、"kubelet版本"等 --- assets/pages/cluster/node.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/pages/cluster/node.json b/assets/pages/cluster/node.json index 3fd29fa..13922ec 100644 --- a/assets/pages/cluster/node.json +++ b/assets/pages/cluster/node.json @@ -306,7 +306,7 @@ "icon": "fas fa-wind text-danger", "actionType": "ajax", "label": "驱逐", - "confirmText": "您确认要驱逐Drain$metadata.name?", + "confirmText": "您确认要驱逐(drain)$metadata.name?", "api": "post:/k8s/node/drain/name/$metadata.name" }, { @@ -654,7 +654,7 @@ }, { "name": "spec.unschedulable", - "label": "cordon", + "label": "隔离状态", "type": "mapping", "map": { "true": "SchedulingDisabled", @@ -663,7 +663,7 @@ }, { "name": "spec.taints", - "label": "taints", + "label": "污点", "type": "each", "items": { "type": "tpl", @@ -697,32 +697,32 @@ }, { "name": "status.nodeInfo.architecture", - "label": "arch", + "label": "节点架构", "type": "text" }, { "name": "status.nodeInfo.kubeletVersion", - "label": "version", + "label": "kubelet版本", "type": "text" }, { "name": "status.nodeInfo.osImage", - "label": "osImage", + "label": "镜像", "type": "text" }, { "name": "status.nodeInfo.kernelVersion", - "label": "kernelVersion", + "label": "内核版本", "type": "text" }, { "name": "status.nodeInfo.containerRuntimeVersion", - "label": "cri", + "label": "CRI版本", "type": "text" }, { "name": "status.addresses", - "label": "addresses", + "label": "IP", "type": "each", "items": { "type": "tpl", @@ -731,7 +731,7 @@ }, { "name": "status.images", - "label": "images", + "label": "容器镜像", "type": "tpl", "tpl": "${count(status.images)}" },