fix: fix the server group member label in quota
1. Fix the server group member label in the quota overview 2. Fix the server group member label in the quota manange form 3. Update the label style in the quota manage form to better display the resource label 4. Fix the 'of' word in some titles Change-Id: I000c783f05ddadf5a6649d56c19263ee4af81e82
This commit is contained in:
parent
f801b77f83
commit
a6820a4ca8
@ -282,7 +282,7 @@ const i18nDict = {
|
||||
CX: t('Christmas Island'),
|
||||
CC: t('Cocos (Keeling) Islands'),
|
||||
CO: t('Colombia'),
|
||||
CG: t('Republic Of The Congo'),
|
||||
CG: t('Republic of the Congo'),
|
||||
ZR: t('Democratic Republic of the Congo'),
|
||||
CR: t('Costa Rica'),
|
||||
CI: t("Cote D'Ivoire"),
|
||||
|
@ -1419,8 +1419,9 @@
|
||||
"Member Count": "Member Count",
|
||||
"Member Detail": "Member Detail",
|
||||
"Member Num": "Member Num",
|
||||
"Member in group": "Member in group",
|
||||
"Members": "Members",
|
||||
"Members of Each Group": "Members of Each Group",
|
||||
"Members of Each Server Group": "Members of Each Server Group",
|
||||
"Memory": "Memory",
|
||||
"Memory (GiB)": "Memory (GiB)",
|
||||
"Memory (MiB)": "Memory (MiB)",
|
||||
@ -1564,10 +1565,10 @@
|
||||
"Note: Please consider the container name carefully since it couldn't be changed after created.": "Note: Please consider the container name carefully since it couldn't be changed after created.",
|
||||
"Note: The security group you use will act on all virtual adapters of the instance.": "Note: The security group you use will act on all virtual adapters of the instance.",
|
||||
"Nova Service": "Nova Service",
|
||||
"Number Of Ports": "Number Of Ports",
|
||||
"Number of GPU": "Number of GPU",
|
||||
"Number of Master Nodes": "Number of Master Nodes",
|
||||
"Number of Nodes": "Number of Nodes",
|
||||
"Number of Ports": "Number of Ports",
|
||||
"Number of Usb Controller": "Number of Usb Controller",
|
||||
"Number of Worker Nodes": "Number of Worker Nodes",
|
||||
"OK": "OK",
|
||||
@ -1902,7 +1903,7 @@
|
||||
"Rename": "Rename",
|
||||
"Rename is to copy the current file to the new file address and delete the current file, which will affect the creation time of the file.": "Rename is to copy the current file to the new file address and delete the current file, which will affect the creation time of the file.",
|
||||
"Replication Change": "Replication Change",
|
||||
"Republic Of The Congo": "Republic Of The Congo",
|
||||
"Republic of the Congo": "Republic of the Congo",
|
||||
"Request ID": "Request ID",
|
||||
"Require": "Require",
|
||||
"Require(Need multithreading)": "Require(Need multithreading)",
|
||||
@ -1915,6 +1916,7 @@
|
||||
"Reset failed, please retry": "Reset failed, please retry",
|
||||
"Resize": "Resize",
|
||||
"Resize Cluster": "Resize Cluster",
|
||||
"Resize Container": "Resize Container",
|
||||
"Resize Instance": "Resize Instance",
|
||||
"Resized": "Resized",
|
||||
"Resizing or Migrating": "Resizing or Migrating",
|
||||
@ -1929,6 +1931,8 @@
|
||||
"Resource Type": "Resource Type",
|
||||
"Resource Types": "Resource Types",
|
||||
"Resources Synced": "Resources Synced",
|
||||
"Restart": "Restart",
|
||||
"Restart Container": "Restart Container",
|
||||
"Restart Database Service": "Restart Database Service",
|
||||
"Restart Policy": "Restart Policy",
|
||||
"Restarting": "Restarting",
|
||||
|
@ -1419,8 +1419,9 @@
|
||||
"Member Count": "成员数量",
|
||||
"Member Detail": "成员详情",
|
||||
"Member Num": "成员数量",
|
||||
"Member in group": "组内成员",
|
||||
"Members": "成员",
|
||||
"Members of Each Group": "每个组内成员",
|
||||
"Members of Each Server Group": "每个云主机组内成员",
|
||||
"Memory": "内存",
|
||||
"Memory (GiB)": "内存 (GiB)",
|
||||
"Memory (MiB)": "内存 (MiB)",
|
||||
@ -1564,10 +1565,10 @@
|
||||
"Note: Please consider the container name carefully since it couldn't be changed after created.": "注意:为容器取名需谨慎,因为创建后不可修改。",
|
||||
"Note: The security group you use will act on all virtual adapters of the instance.": "注:您所用的安全组将作用于云主机的全部虚拟网卡。",
|
||||
"Nova Service": "计算服务",
|
||||
"Number Of Ports": "端口数量",
|
||||
"Number of GPU": "GPU数量",
|
||||
"Number of Master Nodes": "主节点数",
|
||||
"Number of Nodes": "节点数量",
|
||||
"Number of Ports": "端口数量",
|
||||
"Number of Usb Controller": "USB控制器数量",
|
||||
"Number of Worker Nodes": "工作节点数",
|
||||
"OK": "",
|
||||
@ -1902,7 +1903,7 @@
|
||||
"Rename": "重命名",
|
||||
"Rename is to copy the current file to the new file address and delete the current file, which will affect the creation time of the file.": "重命名是把当前文件复制到新文件地址,并删除当前文件,会影响文件的创建时间。",
|
||||
"Replication Change": "复制更改中",
|
||||
"Republic Of The Congo": "刚果共和国",
|
||||
"Republic of the Congo": "刚果共和国",
|
||||
"Request ID": "请求ID",
|
||||
"Require": "强制",
|
||||
"Require(Need multithreading)": "Require(必须有多线程)",
|
||||
@ -1915,6 +1916,7 @@
|
||||
"Reset failed, please retry": "重置失败,请重试",
|
||||
"Resize": "修改配置",
|
||||
"Resize Cluster": "调整集群大小",
|
||||
"Resize Container": "修改容器配置",
|
||||
"Resize Instance": "修改配置",
|
||||
"Resized": "已修改配置",
|
||||
"Resizing or Migrating": "正在修改配置/迁移",
|
||||
@ -1929,6 +1931,8 @@
|
||||
"Resource Type": "资源类型",
|
||||
"Resource Types": "资源类型",
|
||||
"Resources Synced": "资源同步",
|
||||
"Restart": "重启",
|
||||
"Restart Container": "重启容器",
|
||||
"Restart Database Service": "重启数据库服务",
|
||||
"Restart Policy": "重启策略",
|
||||
"Restarting": "重启中",
|
||||
|
@ -250,7 +250,7 @@ export class QuotaOverview extends Component {
|
||||
if (i.key === 'server_groups' && server_group_members) {
|
||||
title = (
|
||||
<span>
|
||||
{title} ({t('Member in group')} :
|
||||
{title} ({t('Members of Each Group')} :
|
||||
{server_group_members.limit === -1
|
||||
? t('Unlimit')
|
||||
: server_group_members.limit}
|
||||
|
@ -66,7 +66,7 @@ export class Detail extends Base {
|
||||
tip: (value, record) => record.maintenance_reason,
|
||||
},
|
||||
{
|
||||
title: t('Number Of Ports'),
|
||||
title: t('Number of Ports'),
|
||||
dataIndex: 'portsNew',
|
||||
render: (value) => (value && value.length) || '-',
|
||||
},
|
||||
|
@ -80,7 +80,7 @@ export class BareMetalNode extends Base {
|
||||
tip: (value, record) => record.maintenance_reason,
|
||||
},
|
||||
{
|
||||
title: t('Number Of Ports'),
|
||||
title: t('Number of Ports'),
|
||||
dataIndex: 'portCount',
|
||||
isHideable: true,
|
||||
},
|
||||
|
@ -127,7 +127,7 @@ export class ManageQuota extends ModalAction {
|
||||
name,
|
||||
label,
|
||||
type: 'input-number',
|
||||
labelCol: { span: 12 },
|
||||
labelCol: { span: 14 },
|
||||
colNum: 2,
|
||||
validator: this.checkMin,
|
||||
hidden,
|
||||
@ -163,7 +163,7 @@ export class ManageQuota extends ModalAction {
|
||||
const formItems = this.getFormItemsByCards('compute');
|
||||
const memberItem = this.getInputItem(
|
||||
'server_group_members',
|
||||
t('Server Group Member')
|
||||
t('Members of Each Server Group')
|
||||
);
|
||||
return [...formItems, memberItem];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user