refactor: tree collection locale

This commit is contained in:
katherinehhh 2023-03-16 12:51:05 +08:00
parent 3d2d73a221
commit c5d2629445
5 changed files with 11 additions and 2 deletions

View File

@ -108,6 +108,9 @@ export default {
"Add block": "Add block",
"Add new": "Add new",
"Add record": "Add record",
'Add child':'Add child',
'Collapse all':'Collapse all',
'Expand all':'Expand all',
"Custom field display name": "Custom field display name",
"Display fields": "Display collection fields",
"Edit record": "Edit record",

View File

@ -42,6 +42,9 @@ export default {
"Category name":"分類名",
"Delete category":"分類の削除",
"Collection category":"Collection category",
'Add child':'サブレコードの追加',
'Collapse all':'すべて閉じる',
'Expand all':'すべて展開',
"Visible":"表示",
"Read only":"読み取り専用(編集不可)",
"Easy reading":"読み取り専用(読取りモード)",

View File

@ -58,6 +58,9 @@ export default {
"Sort":"排序",
"Categories":"数据表类别",
"Category name":"分类名称",
'Add child':'添加子记录',
'Collapse all':'全部收起',
'Expand all':'全部展开',
"Roles & Permissions": "角色和权限",
"Edit profile": "个人资料",
"Change password": "修改密码",

View File

@ -112,7 +112,7 @@ export const TableActionColumnInitializers = (props: any) => {
(collection as any).template === 'tree' &&
treeTable !== false && {
type: 'item',
title: t('Add Child'),
title: t('Add child'),
component: 'CreateChildInitializer',
schema: {
'x-component': 'Action.Link',

View File

@ -4,7 +4,7 @@ export const CreateChildInitializer = (props) => {
const schema = {
type: 'void',
title: '{{ t("Add Child") }}',
title: '{{ t("Add child") }}',
'x-action': 'create',
'x-designer': 'Action.Designer',
'x-component': 'Action',