Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

refactor: replace segmented control with stacked radio cards for mode selector

Gabriel Stein47fec21a33e8
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index 4eee85d4f..8abd9e7ed 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -37,7 +37,6 @@ import MicrophoneSettings from "./ui/MicrophoneSettings";
import PermissionCard from "./ui/PermissionCard";
import PasteToolsInfo from "./ui/PasteToolsInfo";
import TranscriptionModelPicker from "./TranscriptionModelPicker";
-import { ModeSelector } from "./ui/ModeSelector";
import SelfHostedPanel from "./SelfHostedPanel";
import {
ConfirmDialog,
@@ -243,26 +242,35 @@ function TranscriptionSection({
}: TranscriptionSectionProps) {
const { t } = useTranslation();
- const transcriptionModes = [
+ const transcriptionModes: {
+ id: InferenceMode;
+ label: string;
+ description: string;
+ icon: React.ReactNode;
+ }[] = [
{
- id: "openwhispr" as InferenceMode,
+ id: "openwhispr",
label: t("settingsPage.transcription.modes.openwhispr"),
- icon: <Cloud className="w-3.5 h-3.5" />,
+ description: t("settingsPage.transcription.modes.openwhisprDesc"),
+ icon: <Cloud className="w-4 h-4" />,
},
{
- id: "providers" as InferenceMode,
+ id: "providers",
label: t("settingsPage.transcription.modes.providers"),
- icon: <Key className="w-3.5 h-3.5" />,
+ description: t("settingsPage.transcription.modes.providersDesc"),
+ icon: <Key className="w-4 h-4" />,
},
{
- id: "local" as InferenceMode,
+ id: "local",
label: t("settingsPage.transcription.modes.local"),
- icon: <Cpu className="w-3.5 h-3.5" />,
+ description: t("settingsPage.transcription.modes.localDesc"),
+ icon: <Cpu className="w-4 h-4" />,
},
{
- id: "self-hosted" as InferenceMode,
+ id: "self-hosted",
label: t("settingsPage.transcription.modes.selfHosted"),
- icon: <Network className="w-3.5 h-3.5" />,
+ description: t("settingsPage.transcription.modes.selfHostedDesc"),
+ icon: <Network className="w-4 h-4" />,
},
];
@@ -342,11 +350,57 @@ function TranscriptionSection({
{isSignedIn ? (
<>
- <ModeSelector
- modes={transcriptionModes}
- selectedMode={transcriptionMode}
- onSelect={handleTranscriptionModeSelect}
- />
+ <SettingsPanel>
+ {transcriptionModes.map((mode) => {
+ const isActive = transcriptionMode === mode.id;
+ return (
+ <SettingsPanelRow key={mode.id}>
+ <button
+ onClick={() => handleTranscriptionModeSelect(mode.id)}
+ className="w-full flex items-center gap-3 text-left cursor-pointer group"
+ >
+ <div
+ className={`w-8 h-8 rounded-md flex items-center justify-center shrink-0 transition-colors ${
+ isActive
+ ? "bg-primary/10 dark:bg-primary/15"
+ : "bg-muted/60 dark:bg-surface-raised group-hover:bg-muted dark:group-hover:bg-surface-3"
+ }`}
+ >
+ <div
+ className={`transition-colors ${isActive ? "text-primary" : "text-muted-foreground"}`}
+ >
+ {mode.icon}
+ </div>
+ </div>
+ <div className="flex-1 min-w-0">
+ <div className="flex items-center gap-2">
+ <span className="text-xs font-medium text-foreground">{mode.label}</span>
+ {isActive && (
+ <span className="text-xs font-medium text-primary bg-primary/10 dark:bg-primary/15 px-1.5 py-px rounded-sm">
+ {t("common.active")}
+ </span>
+ )}
+ </div>
+ <p className="text-xs text-muted-foreground/80 mt-0.5">{mode.description}</p>
+ </div>
+ <div
+ className={`w-4 h-4 rounded-full border-2 shrink-0 transition-colors ${
+ isActive
+ ? "border-primary bg-primary"
+ : "border-border-hover dark:border-border-subtle"
+ }`}
+ >
+ {isActive && (
+ <div className="w-full h-full flex items-center justify-center">
+ <div className="w-1.5 h-1.5 rounded-full bg-primary-foreground" />
+ </div>
+ )}
+ </div>
+ </button>
+ </SettingsPanelRow>
+ );
+ })}
+ </SettingsPanel>
{transcriptionMode === "providers" && renderTranscriptionPicker("cloud")}
{transcriptionMode === "local" && renderTranscriptionPicker("local")}
@@ -444,26 +498,35 @@ function AiModelsSection({
}: AiModelsSectionProps) {
const { t } = useTranslation();
- const aiModes = [
+ const aiModes: {
+ id: InferenceMode;
+ label: string;
+ description: string;
+ icon: React.ReactNode;
+ }[] = [
{
- id: "openwhispr" as InferenceMode,
+ id: "openwhispr",
label: t("settingsPage.aiModels.modes.openwhispr"),
- icon: <Cloud className="w-3.5 h-3.5" />,
+ description: t("settingsPage.aiModels.modes.openwhisprDesc"),
+ icon: <Cloud className="w-4 h-4" />,
},
{
- id: "providers" as InferenceMode,
+ id: "providers",
label: t("settingsPage.aiModels.modes.providers"),
- icon: <Key className="w-3.5 h-3.5" />,
+ description: t("settingsPage.aiModels.modes.providersDesc"),
+ icon: <Key className="w-4 h-4" />,
},
{
- id: "local" as InferenceMode,
+ id: "local",
label: t("settingsPage.aiModels.modes.local"),
- icon: <Cpu className="w-3.5 h-3.5" />,
+ description: t("settingsPage.aiModels.modes.localDesc"),
+ icon: <Cpu className="w-4 h-4" />,
},
{
- id: "self-hosted" as InferenceMode,
+ id: "self-hosted",
label: t("settingsPage.aiModels.modes.selfHosted"),
- icon: <Network className="w-3.5 h-3.5" />,
+ description: t("settingsPage.aiModels.modes.selfHostedDesc"),
+ icon: <Network className="w-4 h-4" />,
},
];
@@ -533,11 +596,61 @@ function AiModelsSection({
<>
{isSignedIn ? (
<>
- <ModeSelector
- modes={aiModes}
- selectedMode={reasoningMode}
- onSelect={handleReasoningModeSelect}
- />
+ <SettingsPanel>
+ {aiModes.map((mode) => {
+ const isActive = reasoningMode === mode.id;
+ return (
+ <SettingsPanelRow key={mode.id}>
+ <button
+ onClick={() => handleReasoningModeSelect(mode.id)}
+ className="w-full flex items-center gap-3 text-left cursor-pointer group"
+ >
+ <div
+ className={`w-8 h-8 rounded-md flex items-center justify-center shrink-0 transition-colors ${
+ isActive
+ ? "bg-primary/10 dark:bg-primary/15"
+ : "bg-muted/60 dark:bg-surface-raised group-hover:bg-muted dark:group-hover:bg-surface-3"
+ }`}
+ >
+ <div
+ className={`transition-colors ${isActive ? "text-primary" : "text-muted-foreground"}`}
+ >
+ {mode.icon}
+ </div>
+ </div>
+ <div className="flex-1 min-w-0">
+ <div className="flex items-center gap-2">
+ <span className="text-xs font-medium text-foreground">
+ {mode.label}
+ </span>
+ {isActive && (
+ <span className="text-xs font-medium text-primary bg-primary/10 dark:bg-primary/15 px-1.5 py-px rounded-sm">
+ {t("common.active")}
+ </span>
+ )}
+ </div>
+ <p className="text-xs text-muted-foreground/80 mt-0.5">
+ {mode.description}
+ </p>
+ </div>
+ <div
+ className={`w-4 h-4 rounded-full border-2 shrink-0 transition-colors ${
+ isActive
+ ? "border-primary bg-primary"
+ : "border-border-hover dark:border-border-subtle"
+ }`}
+ >
+ {isActive && (
+ <div className="w-full h-full flex items-center justify-center">
+ <div className="w-1.5 h-1.5 rounded-full bg-primary-foreground" />
+ </div>
+ )}
+ </div>
+ </button>
+ </SettingsPanelRow>
+ );
+ })}
+ </SettingsPanel>
{reasoningMode === "providers" && renderReasoningSelector("cloud")}
{reasoningMode === "local" && renderReasoningSelector("local")}
diff --git a/src/components/ui/ModeSelector.tsx b/src/components/ui/ModeSelector.tsx
deleted file mode 100644
index 5852fb5ff..000000000
--- a/src/components/ui/ModeSelector.tsx
+++ /dev/null
@@ -1,88 +0,0 @@
-import { ReactNode, useRef, useState, useEffect, useCallback } from "react";
-import type { InferenceMode } from "../../types/electron";
-
-export interface ModeSelectorItem {
- id: InferenceMode;
- label: string;
- icon: ReactNode;
- disabled?: boolean;
-}
-
-interface ModeSelectorProps {
- modes: ModeSelectorItem[];
- selectedMode: InferenceMode;
- onSelect: (mode: InferenceMode) => void;
-}
-
-export function ModeSelector({ modes, selectedMode, onSelect }: ModeSelectorProps) {
- const containerRef = useRef<HTMLDivElement>(null);
- const [indicatorStyle, setIndicatorStyle] = useState<React.CSSProperties>({ opacity: 0 });
-
- const updateIndicator = useCallback(() => {
- const container = containerRef.current;
- if (!container) return;
-
- const selectedIndex = modes.findIndex((m) => m.id === selectedMode);
- if (selectedIndex === -1) {
- setIndicatorStyle({ opacity: 0 });
- return;
- }
-
- const buttons = container.querySelectorAll<HTMLButtonElement>("[data-mode-button]");
- const selectedButton = buttons[selectedIndex];
- if (!selectedButton) return;
-
- const containerRect = container.getBoundingClientRect();
- const buttonRect = selectedButton.getBoundingClientRect();
-
- setIndicatorStyle({
- width: buttonRect.width,
- height: buttonRect.height,
- transform: `translateX(${buttonRect.left - containerRect.left}px)`,
- opacity: 1,
- });
- }, [modes, selectedMode]);
-
- useEffect(() => {
- updateIndicator();
- }, [updateIndicator]);
-
- useEffect(() => {
- const observer = new ResizeObserver(() => updateIndicator());
- if (containerRef.current) observer.observe(containerRef.current);
- return () => observer.disconnect();
- }, [updateIndicator]);
-
- return (
- <div
- ref={containerRef}
- className="relative flex p-0.5 rounded-md bg-surface-raised dark:bg-surface-1"
- >
- <div
- className="absolute top-0.5 left-0 rounded-md bg-card border border-border dark:border-border-subtle shadow-sm dark:shadow-(--shadow-card) transition-[width,height,transform,opacity] duration-200 ease-out pointer-events-none"
- style={indicatorStyle}
- />
- {modes.map((mode) => {
- const isSelected = selectedMode === mode.id;
- return (
- <button
- key={mode.id}
- data-mode-button
- disabled={mode.disabled}
- onClick={() => !mode.disabled && onSelect(mode.id)}
- className={`relative z-10 flex-1 flex items-center justify-center gap-1.5 px-2.5 py-1.5 rounded-md font-medium text-xs transition-colors duration-150 ${
- mode.disabled
- ? "text-muted-foreground/40 cursor-not-allowed"
- : isSelected
- ? "text-foreground"
- : "text-muted-foreground hover:text-foreground cursor-pointer"
- }`}
- >
- {mode.icon}
- <span className="whitespace-nowrap">{mode.label}</span>
- </button>
- );
- })}
- </div>
- );
-}
diff --git a/src/locales/de/translation.json b/src/locales/de/translation.json
index 63a426b65..c80af1ebd 100644
--- a/src/locales/de/translation.json
+++ b/src/locales/de/translation.json
@@ -1095,7 +1095,11 @@
"openwhispr": "OpenWhispr",
"providers": "Anbieter",
"local": "Lokal",
- "selfHosted": "Selbst gehostet"
+ "selfHosted": "Selbst gehostet",
+ "openwhisprDesc": "Sofort einsatzbereit.",
+ "providersDesc": "Eigenen API-Schlüssel nutzen.",
+ "localDesc": "Läuft lokal. Voll privat.",
+ "selfHostedDesc": "Eigener Server im LAN oder Cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funktioniert sofort. Keine Konfiguration nötig.",
@@ -1404,7 +1408,11 @@
"openwhispr": "OpenWhispr",
"providers": "Anbieter",
"local": "Lokal",
- "selfHosted": "Selbst gehostet"
+ "selfHosted": "Selbst gehostet",
+ "openwhisprDesc": "Sofort einsatzbereit.",
+ "providersDesc": "Eigenen API-Schlüssel nutzen.",
+ "localDesc": "Läuft lokal. Voll privat.",
+ "selfHostedDesc": "Eigener Server im LAN oder Cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funktioniert sofort. Keine Konfiguration nötig.",
diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index fe2862ef5..5aac1a40f 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -1143,7 +1143,11 @@
"openwhispr": "OpenWhispr",
"providers": "Providers",
"local": "On Device",
- "selfHosted": "Self-Hosted"
+ "selfHosted": "Self-Hosted",
+ "openwhisprDesc": "Just works. No setup needed.",
+ "providersDesc": "Bring your own API key.",
+ "localDesc": "Runs on your machine. Fully private.",
+ "selfHostedDesc": "Your own server on LAN or cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Just works. No configuration needed.",
@@ -1452,7 +1456,11 @@
"openwhispr": "OpenWhispr",
"providers": "Providers",
"local": "On Device",
- "selfHosted": "Self-Hosted"
+ "selfHosted": "Self-Hosted",
+ "openwhisprDesc": "Just works. No setup needed.",
+ "providersDesc": "Bring your own API key.",
+ "localDesc": "Runs on your machine. Fully private.",
+ "selfHostedDesc": "Your own server on LAN or cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Just works. No configuration needed.",
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index 1c62bafe7..2227e89b2 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -1095,7 +1095,11 @@
"openwhispr": "OpenWhispr",
"providers": "Proveedores",
"local": "En dispositivo",
- "selfHosted": "Autoalojado"
+ "selfHosted": "Autoalojado",
+ "openwhisprDesc": "Funciona sin configurar nada.",
+ "providersDesc": "Usa tu propia clave API.",
+ "localDesc": "Se ejecuta en tu equipo. Privado.",
+ "selfHostedDesc": "Tu servidor en LAN o en la nube."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funciona de inmediato. Sin configuración necesaria.",
@@ -1404,7 +1408,11 @@
"openwhispr": "OpenWhispr",
"providers": "Proveedores",
"local": "En dispositivo",
- "selfHosted": "Autoalojado"
+ "selfHosted": "Autoalojado",
+ "openwhisprDesc": "Funciona sin configurar nada.",
+ "providersDesc": "Usa tu propia clave API.",
+ "localDesc": "Se ejecuta en tu equipo. Privado.",
+ "selfHostedDesc": "Tu servidor en LAN o en la nube."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funciona de inmediato. Sin configuración necesaria.",
diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json
index 92fc4e738..573a67881 100644
--- a/src/locales/fr/translation.json
+++ b/src/locales/fr/translation.json
@@ -1095,7 +1095,11 @@
"openwhispr": "OpenWhispr",
"providers": "Fournisseurs",
"local": "Sur l'appareil",
- "selfHosted": "Auto-hébergé"
+ "selfHosted": "Auto-hébergé",
+ "openwhisprDesc": "Prêt à l'emploi.",
+ "providersDesc": "Utilisez votre propre clé API.",
+ "localDesc": "Tourne en local. 100 % privé.",
+ "selfHostedDesc": "Votre serveur LAN ou cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Fonctionne directement. Aucune configuration requise.",
@@ -1404,7 +1408,11 @@
"openwhispr": "OpenWhispr",
"providers": "Fournisseurs",
"local": "Sur l'appareil",
- "selfHosted": "Auto-hébergé"
+ "selfHosted": "Auto-hébergé",
+ "openwhisprDesc": "Prêt à l'emploi.",
+ "providersDesc": "Utilisez votre propre clé API.",
+ "localDesc": "Tourne en local. 100 % privé.",
+ "selfHostedDesc": "Votre serveur LAN ou cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Fonctionne directement. Aucune configuration requise.",
diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json
index 44562ce58..6f250b45f 100644
--- a/src/locales/it/translation.json
+++ b/src/locales/it/translation.json
@@ -1095,7 +1095,11 @@
"openwhispr": "OpenWhispr",
"providers": "Provider",
"local": "Sul dispositivo",
- "selfHosted": "Self-hosted"
+ "selfHosted": "Self-hosted",
+ "openwhisprDesc": "Funziona subito. Zero setup.",
+ "providersDesc": "Usa la tua chiave API.",
+ "localDesc": "Gira sul tuo PC. Totalmente privato.",
+ "selfHostedDesc": "Il tuo server in LAN o cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funziona subito. Nessuna configurazione necessaria.",
@@ -1404,7 +1408,11 @@
"openwhispr": "OpenWhispr",
"providers": "Provider",
"local": "Sul dispositivo",
- "selfHosted": "Self-hosted"
+ "selfHosted": "Self-hosted",
+ "openwhisprDesc": "Funziona subito. Zero setup.",
+ "providersDesc": "Usa la tua chiave API.",
+ "localDesc": "Gira sul tuo PC. Totalmente privato.",
+ "selfHostedDesc": "Il tuo server in LAN o cloud."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funziona subito. Nessuna configurazione necessaria.",
diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.json
index 1dcad18d8..08be4d7c8 100644
--- a/src/locales/ja/translation.json
+++ b/src/locales/ja/translation.json
@@ -1095,7 +1095,11 @@
"openwhispr": "OpenWhispr",
"providers": "プロバイダー",
"local": "デバイス上",
- "selfHosted": "セルフホスト"
+ "selfHosted": "セルフホスト",
+ "openwhisprDesc": "設定不要ですぐ使える。",
+ "providersDesc": "自分のAPIキーを使用。",
+ "localDesc": "端末上で動作。完全プライベート。",
+ "selfHostedDesc": "LANやクラウドの自前サーバー。"
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "設定不要ですぐに使えます。",
@@ -1404,7 +1408,11 @@
"openwhispr": "OpenWhispr",
"providers": "プロバイダー",
"local": "デバイス上",
- "selfHosted": "セルフホスト"
+ "selfHosted": "セルフホスト",
+ "openwhisprDesc": "設定不要ですぐ使える。",
+ "providersDesc": "自分のAPIキーを使用。",
+ "localDesc": "端末上で動作。完全プライベート。",
+ "selfHostedDesc": "LANやクラウドの自前サーバー。"
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "設定不要ですぐに使えます。",
diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json
index ba71df02c..b4179550f 100644
--- a/src/locales/pt/translation.json
+++ b/src/locales/pt/translation.json
@@ -1067,7 +1067,11 @@
"openwhispr": "OpenWhispr",
"providers": "Provedores",
"local": "No dispositivo",
- "selfHosted": "Auto-hospedado"
+ "selfHosted": "Auto-hospedado",
+ "openwhisprDesc": "Funciona de imediato. Sem setup.",
+ "providersDesc": "Use sua própria chave API.",
+ "localDesc": "Roda na sua máquina. Privado.",
+ "selfHostedDesc": "Seu servidor em LAN ou nuvem."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funciona de imediato. Sem configuração necessária.",
@@ -1376,7 +1380,11 @@
"openwhispr": "OpenWhispr",
"providers": "Provedores",
"local": "No dispositivo",
- "selfHosted": "Auto-hospedado"
+ "selfHosted": "Auto-hospedado",
+ "openwhisprDesc": "Funciona de imediato. Sem setup.",
+ "providersDesc": "Use sua própria chave API.",
+ "localDesc": "Roda na sua máquina. Privado.",
+ "selfHostedDesc": "Seu servidor em LAN ou nuvem."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Funciona de imediato. Sem configuração necessária.",
diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.json
index 79ce07639..85856d82f 100644
--- a/src/locales/ru/translation.json
+++ b/src/locales/ru/translation.json
@@ -1095,7 +1095,11 @@
"openwhispr": "OpenWhispr",
"providers": "Провайдеры",
"local": "На устройстве",
- "selfHosted": "Свой сервер"
+ "selfHosted": "Свой сервер",
+ "openwhisprDesc": "Работает сразу. Без настройки.",
+ "providersDesc": "Используйте свой API-ключ.",
+ "localDesc": "Работает локально. Полная приватность.",
+ "selfHostedDesc": "Свой сервер в LAN или облаке."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Просто работает. Настройка не требуется.",
@@ -1404,7 +1408,11 @@
"openwhispr": "OpenWhispr",
"providers": "Провайдеры",
"local": "На устройстве",
- "selfHosted": "Свой сервер"
+ "selfHosted": "Свой сервер",
+ "openwhisprDesc": "Работает сразу. Без настройки.",
+ "providersDesc": "Используйте свой API-ключ.",
+ "localDesc": "Работает локально. Полная приватность.",
+ "selfHostedDesc": "Свой сервер в LAN или облаке."
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "Просто работает. Настройка не требуется.",
diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.json
index 6d899fdc4..8321ad531 100644
--- a/src/locales/zh-CN/translation.json
+++ b/src/locales/zh-CN/translation.json
@@ -1090,7 +1090,11 @@
"openwhispr": "OpenWhispr",
"providers": "服务商",
"local": "本地运行",
- "selfHosted": "自托管"
+ "selfHosted": "自托管",
+ "openwhisprDesc": "开箱即用,无需设置。",
+ "providersDesc": "使用你自己的 API Key。",
+ "localDesc": "在本机运行,完全私密。",
+ "selfHostedDesc": "自建服务器,局域网或云端。"
},
"openwhisprCloud": "OpenWhispr 云端",
"openwhisprCloudDescription": "开箱即用,无需配置。",
@@ -1399,7 +1403,11 @@
"openwhispr": "OpenWhispr",
"providers": "服务商",
"local": "本地运行",
- "selfHosted": "自托管"
+ "selfHosted": "自托管",
+ "openwhisprDesc": "开箱即用,无需设置。",
+ "providersDesc": "使用你自己的 API Key。",
+ "localDesc": "在本机运行,完全私密。",
+ "selfHostedDesc": "自建服务器,局域网或云端。"
},
"openwhisprCloud": "OpenWhispr 云端",
"openwhisprCloudDescription": "开箱即用,无需配置。",
diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.json
index 73efa8498..e801b6a0a 100644
--- a/src/locales/zh-TW/translation.json
+++ b/src/locales/zh-TW/translation.json
@@ -1090,7 +1090,11 @@
"openwhispr": "OpenWhispr",
"providers": "供應商",
"local": "本機執行",
- "selfHosted": "自架主機"
+ "selfHosted": "自架主機",
+ "openwhisprDesc": "即開即用,無需設定。",
+ "providersDesc": "使用你自己的 API Key。",
+ "localDesc": "在本機執行,完全私密。",
+ "selfHostedDesc": "自架伺服器,區網或雲端。"
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "即開即用,無需設定。",
@@ -1399,7 +1403,11 @@
"openwhispr": "OpenWhispr",
"providers": "供應商",
"local": "本機執行",
- "selfHosted": "自架主機"
+ "selfHosted": "自架主機",
+ "openwhisprDesc": "即開即用,無需設定。",
+ "providersDesc": "使用你自己的 API Key。",
+ "localDesc": "在本機執行,完全私密。",
+ "selfHostedDesc": "自架伺服器,區網或雲端。"
},
"openwhisprCloud": "OpenWhispr Cloud",
"openwhisprCloudDescription": "即開即用,無需設定。",