diff --git a/system-setting/frontend/src/business/system/components/UserImport.vue b/system-setting/frontend/src/business/system/components/UserImport.vue index 33a7e102af..edd8b1ae32 100644 --- a/system-setting/frontend/src/business/system/components/UserImport.vue +++ b/system-setting/frontend/src/business/system/components/UserImport.vue @@ -86,7 +86,7 @@ export default { return false; } if (file.size / 1024 / 1024 > this.uploadSize) { - this.$warning(this.$t('commons.upload_limit_size')); + this.$warning(this.$t('system_user.upload_limit_size_warn')); return false; } this.isLoading = true; diff --git a/system-setting/frontend/src/i18n/lang/en-US.js b/system-setting/frontend/src/i18n/lang/en-US.js index be7fcb1268..0f58eb03b9 100644 --- a/system-setting/frontend/src/i18n/lang/en-US.js +++ b/system-setting/frontend/src/i18n/lang/en-US.js @@ -5,7 +5,8 @@ import mf from "metersphere-frontend/src/i18n/lang/en-US" const message = { user: { search_get_more_tip: 'Search for other options', - remove_group_tip: 'Have at least one user group permission' + remove_group_tip: 'Have at least one user group permission', + upload_limit_size_warn: 'Upload file size cannot exceed {0} MB!', }, system: { environment_import_repeat_tip: "(Environment configuration with the same name filtered {0})", diff --git a/system-setting/frontend/src/i18n/lang/zh-CN.js b/system-setting/frontend/src/i18n/lang/zh-CN.js index f5bd8ae716..c828a3233d 100644 --- a/system-setting/frontend/src/i18n/lang/zh-CN.js +++ b/system-setting/frontend/src/i18n/lang/zh-CN.js @@ -5,7 +5,8 @@ import mf from "metersphere-frontend/src/i18n/lang/zh-CN" const message = { system_user: { search_get_more_tip: '搜索获取其他选项', - remove_group_tip: '至少拥有一个用户组权限' + remove_group_tip: '至少拥有一个用户组权限', + upload_limit_size_warn: '上传文件大小不能超过 {0} MB!', }, system: { environment_import_repeat_tip: "(已过滤同名称的环境配置 {0})", diff --git a/system-setting/frontend/src/i18n/lang/zh-TW.js b/system-setting/frontend/src/i18n/lang/zh-TW.js index 9c8a44f4e0..464ca777c2 100644 --- a/system-setting/frontend/src/i18n/lang/zh-TW.js +++ b/system-setting/frontend/src/i18n/lang/zh-TW.js @@ -5,7 +5,8 @@ import mf from "metersphere-frontend/src/i18n/lang/zh-TW" const message = { user: { search_get_more_tip: '搜索獲取其他選項', - remove_group_tip: '至少擁有一個用戶組權限' + remove_group_tip: '至少擁有一個用戶組權限', + upload_limit_size_warn: '上傳文件大小不能超過 {0} MB!', }, system: { environment_import_repeat_tip: "(已過濾同名稱的環境配置 {0})", diff --git a/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue b/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue index b30e6c449f..7a39a21af0 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue @@ -85,7 +85,7 @@