Merge "fix: update 'gigabytes' to 'capacity' in the titile"

This commit is contained in:
Zuul 2022-08-08 09:10:43 +00:00 committed by Gerrit Code Review
commit 70fd56a9b1
17 changed files with 62 additions and 68 deletions

View File

@ -86,7 +86,7 @@ export default class index extends Component {
<> <>
<span className={styles.cpu}>{t('CPU(Core)')}</span> <span className={styles.cpu}>{t('CPU(Core)')}</span>
<InputNumber value={cpu} onChange={this.onCpuChange} {...config} /> <InputNumber value={cpu} onChange={this.onCpuChange} {...config} />
<span className={styles.ram}>{t('RAM(MiB)')}</span> <span className={styles.ram}>{t('RAM (MiB)')}</span>
<InputNumber value={ram} onChange={this.onRamChange} {...config} /> <InputNumber value={ram} onChange={this.onRamChange} {...config} />
</> </>
); );

View File

@ -146,7 +146,7 @@ export default class ZunVolume extends React.Component {
{selectSource} {selectSource}
</Col> </Col>
<Col span={8} hidden={!isNewVolume}> <Col span={8} hidden={!isNewVolume}>
<span className={styles.label}>{t('Size(GiB)')}</span> <span className={styles.label}>{t('Size (GiB)')}</span>
{inputSize} {inputSize}
</Col> </Col>
<Col span={8}> <Col span={8}>

View File

@ -866,7 +866,7 @@
"Environment": "Environment", "Environment": "Environment",
"Environment Variable": "Environment Variable", "Environment Variable": "Environment Variable",
"Environment Variables": "Environment Variables", "Environment Variables": "Environment Variables",
"Ephemeral Disk(GiB)": "Ephemeral Disk(GiB)", "Ephemeral Disk (GiB)": "Ephemeral Disk (GiB)",
"Equatorial Guinea": "Equatorial Guinea", "Equatorial Guinea": "Equatorial Guinea",
"Eritrea": "Eritrea", "Eritrea": "Eritrea",
"Error": "Error", "Error": "Error",
@ -1002,7 +1002,6 @@
"Get {name} error.": "Get {name} error.", "Get {name} error.": "Get {name} error.",
"Ghana": "Ghana", "Ghana": "Ghana",
"Gibraltar": "Gibraltar", "Gibraltar": "Gibraltar",
"Gigabytes (GiB)": "Gigabytes (GiB)",
"Given IP": "Given IP", "Given IP": "Given IP",
"Glance": "Glance", "Glance": "Glance",
"Global Setting": "Global Setting", "Global Setting": "Global Setting",
@ -1364,8 +1363,8 @@
"MAC Learning State": "MAC Learning State", "MAC Learning State": "MAC Learning State",
"MAPRFS": "MAPRFS", "MAPRFS": "MAPRFS",
"MEM %": "MEM %", "MEM %": "MEM %",
"MEM LIMIT(MiB)": "MEM LIMIT(MiB)", "MEM LIMIT (MiB)": "MEM LIMIT (MiB)",
"MEM USAGE(MiB)": "MEM USAGE(MiB)", "MEM USAGE (MiB)": "MEM USAGE (MiB)",
"MTU": "MTU", "MTU": "MTU",
"Mac Address": "Mac Address", "Mac Address": "Mac Address",
"MacVTap": "MacVTap", "MacVTap": "MacVTap",
@ -1448,9 +1447,9 @@
"Migrating": "Migrating", "Migrating": "Migrating",
"Migrating To": "Migrating To", "Migrating To": "Migrating To",
"Min Memory": "Min Memory", "Min Memory": "Min Memory",
"Min Memory(GiB)": "Min Memory(GiB)", "Min Memory (GiB)": "Min Memory (GiB)",
"Min System Disk": "Min System Disk", "Min System Disk": "Min System Disk",
"Min System Disk(GiB)": "Min System Disk(GiB)", "Min System Disk (GiB)": "Min System Disk (GiB)",
"Min size": "Min size", "Min size": "Min size",
"Min. Disk": "Min. Disk", "Min. Disk": "Min. Disk",
"Min. RAM": "Min. RAM", "Min. RAM": "Min. RAM",
@ -1855,7 +1854,7 @@
"Quota: Insufficient { name } quota to create resources.": "Quota: Insufficient { name } quota to create resources.", "Quota: Insufficient { name } quota to create resources.": "Quota: Insufficient { name } quota to create resources.",
"Quota: Project quotas sufficient resources can be created": "Quota: Project quotas sufficient resources can be created", "Quota: Project quotas sufficient resources can be created": "Quota: Project quotas sufficient resources can be created",
"RAM": "RAM", "RAM": "RAM",
"RAM(MiB)": "RAM(MiB)", "RAM (MiB)": "RAM (MiB)",
"RAW - Raw disk image format": "RAW - Raw disk image format", "RAW - Raw disk image format": "RAW - Raw disk image format",
"RESTORE COMPLETE": "RESTORE COMPLETE", "RESTORE COMPLETE": "RESTORE COMPLETE",
"RESUME COMPLETE": "RESUME COMPLETE", "RESUME COMPLETE": "RESUME COMPLETE",
@ -1866,7 +1865,7 @@
"ROUND_ROBIN": "Round Robin", "ROUND_ROBIN": "Round Robin",
"RSVP": "RSVP", "RSVP": "RSVP",
"Raid Interface": "Raid Interface", "Raid Interface": "Raid Interface",
"Ram Size(GiB)": "Ram Size(GiB)", "Ram Size (GiB)": "Ram Size (GiB)",
"Ram value is { ram }, NUMA RAM value is { totalRam }, need to be equal. ": "Ram value is { ram }, NUMA RAM value is { totalRam }, need to be equal. ", "Ram value is { ram }, NUMA RAM value is { totalRam }, need to be equal. ": "Ram value is { ram }, NUMA RAM value is { totalRam }, need to be equal. ",
"Ramdisk ID": "Ramdisk ID", "Ramdisk ID": "Ramdisk ID",
"Ramdisk Image": "Ramdisk Image", "Ramdisk Image": "Ramdisk Image",
@ -1920,7 +1919,6 @@
"Reset failed, please retry": "Reset failed, please retry", "Reset failed, please retry": "Reset failed, please retry",
"Resize": "Resize", "Resize": "Resize",
"Resize Cluster": "Resize Cluster", "Resize Cluster": "Resize Cluster",
"Resize Container": "Resize Container",
"Resize Instance": "Resize Instance", "Resize Instance": "Resize Instance",
"Resized": "Resized", "Resized": "Resized",
"Resizing or Migrating": "Resizing or Migrating", "Resizing or Migrating": "Resizing or Migrating",
@ -1969,7 +1967,7 @@
"Rollback In Progress": "Rollback In Progress", "Rollback In Progress": "Rollback In Progress",
"Romania": "Romania", "Romania": "Romania",
"Root Disk": "Root Disk", "Root Disk": "Root Disk",
"Root Disk(GiB)": "Root Disk(GiB)", "Root Disk (GiB)": "Root Disk (GiB)",
"Root directory": "Root directory", "Root directory": "Root directory",
"Router": "Router", "Router": "Router",
"Router Advertisements Mode": "Router Advertisements Mode", "Router Advertisements Mode": "Router Advertisements Mode",
@ -2046,9 +2044,9 @@
"Set IP": "Set IP", "Set IP": "Set IP",
"Seychelles": "Seychelles", "Seychelles": "Seychelles",
"Share": "Share", "Share": "Share",
"Share Capacity (GiB)": "Share Capacity (GiB)",
"Share Detail": "Share Detail", "Share Detail": "Share Detail",
"Share File Storage": "Share File Storage", "Share File Storage": "Share File Storage",
"Share Gigabytes(GiB)": "Share Gigabytes(GiB)",
"Share Group": "Share Group", "Share Group": "Share Group",
"Share Group Detail": "Share Group Detail", "Share Group Detail": "Share Group Detail",
"Share Group Type": "Share Group Type", "Share Group Type": "Share Group Type",
@ -2104,7 +2102,6 @@
"Singapore": "Singapore", "Singapore": "Singapore",
"Size": "Size", "Size": "Size",
"Size (GiB)": "Size (GiB)", "Size (GiB)": "Size (GiB)",
"Size(GiB)": "Size(GiB)",
"Slovakia (Slovak Republic)": "Slovakia (Slovak Republic)", "Slovakia (Slovak Republic)": "Slovakia (Slovak Republic)",
"Slovenia": "Slovenia", "Slovenia": "Slovenia",
"Slow Query": "Slow Query", "Slow Query": "Slow Query",
@ -2536,10 +2533,11 @@
"Visualization Compute Optimized Type with GPU": "Visualization Compute Optimized Type with GPU", "Visualization Compute Optimized Type with GPU": "Visualization Compute Optimized Type with GPU",
"Volume": "Volume", "Volume": "Volume",
"Volume Backup": "Volume Backup", "Volume Backup": "Volume Backup",
"Volume Backup Capacity (GiB)": "Volume Backup Capacity (GiB)",
"Volume Backup Detail": "Volume Backup Detail", "Volume Backup Detail": "Volume Backup Detail",
"Volume Backup Gigabytes (GiB)": "Volume Backup Gigabytes (GiB)",
"Volume Backup Name": "Volume Backup Name", "Volume Backup Name": "Volume Backup Name",
"Volume Backups": "Volume Backups", "Volume Backups": "Volume Backups",
"Volume Capacity (GiB)": "Volume Capacity (GiB)",
"Volume Detail": "Volume Detail", "Volume Detail": "Volume Detail",
"Volume Driver": "Volume Driver", "Volume Driver": "Volume Driver",
"Volume ID": "Volume ID", "Volume ID": "Volume ID",
@ -2725,7 +2723,6 @@
"flavor": "flavor", "flavor": "flavor",
"floating ip": "floating ip", "floating ip": "floating ip",
"floating ips": "floating ips", "floating ips": "floating ips",
"gigabytes": "gigabytes",
"heat services": "heat services", "heat services": "heat services",
"host aggregates": "host aggregates", "host aggregates": "host aggregates",
"hosts": "hosts", "hosts": "hosts",
@ -2855,13 +2852,13 @@
"volume": "volume", "volume": "volume",
"volume backup": "volume backup", "volume backup": "volume backup",
"volume backups": "volume backups", "volume backups": "volume backups",
"volume gigabytes": "volume gigabytes", "volume capacity": "volume capacity",
"volume snapshot": "volume snapshot", "volume snapshot": "volume snapshot",
"volume snapshots": "volume snapshots", "volume snapshots": "volume snapshots",
"volume type": "volume type", "volume type": "volume type",
"volume type qos": "volume type qos", "volume type qos": "volume type qos",
"volume type {type}": "volume type {type}", "volume type {type}": "volume type {type}",
"volume type {type} gigabytes": "volume type {type} gigabytes", "volume type {type} capacity": "volume type {type} capacity",
"volume types": "volume types", "volume types": "volume types",
"volumes": "volumes", "volumes": "volumes",
"vpn IKE policy": "vpn IKE policy", "vpn IKE policy": "vpn IKE policy",
@ -2884,8 +2881,8 @@
"{interval, plural, =1 {one week} other {# weeks} } later delete": "{interval, plural, =1 {one week} other {# weeks} } later delete", "{interval, plural, =1 {one week} other {# weeks} } later delete": "{interval, plural, =1 {one week} other {# weeks} } later delete",
"{minutes} minutes {leftSeconds} seconds": "{minutes} minutes {leftSeconds} seconds", "{minutes} minutes {leftSeconds} seconds": "{minutes} minutes {leftSeconds} seconds",
"{name} type": "{name} type", "{name} type": "{name} type",
"{name} type gigabytes": "{name} type gigabytes", "{name} type capacity": "{name} type capacity",
"{name} type gigabytes(GiB)": "{name} type gigabytes(GiB)", "{name} type capacity (GiB)": "{name} type capacity (GiB)",
"{name} type snapshots": "{name} type snapshots", "{name} type snapshots": "{name} type snapshots",
"{name} {id} could not be found.": "{name} {id} could not be found.", "{name} {id} could not be found.": "{name} {id} could not be found.",
"{number} port forwarding rules": "{number} port forwarding rules", "{number} port forwarding rules": "{number} port forwarding rules",

View File

@ -294,7 +294,7 @@
"Cancel Transfer": "取消云硬盘转让", "Cancel Transfer": "取消云硬盘转让",
"Cancel upload successfully.": "取消上传成功。", "Cancel upload successfully.": "取消上传成功。",
"Capacity & Type": "容量和类型", "Capacity & Type": "容量和类型",
"Capacity (GiB)": "容量(GiB)", "Capacity (GiB)": "容量 (GiB)",
"Cape Verde": "佛得角", "Cape Verde": "佛得角",
"Capsule Detail": "集合详情", "Capsule Detail": "集合详情",
"Capsule Type": "集合类型", "Capsule Type": "集合类型",
@ -866,7 +866,7 @@
"Environment": "环境", "Environment": "环境",
"Environment Variable": "环境变量", "Environment Variable": "环境变量",
"Environment Variables": "环境变量", "Environment Variables": "环境变量",
"Ephemeral Disk(GiB)": "本地临时卷GiB", "Ephemeral Disk (GiB)": "本地临时卷 (GiB)",
"Equatorial Guinea": "赤道几内亚", "Equatorial Guinea": "赤道几内亚",
"Eritrea": "厄立特里亚国", "Eritrea": "厄立特里亚国",
"Error": "错误", "Error": "错误",
@ -1002,7 +1002,6 @@
"Get {name} error.": "获取{name}失败。", "Get {name} error.": "获取{name}失败。",
"Ghana": "加纳", "Ghana": "加纳",
"Gibraltar": "直布罗陀", "Gibraltar": "直布罗陀",
"Gigabytes (GiB)": "容量 (GiB)",
"Given IP": "指定IP", "Given IP": "指定IP",
"Glance": "", "Glance": "",
"Global Setting": "平台配置", "Global Setting": "平台配置",
@ -1364,8 +1363,8 @@
"MAC Learning State": "MAC学习状态", "MAC Learning State": "MAC学习状态",
"MAPRFS": "", "MAPRFS": "",
"MEM %": "内存使用率(%)", "MEM %": "内存使用率(%)",
"MEM LIMIT(MiB)": "总内存(MiB)", "MEM LIMIT (MiB)": "总内存 (MiB)",
"MEM USAGE(MiB)": "已用内存(MiB)", "MEM USAGE (MiB)": "已用内存 (MiB)",
"MTU": "", "MTU": "",
"Mac Address": "Mac地址", "Mac Address": "Mac地址",
"MacVTap": "", "MacVTap": "",
@ -1448,9 +1447,9 @@
"Migrating": "迁移", "Migrating": "迁移",
"Migrating To": "迁移目标", "Migrating To": "迁移目标",
"Min Memory": "最小内存", "Min Memory": "最小内存",
"Min Memory(GiB)": "最小内存(GiB)", "Min Memory (GiB)": "最小内存 (GiB)",
"Min System Disk": "最小系统盘", "Min System Disk": "最小系统盘",
"Min System Disk(GiB)": "最小系统盘(GiB)", "Min System Disk (GiB)": "最小系统盘 (GiB)",
"Min size": "最小容量", "Min size": "最小容量",
"Min. Disk": "最小硬盘大小", "Min. Disk": "最小硬盘大小",
"Min. RAM": "最小内存", "Min. RAM": "最小内存",
@ -1855,7 +1854,7 @@
"Quota: Insufficient { name } quota to create resources.": "配额:{ name } 配额不足,无法创建资源。", "Quota: Insufficient { name } quota to create resources.": "配额:{ name } 配额不足,无法创建资源。",
"Quota: Project quotas sufficient resources can be created": "配额:项目配额充足,可创建资源", "Quota: Project quotas sufficient resources can be created": "配额:项目配额充足,可创建资源",
"RAM": "内存", "RAM": "内存",
"RAM(MiB)": "内存MiB", "RAM (MiB)": "内存 (MiB)",
"RAW - Raw disk image format": "RAW - 原始磁盘映像格式", "RAW - Raw disk image format": "RAW - 原始磁盘映像格式",
"RESTORE COMPLETE": "恢复完成", "RESTORE COMPLETE": "恢复完成",
"RESUME COMPLETE": "恢复完成", "RESUME COMPLETE": "恢复完成",
@ -1866,7 +1865,7 @@
"ROUND_ROBIN": "轮询算法", "ROUND_ROBIN": "轮询算法",
"RSVP": "", "RSVP": "",
"Raid Interface": "Raid接口", "Raid Interface": "Raid接口",
"Ram Size(GiB)": "内存容量GiB", "Ram Size (GiB)": "内存容量 (GiB)",
"Ram value is { ram }, NUMA RAM value is { totalRam }, need to be equal. ": "内存是 { ram }MiBNUMA节点的内存是{ totalRam }MiB需要一致。", "Ram value is { ram }, NUMA RAM value is { totalRam }, need to be equal. ": "内存是 { ram }MiBNUMA节点的内存是{ totalRam }MiB需要一致。",
"Ramdisk ID": "内存盘ID", "Ramdisk ID": "内存盘ID",
"Ramdisk Image": "Ramdisk镜像", "Ramdisk Image": "Ramdisk镜像",
@ -1920,7 +1919,6 @@
"Reset failed, please retry": "重置失败,请重试", "Reset failed, please retry": "重置失败,请重试",
"Resize": "修改配置", "Resize": "修改配置",
"Resize Cluster": "调整集群大小", "Resize Cluster": "调整集群大小",
"Resize Container": "修改容器配置",
"Resize Instance": "修改配置", "Resize Instance": "修改配置",
"Resized": "已修改配置", "Resized": "已修改配置",
"Resizing or Migrating": "正在修改配置/迁移", "Resizing or Migrating": "正在修改配置/迁移",
@ -1969,7 +1967,7 @@
"Rollback In Progress": "回滚中", "Rollback In Progress": "回滚中",
"Romania": "罗马尼亚", "Romania": "罗马尼亚",
"Root Disk": "系统盘", "Root Disk": "系统盘",
"Root Disk(GiB)": "根磁盘 (GiB)", "Root Disk (GiB)": "根磁盘 (GiB)",
"Root directory": "根目录", "Root directory": "根目录",
"Router": "路由器", "Router": "路由器",
"Router Advertisements Mode": "路由广播模式", "Router Advertisements Mode": "路由广播模式",
@ -2046,9 +2044,9 @@
"Set IP": "设置IP", "Set IP": "设置IP",
"Seychelles": "塞舌尔", "Seychelles": "塞舌尔",
"Share": "共享", "Share": "共享",
"Share Capacity (GiB)": "共享容量 (GiB)",
"Share Detail": "共享详情", "Share Detail": "共享详情",
"Share File Storage": "文件存储", "Share File Storage": "文件存储",
"Share Gigabytes(GiB)": "共享容量(GiB)",
"Share Group": "共享组", "Share Group": "共享组",
"Share Group Detail": "共享组详情", "Share Group Detail": "共享组详情",
"Share Group Type": "共享组类型", "Share Group Type": "共享组类型",
@ -2104,7 +2102,6 @@
"Singapore": "新加坡", "Singapore": "新加坡",
"Size": "容量", "Size": "容量",
"Size (GiB)": "容量 (GiB)", "Size (GiB)": "容量 (GiB)",
"Size(GiB)": "大小(GiB)",
"Slovakia (Slovak Republic)": "斯洛伐克", "Slovakia (Slovak Republic)": "斯洛伐克",
"Slovenia": "斯洛文尼亚", "Slovenia": "斯洛文尼亚",
"Slow Query": "", "Slow Query": "",
@ -2536,10 +2533,11 @@
"Visualization Compute Optimized Type with GPU": "GPU虚拟化型", "Visualization Compute Optimized Type with GPU": "GPU虚拟化型",
"Volume": "云硬盘", "Volume": "云硬盘",
"Volume Backup": "云硬盘备份", "Volume Backup": "云硬盘备份",
"Volume Backup Capacity (GiB)": "云硬盘备份容量 (GiB)",
"Volume Backup Detail": "云硬盘备份详情", "Volume Backup Detail": "云硬盘备份详情",
"Volume Backup Gigabytes (GiB)": "云硬盘备份容量 (GiB)",
"Volume Backup Name": "云硬盘备份名称", "Volume Backup Name": "云硬盘备份名称",
"Volume Backups": "云硬盘备份", "Volume Backups": "云硬盘备份",
"Volume Capacity (GiB)": "云硬盘容量 (GiB)",
"Volume Detail": "云硬盘详情", "Volume Detail": "云硬盘详情",
"Volume Driver": "云硬盘驱动", "Volume Driver": "云硬盘驱动",
"Volume ID": "云硬盘ID", "Volume ID": "云硬盘ID",
@ -2725,7 +2723,6 @@
"flavor": "云主机类型", "flavor": "云主机类型",
"floating ip": "浮动IP", "floating ip": "浮动IP",
"floating ips": "浮动IP", "floating ips": "浮动IP",
"gigabytes": "容量",
"heat services": "编排服务", "heat services": "编排服务",
"host aggregates": "主机集合", "host aggregates": "主机集合",
"hosts": "主机", "hosts": "主机",
@ -2855,13 +2852,13 @@
"volume": "云硬盘", "volume": "云硬盘",
"volume backup": "云硬盘备份", "volume backup": "云硬盘备份",
"volume backups": "云硬盘备份", "volume backups": "云硬盘备份",
"volume gigabytes": "云硬盘容量", "volume capacity": "云硬盘容量",
"volume snapshot": "云硬盘快照", "volume snapshot": "云硬盘快照",
"volume snapshots": "云硬盘快照", "volume snapshots": "云硬盘快照",
"volume type": "云硬盘类型", "volume type": "云硬盘类型",
"volume type qos": "云硬盘类型Qos", "volume type qos": "云硬盘类型Qos",
"volume type {type}": "云硬盘类型 {type} ", "volume type {type}": "云硬盘类型 {type} ",
"volume type {type} gigabytes": "云硬盘类型 {type} 容量 ", "volume type {type} capacity": "云硬盘类型 {type} 容量",
"volume types": "云硬盘类型", "volume types": "云硬盘类型",
"volumes": "云硬盘", "volumes": "云硬盘",
"vpn IKE policy": "VPN IKE策略", "vpn IKE policy": "VPN IKE策略",
@ -2884,8 +2881,8 @@
"{interval, plural, =1 {one week} other {# weeks} } later delete": "{interval}周后删除", "{interval, plural, =1 {one week} other {# weeks} } later delete": "{interval}周后删除",
"{minutes} minutes {leftSeconds} seconds": "{minutes}分{leftSeconds}秒", "{minutes} minutes {leftSeconds} seconds": "{minutes}分{leftSeconds}秒",
"{name} type": "{name} 类型", "{name} type": "{name} 类型",
"{name} type gigabytes": "{name} 类型容量", "{name} type capacity": "{name} 类型容量",
"{name} type gigabytes(GiB)": "{name} 类型容量(GiB)", "{name} type capacity (GiB)": "{name} 类型容量 (GiB)",
"{name} type snapshots": "{name} 类型快照", "{name} type snapshots": "{name} 类型快照",
"{name} {id} could not be found.": "您查看的资源{name} {id} 无法获取", "{name} {id} could not be found.": "您查看的资源{name} {id} 无法获取",
"{number} port forwarding rules": "{number}个端口转发规则", "{number} port forwarding rules": "{number}个端口转发规则",

View File

@ -58,7 +58,7 @@ export const quotaCardList = [
key: 'volumes', key: 'volumes',
}, },
{ {
text: t('Gigabytes (GiB)'), text: t('Volume Capacity (GiB)'),
key: 'gigabytes', key: 'gigabytes',
}, },
{ {
@ -70,7 +70,7 @@ export const quotaCardList = [
key: 'backups', key: 'backups',
}, },
{ {
text: t('Volume Backup Gigabytes (GiB)'), text: t('Volume Backup Capacity (GiB)'),
key: 'backup_gigabytes', key: 'backup_gigabytes',
}, },
], ],
@ -96,7 +96,7 @@ export const shareQuotaCard = {
value: [ value: [
{ text: t('Shares'), key: 'shares' }, { text: t('Shares'), key: 'shares' },
{ {
text: t('Share Gigabytes(GiB)'), text: t('Share Capacity (GiB)'),
key: 'share_gigabytes', key: 'share_gigabytes',
}, },
{ text: t('Share Networks'), key: 'share_networks' }, { text: t('Share Networks'), key: 'share_networks' },
@ -128,7 +128,7 @@ export const getVolumeTypeCards = (data) => {
key: `volumes_${item.name}`, key: `volumes_${item.name}`,
}, },
{ {
text: t('{name} type gigabytes(GiB)', { name: item.name }), text: t('{name} type capacity (GiB)', { name: item.name }),
key: `gigabytes_${item.name}`, key: `gigabytes_${item.name}`,
}, },
{ {

View File

@ -116,7 +116,7 @@ export class BaseDetail extends Base {
]; ];
if (hasEphemeral) { if (hasEphemeral) {
options.push({ options.push({
label: t('Ephemeral Disk(GiB)'), label: t('Ephemeral Disk (GiB)'),
dataIndex: 'OS-FLV-EXT-DATA:ephemeral', dataIndex: 'OS-FLV-EXT-DATA:ephemeral',
}); });
} }
@ -154,7 +154,7 @@ export class BaseDetail extends Base {
get diskCard() { get diskCard() {
const options = [ const options = [
{ {
label: t('Root Disk(GiB)'), label: t('Root Disk (GiB)'),
dataIndex: 'disk', dataIndex: 'disk',
}, },
]; ];

View File

@ -360,7 +360,7 @@ export class ParamSetting extends Base {
}, },
{ {
name: 'memoryGb', name: 'memoryGb',
label: t('Ram Size(GiB)'), label: t('Ram Size (GiB)'),
type: 'input-int', type: 'input-int',
min: 1, min: 1,
required: true, required: true,
@ -374,14 +374,14 @@ export class ParamSetting extends Base {
}, },
{ {
name: 'ephemeral', name: 'ephemeral',
label: t('Ephemeral Disk(GiB)'), label: t('Ephemeral Disk (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
hidden: !hasEphemeral, hidden: !hasEphemeral,
}, },
{ {
name: 'ephemeralTmp', name: 'ephemeralTmp',
label: t('Ephemeral Disk(GiB)'), label: t('Ephemeral Disk (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
hidden: isBareMetal || hasEphemeral, hidden: isBareMetal || hasEphemeral,
@ -389,7 +389,7 @@ export class ParamSetting extends Base {
}, },
{ {
name: 'disk', name: 'disk',
label: t('Root Disk(GiB)'), label: t('Root Disk (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
hidden: this.enableCinder, hidden: this.enableCinder,

View File

@ -44,11 +44,11 @@ export class BaseDetail extends Base {
valueRender: 'bytes', valueRender: 'bytes',
}, },
{ {
label: t('Min System Disk(GiB)'), label: t('Min System Disk (GiB)'),
dataIndex: 'min_disk', dataIndex: 'min_disk',
}, },
{ {
label: t('Min Memory(GiB)'), label: t('Min Memory (GiB)'),
dataIndex: 'min_ram', dataIndex: 'min_ram',
valueRender: 'GiBValue', valueRender: 'GiBValue',
}, },

View File

@ -251,14 +251,14 @@ export class CreateForm extends FormAction {
}, },
{ {
name: 'min_disk', name: 'min_disk',
label: t('Min System Disk(GiB)'), label: t('Min System Disk (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
max: 500, max: 500,
}, },
{ {
name: 'min_ram', name: 'min_ram',
label: t('Min Memory(GiB)'), label: t('Min Memory (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
max: 500, max: 500,

View File

@ -125,7 +125,7 @@ export class Edit extends ModalAction {
}, },
{ {
name: 'min_disk', name: 'min_disk',
label: t('Min System Disk(GiB)'), label: t('Min System Disk (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
max: 500, max: 500,
@ -133,7 +133,7 @@ export class Edit extends ModalAction {
}, },
{ {
name: 'min_ram', name: 'min_ram',
label: t('Min Memory(GiB)'), label: t('Min Memory (GiB)'),
type: 'input-int', type: 'input-int',
min: 0, min: 0,
max: 500, max: 500,

View File

@ -217,7 +217,7 @@ export class StepCreate extends StepAction {
...volumeQuota.gigabytes, ...volumeQuota.gigabytes,
add: quotaError ? 0 : totalNewSize, add: quotaError ? 0 : totalNewSize,
name: 'volumeSize', name: 'volumeSize',
title: t('Volume Size'), title: t('Volume Capacity (GiB)'),
type: 'line', type: 'line',
}; };
const serverGroupQuota = this.getServerGroupQuota(); const serverGroupQuota = this.getServerGroupQuota();
@ -363,7 +363,7 @@ export class StepCreate extends StepAction {
const totalSizeMsg = this.getQuotaMessage( const totalSizeMsg = this.getQuotaMessage(
totalNewSize, totalNewSize,
quotaAll.gigabytes, quotaAll.gigabytes,
t('volume gigabytes') t('volume capacity')
); );
if (totalSizeMsg) { if (totalSizeMsg) {
return totalSizeMsg; return totalSizeMsg;
@ -385,7 +385,7 @@ export class StepCreate extends StepAction {
const sizeMsg = this.getQuotaMessage( const sizeMsg = this.getQuotaMessage(
newSizeMap[key], newSizeMap[key],
quotaAll[`gigabytes_${key}`], quotaAll[`gigabytes_${key}`],
t('volume type {type} gigabytes', { type: key }) t('volume type {type} capacity', { type: key })
); );
if (sizeMsg) { if (sizeMsg) {
msg = sizeMsg; msg = sizeMsg;

View File

@ -191,11 +191,11 @@ export class BaseDetail extends Base {
render: (value = 0) => value.toFixed(4), render: (value = 0) => value.toFixed(4),
}, },
{ {
label: t('MEM LIMIT(MiB)'), label: t('MEM LIMIT (MiB)'),
dataIndex: 'stats[MEM LIMIT(MiB)]', dataIndex: 'stats[MEM LIMIT(MiB)]',
}, },
{ {
label: t('MEM USAGE(MiB)'), label: t('MEM USAGE (MiB)'),
dataIndex: 'stats[MEM USAGE(MiB)]', dataIndex: 'stats[MEM USAGE(MiB)]',
render: (value = 0) => value.toFixed(4), render: (value = 0) => value.toFixed(4),
}, },

View File

@ -101,7 +101,7 @@ export class Instances extends Base {
isHideable: true, isHideable: true,
}, },
{ {
title: t('Volume Size'), title: t('Volume Capacity (GiB)'),
dataIndex: 'size', dataIndex: 'size',
isHideable: true, isHideable: true,
render: (value) => (value ? `${value}GiB` : '-'), render: (value) => (value ? `${value}GiB` : '-'),

View File

@ -196,7 +196,7 @@ export const getQuotaInfo = (self) => {
...gigabytes, ...gigabytes,
add: addSize, add: addSize,
name: 'gigabytes', name: 'gigabytes',
title: t('Volume Backup Gigabytes (GiB)'), title: t('Volume Backup Capacity (GiB)'),
type: 'line', type: 'line',
}; };
return [backupData, sizeData]; return [backupData, sizeData];

View File

@ -451,7 +451,7 @@ export const getAdd = (cinderQuota, withCountCheck = true) => {
} }
if ((sizeLimit !== -1 && sizeLeft < totalSize) || sizeLeft === 0) { if ((sizeLimit !== -1 && sizeLeft < totalSize) || sizeLeft === 0) {
const error = getErrorMessage({ const error = getErrorMessage({
name: t('gigabytes'), name: t('volume capacity'),
left: sizeLeft, left: sizeLeft,
input: totalSize, input: totalSize,
}); });
@ -473,7 +473,7 @@ export const getAdd = (cinderQuota, withCountCheck = true) => {
typeSizeLeft === 0 typeSizeLeft === 0
) { ) {
const error = getErrorMessage({ const error = getErrorMessage({
name: t('{name} type gigabytes', { name: type }), name: t('{name} type capacity', { name: type }),
left: typeSizeLeft, left: typeSizeLeft,
input: totalSize, input: totalSize,
}); });
@ -505,7 +505,7 @@ export const getQuotaInfo = (self, withCountCheck = true) => {
...gigabytes, ...gigabytes,
add: addSize, add: addSize,
name: 'gigabytes', name: 'gigabytes',
title: t('Gigabytes (GiB)'), title: t('Volume Capacity (GiB)'),
type: 'line', type: 'line',
}; };
if (!name) { if (!name) {
@ -522,7 +522,7 @@ export const getQuotaInfo = (self, withCountCheck = true) => {
...typeSizeQuota, ...typeSizeQuota,
add: addSize, add: addSize,
name: 'typeSize', name: 'typeSize',
title: t('{name} type gigabytes', { name }), title: t('{name} type capacity', { name }),
type: 'line', type: 'line',
}; };
return [volumeData, sizeData, typeData, typeSizeData]; return [volumeData, sizeData, typeData, typeSizeData];

View File

@ -132,7 +132,7 @@ export const getAdd = (
const titleMap = { const titleMap = {
shares: t('Share'), shares: t('Share'),
gigabytes: t('Share Gigabytes(GiB)'), gigabytes: t('Share Capacity (GiB)'),
share_networks: t('Share Network'), share_networks: t('Share Network'),
share_groups: t('Share Group'), share_groups: t('Share Group'),
}; };

View File

@ -172,7 +172,7 @@ export const getBaseColumns = (self) => [
}, },
}, },
{ {
title: t('Ephemeral Disk(GiB)'), title: t('Ephemeral Disk (GiB)'),
dataIndex: 'OS-FLV-EXT-DATA:ephemeral', dataIndex: 'OS-FLV-EXT-DATA:ephemeral',
isHideable: true, isHideable: true,
}, },