diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index d73808de15..914e4ec504 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -1064,6 +1064,7 @@ const message = { input_phone: "Please enter phone number", special_characters_are_not_supported: "Special characters are not supported", + chinese_characters_are_not_supported: "Chinese characters are not supported", mobile_number_format_is_incorrect: "Phone number format is incorrect", email_format_is_incorrect: "Email format is incorrect", delete_confirm: "Are you sure you want to delete this User?", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index 85b521ad17..ab4e3e4a42 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -1035,6 +1035,7 @@ const message = { input_password: "请输入密码", input_phone: "请输入电话号码", special_characters_are_not_supported: "不支持特殊字符", + chinese_characters_are_not_supported: "不支持中文字符", mobile_number_format_is_incorrect: "电话号码格式不正确", email_format_is_incorrect: "邮箱格式不正确", delete_confirm: "这个用户确定要删除吗?", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 28a824e32f..061720c71e 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -1034,6 +1034,7 @@ const message = { input_password: "請輸入密碼", input_phone: "請輸入電話號碼", special_characters_are_not_supported: "不支持特殊字符", + chinese_characters_are_not_supported: "不支持中文字符", mobile_number_format_is_incorrect: "電話號碼格式不正確", email_format_is_incorrect: "郵箱格式不正確", delete_confirm: "這個用戶確定要刪除嗎?", diff --git a/system-setting/frontend/src/business/system/user/EditUser.vue b/system-setting/frontend/src/business/system/user/EditUser.vue index fce7dd6bdb..4308e14726 100644 --- a/system-setting/frontend/src/business/system/user/EditUser.vue +++ b/system-setting/frontend/src/business/system/user/EditUser.vue @@ -138,7 +138,7 @@ export default { { required: true, pattern: '^[^\u4e00-\u9fa5]+$', - message: this.$t('user.special_characters_are_not_supported'), + message: this.$t('user.chinese_characters_are_not_supported'), trigger: 'blur' } ],