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

This commit is contained in:
Sheldon Guo 2025-03-20 10:46:54 +08:00
parent 87c1fee425
commit 7adb10617a
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. * For more information, please refer to: https://www.nocobase.com/agreement.
*/ */
import React from 'react';
import { MailOutlined } from '@ant-design/icons'; import { MailOutlined } from '@ant-design/icons';
import { ArrayItems } from '@formily/antd-v5'; import { ArrayItems } from '@formily/antd-v5';
import React from 'react';
import { SchemaComponentContext, css } from '@nocobase/client'; import { SchemaComponentContext, css } from '@nocobase/client';
import { import {
@ -112,6 +112,7 @@ export default class extends Instruction {
secure: { secure: {
type: 'boolean', type: 'boolean',
title: `{{t("Secure", { ns: "${NAMESPACE}" })}}`, 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-decorator': 'FormItem',
'x-component': 'WorkflowVariableInput', 'x-component': 'WorkflowVariableInput',
'x-component-props': { 'x-component-props': {

View File

@ -15,5 +15,6 @@
"Content": "Content", "Content": "Content",
"Content type": "Content type", "Content type": "Content type",
"Plain text": "Plain text", "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": "内容",
"Content type": "内容格式", "Content type": "内容格式",
"Plain text": "纯文本", "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 。"
} }