feat: optimize translation

This commit is contained in:
chenos 2024-01-11 10:06:44 +08:00
parent 77ef27d524
commit 2f8b0e75f8
3 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,9 @@ export const collection: IField = {
type: 'string', type: 'string',
group: 'advanced', group: 'advanced',
order: 5, order: 5,
title: '{{t("Collection")}}', title: '{{t("Collection selector")}}',
description:
'{{t("Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios")}}',
sortable: true, sortable: true,
default: { default: {
type: 'string', type: 'string',

View File

@ -55,6 +55,8 @@
"Delete": "Delete", "Delete": "Delete",
"UI editor": "UI editor", "UI editor": "UI editor",
"Collection": "Collection", "Collection": "Collection",
"Collection selector": "Collection selector",
"Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios": "Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios",
"Collections & Fields": "Collections & Fields", "Collections & Fields": "Collections & Fields",
"All collections": "All collections", "All collections": "All collections",
"Add category": "Add category", "Add category": "Add category",

View File

@ -62,6 +62,8 @@
"Delete": "删除", "Delete": "删除",
"UI editor": "界面配置", "UI editor": "界面配置",
"Collection": "数据表", "Collection": "数据表",
"Collection selector": "数据表选择器",
"Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios": "将数据表里的某些表作为可选项供给用户选择,一般用在多态或继承的场景里",
"Enable child collections": "启用子表", "Enable child collections": "启用子表",
"Allow adding records to the current collection": "允许向当前数据表里添加记录", "Allow adding records to the current collection": "允许向当前数据表里添加记录",
"Collections & Fields": "数据表配置", "Collections & Fields": "数据表配置",