[Update] Add new auth key URLs and update translation labels for key management.

This commit is contained in:
Sakamoto Shiina
2026-01-01 12:50:58 +09:00
parent 3d71dbacce
commit 3168a8ad26
4 changed files with 28 additions and 12 deletions

View File

@@ -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"

View File

@@ -76,6 +76,7 @@ config_page:
common:
version: "バージョン {{version}}"
model_download_button_label: "ダウンロード"
open_auth_key_webpage: "認証キー管理ページを開く"
compute_device:
desc: "各処理タイプの精度・速度は、マシンスペックによって計算方法に相性があり、表示順とは異なる事があるため、大まかな目安としてください。"
label_device: "処理デバイス"

View File

@@ -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";

View File

@@ -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 = () => {
<AuthKeyContainer
label="Plamo Auth Key"
desc="Plamo Auth Desc"
// webpage_url={deepl_auth_key_url}
// open_webpage_label={t("config_page.translation.deepl_auth_key.open_auth_key_webpage")}
webpage_url={plamo_auth_key_url}
open_webpage_label={t("config_page.common.open_auth_key_webpage")}
variable={variable}
state={currentPlamoAuthKey.state}
onChangeFunction={onChangeFunction}
@@ -344,8 +352,8 @@ const GeminiAuthKey_Box = () => {
<AuthKeyContainer
label="Gemini Auth Key"
desc="Gemini Auth Desc"
// webpage_url={deepl_auth_key_url}
// open_webpage_label={t("config_page.translation.deepl_auth_key.open_auth_key_webpage")}
webpage_url={gemini_auth_key_url}
open_webpage_label={t("config_page.common.open_auth_key_webpage")}
variable={variable}
state={currentGeminiAuthKey.state}
onChangeFunction={onChangeFunction}
@@ -405,8 +413,8 @@ const OpenAIAuthKey_Box = () => {
<AuthKeyContainer
label="OpenAI Auth Key"
desc="OpenAI Auth Desc"
// webpage_url={deepl_auth_key_url}
// open_webpage_label={t("config_page.translation.deepl_auth_key.open_auth_key_webpage")}
webpage_url={openai_auth_key_url}
open_webpage_label={t("config_page.common.open_auth_key_webpage")}
variable={variable}
state={currentOpenAIAuthKey.state}
onChangeFunction={onChangeFunction}
@@ -466,8 +474,8 @@ const GroqAuthKey_Box = () => {
<AuthKeyContainer
label="Groq Auth Key"
desc="Groq Auth Desc"
// webpage_url={deepl_auth_key_url}
// open_webpage_label={t("config_page.translation.deepl_auth_key.open_auth_key_webpage")}
webpage_url={groq_auth_key_url}
open_webpage_label={t("config_page.common.open_auth_key_webpage")}
variable={variable}
state={currentGroqAuthKey.state}
onChangeFunction={onChangeFunction}
@@ -527,8 +535,8 @@ const OpenRouterAuthKey_Box = () => {
<AuthKeyContainer
label="OpenRouter Auth Key"
desc="OpenRouter Auth Desc"
// webpage_url={deepl_auth_key_url}
// open_webpage_label={t("config_page.translation.deepl_auth_key.open_auth_key_webpage")}
webpage_url={openrouter_auth_key_url}
open_webpage_label={t("config_page.common.open_auth_key_webpage")}
variable={variable}
state={currentOpenRouterAuthKey.state}
onChangeFunction={onChangeFunction}