From a38ce654af2be4130c75c25072621eadbeb7744b Mon Sep 17 00:00:00 2001 From: Junyi Date: Wed, 10 Apr 2024 15:20:43 +0800 Subject: [PATCH] fix(plugin-workflow): adjust locale (#3993) --- .../client/src/schema-component/antd/action/Action.Designer.tsx | 2 +- .../plugins/@nocobase/plugin-workflow/src/locale/zh-CN.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx index b853374ff7..ce8d7c882f 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx @@ -435,7 +435,7 @@ export function WorkflowConfig() { ns: 'workflow', }), 'customize:triggerWorkflows': t( - 'Workflow will be triggered directly once the button clicked, without data saving.', + 'Workflow will be triggered directly once the button clicked, without data saving. Only supports "Post-action event" for now.', { ns: 'workflow' }, ), destroy: t('Workflow will be triggered before deleting succeeded.', { ns: 'workflow' }), diff --git a/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.json index 7648958324..8e6c5d1b41 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.json +++ b/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.json @@ -38,7 +38,7 @@ "Bind workflows": "绑定工作流", "Workflow will be triggered before or after submitting succeeded based on workflow type.": "工作流会基于其类型在提交成功之前或之后触发。", - "Workflow will be triggered directly once the button clicked, without data saving.": "按钮点击后直接触发工作流,但不会保存数据。", + "Workflow will be triggered directly once the button clicked, without data saving. Only supports \"Post-action event\" for now.": "按钮点击后直接触发工作流,但不会保存数据。目前仅支持“操作后事件”。", "Workflow will be triggered before deleting succeeded.": "删除成功之前触发工作流。", "Submit to workflow": "提交至工作流", "Add workflow": "添加工作流",