diff --git a/frontend/src/business/components/settings/system/SystemParameterSetting.vue b/frontend/src/business/components/settings/system/SystemParameterSetting.vue index 5446c9d2d6..c8cd98cb38 100644 --- a/frontend/src/business/components/settings/system/SystemParameterSetting.vue +++ b/frontend/src/business/components/settings/system/SystemParameterSetting.vue @@ -12,7 +12,7 @@ + v-on:input="host('host')"> @@ -20,7 +20,7 @@ + v-on:input="port('port')"> @@ -28,7 +28,7 @@ + v-on:input="account('account')"> @@ -42,13 +42,13 @@
- +
- +
- +
@@ -111,9 +111,10 @@ } } }, + + methods: { host() { - let host = this.formInline.host; if (!host) { this.disabledConnection = true; diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 58ef2dee77..ee6d6b4216 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -501,6 +501,10 @@ export default { 'SMTP_port': 'SMTP port', 'SMTP_account': 'SMTP account', 'SMTP_password': 'SMTP password', + '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', + }, i18n: { 'home': 'Home' diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index bd25549b25..70222297b6 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -498,6 +498,9 @@ export default { 'SMTP_port': 'SMTP端口', 'SMTP_account': 'SMTP账户', 'SMTP_password': 'SMTP密码', + 'SSL': '开启SSL(如果SMTP端口是465,通常需要启用SSL)', + 'TLS': '开启TLS(如果SMTP端口是587,通常需要启用TLS)', + 'SMTP': '是否匿名 SMTP', }, i18n: { 'home': '首页'