Merge "fix: Fix the unit when upload file"

This commit is contained in:
Zuul 2022-09-19 10:55:54 +00:00 committed by Gerrit Code Review
commit f6caeb6184
4 changed files with 4 additions and 4 deletions

View File

@ -1776,7 +1776,7 @@
"Please select {name} first": "Please select {name} first", "Please select {name} first": "Please select {name} first",
"Please set CPU && Ram first.": "Please set CPU && Ram first.", "Please set CPU && Ram first.": "Please set CPU && Ram first.",
"Please set MUNA": "Please set MUNA", "Please set MUNA": "Please set MUNA",
"Please upload files smaller than { size }G on the page. It is recommended to upload files over { size }G using API.": "Please upload files smaller than { size }G on the page. It is recommended to upload files over { size }G using API.", "Please upload files smaller than { size }GiB on the page. It is recommended to upload files over { size }GiB using API.": "Please upload files smaller than { size }GiB on the page. It is recommended to upload files over { size }GiB using API.",
"Poland": "Poland", "Poland": "Poland",
"Policy": "Policy", "Policy": "Policy",
"Policy Name": "Policy Name", "Policy Name": "Policy Name",

View File

@ -1776,7 +1776,7 @@
"Please select {name} first": "请先选择{name}", "Please select {name} first": "请先选择{name}",
"Please set CPU && Ram first.": "请先设置CPU、内存。", "Please set CPU && Ram first.": "请先设置CPU、内存。",
"Please set MUNA": "请设置NUMA节点", "Please set MUNA": "请设置NUMA节点",
"Please upload files smaller than { size }G on the page. It is recommended to upload files over { size }G using API.": "页面请上传小于{ size }G的文件,超过{ size }G的文件建议使用API上传。", "Please upload files smaller than { size }GiB on the page. It is recommended to upload files over { size }GiB using API.": "页面请上传小于{ size }GiB的文件,超过{ size }GiB的文件建议使用API上传。",
"Poland": "波兰", "Poland": "波兰",
"Policy": "策略", "Policy": "策略",
"Policy Name": "策略名称", "Policy Name": "策略名称",

View File

@ -72,7 +72,7 @@ export class Edit extends ModalAction {
} }
return Promise.reject( return Promise.reject(
t( t(
'Please upload files smaller than { size }G on the page. It is recommended to upload files over { size }G using API.', 'Please upload files smaller than { size }GiB on the page. It is recommended to upload files over { size }GiB using API.',
{ size: this.maxSize } { size: this.maxSize }
) )
); );

View File

@ -64,7 +64,7 @@ export class UploadFile extends ModalAction {
} }
return Promise.reject( return Promise.reject(
t( t(
'Please upload files smaller than { size }G on the page. It is recommended to upload files over { size }G using API.', 'Please upload files smaller than { size }GiB on the page. It is recommended to upload files over { size }GiB using API.',
{ size: this.maxSize } { size: this.maxSize }
) )
); );