From 563e2fc44a655a5db3de32bb628f1e7d8c86a370 Mon Sep 17 00:00:00 2001 From: H0llyW00dzZ Date: Mon, 12 Feb 2024 00:17:38 +0700 Subject: [PATCH 1/3] Fix [UI/UX] [Locales] Correct Spelling - [+] fix(locales): correct spelling and improve wording in cn.ts and en.ts locale files --- app/locales/cn.ts | 17 +++++++++-------- app/locales/en.ts | 10 +++++----- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 4a92b63833a..dfb9aafa204 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -314,19 +314,20 @@ const cn = { }, Google: { ApiKey: { - Title: "接口密钥", - SubTitle: "使用自定义 Google AI Studio API Key 绕过密码访问限制", - Placeholder: "Google AI Studio API Key", + Title: "API 密钥", + SubTitle: + "从 Google AI 获取您的 API 密钥", + Placeholder: "输入您的 Google AI Studio API 密钥", }, Endpoint: { - Title: "接口地址", - SubTitle: "不包含请求路径,样例:", + Title: "终端地址", + SubTitle: "示例:", }, - ApiVerion: { - Title: "接口版本 (gemini-pro api version)", - SubTitle: "选择指定的部分版本", + ApiVersion: { + Title: "API 版本(仅适用于 gemini-pro)", + SubTitle: "选择一个特定的 API 版本", }, }, CustomModel: { diff --git a/app/locales/en.ts b/app/locales/en.ts index 367161d6bfd..892a846a42e 100644 --- a/app/locales/en.ts +++ b/app/locales/en.ts @@ -323,8 +323,8 @@ const en: LocaleType = { ApiKey: { Title: "API Key", SubTitle: - "Bypass password access restrictions using a custom Google AI Studio API Key", - Placeholder: "Google AI Studio API Key", + "Obtain your API Key from Google AI", + Placeholder: "Enter your Google AI Studio API Key", }, Endpoint: { @@ -332,9 +332,9 @@ const en: LocaleType = { SubTitle: "Example:", }, - ApiVerion: { - Title: "API Version (gemini-pro api version)", - SubTitle: "Select a specific part version", + ApiVersion: { + Title: "API Version (specific to gemini-pro)", + SubTitle: "Select a specific API version", }, }, }, From 88c0938e556fd1fe4646bfacb662e6d88320ec1e Mon Sep 17 00:00:00 2001 From: H0llyW00dzZ Date: Mon, 12 Feb 2024 00:18:39 +0700 Subject: [PATCH 2/3] Fix [UI/UX] [Front End] Settings Page - [+] fix(settings.tsx): correct typo in ApiVerion to ApiVersion - [+] refactor(settings.tsx): switch Azure.ApiKey to Google.ApiKey in ListItem title and subTitle --- app/components/settings.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 35d3b0215d8..84ae7edf651 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -1081,8 +1081,8 @@ export function Settings() { > Date: Mon, 12 Feb 2024 00:21:25 +0700 Subject: [PATCH 3/3] Fix [UI/UX] [Locales] [SK] Correct Typo - [+] fix(sk.ts): correct typo in ApiVersion key in Slovak locale file --- app/locales/sk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/locales/sk.ts b/app/locales/sk.ts index 66cd8f0410a..025519e775b 100644 --- a/app/locales/sk.ts +++ b/app/locales/sk.ts @@ -334,7 +334,7 @@ const sk: PartialLocaleType = { SubTitle: "Príklad:", }, - ApiVerion: { + ApiVersion: { Title: "Verzia API (gemini-pro verzia API)", SubTitle: "Vyberte špecifickú verziu časti", },