diff --git a/src/locales/en.json b/src/locales/en.json index 13334fc7..a1c218c9 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -177,10 +177,8 @@ "Auth Algorithm": "Auth Algorithm", "Auth Key": "Auth Key", "Auto": "Auto", - "Auto Heal": "Auto Heal", "Auto Healing": "Auto Healing", "Auto Inspect": "Auto Inspect", - "Auto Remove": "Auto Remove", "Auto Scaling": "Auto Scaling", "Auto allocate mac address": "Auto allocate mac address", "Auto scaling feature will be enabled": "Auto scaling feature will be enabled", @@ -1243,7 +1241,6 @@ "Instances": "Instances", "Instances \"{ name }\" are locked, can not delete them.": "Instances \"{ name }\" are locked, can not delete them.", "Insufficient {name} quota to create resources(left { quota }, input { input }).": "Insufficient {name} quota to create resources(left { quota }, input { input }).", - "Interactive": "Interactive", "Interface Info": "Interface Info", "Interface Name:": "Interface Name:", "Interface for vendor-specific functionality on this node": "Interface for vendor-specific functionality on this node", diff --git a/src/locales/zh.json b/src/locales/zh.json index 5783dd19..aec6e5b3 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -177,10 +177,8 @@ "Auth Algorithm": "授权算法", "Auth Key": "密钥", "Auto": "自动", - "Auto Heal": "自动修复", "Auto Healing": "自动修复", "Auto Inspect": "自动检测", - "Auto Remove": "自动移除", "Auto Scaling": "自动缩放", "Auto allocate mac address": "自动分配MAC地址", "Auto scaling feature will be enabled": "将启用自动缩放功能", @@ -1243,7 +1241,6 @@ "Instances": "云主机", "Instances \"{ name }\" are locked, can not delete them.": "云主机\"{ name }\"被锁定,无法删除。", "Insufficient {name} quota to create resources(left { quota }, input { input }).": "{ name }配额不足,无法创建资源,请进行资源数量或配额的调整(剩余{ quota },输入{ input })。", - "Interactive": "可交互", "Interface Info": "接口信息", "Interface Name:": "网卡ID:", "Interface for vendor-specific functionality on this node": "用于在此节点上特定Vendor功能的接口", diff --git a/src/pages/container-service/containers/Containers/Detail/BaseDetail.jsx b/src/pages/container-service/containers/Containers/Detail/BaseDetail.jsx index 36e943b9..1f0af1f5 100644 --- a/src/pages/container-service/containers/Containers/Detail/BaseDetail.jsx +++ b/src/pages/container-service/containers/Containers/Detail/BaseDetail.jsx @@ -159,17 +159,17 @@ export class BaseDetail extends Base { }, }, { - label: t('Auto Remove'), + label: t('Enable auto remove'), dataIndex: 'auto_remove', valueRender: 'yesNo', }, { - label: t('Auto Heal'), + label: t('Enable auto heal'), dataIndex: 'auto_heal', valueRender: 'yesNo', }, { - label: t('Interactive'), + label: t('Enable interactive mode'), dataIndex: 'interactive', valueRender: 'yesNo', }, diff --git a/src/pages/container-service/containers/Containers/index.jsx b/src/pages/container-service/containers/Containers/index.jsx index ae3b14ad..0ee6da6b 100644 --- a/src/pages/container-service/containers/Containers/index.jsx +++ b/src/pages/container-service/containers/Containers/index.jsx @@ -73,6 +73,7 @@ export class Containers extends Base { : '-'} ), + stringify: (value = []) => value.map((it) => it.addr).join(','), }, { title: t('Ports'), @@ -132,7 +133,7 @@ export class Containers extends Base { options: getOptions(imageDrivers), }, { - label: t('Status'), + label: t('Container Status'), name: 'status', options: getOptions(containerStatus), },