From 3168a8ad26615077a3d04e54e4e3a4307669d4fe Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Thu, 1 Jan 2026 12:50:58 +0900 Subject: [PATCH] [Update] Add new auth key URLs and update translation labels for key management. --- locales/en.yml | 1 + locales/ja.yml | 1 + src-ui/logics/ui_configs.js | 6 ++++ .../setting_box/translation/Translation.jsx | 32 ++++++++++++------- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/locales/en.yml b/locales/en.yml index c7b4135e..1e865589 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -77,6 +77,7 @@ config_page: version: "Version {{version}}" model_download_button_label: "Download" correct_auth_key_required: "Correct Auth Key Required" + open_auth_key_webpage: "Open Auth Key Management Webpage" compute_device: desc: "The accuracy and speed of each processing type may vary depending on your machine specs, and the compatibility with calculation methods may differ from the displayed order. Please use this as a general guideline." label_device: "Processing Device" diff --git a/locales/ja.yml b/locales/ja.yml index 8748c969..64cbf3d8 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -76,6 +76,7 @@ config_page: common: version: "バージョン {{version}}" model_download_button_label: "ダウンロード" + open_auth_key_webpage: "認証キー管理ページを開く" compute_device: desc: "各処理タイプの精度・速度は、マシンスペックによって計算方法に相性があり、表示順とは異なる事があるため、大まかな目安としてください。" label_device: "処理デバイス" diff --git a/src-ui/logics/ui_configs.js b/src-ui/logics/ui_configs.js index be6eb194..7c9b1d02 100644 --- a/src-ui/logics/ui_configs.js +++ b/src-ui/logics/ui_configs.js @@ -137,6 +137,12 @@ export const whisper_weight_type_status = [ export const deepl_auth_key_url = "https://www.deepl.com/ja/your-account/keys"; +export const plamo_auth_key_url = "https://plamo.preferredai.jp/api"; +export const gemini_auth_key_url = "https://aistudio.google.com/api-keys"; +export const openai_auth_key_url = "https://platform.openai.com/api-keys"; +export const groq_auth_key_url = "https://console.groq.com/keys"; +export const openrouter_auth_key_url = "https://openrouter.ai/keys"; + export const vrct_document_home_url = "https://misyaguziya.github.io/VRCT-Docs"; diff --git a/src-ui/views/app/config_page/setting_section/setting_box/translation/Translation.jsx b/src-ui/views/app/config_page/setting_section/setting_box/translation/Translation.jsx index b7e3b91e..1f5a4cce 100644 --- a/src-ui/views/app/config_page/setting_section/setting_box/translation/Translation.jsx +++ b/src-ui/views/app/config_page/setting_section/setting_box/translation/Translation.jsx @@ -29,7 +29,15 @@ import { ConnectionCheckButton, } from "../_components"; -import { deepl_auth_key_url } from "@ui_configs"; +import { + deepl_auth_key_url, + plamo_auth_key_url, + gemini_auth_key_url, + openai_auth_key_url, + groq_auth_key_url, + openrouter_auth_key_url, +} from "@ui_configs"; + import { useLLMConnection } from "@logics_common"; export const Translation = () => { @@ -256,7 +264,7 @@ const DeepLAuthKey_Box = () => { {translator: t("main_page.translator")} )} webpage_url={deepl_auth_key_url} - open_webpage_label={t("config_page.translation.deepl_auth_key.open_auth_key_webpage")} + open_webpage_label={t("config_page.common.open_auth_key_webpage")} variable={variable} state={currentDeepLAuthKey.state} onChangeFunction={onChangeFunction} @@ -282,8 +290,8 @@ const PlamoAuthKey_Box = () => { { { { {