diff --git a/src/locales/en.json b/src/locales/en.json index 121aedf4..b0e59d1b 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1776,7 +1776,7 @@ "Please select {name} first": "Please select {name} first", "Please set CPU && Ram first.": "Please set CPU && Ram first.", "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", "Policy": "Policy", "Policy Name": "Policy Name", diff --git a/src/locales/zh.json b/src/locales/zh.json index 0b44d395..fd15ad3a 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -1776,7 +1776,7 @@ "Please select {name} first": "请先选择{name}", "Please set CPU && Ram first.": "请先设置CPU、内存。", "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": "波兰", "Policy": "策略", "Policy Name": "策略名称", diff --git a/src/pages/storage/containers/Container/Detail/actions/Edit.jsx b/src/pages/storage/containers/Container/Detail/actions/Edit.jsx index 65175960..8ed47693 100644 --- a/src/pages/storage/containers/Container/Detail/actions/Edit.jsx +++ b/src/pages/storage/containers/Container/Detail/actions/Edit.jsx @@ -72,7 +72,7 @@ export class Edit extends ModalAction { } return Promise.reject( 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 } ) ); diff --git a/src/pages/storage/containers/Container/Detail/actions/UploadFile.jsx b/src/pages/storage/containers/Container/Detail/actions/UploadFile.jsx index 522db5cc..11c9bf1a 100644 --- a/src/pages/storage/containers/Container/Detail/actions/UploadFile.jsx +++ b/src/pages/storage/containers/Container/Detail/actions/UploadFile.jsx @@ -64,7 +64,7 @@ export class UploadFile extends ModalAction { } return Promise.reject( 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 } ) );