fix: 审批重新提交&自定义筛选翻译 (#1502)

Reviewed-on: daoyoucloud/tachybase#1502
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
wjh 2024-09-02 16:59:08 +08:00 committed by bai.zixv
parent 72cfc91e5f
commit a654933ab2
5 changed files with 9 additions and 7 deletions

View File

@ -837,5 +837,6 @@
"Setting Down Title":"Setting Down Title", "Setting Down Title":"Setting Down Title",
"The current return type is not a document type":"The current return type is not a document type", "The current return type is not a document type":"The current return type is not a document type",
"Test Data":"Test Data", "Test Data":"Test Data",
"Add associations": "Add associations" "Add associations": "Add associations",
"DatePicker":"DatePicker"
} }

View File

@ -943,12 +943,13 @@
"Custom filter field": "自定义筛选字段", "Custom filter field": "自定义筛选字段",
"Custom option label": "自定义选项标签", "Custom option label": "自定义选项标签",
"Add custom field":"添加自定义字段", "Add custom field":"添加自定义字段",
"Input":"文本", "Input":"输入框",
"AutoComplete":"文本选择", "AutoComplete":"输入框(自动补全)",
"Field collection":"选择数据", "Field collection":"选择数据",
"AssociationCascader":"关系型级联选择", "AssociationCascader":"关系型级联选择",
"Edit Collection":"修改数据", "Edit Collection":"修改数据",
"Field Component":"字段组件", "Field Component":"字段组件",
"Custom filter":"自定义筛选", "Custom filter":"自定义筛选",
"Parent Association field":"父级关联字段" "Parent Association field":"父级关联字段",
"DatePicker":"日期选择器"
} }

View File

@ -50,7 +50,7 @@ export const LauncherActionConfigReSubmit = () => {
'x-component-props': { 'x-component-props': {
...actionProps, ...actionProps,
confirm: { confirm: {
title: `{{t('resubmit', { ns: "${NAMESPACE}" })}}`, title: `{{t('Resubmit', { ns: "${NAMESPACE}" })}}`,
content: `{{t('Are you sure you want to resubmit it?', { ns: "${NAMESPACE}" })}}`, content: `{{t('Are you sure you want to resubmit it?', { ns: "${NAMESPACE}" })}}`,
}, },
useAction: '{{ useActionResubmit }}', useAction: '{{ useActionResubmit }}',

View File

@ -28,7 +28,7 @@ export const LauncherActionConfigInitializer = new SchemaInitializer({
{ {
name: 'Resubmit', name: 'Resubmit',
type: 'item', type: 'item',
title: `{{t("resubmit", { ns: "${NAMESPACE}" })}}`, title: `{{t("Resubmit", { ns: "${NAMESPACE}" })}}`,
action: APPROVAL_STATUS.RESUBMIT, action: APPROVAL_STATUS.RESUBMIT,
Component: LauncherActionConfigReSubmit, Component: LauncherActionConfigReSubmit,
}, },

View File

@ -359,7 +359,7 @@
"concat": "连接", "concat": "连接",
"ms": "毫秒", "ms": "毫秒",
"Resubmit": "重新发起", "Resubmit": "重新发起",
"Are you sure you want to resubmit it?": "是否确定重新发起", "Are you sure you want to resubmit it?": "是否重新复制一份",
"MyLaunch":"我的发起", "MyLaunch":"我的发起",
"CarbonCopy":"抄送", "CarbonCopy":"抄送",
"ApprovalCarbonCopy":"审批:抄送", "ApprovalCarbonCopy":"审批:抄送",