diff --git a/packages/plugins/workflow/src/client/schemas/workflows.ts b/packages/plugins/workflow/src/client/schemas/workflows.ts index 1a13297ae..6c99d3ac8 100644 --- a/packages/plugins/workflow/src/client/schemas/workflows.ts +++ b/packages/plugins/workflow/src/client/schemas/workflows.ts @@ -101,6 +101,7 @@ const workflowFieldset = { useTransaction: { type: 'boolean', title: `{{ t("Use transaction", { ns: "${NAMESPACE}" }) }}`, + description: `{{ t("Nodes of workflow will run in a same transaction. Any failure will cause data rollback, and will also rollback the history of the execution.", { ns: "${NAMESPACE}" }) }}`, 'x-decorator': 'FormItem', 'x-component': 'Checkbox', }, diff --git a/packages/plugins/workflow/src/locale/zh-CN.ts b/packages/plugins/workflow/src/locale/zh-CN.ts index 13a0cf6a8..9fc8692bf 100644 --- a/packages/plugins/workflow/src/locale/zh-CN.ts +++ b/packages/plugins/workflow/src/locale/zh-CN.ts @@ -19,6 +19,8 @@ export default { Loading: '加载中', 'Load failed': '加载失败', 'Use transaction': '启用事务', + 'Nodes of workflow will run in a same transaction. Any failure will cause data rollback, and will also rollback the history of the execution.': + '工作流中的节点将在同一个事务中运行。任何失败都会导致数据回滚,同时也会回滚相应的执行历史。', 'Auto delete history when execution is on end status': '执行结束后自动删除对应状态的历史记录', Trigger: '触发器', 'Trigger variables': '触发器变量',