diff --git a/frontend/src/business/components/settings/system/EmailSetting.vue b/frontend/src/business/components/settings/system/EmailSetting.vue index 1854c41d6f..ef768436da 100644 --- a/frontend/src/business/components/settings/system/EmailSetting.vue +++ b/frontend/src/business/components/settings/system/EmailSetting.vue @@ -92,19 +92,22 @@ host: [ { required: true, - message: '' + message: this.$t('system_parameter_setting.host'), + trigger: ['change', 'blur'] }, ], port: [ { required: true, - message: ' ' + message: this.$t('system_parameter_setting.port'), + trigger: ['change', 'blur'] } ], account: [ { required: true, - message: ' ' + message: this.$t('system_parameter_setting.account'), + trigger: ['change', 'blur'] }] } } diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index ec8cb15dc3..b553ea54e9 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -627,6 +627,9 @@ export default { SSL: 'Turn on SSL (if the SMTP port is 465, you usually need to enable SSL)', TLS: 'Turn on TLS (if the SMTP port is 587, you usually need to enable TLS)', SMTP: 'Anonymous SMTP or not', + host: 'Host number cannot be empty', + port: 'Port cannot be empty', + account: 'Account cannot be empty', }, i18n: { diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index b3498eb90c..cf7a447305 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -626,6 +626,9 @@ export default { SSL: '开启SSL(如果SMTP端口是465,通常需要启用SSL)', TLS: '开启TLS(如果SMTP端口是587,通常需要启用TLS)', SMTP: '是否匿名 SMTP', + host: '主机号不能为空', + port: '端口号不能为空', + account: '账户不能为空', }, i18n: { home: '首页' diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index a2b11dbeb8..bb2fb7f592 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -626,6 +626,9 @@ export default { SSL: '開啟SSL(如果SMTP埠是465,通常需要啟用SSL)', TLS: '開啟TLS(如果SMTP埠是587,通常需要啟用TLS)', SMTP: '是否匿名 SMTP', + host: '主機號不能為空', + port: '埠號不能為空', + account: '帳戶不能為空', }, i18n: { home: '首頁'