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",
"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"
}

View File

@ -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":"日期选择器"
}

View File

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

View File

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

View File

@ -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":"审批:抄送",