From 682084c3c82faec7c925700d179dc4e6b6f7a46b Mon Sep 17 00:00:00 2001 From: labbomb <739955946@qq.com> Date: Fri, 15 Sep 2023 13:08:49 +0800 Subject: [PATCH] fix: fix some errors --- .../src/layouts/content/components/menubar/index.tsx | 4 ++-- paimon-web-ui-new/src/locales/en/modules/layout.ts | 2 +- paimon-web-ui-new/src/locales/zh/modules/layout.ts | 2 +- paimon-web-ui-new/src/locales/zh/modules/login.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/paimon-web-ui-new/src/layouts/content/components/menubar/index.tsx b/paimon-web-ui-new/src/layouts/content/components/menubar/index.tsx index 4b7eac02e..cb1034eb5 100644 --- a/paimon-web-ui-new/src/layouts/content/components/menubar/index.tsx +++ b/paimon-web-ui-new/src/layouts/content/components/menubar/index.tsx @@ -38,8 +38,8 @@ export default defineComponent({ key: 'metadata', }, { - label: i18n.global.t('layout.CDC_Ingestion'), - key: 'CDC_Ingestion', + label: i18n.global.t('layout.cdc_ingestion'), + key: 'cdc_ingestion', }, { label: i18n.global.t('layout.system'), diff --git a/paimon-web-ui-new/src/locales/en/modules/layout.ts b/paimon-web-ui-new/src/locales/en/modules/layout.ts index bbb4f9819..187dcdaa6 100644 --- a/paimon-web-ui-new/src/locales/en/modules/layout.ts +++ b/paimon-web-ui-new/src/locales/en/modules/layout.ts @@ -18,7 +18,7 @@ under the License. */ export default { playground: 'Playground', metadata: 'MetaData', - CDC_Ingestion: 'CDC Ingestion', + cdc_ingestion: 'CDC Ingestion', system: 'System', light: 'Light', dark: 'Dark' diff --git a/paimon-web-ui-new/src/locales/zh/modules/layout.ts b/paimon-web-ui-new/src/locales/zh/modules/layout.ts index d805e78aa..ab09e5c38 100644 --- a/paimon-web-ui-new/src/locales/zh/modules/layout.ts +++ b/paimon-web-ui-new/src/locales/zh/modules/layout.ts @@ -18,7 +18,7 @@ under the License. */ export default { playground: '查询控制台', metadata: '元数据管理', - CDC_Ingestion: 'CDC 集成', + cdc_ingestion: 'CDC 集成', system: '系统管理', light: '浅色', dark: '暗色' diff --git a/paimon-web-ui-new/src/locales/zh/modules/login.ts b/paimon-web-ui-new/src/locales/zh/modules/login.ts index 38b5f3e1b..48f04afe2 100644 --- a/paimon-web-ui-new/src/locales/zh/modules/login.ts +++ b/paimon-web-ui-new/src/locales/zh/modules/login.ts @@ -23,4 +23,4 @@ export default { password_tips: '请输入密码', light: '浅色', dark: '暗色' -} \ No newline at end of file +}