From decd2bfec72f508d9d19085aa94aede567808d21 Mon Sep 17 00:00:00 2001 From: xusongfu Date: Mon, 13 Mar 2023 15:35:23 +0800 Subject: [PATCH] fix: Fix the label of node count in magnum cluster Unify the name of the label between detail page and creating step Change-Id: I5ee4cc8ab3ec084b31d46a9623c729189522c01b --- ...el-Of-Node-Count-In-Magnum-Cluster-207d96a2899569b4.yaml | 6 ++++++ src/locales/en.json | 2 -- src/locales/zh.json | 2 -- .../containers/Clusters/Detail/BaseDetail.jsx | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 releasenotes/notes/Fix-Label-Of-Node-Count-In-Magnum-Cluster-207d96a2899569b4.yaml diff --git a/releasenotes/notes/Fix-Label-Of-Node-Count-In-Magnum-Cluster-207d96a2899569b4.yaml b/releasenotes/notes/Fix-Label-Of-Node-Count-In-Magnum-Cluster-207d96a2899569b4.yaml new file mode 100644 index 00000000..739a2812 --- /dev/null +++ b/releasenotes/notes/Fix-Label-Of-Node-Count-In-Magnum-Cluster-207d96a2899569b4.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fix the label of node count in magnum cluster + + Unify the name of the label between detail page and creating step diff --git a/src/locales/en.json b/src/locales/en.json index 1f4bc279..861b5851 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1440,7 +1440,6 @@ "Manually Specify": "Manually Specify", "Marshall Islands": "Marshall Islands", "Martinique": "Martinique", - "Master Count": "Master Count", "Master Node Addresses": "Master Node Addresses", "Master Node Flavor": "Master Node Flavor", "Master Node LB Enabled": "Master Node LB Enabled", @@ -1583,7 +1582,6 @@ "No Vender": "No Vender", "Node": "Node", "Node Addresses": "Node Addresses", - "Node Count": "Node Count", "Node Driver": "Node Driver", "Node Flavor": "Node Flavor", "Node ID/Name": "Node ID/Name", diff --git a/src/locales/zh.json b/src/locales/zh.json index 4d5e3ff5..43984a28 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -1440,7 +1440,6 @@ "Manually Specify": "手动指定", "Marshall Islands": "马绍尔群岛", "Martinique": "马提尼克岛", - "Master Count": "主数量", "Master Node Addresses": "主节点地址", "Master Node Flavor": "主节点类型", "Master Node LB Enabled": "启用主节点负载均衡", @@ -1583,7 +1582,6 @@ "No Vender": "", "Node": "节点", "Node Addresses": "节点地址", - "Node Count": "节点数量", "Node Driver": "节点驱动", "Node Flavor": "节点类型", "Node ID/Name": "节点ID/名称", diff --git a/src/pages/container-infra/containers/Clusters/Detail/BaseDetail.jsx b/src/pages/container-infra/containers/Clusters/Detail/BaseDetail.jsx index 010aeb58..2618a0ab 100644 --- a/src/pages/container-infra/containers/Clusters/Detail/BaseDetail.jsx +++ b/src/pages/container-infra/containers/Clusters/Detail/BaseDetail.jsx @@ -191,7 +191,7 @@ export class BaseDetail extends Base { content: masterFlavorUrl, }, { - label: t('Master Count'), + label: t('Number of Master Nodes'), dataIndex: 'master_count', }, { @@ -199,7 +199,7 @@ export class BaseDetail extends Base { content: flavorUrl, }, { - label: t('Node Count'), + label: t('Number of Nodes'), dataIndex: 'node_count', }, {