Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
feat(launch): refine recording HUD and language switching UX
imAaryash0c627da22c27
diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsxindex 249dd77d3..79a32d5a6 100644--- a/src/components/launch/LaunchWindow.tsx+++ b/src/components/launch/LaunchWindow.tsx@@ -1,5 +1,5 @@import { ChevronDown, Languages } from "lucide-react";-import { useEffect, useState } from "react";+import { useEffect, useRef, useState } from "react";import { BsPauseCircle, BsPlayCircle, BsRecordCircle } from "react-icons/bs";import { FaRegStopCircle } from "react-icons/fa";import { FaFolderOpen } from "react-icons/fa6";@@ -18,9 +18,8 @@ import {} from "react-icons/md";import { RxDragHandleDots2 } from "react-icons/rx";import { useI18n, useScopedT } from "@/contexts/I18nContext";-import { type Locale, SUPPORTED_LOCALES } from "@/i18n/config";+import { SUPPORTED_LOCALES } from "@/i18n/config";import { getLocaleName } from "@/i18n/loader";-import { isMac as getIsMac } from "@/utils/platformUtils";import { useAudioLevelMeter } from "../../hooks/useAudioLevelMeter";import { useCameraDevices } from "../../hooks/useCameraDevices";import { useMicrophoneDevices } from "../../hooks/useMicrophoneDevices";@@ -28,6 +27,7 @@ import { useScreenRecorder } from "../../hooks/useScreenRecorder";import { requestCameraAccess } from "../../lib/requestCameraAccess";import { formatTimePadded } from "../../utils/timeUtils";import { AudioLevelMeter } from "../ui/audio-level-meter";+import { Button } from "../ui/button";import { Tooltip } from "../ui/tooltip";import styles from "./LaunchWindow.module.css";@@ -67,17 +67,24 @@ const hudGroupClasses =const hudIconBtnClasses ="flex items-center justify-center p-2 rounded-full transition-all duration-150 cursor-pointer text-white hover:bg-white/10 hover:scale-[1.08] active:scale-95";+const hudAuxIconBtnClasses =+ "flex items-center justify-center p-1.5 rounded-full transition-colors duration-150 text-white/55 hover:bg-white/10 disabled:opacity-30 disabled:cursor-not-allowed";+const windowBtnClasses ="flex items-center justify-center p-2 rounded-full transition-all duration-150 cursor-pointer opacity-50 hover:opacity-90 hover:bg-white/[0.08]";+const hudSidebarClasses = "ml-0.5 pl-1.5 border-l border-white/10 flex items-center gap-0.5";+export function LaunchWindow() {const t = useScopedT("launch");- const { locale, setLocale } = useI18n();- const [isMac, setIsMac] = useState(false);-- useEffect(() => {- getIsMac().then(setIsMac);- }, []);+ const {+ locale,+ setLocale,+ systemLocaleSuggestion,+ acceptSystemLocaleSuggestion,+ dismissSystemLocaleSuggestion,+ } = useI18n();+ const suggestedLanguageName = systemLocaleSuggestion ? getLocaleName(systemLocaleSuggestion) : "";const {recording,@@ -164,6 +171,8 @@ export function LaunchWindow() {const [selectedSource, setSelectedSource] = useState("Screen");const [hasSelectedSource, setHasSelectedSource] = useState(false);+ const [isLanguageMenuOpen, setIsLanguageMenuOpen] = useState(false);+ const languageMenuRef = useRef<HTMLDivElement | null>(null);useEffect(() => {const checkSelectedSource = async () => {@@ -185,6 +194,31 @@ export function LaunchWindow() {return () => clearInterval(interval);}, []);+ useEffect(() => {+ if (!isLanguageMenuOpen) return;++ const onPointerDown = (event: MouseEvent) => {+ if (!languageMenuRef.current) return;+ if (!languageMenuRef.current.contains(event.target as Node)) {+ setIsLanguageMenuOpen(false);+ }+ };++ const onKeyDown = (event: KeyboardEvent) => {+ if (event.key === "Escape") {+ setIsLanguageMenuOpen(false);+ }+ };++ document.addEventListener("mousedown", onPointerDown);+ document.addEventListener("keydown", onKeyDown);++ return () => {+ document.removeEventListener("mousedown", onPointerDown);+ document.removeEventListener("keydown", onKeyDown);+ };+ }, [isLanguageMenuOpen]);+const openSourceSelector = () => {if (window.electronAPI) {window.electronAPI.openSourceSelector();@@ -228,25 +262,42 @@ export function LaunchWindow() {};return (- <div className={`w-screen h-screen bg-transparent ${styles.electronDrag}`}>- {/* Language switcher — top-left, beside traffic lights */}- <div- className={`fixed top-2 flex items-center gap-1 px-2 py-1 rounded-md text-white/50 hover:text-white/90 hover:bg-white/10 transition-all duration-150 ${isMac ? "left-[72px]" : "left-2"} ${styles.electronNoDrag}`}- >- <Languages size={14} />- <select- value={locale}- onChange={(e) => setLocale(e.target.value as Locale)}- className="bg-transparent text-[11px] font-medium outline-none cursor-pointer appearance-none pr-1"- style={{ color: "inherit" }}+ <div className={`w-screen h-screen overflow-hidden bg-transparent ${styles.electronDrag}`}>+ {systemLocaleSuggestion && (+ <div+ className={`fixed top-8 left-1/2 z-30 w-[calc(100vw-1rem)] max-w-[520px] -translate-x-1/2 rounded-xl border border-white/15 bg-[rgba(20,20,28,0.95)] p-3 shadow-2xl backdrop-blur-xl text-white animate-in fade-in-0 zoom-in-95 duration-200 ${styles.electronNoDrag}`}>- {SUPPORTED_LOCALES.map((loc) => (- <option key={loc} value={loc} className="bg-[#1c1c24] text-white">- {getLocaleName(loc)}- </option>- ))}- </select>- </div>+ <div className="text-[13px] font-semibold text-white">+ {t("systemLanguagePrompt.title")}+ </div>+ <div className="mt-1 text-[11px] leading-relaxed text-white/75">+ {t("systemLanguagePrompt.description", {+ language: suggestedLanguageName,+ })}+ </div>+ <div className="mt-3 flex items-center justify-end gap-2">+ <Button+ type="button"+ variant="ghost"+ size="sm"+ onClick={dismissSystemLocaleSuggestion}+ className="h-7 text-xs text-white/80 hover:bg-white/10 hover:text-white"+ >+ {t("systemLanguagePrompt.keepDefault")}+ </Button>+ <Button+ type="button"+ size="sm"+ onClick={acceptSystemLocaleSuggestion}+ className="h-7 text-xs bg-white text-[#10121b] hover:bg-white/90"+ >+ {t("systemLanguagePrompt.switch", {+ language: suggestedLanguageName,+ })}+ </Button>+ </div>+ </div>+ )}{/* Device selectors — fixed above HUD bar, viewport-relative, never clipped */}{(showMicControls || showWebcamControls) && (@@ -433,104 +484,133 @@ export function LaunchWindow() {{/* Record/Stop group */}<button- className={`flex items-center gap-0.5 rounded-full p-2 transition-colors duration-150 ${styles.electronNoDrag} ${+ className={`flex items-center justify-center rounded-full p-2 transition-[min-width,background-color] duration-150 ${recording ? "min-w-[78px]" : "min-w-[36px]"} ${styles.electronNoDrag} ${recording? paused? "bg-amber-500/10 hover:bg-amber-500/15"- : "animate-record-pulse bg-red-500/10"+ : "bg-red-500/12 hover:bg-red-500/16": "bg-white/5 hover:bg-white/[0.08]"}`}onClick={toggleRecording}disabled={!hasSelectedSource && !recording}style={{ flex: "0 0 auto" }}>- {recording ? (- <>- {getIcon("stop", paused ? "text-amber-400" : "text-red-400")}+ <div className={`flex items-center justify-center ${recording ? "gap-1.5" : ""}`}>+ {recording+ ? getIcon("stop", paused ? "text-amber-400" : "text-red-400")+ : getIcon("record", hasSelectedSource ? "text-white/80" : "text-white/30")}+ {recording && (<span- className={`${paused ? "text-amber-400" : "text-red-400"} text-xs font-semibold tabular-nums`}+ className={`${paused ? "text-amber-400" : "text-red-400"} inline-block w-[34px] text-left text-xs font-semibold tabular-nums`}>{formatTimePadded(elapsedSeconds)}</span>- </>- ) : (- getIcon("record", hasSelectedSource ? "text-white/80" : "text-white/30")- )}+ )}+ </div></button>{recording && (- <Tooltip content={paused ? t("tooltips.resumeRecording") : t("tooltips.pauseRecording")}>- <button- className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}- onClick={togglePaused}+ <div className={`flex items-center gap-0.5 ${styles.electronNoDrag}`}>+ <Tooltip+ content={paused ? t("tooltips.resumeRecording") : t("tooltips.pauseRecording")}>- {getIcon(paused ? "resume" : "pause", paused ? "text-amber-400" : "text-white/60")}- </button>- </Tooltip>+ <button className={hudAuxIconBtnClasses} onClick={togglePaused}>+ {getIcon(paused ? "resume" : "pause", paused ? "text-amber-400" : "text-white/60")}+ </button>+ </Tooltip>+ <Tooltip content={t("tooltips.restartRecording")}>+ <button className={hudAuxIconBtnClasses} onClick={restartRecording}>+ {getIcon("restart", "text-white/60")}+ </button>+ </Tooltip>+ <Tooltip content={t("tooltips.cancelRecording")}>+ <button className={hudAuxIconBtnClasses} onClick={cancelRecording}>+ {getIcon("cancel", "text-white/60")}+ </button>+ </Tooltip>+ </div>)}- {/* Restart recording */}- {recording && (- <Tooltip content={t("tooltips.restartRecording")}>- <button- className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}- onClick={restartRecording}- >- {getIcon("restart", "text-white/60")}- </button>- </Tooltip>+ {!recording && (+ <>+ {/* Open video file */}+ <Tooltip content={t("tooltips.openVideoFile")}>+ <button+ className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}+ onClick={openVideoFile}+ >+ {getIcon("videoFile", "text-white/60")}+ </button>+ </Tooltip>++ {/* Open project */}+ <Tooltip content={t("tooltips.openProject")}>+ <button+ className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}+ onClick={openProjectFile}+ >+ {getIcon("folder", "text-white/60")}+ </button>+ </Tooltip>+ </>)}- {/* Cancel recording */}- {recording && (- <Tooltip content={t("tooltips.cancelRecording")}>+ {/* Right sidebar controls */}+ <div className={`${hudSidebarClasses} ${styles.electronNoDrag}`}>+ <div ref={languageMenuRef} className={`relative ${styles.electronNoDrag}`}><button- className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}- onClick={cancelRecording}+ type="button"+ aria-label={t("language")}+ aria-expanded={isLanguageMenuOpen}+ onClick={() => setIsLanguageMenuOpen((prev) => !prev)}+ className={`h-8 w-8 rounded-lg border border-white/10 bg-white/5 text-white/85 shadow-none transition-colors hover:bg-white/10 ${styles.electronNoDrag}`}>- {getIcon("cancel", "text-white/60")}+ <div className="flex w-full items-center justify-center">+ <Languages size={13} className="text-white/75" />+ </div></button>- </Tooltip>- )}-- {/* Open video file */}- <Tooltip content={t("tooltips.openVideoFile")}>- <button- className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}- onClick={openVideoFile}- disabled={recording}- >- {getIcon("videoFile", "text-white/60")}- </button>- </Tooltip>- {/* Open project */}- <Tooltip content={t("tooltips.openProject")}>- <button- className={`${hudIconBtnClasses} ${styles.electronNoDrag}`}- onClick={openProjectFile}- disabled={recording}- >- {getIcon("folder", "text-white/60")}- </button>- </Tooltip>+ {isLanguageMenuOpen && (+ <div+ className={`absolute bottom-[calc(100%+8px)] right-0 z-50 w-36 min-w-0 rounded-md border border-white/15 bg-[rgba(24,24,34,0.98)] p-1 text-white shadow-2xl backdrop-blur-xl ${styles.electronNoDrag}`}+ >+ {SUPPORTED_LOCALES.map((loc) => (+ <button+ type="button"+ key={loc}+ onClick={() => {+ setLocale(loc);+ setIsLanguageMenuOpen(false);+ }}+ className={`flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-left text-[11px] transition-colors hover:bg-white/10 ${loc === locale ? "text-white" : "text-white/90"} ${styles.electronNoDrag}`}+ >+ <span className="inline-block w-3 text-[11px] text-white/85">+ {loc === locale ? "\u2713" : ""}+ </span>+ <span>{getLocaleName(loc)}</span>+ </button>+ ))}+ </div>+ )}+ </div>- {/* Window controls */}- <div className={`flex items-center gap-0.5 ${styles.electronNoDrag}`}>- <button- className={windowBtnClasses}- title={t("tooltips.hideHUD")}- onClick={sendHudOverlayHide}- >- {getIcon("minimize", "text-white")}- </button>- <button- className={windowBtnClasses}- title={t("tooltips.closeApp")}- onClick={sendHudOverlayClose}- >- {getIcon("close", "text-white")}- </button>+ {/* Window controls */}+ <div className="flex items-center gap-0.5">+ <button+ className={windowBtnClasses}+ title={t("tooltips.hideHUD")}+ onClick={sendHudOverlayHide}+ >+ {getIcon("minimize", "text-white")}+ </button>+ <button+ className={windowBtnClasses}+ title={t("tooltips.closeApp")}+ onClick={sendHudOverlayClose}+ >+ {getIcon("close", "text-white")}+ </button>+ </div></div></div></div>diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsxindex 53e21e620..3326ee91b 100644--- a/src/components/ui/select.tsx+++ b/src/components/ui/select.tsx@@ -62,34 +62,50 @@ SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayNamconst SelectContent = React.forwardRef<React.ElementRef<typeof SelectPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>->(({ className, children, position = "popper", ...props }, ref) => (- <SelectPrimitive.Portal>- <SelectPrimitive.Content- ref={ref}- className={cn(- "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",- position === "popper" &&- "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",- className,- )}- position={position}- {...props}- >- <SelectScrollUpButton />- <SelectPrimitive.Viewport+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> & {+ showScrollButtons?: boolean;+ viewportClassName?: string;+ }+>(+ (+ {+ className,+ children,+ position = "popper",+ showScrollButtons = true,+ viewportClassName,+ ...props+ },+ ref,+ ) => (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ ref={ref}className={cn(- "p-1",+ "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",position === "popper" &&- "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]",+ "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1",+ className,)}+ position={position}+ {...props}>- {children}- </SelectPrimitive.Viewport>- <SelectScrollDownButton />- </SelectPrimitive.Content>- </SelectPrimitive.Portal>-));+ {showScrollButtons ? <SelectScrollUpButton /> : null}+ <SelectPrimitive.Viewport+ className={cn(+ "p-1",+ position === "popper" &&+ "max-h-[var(--radix-select-content-available-height)] w-full min-w-[var(--radix-select-trigger-width)]",+ viewportClassName,+ )}+ >+ {children}+ </SelectPrimitive.Viewport>+ {showScrollButtons ? <SelectScrollDownButton /> : null}+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+ ),+);SelectContent.displayName = SelectPrimitive.Content.displayName;const SelectLabel = React.forwardRef<diff --git a/src/contexts/I18nContext.tsx b/src/contexts/I18nContext.tsxindex 0b752126f..405d5c381 100644--- a/src/contexts/I18nContext.tsx+++ b/src/contexts/I18nContext.tsx@@ -22,8 +22,13 @@ interface I18nContextValue {locale: Locale;setLocale: (locale: Locale) => void;t: (qualifiedKey: string, vars?: TranslateVars) => string;+ systemLocaleSuggestion: Locale | null;+ acceptSystemLocaleSuggestion: () => void;+ dismissSystemLocaleSuggestion: () => void;}+const SYSTEM_LANGUAGE_PROMPT_SEEN_KEY = "openscreen-system-language-prompt-seen";+const I18nContext = createContext<I18nContextValue | null>(null);export function useI18n(): I18nContextValue {@@ -44,6 +49,35 @@ function isSupportedLocale(value: string): value is Locale {return (SUPPORTED_LOCALES as readonly string[]).includes(value);}+function getSupportedSystemLocale(): Locale | null {+ if (typeof navigator === "undefined") return null;++ const candidates =+ Array.isArray(navigator.languages) && navigator.languages.length > 0+ ? navigator.languages+ : [navigator.language];++ for (const candidate of candidates) {+ if (!candidate) continue;+ if (isSupportedLocale(candidate)) return candidate;++ const exactMatch = SUPPORTED_LOCALES.find(+ (locale) => locale.toLowerCase() === candidate.toLowerCase(),+ );+ if (exactMatch) return exactMatch;++ const baseLanguage = candidate.split("-")[0]?.toLowerCase();+ if (!baseLanguage) continue;++ if (baseLanguage === "zh") return "zh-CN";++ const baseMatch = SUPPORTED_LOCALES.find((locale) => locale.toLowerCase() === baseLanguage);+ if (baseMatch) return baseMatch;+ }++ return null;+}+function getInitialLocale(): Locale {try {const stored = localStorage.getItem(LOCALE_STORAGE_KEY);@@ -56,6 +90,15 @@ function getInitialLocale(): Locale {export function I18nProvider({ children }: { children: ReactNode }) {const [locale, setLocaleState] = useState<Locale>(getInitialLocale);+ const [systemLocaleSuggestion, setSystemLocaleSuggestion] = useState<Locale | null>(null);++ const markPromptAsHandled = useCallback(() => {+ try {+ localStorage.setItem(SYSTEM_LANGUAGE_PROMPT_SEEN_KEY, "1");+ } catch {+ // localStorage may be unavailable+ }+ }, []);const setLocale = useCallback((newLocale: Locale) => {setLocaleState(newLocale);@@ -73,6 +116,46 @@ export function I18nProvider({ children }: { children: ReactNode }) {document.documentElement.lang = locale;}, [locale]);+ useEffect(() => {+ let hasStoredLocale = false;+ let hasHandledSystemPrompt = false;+ try {+ const stored = localStorage.getItem(LOCALE_STORAGE_KEY);+ hasStoredLocale = Boolean(stored && isSupportedLocale(stored));+ hasHandledSystemPrompt = localStorage.getItem(SYSTEM_LANGUAGE_PROMPT_SEEN_KEY) === "1";+ } catch {+ // localStorage may be unavailable+ }++ if (hasStoredLocale || hasHandledSystemPrompt || systemLocaleSuggestion) return;++ const detectedSystemLocale = getSupportedSystemLocale();+ if (!detectedSystemLocale || detectedSystemLocale === DEFAULT_LOCALE) {+ markPromptAsHandled();+ return;+ }++ setSystemLocaleSuggestion(detectedSystemLocale);+ }, [markPromptAsHandled, systemLocaleSuggestion]);++ const acceptSystemLocaleSuggestion = useCallback(() => {+ if (!systemLocaleSuggestion) return;+ setLocale(systemLocaleSuggestion);+ setSystemLocaleSuggestion(null);+ markPromptAsHandled();+ }, [markPromptAsHandled, setLocale, systemLocaleSuggestion]);++ const dismissSystemLocaleSuggestion = useCallback(() => {+ setSystemLocaleSuggestion(null);+ try {+ // Persisting default locale avoids showing this prompt again.+ localStorage.setItem(LOCALE_STORAGE_KEY, DEFAULT_LOCALE);+ } catch {+ // localStorage may be unavailable+ }+ markPromptAsHandled();+ }, [markPromptAsHandled]);+const t = useCallback((qualifiedKey: string, vars?: TranslateVars): string => {const dotIndex = qualifiedKey.indexOf(".");@@ -84,7 +167,24 @@ export function I18nProvider({ children }: { children: ReactNode }) {[locale],);- const value = useMemo<I18nContextValue>(() => ({ locale, setLocale, t }), [locale, setLocale, t]);+ const value = useMemo<I18nContextValue>(+ () => ({+ locale,+ setLocale,+ t,+ systemLocaleSuggestion,+ acceptSystemLocaleSuggestion,+ dismissSystemLocaleSuggestion,+ }),+ [+ locale,+ setLocale,+ t,+ systemLocaleSuggestion,+ acceptSystemLocaleSuggestion,+ dismissSystemLocaleSuggestion,+ ],+ );return <I18nContext.Provider value={value}>{children}</I18nContext.Provider>;}diff --git a/src/i18n/locales/en/launch.json b/src/i18n/locales/en/launch.jsonindex cf111c437..e959a5478 100644--- a/src/i18n/locales/en/launch.json+++ b/src/i18n/locales/en/launch.json@@ -33,5 +33,11 @@"recording": {"selectSource": "Please select a source to record"},- "language": "Language"+ "language": "Language",+ "systemLanguagePrompt": {+ "title": "Use your system language?",+ "description": "We detected {{language}} as your system language. Do you want to switch OpenScreen to {{language}}?",+ "switch": "Switch to {{language}}",+ "keepDefault": "Keep current language"+ }}diff --git a/src/i18n/locales/es/launch.json b/src/i18n/locales/es/launch.jsonindex f47bc8197..68919aac2 100644--- a/src/i18n/locales/es/launch.json+++ b/src/i18n/locales/es/launch.json@@ -33,5 +33,11 @@"recording": {"selectSource": "Por favor selecciona una fuente para grabar"},- "language": "Idioma"+ "language": "Idioma",+ "systemLanguagePrompt": {+ "title": "¿Usar el idioma del sistema?",+ "description": "Detectamos {{language}} como idioma de tu sistema. ¿Quieres cambiar OpenScreen a {{language}}?",+ "switch": "Cambiar a {{language}}",+ "keepDefault": "Mantener idioma actual"+ }}diff --git a/src/i18n/locales/zh-CN/launch.json b/src/i18n/locales/zh-CN/launch.jsonindex 6b63df190..a5c2a9d07 100644--- a/src/i18n/locales/zh-CN/launch.json+++ b/src/i18n/locales/zh-CN/launch.json@@ -33,5 +33,11 @@"recording": {"selectSource": "请选择要录制的源"},- "language": "语言"+ "language": "语言",+ "systemLanguagePrompt": {+ "title": "使用系统语言吗?",+ "description": "我们检测到你的系统语言是{{language}}。是否将 OpenScreen 切换为{{language}}?",+ "switch": "切换到{{language}}",+ "keepDefault": "保持当前语言"+ }}