From 7e947b5f109fb44dcaf26cb4ef54d874a4a69bce Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 8 Nov 2022 17:29:21 +0800 Subject: [PATCH] fix: improve translation --- packages/core/client/src/locale/en_US.ts | 6 ++++-- packages/core/client/src/locale/ja_JP.ts | 2 +- packages/core/client/src/locale/ru_RU.ts | 2 +- packages/core/client/src/locale/tr_TR.ts | 2 +- packages/core/client/src/locale/zh_CN.ts | 6 ++++-- .../buttons/TableSelectorInitializers.tsx | 2 +- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/core/client/src/locale/en_US.ts b/packages/core/client/src/locale/en_US.ts index 0fd3ecb58..11abb4cb4 100644 --- a/packages/core/client/src/locale/en_US.ts +++ b/packages/core/client/src/locale/en_US.ts @@ -301,7 +301,7 @@ export default { "Green": "Green", "Cyan": "Cyan", "Blue": "Blue", - "Geek Blue": "Geek Blue", + "Geek blue": "Geek blue", "Purple": "Purple", "Default": "Default", "Add card": "Add card", @@ -578,5 +578,7 @@ export default { "Changed to": "Changed to", "Clear":"Clear", "Add attach":"Add attach", - "Please select the records to be updated": "Please select the records to be updated" + "Please select the records to be updated": "Please select the records to be updated", + "Selector": "Selector", + "Inner": "Inner", } diff --git a/packages/core/client/src/locale/ja_JP.ts b/packages/core/client/src/locale/ja_JP.ts index 4209484c1..0bf6352e2 100644 --- a/packages/core/client/src/locale/ja_JP.ts +++ b/packages/core/client/src/locale/ja_JP.ts @@ -291,7 +291,7 @@ export default { "Green": "グリーン", "Cyan": "シアン", "Blue": "ブルー", - "Geek Blue": "ギークブルー", + "Geek blue": "ギークブルー", "Purple": "パープル", "Default": "デフォルト", "Add card": "カードを追加", diff --git a/packages/core/client/src/locale/ru_RU.ts b/packages/core/client/src/locale/ru_RU.ts index 4deeecc90..b568c9ee8 100644 --- a/packages/core/client/src/locale/ru_RU.ts +++ b/packages/core/client/src/locale/ru_RU.ts @@ -291,7 +291,7 @@ export default { "Green": "Зеленый", "Cyan": "Голубой", "Blue": "Синий", - "Geek Blue": "Тёмно-синий", + "Geek blue": "Тёмно-синий", "Purple": "Фиолетовый", "Default": "По умолчанию", "Add card": "Добавить карточку", diff --git a/packages/core/client/src/locale/tr_TR.ts b/packages/core/client/src/locale/tr_TR.ts index 4d0f1d52a..db0f08f41 100644 --- a/packages/core/client/src/locale/tr_TR.ts +++ b/packages/core/client/src/locale/tr_TR.ts @@ -291,7 +291,7 @@ export default { "Green": "Yeşil", "Cyan": "Camgöbeği", "Blue": "Mavi", - "Geek Blue": "Geek Blue", + "Geek blue": "Geek blue", "Purple": "Mor", "Default": "Varsayılan", "Add card": "Kart Ekle", diff --git a/packages/core/client/src/locale/zh_CN.ts b/packages/core/client/src/locale/zh_CN.ts index dcfd46278..e8b444389 100644 --- a/packages/core/client/src/locale/zh_CN.ts +++ b/packages/core/client/src/locale/zh_CN.ts @@ -386,7 +386,7 @@ export default { "Green": "极光绿", "Cyan": "明青", "Blue": "拂晓蓝", - "Geek Blue": "极客蓝", + "Geek blue": "极客蓝", "Purple": "酱紫", "Default": "默认", @@ -731,5 +731,7 @@ export default { "Changed to": "修改为", "Clear":"清空", "Add attach":"增加关联", - "Please select the records to be updated": "请选择要更新的记录" + "Please select the records to be updated": "请选择要更新的记录", + "Selector": "选择器", + "Inner": "里面", } diff --git a/packages/core/client/src/schema-initializer/buttons/TableSelectorInitializers.tsx b/packages/core/client/src/schema-initializer/buttons/TableSelectorInitializers.tsx index c6a931758..2a2585074 100644 --- a/packages/core/client/src/schema-initializer/buttons/TableSelectorInitializers.tsx +++ b/packages/core/client/src/schema-initializer/buttons/TableSelectorInitializers.tsx @@ -13,7 +13,7 @@ export const TableSelectorInitializers = (props: any) => { items={[ { type: 'itemGroup', - title: 'Selector', + title: t('Selector'), children: [ { key: 'details',