mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
refactor: form data template locale improve (#4148)
This commit is contained in:
parent
f8067c6550
commit
5c7004ff43
@ -802,7 +802,7 @@
|
|||||||
"Template Data": "模板数据",
|
"Template Data": "模板数据",
|
||||||
"Data fields": "数据字段",
|
"Data fields": "数据字段",
|
||||||
"Add template": "添加模板",
|
"Add template": "添加模板",
|
||||||
"Display data template selector": "显示数据模板选择框",
|
"Enable form data template": "启用表单数据模板",
|
||||||
"Form data templates": "表单数据模板",
|
"Form data templates": "表单数据模板",
|
||||||
"Data template": "数据模板",
|
"Data template": "数据模板",
|
||||||
"No configuration available.": "无可配置项。",
|
"No configuration available.": "无可配置项。",
|
||||||
@ -842,7 +842,9 @@
|
|||||||
"Failed to load plugin": "插件加载失败",
|
"Failed to load plugin": "插件加载失败",
|
||||||
"Allow add new, update and delete actions": "允许增删改操作",
|
"Allow add new, update and delete actions": "允许增删改操作",
|
||||||
"Date display format": "日期显示格式",
|
"Date display format": "日期显示格式",
|
||||||
"Assign data scope for the template": "为模板指定数据范围",
|
"Filter out a single piece or a group of records as a template": "筛选出一条或一组数据,作为模板",
|
||||||
|
"Title field(The title field is used to identify the template record)": "标题字段(用于识别模板数据)",
|
||||||
|
"Template fields(The selected fields will automatically populate the form)": "模板字段(用于自动填充到表单)",
|
||||||
"Table selected records": "表格中选中的记录",
|
"Table selected records": "表格中选中的记录",
|
||||||
"Tag": "标签",
|
"Tag": "标签",
|
||||||
"Tag color field": "标签颜色字段",
|
"Tag color field": "标签颜色字段",
|
||||||
@ -920,7 +922,7 @@
|
|||||||
"Separator": "分隔符",
|
"Separator": "分隔符",
|
||||||
"Prefix": "前缀",
|
"Prefix": "前缀",
|
||||||
"Suffix": "后缀",
|
"Suffix": "后缀",
|
||||||
"Filter target key":"筛选目标键",
|
"Filter target key": "筛选目标键",
|
||||||
"Filter data based on the specific field, with the requirement that the field value must be unique.": "根据特定的字段筛选数据,字段值必须具备唯一性。",
|
"Filter data based on the specific field, with the requirement that the field value must be unique.": "根据特定的字段筛选数据,字段值必须具备唯一性。",
|
||||||
"Multiply by": "乘以",
|
"Multiply by": "乘以",
|
||||||
"Divide by": "除以",
|
"Divide by": "除以",
|
||||||
|
@ -143,7 +143,7 @@ export const FormDataTemplates = withDynamicSchemaProps(
|
|||||||
},
|
},
|
||||||
dataScope: {
|
dataScope: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
title: '{{ t("Assign data scope for the template") }}',
|
title: '{{ t("Filter out a single piece or a group of records as a template") }}',
|
||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
'x-component': 'Filter',
|
'x-component': 'Filter',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
@ -172,7 +172,7 @@ export const FormDataTemplates = withDynamicSchemaProps(
|
|||||||
titleField: {
|
titleField: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
title: '{{ t("Title field") }}',
|
title: '{{ t("Title field(The title field is used to identify the template record)") }}',
|
||||||
'x-component': 'Select',
|
'x-component': 'Select',
|
||||||
required: true,
|
required: true,
|
||||||
'x-reactions': '{{useTitleFieldDataSource}}',
|
'x-reactions': '{{useTitleFieldDataSource}}',
|
||||||
@ -189,7 +189,7 @@ export const FormDataTemplates = withDynamicSchemaProps(
|
|||||||
},
|
},
|
||||||
fields: {
|
fields: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
title: '{{ t("Data fields") }}',
|
title: '{{ t("Template fields(The selected fields will automatically populate the form)") }}',
|
||||||
required: true,
|
required: true,
|
||||||
description: t('Only the selected fields will be used as the initialization data for the form'),
|
description: t('Only the selected fields will be used as the initialization data for the form'),
|
||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
@ -250,7 +250,7 @@ export const FormDataTemplates = withDynamicSchemaProps(
|
|||||||
},
|
},
|
||||||
display: {
|
display: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
'x-content': '{{ t("Display data template selector") }}',
|
'x-content': '{{ t("Enable form data template") }}',
|
||||||
default: activeData?.display !== false,
|
default: activeData?.display !== false,
|
||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
'x-component': 'Checkbox',
|
'x-component': 'Checkbox',
|
||||||
|
Loading…
Reference in New Issue
Block a user