The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
feat: Settings toggle for flip and reverse shortcuts
Domicaa588c30077a3
diff --git a/src/crates/concat/locales/de.json b/src/crates/concat/locales/de.jsonindex babe2abc..6386ed08 100644--- a/src/crates/concat/locales/de.json+++ b/src/crates/concat/locales/de.json@@ -99,7 +99,7 @@"Content": "Inhalt","CONTENTS": "INHALT","Contents": "Inhalt",- "Context menu": "Kontextmenü",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Kontrast","Contrast Pop": "Kontrast-Pop","Cool": "Kühl",@@ -128,8 +128,8 @@"Delete": "Löschen","Max width": "Maximale Breite","Generate Captions": "Untertitel erzeugen",- "Show advanced actions": "Erweiterte Aktionen anzeigen",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Horizontal spiegeln, Vertikal spiegeln und Umkehren im Clip-Kontextmenü anzeigen. Tastenkürzel (H, J, R) funktionieren immer.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Text zu Sprache","Downloads": "Downloads","Automatic": "Automatisch",diff --git a/src/crates/concat/locales/en.json b/src/crates/concat/locales/en.jsonindex af9d49f2..90a35357 100644--- a/src/crates/concat/locales/en.json+++ b/src/crates/concat/locales/en.json@@ -133,7 +133,7 @@"Content": "Content","CONTENTS": "CONTENTS","Contents": "Contents",- "Context menu": "Context menu",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Contrast","Contrast Pop": "Contrast Pop","Cool": "Cool",@@ -554,8 +554,8 @@"Shift": "Shift","Shifts the picture towards candlelight.": "Shifts the picture towards candlelight.","Shifts the picture towards daylight shade.": "Shifts the picture towards daylight shade.",- "Show advanced actions": "Show advanced actions",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Show in folder": "Show in folder","Show lane": "Show lane","Show the log": "Show the log",diff --git a/src/crates/concat/locales/es.json b/src/crates/concat/locales/es.jsonindex 2032950e..1cbb1c0b 100644--- a/src/crates/concat/locales/es.json+++ b/src/crates/concat/locales/es.json@@ -99,7 +99,7 @@"Content": "Contenido","CONTENTS": "CONTENIDO","Contents": "Contenido",- "Context menu": "Menú contextual",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Contraste","Contrast Pop": "Contraste vivo","Cool": "Frío",@@ -128,8 +128,8 @@"Delete": "Eliminar","Max width": "Ancho máximo","Generate Captions": "Generar subtítulos",- "Show advanced actions": "Mostrar acciones avanzadas",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Mostrar Voltear horizontal, Voltear vertical e Invertir en el menú contextual del clip. Los atajos de teclado (H, J, R) siempre funcionan.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Texto a voz","Downloads": "Descargas","Automatic": "Automático",diff --git a/src/crates/concat/locales/fr.json b/src/crates/concat/locales/fr.jsonindex 18137bac..98235f56 100644--- a/src/crates/concat/locales/fr.json+++ b/src/crates/concat/locales/fr.json@@ -99,7 +99,7 @@"Content": "Contenu","CONTENTS": "CONTENU","Contents": "Contenu",- "Context menu": "Menu contextuel",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Contraste","Contrast Pop": "Contraste vif","Cool": "Froid",@@ -128,8 +128,8 @@"Delete": "Supprimer","Max width": "Largeur maximale","Generate Captions": "Générer les sous-titres",- "Show advanced actions": "Afficher les actions avancées",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Afficher Retourner horizontalement, Retourner verticalement et Inverser dans le menu contextuel du clip. Les raccourcis clavier (H, J, R) fonctionnent toujours.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Synthèse vocale","Downloads": "Téléchargements","Automatic": "Automatique",diff --git a/src/crates/concat/locales/hr.json b/src/crates/concat/locales/hr.jsonindex 1d935b85..c41be62d 100644--- a/src/crates/concat/locales/hr.json+++ b/src/crates/concat/locales/hr.json@@ -125,7 +125,7 @@"Content": "Sadržaj","CONTENTS": "SADRŽAJ","Contents": "Sadržaj",- "Context menu": "Kontekstni izbornik",+ "Timeline shortcuts": "Prečaci na traci","Contrast": "Kontrast","Contrast Pop": "Kontrastni pop","Cool": "Hladno",@@ -161,8 +161,8 @@"Delete": "Obriši","Max width": "Najveća širina","Generate Captions": "Generiraj titlove",- "Show advanced actions": "Prikaži napredne radnje",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Prikaži Preokreni vodoravno, Preokreni okomito i Obrni u kontekstnom izborniku klipa. Tipkovnički prečaci (H, J, R) uvijek rade.",+ "Enable flip and reverse shortcuts": "Omogući prečake za okretanje i obrtanje",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H okrene odabrani klip vodoravno, J okomito, R obrne smjer. Isključeno, tipke ne rade.","Text to Speech": "Tekst u govor","Downloads": "Preuzimanja","Automatic": "Automatski",diff --git a/src/crates/concat/locales/it.json b/src/crates/concat/locales/it.jsonindex f9229e81..1233ebc4 100644--- a/src/crates/concat/locales/it.json+++ b/src/crates/concat/locales/it.json@@ -99,7 +99,7 @@"Content": "Contenuto","CONTENTS": "CONTENUTO","Contents": "Contenuto",- "Context menu": "Menu contestuale",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Contrasto","Contrast Pop": "Contrasto vivo","Cool": "Freddo",@@ -128,8 +128,8 @@"Delete": "Elimina","Max width": "Larghezza massima","Generate Captions": "Genera sottotitoli",- "Show advanced actions": "Mostra azioni avanzate",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Mostra Capovolgi orizzontalmente, Capovolgi verticalmente e Inverti nel menu contestuale della clip. Le scorciatoie da tastiera (H, J, R) funzionano sempre.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Sintesi vocale","Downloads": "Download","Automatic": "Automatico",diff --git a/src/crates/concat/locales/ja.json b/src/crates/concat/locales/ja.jsonindex 5e7e2152..19855a7e 100644--- a/src/crates/concat/locales/ja.json+++ b/src/crates/concat/locales/ja.json@@ -99,7 +99,7 @@"Content": "内容","CONTENTS": "内容","Contents": "内容",- "Context menu": "コンテキストメニュー",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "コントラスト","Contrast Pop": "コントラストポップ","Cool": "クール",@@ -128,8 +128,8 @@"Delete": "削除","Max width": "最大幅","Generate Captions": "字幕を生成",- "Show advanced actions": "詳細なアクションを表示",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "クリップのコンテキストメニューに「水平反転」「垂直反転」「逆再生」を表示します。キーボードショートカット(H、J、R)は常に機能します。",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "テキスト読み上げ","Downloads": "ダウンロード","Automatic": "自動",diff --git a/src/crates/concat/locales/ko.json b/src/crates/concat/locales/ko.jsonindex c7d90720..76512790 100644--- a/src/crates/concat/locales/ko.json+++ b/src/crates/concat/locales/ko.json@@ -99,7 +99,7 @@"Content": "내용","CONTENTS": "내용","Contents": "내용",- "Context menu": "컨텍스트 메뉴",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "대비","Contrast Pop": "선명한 대비","Cool": "차갑게",@@ -128,8 +128,8 @@"Delete": "삭제","Max width": "최대 너비","Generate Captions": "자막 생성",- "Show advanced actions": "고급 작업 표시",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "클립 컨텍스트 메뉴에 수평 뒤집기, 수직 뒤집기 및 역재생을 표시합니다. 키보드 단축키(H, J, R)는 항상 작동합니다.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "텍스트 음성 변환","Downloads": "다운로드","Automatic": "자동",diff --git a/src/crates/concat/locales/pt-BR.json b/src/crates/concat/locales/pt-BR.jsonindex ac42ff1d..357d65b3 100644--- a/src/crates/concat/locales/pt-BR.json+++ b/src/crates/concat/locales/pt-BR.json@@ -99,7 +99,7 @@"Content": "Conteúdo","CONTENTS": "CONTEÚDO","Contents": "Conteúdo",- "Context menu": "Menu de contexto",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Contraste","Contrast Pop": "Contraste vivo","Cool": "Frio",@@ -128,8 +128,8 @@"Delete": "Excluir","Max width": "Largura máxima","Generate Captions": "Gerar legendas",- "Show advanced actions": "Mostrar ações avançadas",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Mostrar Virar horizontalmente, Virar verticalmente e Inverter no menu de contexto do clipe. Os atalhos de teclado (H, J, R) sempre funcionam.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Texto para fala","Downloads": "Downloads","Automatic": "Automático",diff --git a/src/crates/concat/locales/ru.json b/src/crates/concat/locales/ru.jsonindex 234c10fb..74b5d53f 100644--- a/src/crates/concat/locales/ru.json+++ b/src/crates/concat/locales/ru.json@@ -99,7 +99,7 @@"Content": "Содержание","CONTENTS": "СОДЕРЖИМОЕ","Contents": "Содержимое",- "Context menu": "Контекстное меню",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Контраст","Contrast Pop": "Сочный контраст","Cool": "Холодный",@@ -128,8 +128,8 @@"Delete": "Удалить","Max width": "Максимальная ширина","Generate Captions": "Создать субтитры",- "Show advanced actions": "Показать расширенные действия",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Показывать «Отразить по горизонтали», «Отразить по вертикали» и «Реверс» в контекстном меню клипа. Горячие клавиши (H, J, R) всегда работают.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Озвучить текст","Downloads": "Загрузки","Automatic": "Автоматически",diff --git a/src/crates/concat/locales/tr.json b/src/crates/concat/locales/tr.jsonindex bf6527fc..14311ef4 100644--- a/src/crates/concat/locales/tr.json+++ b/src/crates/concat/locales/tr.json@@ -99,7 +99,7 @@"Content": "İçerik","CONTENTS": "İÇERİK","Contents": "İçerik",- "Context menu": "Bağlam menüsü",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "Kontrast","Contrast Pop": "Canlı kontrast","Cool": "Soğuk",@@ -128,8 +128,8 @@"Delete": "Sil","Max width": "En fazla genişlik","Generate Captions": "Altyazı oluştur",- "Show advanced actions": "Gelişmiş eylemleri göster",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "Klip bağlam menüsünde Yatay çevir, Dikey çevir ve Tersine çevir seçeneklerini göster. Klavye kısayolları (H, J, R) her zaman çalışır.",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "Metinden konuşmaya","Downloads": "İndirmeler","Automatic": "Otomatik",diff --git a/src/crates/concat/locales/zh-Hans.json b/src/crates/concat/locales/zh-Hans.jsonindex 1000e428..c881ec4a 100644--- a/src/crates/concat/locales/zh-Hans.json+++ b/src/crates/concat/locales/zh-Hans.json@@ -99,7 +99,7 @@"Content": "内容","CONTENTS": "内容","Contents": "内容",- "Context menu": "上下文菜单",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "对比度","Contrast Pop": "对比增强","Cool": "冷色",@@ -128,8 +128,8 @@"Delete": "删除","Max width": "最大宽度","Generate Captions": "生成字幕",- "Show advanced actions": "显示高级操作",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "在剪辑上下文菜单中显示水平翻转、垂直翻转和反转。键盘快捷键(H、J、R)始终有效。",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "文本转语音","Downloads": "下载","Automatic": "自动",diff --git a/src/crates/concat/locales/zh-TW.json b/src/crates/concat/locales/zh-TW.jsonindex 4135d910..73118ecb 100644--- a/src/crates/concat/locales/zh-TW.json+++ b/src/crates/concat/locales/zh-TW.json@@ -125,7 +125,7 @@"Content": "內容","CONTENTS": "內容","Contents": "內容",- "Context menu": "內容功能表",+ "Timeline shortcuts": "Timeline shortcuts","Contrast": "對比度","Contrast Pop": "強化對比","Cool": "冷色調",@@ -161,8 +161,8 @@"Delete": "刪除","Max width": "最大寬度","Generate Captions": "產生字幕",- "Show advanced actions": "顯示進階操作",- "Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.": "在剪輯內容功能表中顯示水平翻轉、垂直翻轉和反向。鍵盤快捷鍵(H、J、R)始終有效。",+ "Enable flip and reverse shortcuts": "Enable flip and reverse shortcuts",+ "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.": "H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.","Text to Speech": "文字轉語音","Downloads": "下載","Automatic": "自動",diff --git a/src/crates/concat/src/studio.rs b/src/crates/concat/src/studio.rsindex 226bc45c..ffae1655 100644--- a/src/crates/concat/src/studio.rs+++ b/src/crates/concat/src/studio.rs@@ -7095,23 +7095,6 @@ impl Studio {clip.volume <= 0.0,!locked && audible,));- if self.prefs.custom_context_actions {- rows.push(check(- "flip-h",- &t("Flip horizontal"),- "H",- clip.flip_h,- !locked,- ));- rows.push(check(- "flip-v",- &t("Flip vertical"),- "J",- clip.flip_v,- !locked,- ));- rows.push(check("reverse", &t("Reverse"), "R", clip.reverse, !locked));- }rows.push(check("lock", &t("Lock track"), "", locked, true));rows.push(rule());rows.push(MenuItemData {@@ -7498,6 +7481,9 @@ impl Studio {/// menu's own handler in lib.rs, so a key and the row that advertises/// it are one thing.pub fn shortcut(&mut self, action: &str) {+ if !self.prefs.custom_context_actions && matches!(action, "flip-h" | "flip-v" | "reverse") {+ return;+ }match action {"split" => {let at = self.playhead;diff --git a/src/crates/concat/ui/dialogs/settings.slint b/src/crates/concat/ui/dialogs/settings.slintindex f65666c7..f946ae12 100644--- a/src/crates/concat/ui/dialogs/settings.slint+++ b/src/crates/concat/ui/dialogs/settings.slint@@ -514,14 +514,14 @@ export component SettingsDialog inherits Modal {// Off, the clip context menu shows only the basics.// On, it also shows Flip horizontal, Flip vertical, and Reverse.DialogSection {- title: I18n.t("Context menu");- hint: I18n.t("Show Flip horizontal, Flip vertical, and Reverse in the clip context menu. Keyboard shortcuts (H, J, R) always work.");+ title: I18n.t("Timeline shortcuts");+ hint: I18n.t("H flips the selected clip horizontally, J vertically, R reverses it. Off, the keys do nothing.");HorizontalLayout {spacing: 6px;Text {- text: I18n.t("Show advanced actions");+ text: I18n.t("Enable flip and reverse shortcuts");color: Theme.fg;font-size: Theme.fs;vertical-alignment: center;