From 331497272f785a4c843c13d3ec043777d77aa034 Mon Sep 17 00:00:00 2001 From: Jong Eun Lee Date: Wed, 8 Jan 2025 10:25:13 +0800 Subject: [PATCH] update missing camelcase key --- react/src/components/AgentSelect.tsx | 2 +- react/src/components/BAIPropertyFilter.tsx | 2 +- react/src/components/PortSelectFormItem.tsx | 2 +- react/src/pages/InteractiveLoginPage.tsx | 4 +- react/src/pages/SessionListPage.tsx | 2 +- resources/i18n/de.json | 51 +++++++++--------- resources/i18n/el.json | 51 +++++++++--------- resources/i18n/en.json | 52 +++++++++--------- resources/i18n/es.json | 49 +++++++++-------- resources/i18n/fi.json | 49 +++++++++-------- resources/i18n/fr.json | 51 +++++++++--------- resources/i18n/id.json | 51 +++++++++--------- resources/i18n/it.json | 51 +++++++++--------- resources/i18n/ja.json | 49 +++++++++-------- resources/i18n/ko.json | 47 ++++++++-------- resources/i18n/mn.json | 51 +++++++++--------- resources/i18n/ms.json | 51 +++++++++--------- resources/i18n/pl.json | 51 +++++++++--------- resources/i18n/pt-BR.json | 51 +++++++++--------- resources/i18n/pt.json | 51 +++++++++--------- resources/i18n/ru.json | 51 +++++++++--------- resources/i18n/th.json | 49 +++++++++-------- resources/i18n/tr.json | 51 +++++++++--------- resources/i18n/vi.json | 51 +++++++++--------- resources/i18n/zh-CN.json | 49 +++++++++-------- resources/i18n/zh-TW.json | 53 +++++++++---------- src/components/backend-ai-app-launcher.ts | 22 ++++---- src/components/backend-ai-edu-applauncher.ts | 8 +-- src/components/backend-ai-folder-explorer.ts | 2 +- src/components/backend-ai-login.ts | 6 +-- .../backend-ai-resource-group-list.ts | 2 +- .../backend-ai-scaling-group-list.ts | 2 +- src/components/backend-ai-session-launcher.ts | 2 +- src/components/backend-ai-session-view.ts | 2 +- src/components/backend-ai-signup.ts | 12 ++--- 35 files changed, 553 insertions(+), 577 deletions(-) diff --git a/react/src/components/AgentSelect.tsx b/react/src/components/AgentSelect.tsx index 1975cb42b6..ab9f18499b 100644 --- a/react/src/components/AgentSelect.tsx +++ b/react/src/components/AgentSelect.tsx @@ -119,7 +119,7 @@ const AgentSelect: React.FC = ({ {...selectProps} value={value} options={[ - { label: t('session.launcher.autoSelect'), value: 'auto' }, + { label: t('session.launcher.AutoSelect'), value: 'auto' }, ...agentOptions, ]} /> diff --git a/react/src/components/BAIPropertyFilter.tsx b/react/src/components/BAIPropertyFilter.tsx index 5c7f51778f..1132356f35 100644 --- a/react/src/components/BAIPropertyFilter.tsx +++ b/react/src/components/BAIPropertyFilter.tsx @@ -280,7 +280,7 @@ const BAIPropertyFilter: React.FC = ({ : option.label?.toString().includes(search); }, )} - placeholder={t('propertyFilter.placeHolder')} + placeholder={t('propertyFilter.PlaceHolder')} onBlur={() => { setIsFocused(false); }} diff --git a/react/src/components/PortSelectFormItem.tsx b/react/src/components/PortSelectFormItem.tsx index 7ca7aec62f..1edb18bd02 100644 --- a/react/src/components/PortSelectFormItem.tsx +++ b/react/src/components/PortSelectFormItem.tsx @@ -115,7 +115,7 @@ const PortSelectFormItem: React.FC = ({ ); }} style={{ width: '100%' }} - // placeholder={t('session.launcher.preopen')} + // placeholder={t('session.launcher.PreOpen')} // options={_.map(portGuides, (v, k) => ({ // value: parseInt(k), // // label: `${k} - ${v}`, diff --git a/react/src/pages/InteractiveLoginPage.tsx b/react/src/pages/InteractiveLoginPage.tsx index 6bb11a90bd..1e21da1280 100644 --- a/react/src/pages/InteractiveLoginPage.tsx +++ b/react/src/pages/InteractiveLoginPage.tsx @@ -38,7 +38,7 @@ const Children = () => { > - {t('interactiveLogin.confirmLoginMessage', { + {t('interactiveLogin.ConfirmLoginMessage', { username: userInfo.username, email: userInfo.email, })} @@ -84,7 +84,7 @@ const Children = () => { document.dispatchEvent(event); }} > - {t('interactiveLogin.useAnotherAccount')} + {t('interactiveLogin.UseAnotherAccount')}