From 8ca20535ef2456c23fc8e50719480f1c9ef8d04b Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 7 Apr 2023 19:20:13 +0800 Subject: [PATCH] chore: update setting i18n items --- src/components/ConnectionSidebar.tsx | 2 +- src/components/LocaleSelector.tsx | 2 +- src/components/OpenAIApiConfigView.tsx | 4 +++- src/components/SettingModal.tsx | 9 +++++---- src/components/kit/Select.tsx | 18 ++++++++++-------- src/locales/en.json | 16 +++++++++++++++- src/locales/zh.json | 16 +++++++++++++++- 7 files changed, 50 insertions(+), 17 deletions(-) diff --git a/src/components/ConnectionSidebar.tsx b/src/components/ConnectionSidebar.tsx index 6d1e771..b408e22 100644 --- a/src/components/ConnectionSidebar.tsx +++ b/src/components/ConnectionSidebar.tsx @@ -191,7 +191,7 @@ const ConnectionSidebar = () => { )} {databaseList.length > 0 && ( -
+
; + return