feat(mailer): add description for secure setting and update translations (#6510)

This commit is contained in:
Sheldon Guo 2025-03-20 10:50:21 +08:00 committed by GitHub
parent 87c1fee425
commit 9c72cba8f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -7,9 +7,9 @@
* For more information, please refer to: https://www.nocobase.com/agreement.
*/
import React from 'react';
import { MailOutlined } from '@ant-design/icons';
import { ArrayItems } from '@formily/antd-v5';
import React from 'react';
import { SchemaComponentContext, css } from '@nocobase/client';
import {
@ -112,6 +112,7 @@ export default class extends Instruction {
secure: {
type: 'boolean',
title: `{{t("Secure", { ns: "${NAMESPACE}" })}}`,
description: `{{t("In most cases, if using port 465, set it to true; otherwise, set it to false.", { ns: "${NAMESPACE}" })}}`,
'x-decorator': 'FormItem',
'x-component': 'WorkflowVariableInput',
'x-component-props': {

View File

@ -15,5 +15,6 @@
"Content": "Content",
"Content type": "Content type",
"Plain text": "Plain text",
"Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow"
"Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
"In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false."
}

View File

@ -15,5 +15,6 @@
"Content": "内容",
"Content type": "内容格式",
"Plain text": "纯文本",
"Ignore failed sending and continue workflow": "忽略失败的发送并继续工作流"
"Ignore failed sending and continue workflow": "忽略失败的发送并继续工作流",
"In most cases, if using port 465, set it to true; otherwise, set it to false.": "通常情况下,如果使用端口 465 ,请设置为 true ;否则,请设置为 false 。"
}