From a654933ab2d63ae764ceb47e7edc28ad41ef7afb Mon Sep 17 00:00:00 2001 From: wjh Date: Mon, 2 Sep 2024 16:59:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=A1=E6=89=B9=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E6=8F=90=E4=BA=A4&=E8=87=AA=E5=AE=9A=E4=B9=89=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E7=BF=BB=E8=AF=91=20(#1502)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1502 Co-authored-by: wjh Co-committed-by: wjh --- packages/core/client/src/locale/en_US.json | 3 ++- packages/core/client/src/locale/zh-CN.json | 7 ++++--- .../launcher-interface/LauncherActionConfig.component.tsx | 2 +- .../LauncherActionConfig.initializer.tsx | 2 +- .../@tachybase/plugin-workflow/src/locale/zh-CN.json | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/core/client/src/locale/en_US.json b/packages/core/client/src/locale/en_US.json index d903efe04..41ef6a676 100644 --- a/packages/core/client/src/locale/en_US.json +++ b/packages/core/client/src/locale/en_US.json @@ -837,5 +837,6 @@ "Setting Down Title":"Setting Down Title", "The current return type is not a document type":"The current return type is not a document type", "Test Data":"Test Data", - "Add associations": "Add associations" + "Add associations": "Add associations", + "DatePicker":"DatePicker" } diff --git a/packages/core/client/src/locale/zh-CN.json b/packages/core/client/src/locale/zh-CN.json index 8ec14eaf4..7281dd9b6 100644 --- a/packages/core/client/src/locale/zh-CN.json +++ b/packages/core/client/src/locale/zh-CN.json @@ -943,12 +943,13 @@ "Custom filter field": "自定义筛选字段", "Custom option label": "自定义选项标签", "Add custom field":"添加自定义字段", - "Input":"文本", - "AutoComplete":"文本选择", + "Input":"输入框", + "AutoComplete":"输入框(自动补全)", "Field collection":"选择数据", "AssociationCascader":"关系型级联选择", "Edit Collection":"修改数据", "Field Component":"字段组件", "Custom filter":"自定义筛选", - "Parent Association field":"父级关联字段" + "Parent Association field":"父级关联字段", + "DatePicker":"日期选择器" } diff --git a/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.component.tsx b/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.component.tsx index 26f47d362..668fecf99 100644 --- a/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.component.tsx +++ b/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.component.tsx @@ -50,7 +50,7 @@ export const LauncherActionConfigReSubmit = () => { 'x-component-props': { ...actionProps, confirm: { - title: `{{t('resubmit', { ns: "${NAMESPACE}" })}}`, + title: `{{t('Resubmit', { ns: "${NAMESPACE}" })}}`, content: `{{t('Are you sure you want to resubmit it?', { ns: "${NAMESPACE}" })}}`, }, useAction: '{{ useActionResubmit }}', diff --git a/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.initializer.tsx b/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.initializer.tsx index 9224fe766..e20577594 100644 --- a/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.initializer.tsx +++ b/packages/plugins/@tachybase/plugin-workflow/src/client/features/approval/configuration/trigger/launcher-interface/LauncherActionConfig.initializer.tsx @@ -28,7 +28,7 @@ export const LauncherActionConfigInitializer = new SchemaInitializer({ { name: 'Resubmit', type: 'item', - title: `{{t("resubmit", { ns: "${NAMESPACE}" })}}`, + title: `{{t("Resubmit", { ns: "${NAMESPACE}" })}}`, action: APPROVAL_STATUS.RESUBMIT, Component: LauncherActionConfigReSubmit, }, diff --git a/packages/plugins/@tachybase/plugin-workflow/src/locale/zh-CN.json b/packages/plugins/@tachybase/plugin-workflow/src/locale/zh-CN.json index 4364b4d9e..60f8b950b 100644 --- a/packages/plugins/@tachybase/plugin-workflow/src/locale/zh-CN.json +++ b/packages/plugins/@tachybase/plugin-workflow/src/locale/zh-CN.json @@ -359,7 +359,7 @@ "concat": "连接", "ms": "毫秒", "Resubmit": "重新发起", - "Are you sure you want to resubmit it?": "是否确定重新发起?", + "Are you sure you want to resubmit it?": "是否重新复制一份?", "MyLaunch":"我的发起", "CarbonCopy":"抄送", "ApprovalCarbonCopy":"审批:抄送",