From d85aa423d046238ac95a38b3e0ba56aec70e4fe4 Mon Sep 17 00:00:00 2001 From: Junyi Date: Fri, 20 Oct 2023 12:04:27 +0800 Subject: [PATCH] fix(plugin-workflow): fix lang (#2881) --- .../@nocobase/plugin-workflow/src/client/nodes/request.tsx | 2 +- packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/request.tsx b/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/request.tsx index 0ba8468ed..6e090cdf6 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/request.tsx +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/request.tsx @@ -165,7 +165,7 @@ export default { }, ignoreFail: { type: 'boolean', - title: `{{t("Ignore fail request and continue workflow", { ns: "${NAMESPACE}" })}}`, + title: `{{t("Ignore failed request and continue workflow", { ns: "${NAMESPACE}" })}}`, 'x-decorator': 'FormItem', 'x-component': 'Checkbox', }, diff --git a/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.ts b/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.ts index 9799a0a2e..3eea9b744 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.ts +++ b/packages/plugins/@nocobase/plugin-workflow/src/locale/zh-CN.ts @@ -274,7 +274,7 @@ export default { 'Only support standard JSON data': '仅支持标准 JSON 数据', '"Content-Type" only support "application/json", and no need to specify': '"Content-Type" 请求头仅支持 "application/json",无需填写', - 'Ignore fail request and continue workflow': '忽略失败的请求并继续工作流', + 'Ignore failed request and continue workflow': '忽略失败的请求并继续工作流', 'Workflow todos': '工作流待办', Task: '任务',