fix(plugin-workflow): fix locale (#2427)

This commit is contained in:
Junyi 2023-08-10 19:46:52 +07:00 committed by GitHub
parent b7d23c408a
commit 5408d29533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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',
},

View File

@ -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': '触发器变量',