diff --git a/packages/core/client/src/locale/en_US.json b/packages/core/client/src/locale/en_US.json index 27a00d233..feebd7327 100644 --- a/packages/core/client/src/locale/en_US.json +++ b/packages/core/client/src/locale/en_US.json @@ -269,7 +269,7 @@ "Link to description": "Used to create collection relationships quickly and compatible with most common scenarios. Suitable for non-developer use. When present as a field, it is a drop-down selection used to select records from the target collection. Once created, it will simultaneously generate the associated fields of the current collection in the target collection.", "Sub-table": "Sub-table", "Sub-details": "Sub-details", - "Sub-form(Popover)": "Sub-form(Popover)", + "Subform: Popover": "Subform: Popover", "Subtable: Drawer": "Subtable: Drawer", "System info": "System info", "Created at": "Created at", diff --git a/packages/core/client/src/locale/ja_JP.json b/packages/core/client/src/locale/ja_JP.json index fa3cfebbb..f606b3c36 100644 --- a/packages/core/client/src/locale/ja_JP.json +++ b/packages/core/client/src/locale/ja_JP.json @@ -230,7 +230,7 @@ "Link to": "リンク", "Link to description": "コレクションの関連付けを素早く作成するためにしようされ、ほとんどの一般的なシナリオに対応しています。開発者以外の方のしようにも適しています。フィールドとして存在する場合、参照元コレクションのレコードを選択するために使用されるドロップダウンです。一度作成されると、参照先コレクションに現在のコレクションの関連フィールドが同時に生成されます。", "Sub-table": "サブテーブル", - "Sub-form(Popover)": "サブフォーム(ポップアップ窓)", + "Subform: Popover": "サブフォーム:ポップアップ窓", "System info": "システム情報", "Created at": "作成日", "Last updated at": "最終更新日", diff --git a/packages/core/client/src/locale/ko_KR.json b/packages/core/client/src/locale/ko_KR.json index a4082a3ba..2b9abeec6 100644 --- a/packages/core/client/src/locale/ko_KR.json +++ b/packages/core/client/src/locale/ko_KR.json @@ -332,7 +332,7 @@ "Select file": "파일 선택", "Subtable": "하위 테이블", "Sub-form": "하위 폼", - "Sub-form(Popover)": "하위 폼(팝업)", + "Subform: Popover": "하위 폼:팝업", "Sub-details": "하위 세부사항", "Record picker": "레코드 선택기", "Toggles the subfield mode": "하위 필드 모드 전환", diff --git a/packages/core/client/src/locale/zh-CN.json b/packages/core/client/src/locale/zh-CN.json index ae41c4fc3..978208a7b 100644 --- a/packages/core/client/src/locale/zh-CN.json +++ b/packages/core/client/src/locale/zh-CN.json @@ -333,7 +333,7 @@ "Select file": "选择文件", "Subtable": "子表格", "Sub-form": "子表单", - "Sub-form(Popover)": "子表单(弹窗)", + "Subform: Popover": "子表单:弹窗", "Subtable: Drawer": "子表格:抽屉", "Sub-details": "子详情", "Record picker": "数据选择器", diff --git a/packages/core/client/src/locale/zh-TW.json b/packages/core/client/src/locale/zh-TW.json index c356e7c9b..454e24c13 100644 --- a/packages/core/client/src/locale/zh-TW.json +++ b/packages/core/client/src/locale/zh-TW.json @@ -332,7 +332,7 @@ "Select file": "選擇檔案", "Subtable": "子表格", "Sub-form": "子表單", - "Sub-form(Popover)": "子表單 (彈窗)", + "Subform: Popover": "子表單:彈窗", "Sub-details": "子詳情", "Record picker": "資料選擇器", "Toggles the subfield mode": "切換子欄位模式", diff --git a/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx b/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx index fd3b95921..b28af3dfc 100644 --- a/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx +++ b/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx @@ -56,7 +56,7 @@ export const useFieldModeOptions = (props?) => { ['m2m', 'o2m'].includes(collectionField.interface) && { label: t('Sub-table'), value: 'SubTable' }, { label: t('Cascade Select'), value: 'CascadeSelect' }, !isTableField && { label: t('Sub-form'), value: 'Nester' }, - { label: t('Sub-form(Popover)'), value: 'PopoverNester' }, + { label: t('Subform: Popover'), value: 'PopoverNester' }, { label: t('Subtable: Drawer'), value: 'DrawerSubTable' }, { label: t('Cascader'), value: 'Cascader' }, ]; @@ -74,7 +74,7 @@ export const useFieldModeOptions = (props?) => { { label: t('Select'), value: 'Select' }, { label: t('Record picker'), value: 'Picker' }, !isTableField && { label: t('Sub-form'), value: 'Nester' }, - { label: t('Sub-form(Popover)'), value: 'PopoverNester' }, + { label: t('Subform: Popover'), value: 'PopoverNester' }, { label: t('Subtable: Drawer'), value: 'DrawerSubTable' }, !isTableField && { label: t('Sub-table'), value: 'SubTable' }, ]; @@ -91,7 +91,7 @@ export const useFieldModeOptions = (props?) => { { label: t('Record picker'), value: 'Picker' }, !isTableField && { label: t('Sub-table'), value: 'SubTable' }, !isTableField && { label: t('Sub-form'), value: 'Nester' }, - { label: t('Sub-form(Popover)'), value: 'PopoverNester' }, + { label: t('Subform: Popover'), value: 'PopoverNester' }, { label: t('Subtable: Drawer'), value: 'DrawerSubTable' }, ]; case 'm2o': @@ -106,7 +106,7 @@ export const useFieldModeOptions = (props?) => { { label: t('Select'), value: 'Select' }, { label: t('Record picker'), value: 'Picker' }, !isTableField && { label: t('Sub-form'), value: 'Nester' }, - { label: t('Sub-form(Popover)'), value: 'PopoverNester' }, + { label: t('Subform: Popover'), value: 'PopoverNester' }, { label: t('Subtable: Drawer'), value: 'DrawerSubTable' }, { label: t('Cascader'), value: 'Cascader' }, ]; @@ -122,7 +122,7 @@ export const useFieldModeOptions = (props?) => { { label: t('Select'), value: 'Select' }, { label: t('Record picker'), value: 'Picker' }, !isTableField && { label: t('Sub-form'), value: 'Nester' }, - { label: t('Sub-form(Popover)'), value: 'PopoverNester' }, + { label: t('Subform: Popover'), value: 'PopoverNester' }, { label: t('Subtable: Drawer'), value: 'DrawerSubTable' }, ]; }