[Cherry Pick] Fix [UI/UX] [Front End] Settings Page (#4032)
* Fix [UI/UX] [Locales] Correct Spelling - [+] fix(locales): correct spelling and improve wording in cn.ts and en.ts locale files * 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 * Fix [UI/UX] [Locales] [SK] Correct Typo - [+] fix(sk.ts): correct typo in ApiVersion key in Slovak locale file
This commit is contained in:
parent
bfefb99192
commit
1d6ee64e1d
@ -1081,8 +1081,8 @@ export function Settings() {
|
|||||||
></input>
|
></input>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem
|
<ListItem
|
||||||
title={Locale.Settings.Access.Azure.ApiKey.Title}
|
title={Locale.Settings.Access.Google.ApiKey.Title}
|
||||||
subTitle={Locale.Settings.Access.Azure.ApiKey.SubTitle}
|
subTitle={Locale.Settings.Access.Google.ApiKey.SubTitle}
|
||||||
>
|
>
|
||||||
<PasswordInput
|
<PasswordInput
|
||||||
value={accessStore.googleApiKey}
|
value={accessStore.googleApiKey}
|
||||||
@ -1099,9 +1099,9 @@ export function Settings() {
|
|||||||
/>
|
/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem
|
<ListItem
|
||||||
title={Locale.Settings.Access.Google.ApiVerion.Title}
|
title={Locale.Settings.Access.Google.ApiVersion.Title}
|
||||||
subTitle={
|
subTitle={
|
||||||
Locale.Settings.Access.Google.ApiVerion.SubTitle
|
Locale.Settings.Access.Google.ApiVersion.SubTitle
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
|
@ -314,19 +314,20 @@ const cn = {
|
|||||||
},
|
},
|
||||||
Google: {
|
Google: {
|
||||||
ApiKey: {
|
ApiKey: {
|
||||||
Title: "接口密钥",
|
Title: "API 密钥",
|
||||||
SubTitle: "使用自定义 Google AI Studio API Key 绕过密码访问限制",
|
SubTitle:
|
||||||
Placeholder: "Google AI Studio API Key",
|
"从 Google AI 获取您的 API 密钥",
|
||||||
|
Placeholder: "输入您的 Google AI Studio API 密钥",
|
||||||
},
|
},
|
||||||
|
|
||||||
Endpoint: {
|
Endpoint: {
|
||||||
Title: "接口地址",
|
Title: "终端地址",
|
||||||
SubTitle: "不包含请求路径,样例:",
|
SubTitle: "示例:",
|
||||||
},
|
},
|
||||||
|
|
||||||
ApiVerion: {
|
ApiVersion: {
|
||||||
Title: "接口版本 (gemini-pro api version)",
|
Title: "API 版本(仅适用于 gemini-pro)",
|
||||||
SubTitle: "选择指定的部分版本",
|
SubTitle: "选择一个特定的 API 版本",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
CustomModel: {
|
CustomModel: {
|
||||||
|
@ -323,8 +323,8 @@ const en: LocaleType = {
|
|||||||
ApiKey: {
|
ApiKey: {
|
||||||
Title: "API Key",
|
Title: "API Key",
|
||||||
SubTitle:
|
SubTitle:
|
||||||
"Bypass password access restrictions using a custom Google AI Studio API Key",
|
"Obtain your API Key from Google AI",
|
||||||
Placeholder: "Google AI Studio API Key",
|
Placeholder: "Enter your Google AI Studio API Key",
|
||||||
},
|
},
|
||||||
|
|
||||||
Endpoint: {
|
Endpoint: {
|
||||||
@ -332,9 +332,9 @@ const en: LocaleType = {
|
|||||||
SubTitle: "Example:",
|
SubTitle: "Example:",
|
||||||
},
|
},
|
||||||
|
|
||||||
ApiVerion: {
|
ApiVersion: {
|
||||||
Title: "API Version (gemini-pro api version)",
|
Title: "API Version (specific to gemini-pro)",
|
||||||
SubTitle: "Select a specific part version",
|
SubTitle: "Select a specific API version",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -334,7 +334,7 @@ const sk: PartialLocaleType = {
|
|||||||
SubTitle: "Príklad:",
|
SubTitle: "Príklad:",
|
||||||
},
|
},
|
||||||
|
|
||||||
ApiVerion: {
|
ApiVersion: {
|
||||||
Title: "Verzia API (gemini-pro verzia API)",
|
Title: "Verzia API (gemini-pro verzia API)",
|
||||||
SubTitle: "Vyberte špecifickú verziu časti",
|
SubTitle: "Vyberte špecifickú verziu časti",
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user