Skip to content

Commit 92f7f3f

Browse files
authored
fix(notification-email): adjust column widths and add description for secure setting (nocobase#6501)
1 parent 49bd35c commit 92f7f3f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/plugins/@nocobase/plugin-notification-email/src/client/ConfigForm.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ChannelConfigForm = () => {
4242
type: 'void',
4343
'x-component': 'Grid.Col',
4444
'x-component-props': {
45-
width: 50,
45+
width: 45,
4646
},
4747
properties: {
4848
host: {
@@ -62,7 +62,7 @@ export const ChannelConfigForm = () => {
6262
type: 'void',
6363
'x-component': 'Grid.Col',
6464
'x-component-props': {
65-
width: 25,
65+
width: 20,
6666
},
6767
properties: {
6868
port: {
@@ -92,14 +92,16 @@ export const ChannelConfigForm = () => {
9292
type: 'void',
9393
'x-component': 'Grid.Col',
9494
'x-component-props': {
95-
width: 25,
95+
width: 35,
9696
},
9797
properties: {
9898
secure: {
9999
type: 'boolean',
100100
title: '{{t("Secure")}}',
101101
'x-decorator': 'FormItem',
102102
'x-component': 'TextAreaWithGlobalScope',
103+
description:
104+
'{{t("In most cases, if using port 465, set it to true; otherwise, set it to false.")}}',
103105
'x-component-props': {
104106
boolean: true,
105107
useTypedConstant: [['boolean', { style: { width: '100%' } }]],

packages/plugins/@nocobase/plugin-notification-email/src/locale/zh-CN.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
"SMTP server host": "SMTP 服务器主机",
1919
"Content type": "内容格式",
2020
"Plain text": "纯文本",
21-
"Transport": "传输方式"
21+
"Transport": "传输方式",
22+
"In most cases, if using port 465, set it to true; otherwise, set it to false.": "通常情况下,如果使用端口 465 ,请设置为 true ;否则,请设置为 false 。"
2223
}

0 commit comments

Comments
 (0)