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
Merge remote-tracking branch 'origin/main' into feature/video-transcriptions
Siddharth0ab085961fae
diff --cc src/components/video-editor/VideoEditor.tsxindex 20a801664,05034632e..ec46d8582--- a/src/components/video-editor/VideoEditor.tsx+++ b/src/components/video-editor/VideoEditor.tsx@@@ -26,17 -16,10 +26,19 @@@ import { useShortcuts } from "@/contextimport { INITIAL_EDITOR_STATE, useEditorHistory } from "@/hooks/useEditorHistory";import { type Locale } from "@/i18n/config";import { getAvailableLocales, getLocaleName } from "@/i18n/loader";+import {+ captionSegmentsToAnnotationRegions,+ extractMono16kFromVideoUrl,+ MAX_CAPTION_AUDIO_SEC,+ reconcileAutoCaptionTimelineGaps,+ shiftTrimRegionsMsForCaptionBuffer,+ transcribeMono16kToSegments,+ trimLeadingSilenceMono16k,+} from "@/lib/captioning";import { hasNativeCursorRecordingData } from "@/lib/cursor/nativeCursor";import {+ calculateEffectiveSourceDimensions,+ calculateMp4ExportSettings,calculateOutputDimensions,type ExportFormat,type ExportProgress,diff --cc src/i18n/locales/ar/editor.jsonindex de48f2614,b3e122280..39750e5eb--- a/src/i18n/locales/ar/editor.json+++ b/src/i18n/locales/ar/editor.json@@@ -40,25 -41,22 +41,41 @@@"cameraDenied": "تم رفض الوصول إلى الكاميرا. سيستمر التسجيل بدون كاميرا الويب.","cameraDisconnected": "تم فصل كاميرا الويب.","cameraNotFound": "لم يتم العثور على كاميرا.",- "permissionDenied": "تم رفض إذن التسجيل. يرجى السماح بتسجيل الشاشة."+ "permissionDenied": "تم رفض إذن التسجيل. يرجى السماح بتسجيل الشاشة.",+ "accessibilityAllowAndRetry": "اسمح بوصول تسهيلات الاستخدام لـ OpenScreen، ثم اضغط على التسجيل مرة أخرى لبدء العد التنازلي."},+ "autoCaptions": {+ "button": "التسميات التوضيحية التلقائية",+ "dialogTitle": "التسميات التوضيحية التلقائية",+ "dialogDescription": "اختر تقريبا كم عدد الكلمات التي تظهر في كل تسمية توضيحية. يتم توزيع التوقيت عبر الكلمات في تلك العبارة.",+ "minWords": "الحد الأدنى من الكلمات لكل تسمية",+ "maxWords": "الحد الأقصى من الكلمات لكل تسمية",+ "wordsCount": "{{count}} كلمة",+ "generate": "توليد",+ "dialogCancel": "إلغاء",+ "generating": "جارٍ توليد التسميات من الصوت…",+ "loadingModel": "جارٍ تحميل نموذج الكلام (سيتم تنزيل ~75 ميغابايت عند الاستخدام الأول)…",+ "transcribing": "جارٍ نسخ الكلام إلى نص…",+ "busy": "توليد التسميات قيد التنفيذ بالفعل.",+ "done": "تمت إضافة {{count}} تسمية.",+ "noneHeard": "لم يتم الكشف عن أي كلام.",+ "noAudio": "لا يحتوي هذا الفيديو على صوت صالح للنسخ.",+ "failed": "تعذّر توليد التسميات.",+ "truncated": "تم نسخ الدقائق الأولى فقط: {{minutes}} دقيقة."++ },+ "emptyState": {+ "title": "لا يوجد مشروع مفتوح",+ "description": "استورد مقطع فيديو للبدء في التحرير، أو حمّل مشروع OpenScreen موجود.",+ "importVideoButton": "استيراد ملف فيديو...",+ "loadProjectButton": "تحميل مشروع...",+ "supportedFormats": "الصيغ المدعومة: MP4، MOV، WebM، MKV، AVI، M4V، WMV",+ "dragDropHint": "أو اسحب وأفلت ملف مشروع .openscreen هنا",+ "dropOverlay": "أفلت ملف المشروع لفتحه",+ "dropErrors": {+ "unsupportedFormatTitle": "تنسيق غير مدعوم",+ "unsupportedFormatMessage": "يمكن إسقاط ملفات مشروع .openscreen فقط هنا. لاستيراد مقطع فيديو، استخدم زر \"استيراد ملف فيديو...\" بدلاً من ذلك.",+ "couldNotOpenTitle": "تعذّر فتح الملف",+ "couldNotOpenMessage": "تعذّر فتح ملف المشروع. ربما تم نقل الفيديو المرجعي أو حذفه."+ }}}diff --cc src/i18n/locales/en/editor.jsonindex 0473efa4b,ebd9a5d5f..d6a56f033--- a/src/i18n/locales/en/editor.json+++ b/src/i18n/locales/en/editor.json@@@ -40,25 -41,22 +41,41 @@@"cameraDenied": "Camera access denied. Recording will continue without webcam.","cameraDisconnected": "Webcam disconnected.","cameraNotFound": "Camera not found.",- "permissionDenied": "Recording permission denied. Please allow screen recording."+ "permissionDenied": "Recording permission denied. Please allow screen recording.",+ "accessibilityAllowAndRetry": "Allow Accessibility access for OpenScreen, then press record again to start the countdown."},+ "autoCaptions": {+ "button": "Auto captions",+ "dialogTitle": "Auto captions",+ "dialogDescription": "Choose roughly how many words each caption shows at once. Timing is spread across the words in that phrase.",+ "minWords": "Minimum words per caption",+ "maxWords": "Maximum words per caption",+ "wordsCount": "{{count}} words",+ "generate": "Generate",+ "dialogCancel": "Cancel",+ "generating": "Generating captions from audio…",+ "loadingModel": "Loading speech model (first use downloads ~75 MB)…",+ "transcribing": "Transcribing speech…",+ "busy": "Caption generation is already in progress.",+ "done": "Added {{count}} captions.",+ "noneHeard": "No speech was detected.",+ "noAudio": "This video has no usable audio to transcribe.",+ "failed": "Could not generate captions.",+ "truncated": "Only the first {{minutes}} minutes were transcribed."++ },+ "emptyState": {+ "title": "No project open",+ "description": "Import a video to start editing, or load an existing OpenScreen project.",+ "importVideoButton": "Import Video File…",+ "loadProjectButton": "Load Project…",+ "supportedFormats": "Supported formats: MP4, MOV, WebM, MKV, AVI, M4V, WMV",+ "dragDropHint": "or drag & drop a .openscreen project file here",+ "dropOverlay": "Drop project file to open",+ "dropErrors": {+ "unsupportedFormatTitle": "Unsupported Format",+ "unsupportedFormatMessage": "Only .openscreen project files can be dropped here. To import a video file, use the \"Import Video File…\" button on this screen.",+ "couldNotOpenTitle": "Could Not Open File",+ "couldNotOpenMessage": "The project file could not be opened. The video it references may have been moved or deleted."+ }}}diff --cc src/i18n/locales/es/editor.jsonindex c5a75b1a1,16a2c8547..277ce40ff--- a/src/i18n/locales/es/editor.json+++ b/src/i18n/locales/es/editor.json@@@ -42,23 -44,19 +44,38 @@@"cancel": "Cancelar","confirm": "Confirmar"},+ "autoCaptions": {+ "button": "Subtítulos automáticos",+ "dialogTitle": "Subtítulos automáticos",+ "dialogDescription": "Elige aproximadamente cuántas palabras muestra cada subtítulo a la vez. El tiempo se reparte entre las palabras de esa frase.",+ "minWords": "Número mínimo de palabras por subtítulo",+ "maxWords": "Número máximo de palabras por subtítulo",+ "wordsCount": "{{count}} palabras",+ "generate": "Generar",+ "dialogCancel": "Cancelar",+ "generating": "Generando subtítulos a partir del audio…",+ "loadingModel": "Cargando el modelo de voz (el primer uso descarga ~75 MB)…",+ "transcribing": "Transcribiendo el habla…",+ "busy": "La generación de subtítulos ya está en curso.",+ "done": "Se añadieron {{count}} subtítulos.",+ "noneHeard": "No se detectó voz.",+ "noAudio": "Este video no tiene audio utilizable para transcribir.",+ "failed": "No se pudieron generar los subtítulos.",+ "truncated": "Solo se transcribieron los primeros {{minutes}} minutos."++ },+ "emptyState": {+ "title": "No hay proyecto abierto",+ "description": "Importa un video para empezar a editar o carga un proyecto de OpenScreen existente.",+ "importVideoButton": "Importar archivo de video…",+ "loadProjectButton": "Cargar proyecto…",+ "supportedFormats": "Formatos compatibles: MP4, MOV, WebM, MKV, AVI, M4V, WMV",+ "dragDropHint": "o arrastra y suelta un archivo .openscreen aquí",+ "dropOverlay": "Suelta el archivo de proyecto para abrirlo",+ "dropErrors": {+ "unsupportedFormatTitle": "Formato no compatible",+ "unsupportedFormatMessage": "Solo se pueden soltar aquí archivos de proyecto .openscreen. Para importar un video, usa el botón \"Importar archivo de video...\" en su lugar.",+ "couldNotOpenTitle": "No se pudo abrir el archivo",+ "couldNotOpenMessage": "No se pudo abrir el archivo de proyecto. El video al que hace referencia puede haber sido movido o eliminado."+ }}}diff --cc src/i18n/locales/fr/editor.jsonindex 8a5506f5f,4eb57a9cc..40dc24fd7--- a/src/i18n/locales/fr/editor.json+++ b/src/i18n/locales/fr/editor.json@@@ -39,26 -39,24 +39,43 @@@"cameraDenied": "Accès à la caméra refusé. L'enregistrement continuera sans webcam.","cameraDisconnected": "Webcam déconnectée.","cameraNotFound": "Caméra introuvable.",- "permissionDenied": "Permission d'enregistrement refusée. Veuillez autoriser l'enregistrement d'écran."+ "permissionDenied": "Permission d'enregistrement refusée. Veuillez autoriser l'enregistrement d'écran.",+ "accessibilityAllowAndRetry": "Autorisez l'accès Accessibilité pour OpenScreen, puis appuyez de nouveau sur enregistrer pour lancer le compte à rebours."},"loadingVideo": "Chargement de la vidéo...",+ "loadingEditor": "Chargement de l'éditeur...",+ "autoCaptions": {+ "button": "Sous-titres automatiques",+ "dialogTitle": "Sous-titres automatiques",+ "dialogDescription": "Choisissez approximativement combien de mots chaque sous-titre affiche à la fois. Le timing est réparti entre les mots de cette phrase.",+ "minWords": "Nombre minimum de mots par sous-titre",+ "maxWords": "Nombre maximum de mots par sous-titre",+ "wordsCount": "{{count}} mots",+ "generate": "Générer",+ "dialogCancel": "Annuler",+ "generating": "Génération des sous-titres à partir de l'audio…",+ "loadingModel": "Chargement du modèle vocal (le premier usage télécharge ~75 MB)…",+ "transcribing": "Transcription de la parole…",+ "busy": "La génération des sous-titres est déjà en cours.",+ "done": "{{count}} sous-titres ajoutés.",+ "noneHeard": "Aucune parole n'a été détectée.",+ "noAudio": "Cette vidéo ne contient pas d'audio exploitable pour la transcription.",+ "failed": "Impossible de générer les sous-titres.",+ "truncated": "Seules les {{minutes}} premières minutes ont été transcrites."++ },+ "emptyState": {+ "title": "Aucun projet ouvert",+ "description": "Importez une vidéo pour commencer à éditer, ou chargez un projet OpenScreen existant.",+ "importVideoButton": "Importer un fichier vidéo…",+ "loadProjectButton": "Charger un projet…",+ "supportedFormats": "Formats pris en charge : MP4, MOV, WebM, MKV, AVI, M4V, WMV",+ "dragDropHint": "ou glissez-déposez un fichier .openscreen ici",+ "dropOverlay": "Déposez le fichier de projet pour l'ouvrir",+ "dropErrors": {+ "unsupportedFormatTitle": "Format non pris en charge",+ "unsupportedFormatMessage": "Seuls les fichiers .openscreen peuvent être déposés ici. Pour importer une vidéo, utilisez plutôt le bouton \"Importer un fichier vidéo...\".",+ "couldNotOpenTitle": "Impossible d'ouvrir le fichier",+ "couldNotOpenMessage": "Le fichier de projet n'a pas pu être ouvert. La vidéo qu'il référence a peut-être été déplacée ou supprimée."+ }}}diff --cc src/i18n/locales/ja-JP/editor.jsonindex 30c83e9cc,5151d1054..8e0da42e1--- a/src/i18n/locales/ja-JP/editor.json+++ b/src/i18n/locales/ja-JP/editor.json@@@ -40,25 -41,22 +41,41 @@@"cameraDenied": "カメラのアクセスが拒否されました。ウェブカメラなしで録画を続行します。","permissionDenied": "録画の権限が拒否されました。画面録画を許可してください。","cameraDisconnected": "ウェブカメラが切断されました。",- "cameraNotFound": "カメラが見つかりません。"+ "cameraNotFound": "カメラが見つかりません。",+ "accessibilityAllowAndRetry": "OpenScreenにアクセシビリティアクセスを許可してから、もう一度録画を押してカウントダウンを開始してください。"},+ "autoCaptions": {+ "button": "自動キャプション",+ "dialogTitle": "自動キャプション",+ "dialogDescription": "各キャプションに一度に表示する語数の目安を選びます。タイミングはそのフレーズ内の語に分配されます。",+ "minWords": "キャプションあたりの最小語数",+ "maxWords": "キャプションあたりの最大語数",+ "wordsCount": "{{count}} 語",+ "generate": "生成",+ "dialogCancel": "キャンセル",+ "generating": "音声からキャプションを生成しています…",+ "loadingModel": "音声モデルを読み込んでいます(初回利用時は約 75 MB をダウンロードします)…",+ "transcribing": "音声を文字起こししています…",+ "busy": "キャプションの生成はすでに実行中です。",+ "done": "{{count}} 件のキャプションを追加しました。",+ "noneHeard": "音声が検出されませんでした。",+ "noAudio": "この動画には書き起こしに使える音声がありません。",+ "failed": "キャプションを生成できませんでした。",+ "truncated": "最初の {{minutes}} 分のみが書き起こされました。"++ },+ "emptyState": {+ "title": "プロジェクトが開かれていません",+ "description": "動画をインポートして編集を開始するか、既存の OpenScreen プロジェクトを読み込んでください。",+ "importVideoButton": "動画ファイルをインポート…",+ "loadProjectButton": "プロジェクトを読み込む…",+ "supportedFormats": "対応フォーマット:MP4、MOV、WebM、MKV、AVI、M4V、WMV",+ "dragDropHint": ".openscreen プロジェクトファイルをここにドラッグ&ドロップ",+ "dropOverlay": "プロジェクトファイルをドロップして開く",+ "dropErrors": {+ "unsupportedFormatTitle": "非対応フォーマット",+ "unsupportedFormatMessage": "ここにドロップできるのは .openscreen プロジェクトファイルのみです。動画をインポートするには「動画ファイルをインポート...」ボタンをご使用ください。",+ "couldNotOpenTitle": "ファイルを開けませんでした",+ "couldNotOpenMessage": "プロジェクトファイルを開けませんでした。参照している動画が移動または削除された可能性があります。"+ }}}diff --cc src/i18n/locales/ko-KR/editor.jsonindex e429d1b6d,23990c386..a63a22a57--- a/src/i18n/locales/ko-KR/editor.json+++ b/src/i18n/locales/ko-KR/editor.json@@@ -40,25 -41,22 +41,41 @@@"cameraDenied": "카메라 접근이 거부되었습니다. 웹캠 없이 녹화를 계속합니다.","permissionDenied": "녹화 권한이 거부되었습니다. 화면 녹화를 허용해 주세요.","cameraDisconnected": "웹캠 연결이 끊어졌습니다.",- "cameraNotFound": "카메라를 찾을 수 없습니다."+ "cameraNotFound": "카메라를 찾을 수 없습니다.",+ "accessibilityAllowAndRetry": "OpenScreen의 손쉬운 사용 접근을 허용한 다음, 카운트다운을 시작하려면 다시 녹화를 누르세요."},+ "autoCaptions": {+ "button": "자동 자막",+ "dialogTitle": "자동 자막",+ "dialogDescription": "각 자막에 한 번에 표시할 단어 수의 대략적인 값을 선택하세요. 타이밍은 해당 구문의 단어들에 나뉩니다.",+ "minWords": "자막당 최소 단어 수",+ "maxWords": "자막당 최대 단어 수",+ "wordsCount": "{{count}}개 단어",+ "generate": "생성",+ "dialogCancel": "취소",+ "generating": "오디오에서 자막을 생성하는 중…",+ "loadingModel": "음성 모델을 불러오는 중(첫 사용 시 약 75MB 다운로드)…",+ "transcribing": "음성을 전사하는 중…",+ "busy": "자막 생성이 이미 진행 중입니다.",+ "done": "자막 {{count}}개를 추가했습니다.",+ "noneHeard": "음성이 감지되지 않았습니다.",+ "noAudio": "이 동영상에는 전사에 사용할 수 있는 음성이 없습니다.",+ "failed": "자막을 생성할 수 없습니다.",+ "truncated": "처음 {{minutes}}분만 전사되었습니다."++ },+ "emptyState": {+ "title": "열린 프로젝트 없음",+ "description": "동영상을 가져와 편집을 시작하거나 기존 OpenScreen 프로젝트를 불러오세요.",+ "importVideoButton": "동영상 파일 가져오기…",+ "loadProjectButton": "프로젝트 불러오기…",+ "supportedFormats": "지원 형식: MP4, MOV, WebM, MKV, AVI, M4V, WMV",+ "dragDropHint": ".openscreen 프로젝트 파일을 여기에 드래그 앤 드롭",+ "dropOverlay": "프로젝트 파일을 드롭하여 열기",+ "dropErrors": {+ "unsupportedFormatTitle": "지원되지 않는 형식",+ "unsupportedFormatMessage": ".openscreen 프로젝트 파일만 여기에 드롭할 수 있습니다. 동영상을 가져오려면 \"동영상 파일 가져오기...\" 버튼을 사용하세요.",+ "couldNotOpenTitle": "파일을 열 수 없음",+ "couldNotOpenMessage": "프로젝트 파일을 열 수 없습니다. 참조된 동영상이 이동되었거나 삭제되었을 수 있습니다."+ }}}diff --cc src/i18n/locales/tr/editor.jsonindex 475bbd3e5,de45a180f..89203e719--- a/src/i18n/locales/tr/editor.json+++ b/src/i18n/locales/tr/editor.json@@@ -42,23 -44,19 +44,38 @@@"cancel": "İptal","confirm": "Onayla"},+ "autoCaptions": {+ "button": "Otomatik altyazılar",+ "dialogTitle": "Otomatik altyazılar",+ "dialogDescription": "Her altyazının aynı anda yaklaşık kaç kelime göstermesini istediğinizi seçin. Zamanlama, o ifadedeki kelimelere dağıtılır.",+ "minWords": "Altyazı başına en az kelime",+ "maxWords": "Altyazı başına en fazla kelime",+ "wordsCount": "{{count}} kelime",+ "generate": "Oluştur",+ "dialogCancel": "İptal",+ "generating": "Sesten altyazılar oluşturuluyor…",+ "loadingModel": "Konuşma modeli yükleniyor (ilk kullanımda ~75 MB indirilir)…",+ "transcribing": "Konuşma yazıya dökülüyor…",+ "busy": "Altyazı oluşturma zaten devam ediyor.",+ "done": "{{count}} altyazı eklendi.",+ "noneHeard": "Konuşma algılanmadı.",+ "noAudio": "Bu videoda yazıya dökülebilecek kullanılabilir bir ses yok.",+ "failed": "Altyazılar oluşturulamadı.",+ "truncated": "Yalnızca ilk {{minutes}} dakika yazıya döküldü."++ },+ "emptyState": {+ "title": "Açık proje yok",+ "description": "Düzenlemeye başlamak için bir video içe aktarın veya mevcut bir OpenScreen projesi yükleyin.",+ "importVideoButton": "Video Dosyası İçe Aktar…",+ "loadProjectButton": "Proje Yükle…",+ "supportedFormats": "Desteklenen formatlar: MP4, MOV, WebM, MKV, AVI, M4V, WMV",+ "dragDropHint": "veya bir .openscreen proje dosyasını buraya sürükleyip bırakın",+ "dropOverlay": "Açmak için proje dosyasını bırakın",+ "dropErrors": {+ "unsupportedFormatTitle": "Desteklenmeyen Format",+ "unsupportedFormatMessage": "Buraya yalnızca .openscreen proje dosyaları bırakılabilir. Video içe aktarmak için \"Video Dosyası İçe Aktar...\" düğmesini kullanın.",+ "couldNotOpenTitle": "Dosya Açılamadı",+ "couldNotOpenMessage": "Proje dosyası açılamadı. Başvurulan video taşınmış veya silinmiş olabilir."+ }}}diff --cc src/i18n/locales/zh-CN/editor.jsonindex 2b6b57425,d11f1dd95..58f6ae27b--- a/src/i18n/locales/zh-CN/editor.json+++ b/src/i18n/locales/zh-CN/editor.json@@@ -40,25 -41,22 +41,41 @@@"cameraDenied": "摄像头权限被拒绝。录制将继续,但不包含摄像头画面。","cameraDisconnected": "摄像头已断开连接。","cameraNotFound": "未找到摄像头。",- "permissionDenied": "录屏权限被拒绝。请允许屏幕录制。"+ "permissionDenied": "录屏权限被拒绝。请允许屏幕录制。",+ "accessibilityAllowAndRetry": "允许 OpenScreen 使用辅助功能权限,然后再次按录制以开始倒计时。"},+ "autoCaptions": {+ "button": "自动字幕",+ "dialogTitle": "自动字幕",+ "dialogDescription": "大致选择每条字幕一次显示多少个字词。时间会在该语句内的字词之间分配。",+ "minWords": "每条字幕的最少字数",+ "maxWords": "每条字幕的最多字数",+ "wordsCount": "{{count}} 个词",+ "generate": "生成",+ "dialogCancel": "取消",+ "generating": "正在从音频生成字幕…",+ "loadingModel": "正在加载语音模型(首次使用将下载约 75 MB)…",+ "transcribing": "正在转写语音…",+ "busy": "字幕生成已在进行中。",+ "done": "已添加 {{count}} 条字幕。",+ "noneHeard": "未检测到语音。",+ "noAudio": "此视频没有可用于转写的音频。",+ "failed": "无法生成字幕。",+ "truncated": "仅转写了最前 {{minutes}} 分钟。"++ },+ "emptyState": {+ "title": "未打开任何项目",+ "description": "导入视频开始编辑,或加载已有的 OpenScreen 项目。",+ "importVideoButton": "导入视频文件…",+ "loadProjectButton": "加载项目…",+ "supportedFormats": "支持的格式:MP4、MOV、WebM、MKV、AVI、M4V、WMV",+ "dragDropHint": "或将 .openscreen 项目文件拖放到此处",+ "dropOverlay": "将项目文件拖放至此以打开",+ "dropErrors": {+ "unsupportedFormatTitle": "不支持的格式",+ "unsupportedFormatMessage": "此处只能拖放 .openscreen 项目文件。要导入视频,请使用\"导入视频文件...\"按钮。",+ "couldNotOpenTitle": "无法打开文件",+ "couldNotOpenMessage": "无法打开项目文件。它引用的视频可能已被移动或删除。"+ }}}diff --cc src/i18n/locales/zh-TW/editor.jsonindex dcc4dce56,131518713..8a6485409--- a/src/i18n/locales/zh-TW/editor.json+++ b/src/i18n/locales/zh-TW/editor.json@@@ -40,25 -41,22 +41,41 @@@"cameraDenied": "攝影機權限被拒絕。錄製將繼續,但不包含攝影機畫面。","permissionDenied": "錄影權限被拒絕。請允許螢幕錄製。","cameraDisconnected": "網路攝影機已中斷連線。",- "cameraNotFound": "找不到攝影機。"+ "cameraNotFound": "找不到攝影機。",+ "accessibilityAllowAndRetry": "允許 OpenScreen 使用輔助使用權限,然後再次按下錄製以開始倒數。"},+ "autoCaptions": {+ "button": "自動字幕",+ "dialogTitle": "自動字幕",+ "dialogDescription": "大致選擇每條字幕一次顯示多少字詞。時間會在該語句內的字詞之間分配。",+ "minWords": "每條字幕的最少字數",+ "maxWords": "每條字幕的最多字數",+ "wordsCount": "{{count}} 個詞",+ "generate": "產生",+ "dialogCancel": "取消",+ "generating": "正在從音訊產生字幕…",+ "loadingModel": "正在載入語音模型(首次使用將下載約 75 MB)…",+ "transcribing": "正在轉錄語音…",+ "busy": "字幕產生已在進行中。",+ "done": "已新增 {{count}} 條字幕。",+ "noneHeard": "未偵測到語音。",+ "noAudio": "此影片沒有可用於轉寫的音訊。",+ "failed": "無法產生字幕。",+ "truncated": "僅轉寫了最前 {{minutes}} 分鐘。"++ },+ "emptyState": {+ "title": "未開啟任何專案",+ "description": "匯入影片以開始編輯,或載入現有的 OpenScreen 專案。",+ "importVideoButton": "匯入影片檔案…",+ "loadProjectButton": "載入專案…",+ "supportedFormats": "支援的格式:MP4、MOV、WebM、MKV、AVI、M4V、WMV",+ "dragDropHint": "或將 .openscreen 專案檔案拖放至此",+ "dropOverlay": "將專案檔案拖放至此以開啟",+ "dropErrors": {+ "unsupportedFormatTitle": "不支援的格式",+ "unsupportedFormatMessage": "此處只能拖放 .openscreen 專案檔案。要匯入影片,請使用「匯入影片檔案...」按鈕。",+ "couldNotOpenTitle": "無法開啟檔案",+ "couldNotOpenMessage": "無法開啟專案檔案。它所參照的影片可能已被移動或刪除。"+ }}}