diff --git a/apps/web/src/components/settings/VoiceSettingsPanel.tsx b/apps/web/src/components/settings/VoiceSettingsPanel.tsx index 84a76f373c8be..94de3f39007da 100644 --- a/apps/web/src/components/settings/VoiceSettingsPanel.tsx +++ b/apps/web/src/components/settings/VoiceSettingsPanel.tsx @@ -78,6 +78,7 @@ import { chooseTranscriptCleanup, useCleanupGrant, } from "../../speech/voiceConsent"; +import { isElectron } from "../../env"; import { updateClientSettings, useClientSettings } from "../../hooks/useSettings"; import { runEnvironmentSpeech } from "../../speech/runEnvironmentSpeech"; import { @@ -222,6 +223,27 @@ function ModelBadge(props: { icon: ReactNode; label: string; tooltip: string }) ); } +// The scope picker above only changes serverScoped rows, so rows saved on this client say so. +// Not "This device": that names the primary environment elsewhere, and web saves per browser. +function ClientSettingTitle(props: { children: string }) { + const gt = useGT(); + return ( + + {props.children} + + }> + {isElectron ? gt("This app") : gt("This browser")} + + + {isElectron + ? gt("Saved in this app, whatever scope is selected above.") + : gt("Saved in this browser, whatever scope is selected above.")} + + + + ); +} + function ModelCard(props: ModelCardProps) { const gt = useGT(); const locale = useLocale(); @@ -808,7 +830,7 @@ function AdvancedSpeechSettings({ {gt("Streaming transcription")}} description={ supported.supportsStreaming ? gt( @@ -1436,8 +1458,10 @@ export function VoiceSettingsPanel() { {gt("Microphone")}} + description={gt( + "Audio is recorded on this device and transcribed wherever you choose under Transcription. Voice input uses the first connected microphone in this list.", + )} control={ {gt("Dictation shortcut")}} description={`${messages(SHORTCUT_MODES[settings.voiceShortcutMode].hint)}.`} control={