fix(notification-email): adjust column widths and add description for secure setting (#6501)

This commit is contained in:
Sheldon Guo 2025-03-20 09:40:58 +08:00 committed by GitHub
parent 49bd35ca5f
commit 92f7f3f390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -42,7 +42,7 @@ export const ChannelConfigForm = () => {
type: 'void', type: 'void',
'x-component': 'Grid.Col', 'x-component': 'Grid.Col',
'x-component-props': { 'x-component-props': {
width: 50, width: 45,
}, },
properties: { properties: {
host: { host: {
@ -62,7 +62,7 @@ export const ChannelConfigForm = () => {
type: 'void', type: 'void',
'x-component': 'Grid.Col', 'x-component': 'Grid.Col',
'x-component-props': { 'x-component-props': {
width: 25, width: 20,
}, },
properties: { properties: {
port: { port: {
@ -92,7 +92,7 @@ export const ChannelConfigForm = () => {
type: 'void', type: 'void',
'x-component': 'Grid.Col', 'x-component': 'Grid.Col',
'x-component-props': { 'x-component-props': {
width: 25, width: 35,
}, },
properties: { properties: {
secure: { secure: {
@ -100,6 +100,8 @@ export const ChannelConfigForm = () => {
title: '{{t("Secure")}}', title: '{{t("Secure")}}',
'x-decorator': 'FormItem', 'x-decorator': 'FormItem',
'x-component': 'TextAreaWithGlobalScope', 'x-component': 'TextAreaWithGlobalScope',
description:
'{{t("In most cases, if using port 465, set it to true; otherwise, set it to false.")}}',
'x-component-props': { 'x-component-props': {
boolean: true, boolean: true,
useTypedConstant: [['boolean', { style: { width: '100%' } }]], useTypedConstant: [['boolean', { style: { width: '100%' } }]],

View File

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