Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(admin/smtp): add label for smtp authentication

haitao(lj)50133f5fe3b6
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index 71b8cb16..818b2b0a 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1185,7 +1185,8 @@ ui:
text: Provide email address that will receive test sends.
msg: Test email recipients is invalid
smtp_authentication:
- label: SMTP Authentication
+ label: Enable authentication
+ title: SMTP Authentication
msg: SMTP authentication cannot be empty.
"yes": "Yes"
"no": "No"
diff --git a/ui/src/pages/Admin/Smtp/index.tsx b/ui/src/pages/Admin/Smtp/index.tsx
index ba902aa4..3a678889 100644
--- a/ui/src/pages/Admin/Smtp/index.tsx
+++ b/ui/src/pages/Admin/Smtp/index.tsx
@@ -46,7 +46,8 @@ const Smtp: FC = () => {
},
smtp_authentication: {
type: 'boolean',
- title: t('smtp_authentication.label'),
+ title: t('smtp_authentication.title'),
+ label: t('smtp_authentication.label'),
enum: [true, false],
enumNames: [t('smtp_authentication.yes'), t('smtp_authentication.no')],
},