Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

feat(editor): fold audio import into the single "Import media" button

Benjamin Freemanb223380085ea
diff --git a/electron/electron-env.d.ts b/electron/electron-env.d.ts
index 831e1a790..0ebae938a 100644
--- a/electron/electron-env.d.ts
+++ b/electron/electron-env.d.ts
@@ -281,22 +281,17 @@ interface Window {
message?: string;
error?: string;
}>;
+ // "Import media" — video or audio (issue #350). `kind` says which was picked
+ // so the caller routes an audio file to an audio asset+track.
openVideoFilePicker: () => Promise<{
success: boolean;
path?: string;
+ kind?: "video" | "audio";
// Browser-mode shim only: a blob: URL has no meaningful basename, so
// the shim carries the picked File's real name here for the label.
name?: string;
canceled?: boolean;
}>;
- // Import an external audio file (voiceover / BGM / SFX) — issue #350.
- openAudioFilePicker: () => Promise<{
- success: boolean;
- path?: string;
- name?: string;
- canceled?: boolean;
- message?: string;
- }>;
setCurrentVideoPath: (path: string) => Promise<{ success: boolean }>;
setCurrentRecordingSession: (
session: import("../src/lib/recordingSession").RecordingSession | null,
diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.ts
index 52d38db10..3e5abf4f7 100644
--- a/electron/ipc/handlers.ts
+++ b/electron/ipc/handlers.ts
@@ -3626,6 +3626,10 @@ export function registerIpcHandlers(
}
});
+ // "Import media" (issue #350): one picker for video AND audio. It offers both
+ // extension sets and approves whichever the pick is, returning `kind` so the
+ // renderer routes an audio file to an audio asset+track and a video file to a
+ // clip. Keeps its historical name so every existing caller keeps working.
ipcMain.handle("open-video-file-picker", async () => {
try {
const dialogOptions = buildDialogOptions(
@@ -3633,55 +3637,31 @@ export function registerIpcHandlers(
title: mainT("dialogs", "fileDialogs.selectVideo"),
defaultPath: RECORDINGS_DIR,
filters: [
+ {
+ name: mainT("dialogs", "fileDialogs.mediaFiles"),
+ extensions: [
+ "webm",
+ "mp4",
+ "mov",
+ "avi",
+ "mkv",
+ "m4v",
+ "wmv",
+ "flv",
+ "ts",
+ "mp3",
+ "wav",
+ "m4a",
+ "aac",
+ "flac",
+ "ogg",
+ "opus",
+ ],
+ },
{
name: mainT("dialogs", "fileDialogs.videoFiles"),
extensions: ["webm", "mp4", "mov", "avi", "mkv", "m4v", "wmv", "flv", "ts"],
},
- { name: mainT("dialogs", "fileDialogs.allFiles"), extensions: ["*"] },
- ],
- properties: ["openFile"],
- },
- getMainWindow(),
- );
- const result = await dialog.showOpenDialog(dialogOptions);
-
- if (result.canceled || result.filePaths.length === 0) {
- return { success: false, canceled: true };
- }
-
- const normalizedPath = await approveReadableVideoPath(result.filePaths[0]);
- if (!normalizedPath) {
- return {
- success: false,
- message: "Selected file is not a supported readable video file",
- };
- }
-
- currentProjectPath = null;
- return {
- success: true,
- path: normalizedPath,
- };
- } catch (error) {
- console.error("Failed to open file picker:", error);
- return {
- success: false,
- message: "Failed to open file picker",
- error: String(error),
- };
- }
- });
-
- // Import an external audio file (voiceover / BGM / SFX) — issue #350. Mirrors
- // the video picker but approves against the audio extension set; the returned
- // path is added to the project as a `kind: "audio"` asset by the renderer.
- ipcMain.handle("open-audio-file-picker", async () => {
- try {
- const dialogOptions = buildDialogOptions(
- {
- title: mainT("dialogs", "fileDialogs.selectAudio"),
- defaultPath: RECORDINGS_DIR,
- filters: [
{
name: mainT("dialogs", "fileDialogs.audioFiles"),
extensions: ["mp3", "wav", "m4a", "aac", "flac", "ogg", "opus"],
@@ -3698,23 +3678,28 @@ export function registerIpcHandlers(
return { success: false, canceled: true };
}
- const normalizedPath = await approveReadableAudioPath(result.filePaths[0]);
+ // Try video first, then audio — the extension gate is the only difference,
+ // and the two sets don't overlap, so at most one approves.
+ const videoPath = await approveReadableVideoPath(result.filePaths[0]);
+ const normalizedPath = videoPath ?? (await approveReadableAudioPath(result.filePaths[0]));
if (!normalizedPath) {
return {
success: false,
- message: "Selected file is not a supported readable audio file",
+ message: "Selected file is not a supported readable media file",
};
}
+ currentProjectPath = null;
return {
success: true,
path: normalizedPath,
+ kind: videoPath ? ("video" as const) : ("audio" as const),
};
} catch (error) {
- console.error("Failed to open audio file picker:", error);
+ console.error("Failed to open file picker:", error);
return {
success: false,
- message: "Failed to open audio file picker",
+ message: "Failed to open file picker",
error: String(error),
};
}
diff --git a/electron/preload.ts b/electron/preload.ts
index 16227f110..6aff16407 100644
--- a/electron/preload.ts
+++ b/electron/preload.ts
@@ -276,9 +276,6 @@ contextBridge.exposeInMainWorld("electronAPI", {
openVideoFilePicker: () => {
return ipcRenderer.invoke("open-video-file-picker");
},
- openAudioFilePicker: () => {
- return ipcRenderer.invoke("open-audio-file-picker");
- },
setCurrentVideoPath: (path: string) => {
return ipcRenderer.invoke("set-current-video-path", path);
},
diff --git a/src/components/ai-edition/EditorEmptyState.tsx b/src/components/ai-edition/EditorEmptyState.tsx
index 226171dca..6daec79be 100644
--- a/src/components/ai-edition/EditorEmptyState.tsx
+++ b/src/components/ai-edition/EditorEmptyState.tsx
@@ -47,6 +47,7 @@ export function EditorEmptyState({
const createProject = useProjectStore((s) => s.createProject);
const addAsset = useProjectStore((s) => s.addAsset);
+ const importAudioAsset = useProjectStore((s) => s.importAudioAsset);
const loadProject = useProjectStore((s) => s.loadProject);
const ensureProject = useCallback(async (): Promise<string | null> => {
@@ -63,14 +64,17 @@ export function EditorEmptyState({
const projectId = await ensureProject();
if (!projectId) return;
const label = result.name || result.path.split(/[\\/]/).pop() || "Recording";
- await addAsset(result.path, label);
+ // The picker imports media (issue #350): audio lands as a kind:"audio"
+ // asset + track, video as a clip.
+ if (result.kind === "audio") await importAudioAsset(result.path, label);
+ else await addAsset(result.path, label);
} catch (err) {
setDropError("load-failed");
// ponytail: surface as a console message only — the dialog above
// already tells the user something went wrong.
- console.error("Failed to import video", err);
+ console.error("Failed to import media", err);
}
- }, [addAsset, ensureProject]);
+ }, [addAsset, importAudioAsset, ensureProject]);
// A loaded project JSON is either a current AxcutDocument (has its own
// `schemaVersion`) or a legacy EditorProjectData that must be migrated.
diff --git a/src/components/ai-edition/v4/MediaStage.tsx b/src/components/ai-edition/v4/MediaStage.tsx
index e867c9c2d..f72df5e8b 100644
--- a/src/components/ai-edition/v4/MediaStage.tsx
+++ b/src/components/ai-edition/v4/MediaStage.tsx
@@ -57,6 +57,7 @@ export function MediaStage({
const projectId = useProjectStore((s) => s.projectId);
const document = useProjectStore((s) => s.document);
const addAsset = useProjectStore((s) => s.addAsset);
+ const importAudioAsset = useProjectStore((s) => s.importAudioAsset);
// Transcripts are produced in the background as soon as a media lands here
// (see transcriptionStore) — this stage only reports where each one is at,
// and lets the user force a re-run in another language.
@@ -102,7 +103,10 @@ export function MediaStage({
setBusy(true);
try {
const label = picker.name || basename(picker.path);
- await addAsset(picker.path, label);
+ // Audio imports become a kind:"audio" asset + a timeline track (issue #350);
+ // video imports become a clip. The picker says which was chosen.
+ if (picker.kind === "audio") await importAudioAsset(picker.path, label);
+ else await addAsset(picker.path, label);
toast.success(t("mediaStage.added", { label }));
} catch (err) {
toast.error(t("mediaStage.couldNotAddAsset"), {
diff --git a/src/i18n/locales/ar/dialogs.json b/src/i18n/locales/ar/dialogs.json
index 1032d22cb..6bf9bc569 100644
--- a/src/i18n/locales/ar/dialogs.json
+++ b/src/i18n/locales/ar/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "حفظ GIF المصدر",
"saveVideo": "حفظ الفيديو المصدر",
"selectVideo": "حدد ملف فيديو",
- "selectAudio": "Select Audio File",
"saveProject": "حفظ مشروع OpenScreen",
"openProject": "فتح مشروع OpenScreen",
"gifImage": "صورة GIF",
"mp4Video": "فيديو MP4",
"videoFiles": "ملفات فيديو",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "مشروع OpenScreen",
"allFiles": "جميع الملفات"
}
diff --git a/src/i18n/locales/ar/editor.json b/src/i18n/locales/ar/editor.json
index 1977556d5..04bd4eba8 100644
--- a/src/i18n/locales/ar/editor.json
+++ b/src/i18n/locales/ar/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "اللغة المكتشفة: {{language}}",
"noAudioTrack": "لا يوجد مسار صوتي",
"noAudioTrackHint": "لا يحتوي هذا الملف على مسار صوتي — لا يوجد ما يمكن نسخه.",
- "noSpeechDetected": "لم يتم اكتشاف كلام",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "لم يتم اكتشاف كلام"
},
"exportDialog": {
"title": "تصدير",
diff --git a/src/i18n/locales/en/dialogs.json b/src/i18n/locales/en/dialogs.json
index 3d898d1a2..2dccd1cac 100644
--- a/src/i18n/locales/en/dialogs.json
+++ b/src/i18n/locales/en/dialogs.json
@@ -42,7 +42,6 @@
"step1Title": "1. Add Trim",
"step1DescriptionBefore": "Press ",
"step1DescriptionAfter": " or click the scissors icon to mark a section for removal.",
-
"step2Title": "2. Adjust",
"step2Description": "Drag the edges of the red region to cover exactly what you want to cut out."
},
@@ -80,13 +79,13 @@
"saveGif": "Save Exported GIF",
"saveVideo": "Save Exported Video",
"selectVideo": "Select Video File",
- "selectAudio": "Select Audio File",
"saveProject": "Save OpenScreen Project",
"openProject": "Open OpenScreen Project",
"gifImage": "GIF Image",
"mp4Video": "MP4 Video",
"videoFiles": "Video Files",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "OpenScreen Project",
"allFiles": "All Files"
}
diff --git a/src/i18n/locales/en/editor.json b/src/i18n/locales/en/editor.json
index 4f539e0ac..e1692652d 100644
--- a/src/i18n/locales/en/editor.json
+++ b/src/i18n/locales/en/editor.json
@@ -128,12 +128,10 @@
"mediaStage": {
"openProjectFirst": "Open a project first",
"couldNotAddAsset": "Could not add asset",
- "couldNotAddAudio": "Could not add audio",
"searchPlaceholder": "Search media…",
"dragHint": "Drag a clip onto the timeline below to add it",
"emptyHint": "No media yet — import a recording to get started.",
"importMedia": "Import media",
- "importAudio": "Import audio",
"added": "Added {{label}}",
"addToTimeline": "Add to timeline",
"addedToTimeline": "Added {{label}} to the timeline",
diff --git a/src/i18n/locales/es/dialogs.json b/src/i18n/locales/es/dialogs.json
index 10ebb2315..b2ec280f4 100644
--- a/src/i18n/locales/es/dialogs.json
+++ b/src/i18n/locales/es/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Guardar GIF exportado",
"saveVideo": "Guardar video exportado",
"selectVideo": "Seleccionar archivo de video",
- "selectAudio": "Select Audio File",
"saveProject": "Guardar proyecto OpenScreen",
"openProject": "Abrir proyecto OpenScreen",
"gifImage": "Imagen GIF",
"mp4Video": "Video MP4",
"videoFiles": "Archivos de video",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "Proyecto OpenScreen",
"allFiles": "Todos los archivos"
}
diff --git a/src/i18n/locales/es/editor.json b/src/i18n/locales/es/editor.json
index a384c6436..46f0d3eaf 100644
--- a/src/i18n/locales/es/editor.json
+++ b/src/i18n/locales/es/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Idioma detectado: {{language}}",
"noAudioTrack": "Sin pista de audio",
"noAudioTrackHint": "Este medio no tiene pista de audio: no hay nada que transcribir.",
- "noSpeechDetected": "No se detectó voz",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "No se detectó voz"
},
"exportDialog": {
"title": "Exportar",
diff --git a/src/i18n/locales/fr/dialogs.json b/src/i18n/locales/fr/dialogs.json
index a7691550e..bd1d02251 100644
--- a/src/i18n/locales/fr/dialogs.json
+++ b/src/i18n/locales/fr/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Enregistrer le GIF exporté",
"saveVideo": "Enregistrer la vidéo exportée",
"selectVideo": "Sélectionner un fichier vidéo",
- "selectAudio": "Select Audio File",
"saveProject": "Enregistrer le projet OpenScreen",
"openProject": "Ouvrir un projet OpenScreen",
"gifImage": "Image GIF",
"mp4Video": "Vidéo MP4",
"videoFiles": "Fichiers vidéo",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "Projet OpenScreen",
"allFiles": "Tous les fichiers"
}
diff --git a/src/i18n/locales/fr/editor.json b/src/i18n/locales/fr/editor.json
index 0dce49bc6..3eb0dfa4e 100644
--- a/src/i18n/locales/fr/editor.json
+++ b/src/i18n/locales/fr/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Langue détectée : {{language}}",
"noAudioTrack": "Aucune piste audio",
"noAudioTrackHint": "Ce média n'a pas de piste audio — il n'y a rien à transcrire.",
- "noSpeechDetected": "Aucune parole détectée",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "Aucune parole détectée"
},
"exportDialog": {
"title": "Exporter",
diff --git a/src/i18n/locales/it/dialogs.json b/src/i18n/locales/it/dialogs.json
index b26a83da9..a40a61d9c 100644
--- a/src/i18n/locales/it/dialogs.json
+++ b/src/i18n/locales/it/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Salva GIF esportata",
"saveVideo": "Salva video esportato",
"selectVideo": "Seleziona file video",
- "selectAudio": "Select Audio File",
"saveProject": "Salva progetto OpenScreen",
"openProject": "Apri progetto OpenScreen",
"gifImage": "Immagine GIF",
"mp4Video": "Video MP4",
"videoFiles": "File video",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "Progetto OpenScreen",
"allFiles": "Tutti i file"
}
diff --git a/src/i18n/locales/it/editor.json b/src/i18n/locales/it/editor.json
index 254b464a5..214b0d10a 100644
--- a/src/i18n/locales/it/editor.json
+++ b/src/i18n/locales/it/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Lingua rilevata: {{language}}",
"noAudioTrack": "Nessuna traccia audio",
"noAudioTrackHint": "Questo contenuto non ha una traccia audio: non c'è nulla da trascrivere.",
- "noSpeechDetected": "Nessun parlato rilevato",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "Nessun parlato rilevato"
},
"exportDialog": {
"title": "Esporta",
diff --git a/src/i18n/locales/ja-JP/dialogs.json b/src/i18n/locales/ja-JP/dialogs.json
index 911c2ad94..82637172b 100644
--- a/src/i18n/locales/ja-JP/dialogs.json
+++ b/src/i18n/locales/ja-JP/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "エクスポートしたGIFを保存",
"saveVideo": "エクスポートした動画を保存",
"selectVideo": "動画ファイルを選択",
- "selectAudio": "Select Audio File",
"saveProject": "OpenScreen プロジェクトを保存",
"openProject": "OpenScreen プロジェクトを開く",
"gifImage": "GIF 画像",
"mp4Video": "MP4 動画",
"videoFiles": "動画ファイル",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "OpenScreen プロジェクト",
"allFiles": "すべてのファイル"
}
diff --git a/src/i18n/locales/ja-JP/editor.json b/src/i18n/locales/ja-JP/editor.json
index 42cbbbc1d..e12096ed1 100644
--- a/src/i18n/locales/ja-JP/editor.json
+++ b/src/i18n/locales/ja-JP/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "検出された言語: {{language}}",
"noAudioTrack": "音声トラックがありません",
"noAudioTrackHint": "このメディアには音声トラックがないため、文字起こしできません。",
- "noSpeechDetected": "音声が検出されませんでした",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "音声が検出されませんでした"
},
"exportDialog": {
"title": "エクスポート",
diff --git a/src/i18n/locales/ko-KR/dialogs.json b/src/i18n/locales/ko-KR/dialogs.json
index d654a5f52..6930b9baf 100644
--- a/src/i18n/locales/ko-KR/dialogs.json
+++ b/src/i18n/locales/ko-KR/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "내보낸 GIF 저장",
"saveVideo": "내보낸 비디오 저장",
"selectVideo": "비디오 파일 선택",
- "selectAudio": "Select Audio File",
"saveProject": "OpenScreen 프로젝트 저장",
"openProject": "OpenScreen 프로젝트 열기",
"gifImage": "GIF 이미지",
"mp4Video": "MP4 비디오",
"videoFiles": "비디오 파일",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "OpenScreen 프로젝트",
"allFiles": "모든 파일"
}
diff --git a/src/i18n/locales/ko-KR/editor.json b/src/i18n/locales/ko-KR/editor.json
index cfcf21069..a1fc34a62 100644
--- a/src/i18n/locales/ko-KR/editor.json
+++ b/src/i18n/locales/ko-KR/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "감지된 언어: {{language}}",
"noAudioTrack": "오디오 트랙 없음",
"noAudioTrackHint": "이 미디어에는 오디오 트랙이 없어 받아쓸 내용이 없습니다.",
- "noSpeechDetected": "음성이 감지되지 않음",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "음성이 감지되지 않음"
},
"exportDialog": {
"title": "내보내기",
diff --git a/src/i18n/locales/pt-BR/dialogs.json b/src/i18n/locales/pt-BR/dialogs.json
index 7dbb4c642..c8cbeecaa 100644
--- a/src/i18n/locales/pt-BR/dialogs.json
+++ b/src/i18n/locales/pt-BR/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Salvar GIF Exportado",
"saveVideo": "Salvar Vídeo Exportado",
"selectVideo": "Selecionar Arquivo de Vídeo",
- "selectAudio": "Select Audio File",
"saveProject": "Salvar Projeto OpenScreen",
"openProject": "Abrir Projeto OpenScreen",
"gifImage": "Imagem GIF",
"mp4Video": "Vídeo MP4",
"videoFiles": "Arquivos de Vídeo",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "Projeto OpenScreen",
"allFiles": "Todos os Arquivos"
}
diff --git a/src/i18n/locales/pt-BR/editor.json b/src/i18n/locales/pt-BR/editor.json
index ef6b22382..799f3be74 100644
--- a/src/i18n/locales/pt-BR/editor.json
+++ b/src/i18n/locales/pt-BR/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Idioma detectado: {{language}}",
"noAudioTrack": "Sem faixa de áudio",
"noAudioTrackHint": "Esta mídia não tem faixa de áudio — não há nada para transcrever.",
- "noSpeechDetected": "Nenhuma fala detectada",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "Nenhuma fala detectada"
},
"exportDialog": {
"title": "Exportar",
diff --git a/src/i18n/locales/ru/dialogs.json b/src/i18n/locales/ru/dialogs.json
index 7e1dbaeed..e6154234a 100644
--- a/src/i18n/locales/ru/dialogs.json
+++ b/src/i18n/locales/ru/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Сохранить экспортированный GIF",
"saveVideo": "Сохранить экспортированное видео",
"selectVideo": "Выбрать видеофайл",
- "selectAudio": "Select Audio File",
"saveProject": "Сохранить проект OpenScreen",
"openProject": "Открыть проект OpenScreen",
"gifImage": "GIF изображение",
"mp4Video": "MP4 видео",
"videoFiles": "Видеофайлы",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "Проект OpenScreen",
"allFiles": "Все файлы"
}
diff --git a/src/i18n/locales/ru/editor.json b/src/i18n/locales/ru/editor.json
index 0956a0cf8..db5216291 100644
--- a/src/i18n/locales/ru/editor.json
+++ b/src/i18n/locales/ru/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Обнаруженный язык: {{language}}",
"noAudioTrack": "Нет аудиодорожки",
"noAudioTrackHint": "В этом медиафайле нет аудиодорожки — расшифровывать нечего.",
- "noSpeechDetected": "Речь не обнаружена",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "Речь не обнаружена"
},
"exportDialog": {
"title": "Экспорт",
diff --git a/src/i18n/locales/tr/dialogs.json b/src/i18n/locales/tr/dialogs.json
index c6299d520..587e670e5 100644
--- a/src/i18n/locales/tr/dialogs.json
+++ b/src/i18n/locales/tr/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Dışa Aktarılan GIF'i Kaydet",
"saveVideo": "Dışa Aktarılan Videoyu Kaydet",
"selectVideo": "Video Dosyası Seç",
- "selectAudio": "Select Audio File",
"saveProject": "OpenScreen Projesini Kaydet",
"openProject": "OpenScreen Projesini Aç",
"gifImage": "GIF Görüntüsü",
"mp4Video": "MP4 Video",
"videoFiles": "Video Dosyaları",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "OpenScreen Projesi",
"allFiles": "Tüm Dosyalar"
}
diff --git a/src/i18n/locales/tr/editor.json b/src/i18n/locales/tr/editor.json
index c66cac894..5b8e9922b 100644
--- a/src/i18n/locales/tr/editor.json
+++ b/src/i18n/locales/tr/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Algılanan dil: {{language}}",
"noAudioTrack": "Ses parçası yok",
"noAudioTrackHint": "Bu medyada ses parçası yok — metne dökülecek bir şey bulunmuyor.",
- "noSpeechDetected": "Konuşma algılanmadı",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "Konuşma algılanmadı"
},
"exportDialog": {
"title": "Dışa Aktar",
diff --git a/src/i18n/locales/vi/dialogs.json b/src/i18n/locales/vi/dialogs.json
index 213240763..55524a832 100644
--- a/src/i18n/locales/vi/dialogs.json
+++ b/src/i18n/locales/vi/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "Lưu GIF đã xuất",
"saveVideo": "Lưu Video đã xuất",
"selectVideo": "Chọn tệp video",
- "selectAudio": "Select Audio File",
"saveProject": "Lưu dự án OpenScreen",
"openProject": "Mở dự án OpenScreen",
"gifImage": "Hình ảnh GIF",
"mp4Video": "Video MP4",
"videoFiles": "Tệp Video",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "Dự án OpenScreen",
"allFiles": "Tất cả các tệp"
}
diff --git a/src/i18n/locales/vi/editor.json b/src/i18n/locales/vi/editor.json
index f668c006a..821875edb 100644
--- a/src/i18n/locales/vi/editor.json
+++ b/src/i18n/locales/vi/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "Ngôn ngữ phát hiện: {{language}}",
"noAudioTrack": "Không có bản âm thanh",
"noAudioTrackHint": "Media này không có bản âm thanh — không có gì để phiên âm.",
- "noSpeechDetected": "Không phát hiện giọng nói",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "Không phát hiện giọng nói"
},
"exportDialog": {
"title": "Xuất",
diff --git a/src/i18n/locales/zh-CN/dialogs.json b/src/i18n/locales/zh-CN/dialogs.json
index b28304f6c..efba46518 100644
--- a/src/i18n/locales/zh-CN/dialogs.json
+++ b/src/i18n/locales/zh-CN/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "保存导出的 GIF",
"saveVideo": "保存导出的视频",
"selectVideo": "选择视频文件",
- "selectAudio": "Select Audio File",
"saveProject": "保存 OpenScreen 项目",
"openProject": "打开 OpenScreen 项目",
"gifImage": "GIF 图片",
"mp4Video": "MP4 视频",
"videoFiles": "视频文件",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "OpenScreen 项目",
"allFiles": "所有文件"
}
diff --git a/src/i18n/locales/zh-CN/editor.json b/src/i18n/locales/zh-CN/editor.json
index 73bead3f5..7723d101d 100644
--- a/src/i18n/locales/zh-CN/editor.json
+++ b/src/i18n/locales/zh-CN/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "检测到的语言:{{language}}",
"noAudioTrack": "无音频轨道",
"noAudioTrackHint": "此媒体没有音频轨道,没有可转录的内容。",
- "noSpeechDetected": "未检测到语音",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "未检测到语音"
},
"exportDialog": {
"title": "导出",
diff --git a/src/i18n/locales/zh-TW/dialogs.json b/src/i18n/locales/zh-TW/dialogs.json
index 6c3601511..527e87efa 100644
--- a/src/i18n/locales/zh-TW/dialogs.json
+++ b/src/i18n/locales/zh-TW/dialogs.json
@@ -79,13 +79,13 @@
"saveGif": "儲存匯出的 GIF",
"saveVideo": "儲存匯出的影片",
"selectVideo": "選擇影片檔案",
- "selectAudio": "Select Audio File",
"saveProject": "儲存 OpenScreen 專案",
"openProject": "開啟 OpenScreen 專案",
"gifImage": "GIF 圖片",
"mp4Video": "MP4 影片",
"videoFiles": "影片檔案",
"audioFiles": "Audio Files",
+ "mediaFiles": "Media Files",
"openscreenProject": "OpenScreen 專案",
"allFiles": "所有檔案"
}
diff --git a/src/i18n/locales/zh-TW/editor.json b/src/i18n/locales/zh-TW/editor.json
index 58785ad3a..3edf5f320 100644
--- a/src/i18n/locales/zh-TW/editor.json
+++ b/src/i18n/locales/zh-TW/editor.json
@@ -154,9 +154,7 @@
"detectedLanguage": "偵測到的語言:{{language}}",
"noAudioTrack": "無音訊軌道",
"noAudioTrackHint": "此媒體沒有音訊軌道,沒有可轉錄的內容。",
- "noSpeechDetected": "未偵測到語音",
- "couldNotAddAudio": "Could not add audio",
- "importAudio": "Import audio"
+ "noSpeechDetected": "未偵測到語音"
},
"exportDialog": {
"title": "匯出",