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
Adjust tab in three groups: Color, Lightness, Effects
Jareer6c38a17d07e7
diff --git a/engine/crates/concat-effects/packages/concat.adjust/effect.toml b/engine/crates/concat-effects/packages/concat.adjust/effect.tomlindex eec4154f..53cd6028 100644--- a/engine/crates/concat-effects/packages/concat.adjust/effect.toml+++ b/engine/crates/concat-effects/packages/concat.adjust/effect.toml@@ -7,23 +7,27 @@ order = 0intensity = "exposure"description = "The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge."-# Exposure in stops; brightness, contrast and saturation as a signed-# percent of the untouched picture; temperature in kelvin with 6500 the-# picture as shot; tint green to magenta; shadows and highlights lift or-# crush their end of the curve; sharpen, vignette and fade add from zero.+# Three groups, in the order the panel lists them. Colour: temperature in+# kelvin with 6500 the picture as shot, tint green to magenta, saturation+# as a signed percent. Lightness: exposure in stops, then brightness,+# contrast, highlights and shadows as signed percents, the last two lifting+# or crushing their end of the curve. Effects: sharpen, fade and vignette+# add from zero.[[param]]-key = "exposure"-label = "Exposure"-min = -3-max = 3-default = 0-step = 0.05-unit = "EV"+key = "temperature"+group = "Color"+label = "Temperature"+min = 2000+max = 11000+default = 6500+step = 50+unit = "K"[[param]]-key = "brightness"-label = "Brightness"+key = "tint"+group = "Color"+label = "Tint"min = -100max = 100default = 0@@ -31,8 +35,9 @@ step = 1unit = "%"[[param]]-key = "contrast"-label = "Contrast"+key = "saturation"+group = "Color"+label = "Saturation"min = -100max = 100default = 0@@ -40,8 +45,19 @@ step = 1unit = "%"[[param]]-key = "saturation"-label = "Saturation"+key = "exposure"+group = "Lightness"+label = "Exposure"+min = -3+max = 3+default = 0+step = 0.05+unit = "EV"++[[param]]+key = "brightness"+group = "Lightness"+label = "Brightness"min = -100max = 100default = 0@@ -49,17 +65,9 @@ step = 1unit = "%"[[param]]-key = "temperature"-label = "Temperature"-min = 2000-max = 11000-default = 6500-step = 50-unit = "K"--[[param]]-key = "tint"-label = "Tint"+key = "contrast"+group = "Lightness"+label = "Contrast"min = -100max = 100default = 0@@ -67,8 +75,9 @@ step = 1unit = "%"[[param]]-key = "shadows"-label = "Shadows"+key = "highlights"+group = "Lightness"+label = "Highlights"min = -100max = 100default = 0@@ -76,8 +85,9 @@ step = 1unit = "%"[[param]]-key = "highlights"-label = "Highlights"+key = "shadows"+group = "Lightness"+label = "Shadows"min = -100max = 100default = 0@@ -86,6 +96,7 @@ unit = "%"[[param]]key = "sharpen"+group = "Effects"label = "Sharpen"min = 0max = 100@@ -94,8 +105,9 @@ step = 1unit = "%"[[param]]-key = "vignette"-label = "Vignette"+key = "fade"+group = "Effects"+label = "Fade"min = 0max = 100default = 0@@ -103,8 +115,9 @@ step = 1unit = "%"[[param]]-key = "fade"-label = "Fade"+key = "vignette"+group = "Effects"+label = "Vignette"min = 0max = 100default = 0diff --git a/engine/crates/concat-effects/src/manifest.rs b/engine/crates/concat-effects/src/manifest.rsindex 056abb20..8edb98dd 100644--- a/engine/crates/concat-effects/src/manifest.rs+++ b/engine/crates/concat-effects/src/manifest.rs@@ -103,6 +103,11 @@ pub struct Param {pub key: String,/// What the control is labelled.pub label: String,+ /// The subhead the control sits under in a panel that groups its rows -+ /// Color, Lightness, Effects on the Adjust tab. Consecutive params with+ /// the same group share one; empty means none.+ #[serde(default)]+ pub group: String,/// What kind of control, and how the number is interpreted.#[serde(default, rename = "type")]pub kind: ParamType,diff --git a/engine/crates/concat/locales/de.json b/engine/crates/concat/locales/de.jsonindex cfd3ce90..e8521371 100644--- a/engine/crates/concat/locales/de.json+++ b/engine/crates/concat/locales/de.json@@ -37,10 +37,10 @@"Apply": "Anwenden","Audio": "Audio","audio effect": "Audioeffekt",- "Audio effects": "Audioeffekte","Audio Effects": "Audioeffekte",- "auto": "auto",+ "Audio effects": "Audioeffekte","Auto": "Auto",+ "auto": "auto","Auto captions": "Automatische Untertitel","Auto captions from this clip's sound": "Automatische Untertitel aus dem Ton dieses Clips","Automatic": "Automatisch",@@ -52,8 +52,8 @@"Bits": "Bits","Black & White": "Schwarz-Weiß","Blend": "Überblenden",- "Blue screen": "Bluescreen","Blue Screen": "Bluescreen",+ "Blue screen": "Bluescreen","Blur": "Unschärfe","Body": "Körper","Bold": "Fett",@@ -99,8 +99,8 @@"Combo": "Kombi","Concat {0}": "Concat {0}","Content": "Inhalt",- "Contents": "Inhalt","CONTENTS": "INHALT",+ "Contents": "Inhalt","Contrast": "Kontrast","Contrast Pop": "Kontrast-Pop","Cool": "Kühl",@@ -182,8 +182,8 @@"File": "Datei","Fill": "Füllung","Film Grain": "Filmkorn",- "filter": "Filter","Filter": "Filter",+ "filter": "Filter","Filter library": "Filterbibliothek","Filters": "Filter","Finalising file": "Datei wird fertiggestellt",@@ -210,8 +210,8 @@"Glow": "Glühen","Go to end": "Zum Ende","Go to start": "Zum Anfang",- "Green screen": "Greenscreen","Green Screen": "Greenscreen",+ "Green screen": "Greenscreen","Half": "Halb","Hall": "Saal","Headline": "Schlagzeile",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Hebt die Sprache aus dem Mix: etwas Präsenz, etwas Kontrolle.","Light": "Hell","Lighten": "Aufhellen",+ "Lightness": "Licht","Line height": "Zeilenhöhe","Lo-fi": "Lo-fi","Loading the model": "Modell wird geladen",@@ -302,8 +303,8 @@"No {0} matches that.": "Kein {0} passt dazu.","Noise": "Rauschen","Noise Reduction": "Rauschunterdrückung",- "none": "keine","None": "Keine",+ "none": "keine","None installed": "Keine installiert","Normal": "Normal","Normalize Loudness": "Lautheit normalisieren",@@ -348,8 +349,8 @@"Preview failed: {0}": "Vorschau fehlgeschlagen: {0}","Previous frame": "Vorheriges Bild","Processor": "Prozessor",- "Project": "Projekt","PROJECT": "PROJEKT",+ "Project": "Projekt","Project saved": "Projekt gespeichert","Pulse": "Puls","Put the detached sound back on its picture": "Den getrennten Ton wieder zum Bild legen",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "Auf der Zeitleiste gibt es nichts zu exportieren","These settings apply to the whole edit and cannot be changed later.": "Diese Einstellungen gelten für den ganzen Schnitt und lassen sich später nicht ändern.","This clip has no file to transcribe": "Dieser Clip hat keine Datei zum Transkribieren",- "Timeline": "Zeitleiste","TIMELINE": "ZEITLEISTE",+ "Timeline": "Zeitleiste","Timeline 1": "Zeitleiste 1","Tint": "Tönung","Title": "Titel",@@ -512,8 +513,8 @@"Where should the project folder go?": "Wohin soll der Projektordner?","Width": "Breite","yesterday": "gestern",- "Zoom in": "Vergrößern","Zoom In": "Hineinzoomen",+ "Zoom in": "Vergrößern","Zoom Out": "Herauszoomen","Zoom out": "Verkleinern","Zoom to fit": "Einpassen",diff --git a/engine/crates/concat/locales/en.json b/engine/crates/concat/locales/en.jsonindex d4911db5..3dfabece 100644--- a/engine/crates/concat/locales/en.json+++ b/engine/crates/concat/locales/en.json@@ -37,10 +37,10 @@"Apply": "Apply","Audio": "Audio","audio effect": "audio effect",- "Audio effects": "Audio effects","Audio Effects": "Audio Effects",- "auto": "auto",+ "Audio effects": "Audio effects","Auto": "Auto",+ "auto": "auto","Auto captions": "Auto captions","Auto captions from this clip's sound": "Auto captions from this clip's sound","Automatic": "Automatic",@@ -99,8 +99,8 @@"Combo": "Combo","Concat {0}": "Concat {0}","Content": "Content",- "Contents": "Contents","CONTENTS": "CONTENTS",+ "Contents": "Contents","Contrast": "Contrast","Contrast Pop": "Contrast Pop","Cool": "Cool",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Lifts speech out of the mix: a little presence, a little control.","Light": "Light","Lighten": "Lighten",+ "Lightness": "Lightness","Line height": "Line height","Lo-fi": "Lo-fi","Loading the model": "Loading the model",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "There is nothing on the timeline to export","These settings apply to the whole edit and cannot be changed later.": "These settings apply to the whole edit and cannot be changed later.","This clip has no file to transcribe": "This clip has no file to transcribe",- "Timeline": "Timeline","TIMELINE": "TIMELINE",+ "Timeline": "Timeline","Timeline 1": "Timeline 1","Tint": "Tint","Title": "Title",@@ -514,8 +515,8 @@"yesterday": "yesterday","Zoom In": "Zoom In","Zoom in": "Zoom in",- "Zoom out": "Zoom out","Zoom Out": "Zoom Out",+ "Zoom out": "Zoom out","Zoom to fit": "Zoom to fit","{0} days ago": "{0} days ago","{0} Hz": "{0} Hz",diff --git a/engine/crates/concat/locales/es.json b/engine/crates/concat/locales/es.jsonindex 8fe5c81f..e450ebdc 100644--- a/engine/crates/concat/locales/es.json+++ b/engine/crates/concat/locales/es.json@@ -37,10 +37,10 @@"Apply": "Aplicar","Audio": "Audio","audio effect": "efecto de audio",- "Audio effects": "Efectos de audio","Audio Effects": "Efectos de audio",- "auto": "auto",+ "Audio effects": "Efectos de audio","Auto": "Auto",+ "auto": "auto","Auto captions": "Subtítulos automáticos","Auto captions from this clip's sound": "Subtítulos automáticos a partir del sonido de este clip","Automatic": "Automático",@@ -52,8 +52,8 @@"Bits": "Bits","Black & White": "Blanco y negro","Blend": "Fusión",- "Blue screen": "Pantalla azul","Blue Screen": "Pantalla azul",+ "Blue screen": "Pantalla azul","Blur": "Desenfoque","Body": "Cuerpo","Bold": "Negrita",@@ -99,8 +99,8 @@"Combo": "Combo","Concat {0}": "Concat {0}","Content": "Contenido",- "Contents": "Contenido","CONTENTS": "CONTENIDO",+ "Contents": "Contenido","Contrast": "Contraste","Contrast Pop": "Contraste vivo","Cool": "Frío",@@ -182,8 +182,8 @@"File": "Archivo","Fill": "Relleno","Film Grain": "Grano de película",- "filter": "filtro","Filter": "Filtro",+ "filter": "filtro","Filter library": "Biblioteca de filtros","Filters": "Filtros","Finalising file": "Finalizando el archivo",@@ -210,8 +210,8 @@"Glow": "Resplandor","Go to end": "Ir al final","Go to start": "Ir al inicio",- "Green screen": "Pantalla verde","Green Screen": "Pantalla verde",+ "Green screen": "Pantalla verde","Half": "Media","Hall": "Sala","Headline": "Titular",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Realza la voz en la mezcla: algo de presencia, algo de control.","Light": "Claro","Lighten": "Aclarar",+ "Lightness": "Luz","Line height": "Interlineado","Lo-fi": "Lo-fi","Loading the model": "Cargando el modelo",@@ -302,8 +303,8 @@"No {0} matches that.": "Ningún {0} coincide.","Noise": "Ruido","Noise Reduction": "Reducción de ruido",- "none": "ninguno","None": "Ninguno",+ "none": "ninguno","None installed": "Ninguno instalado","Normal": "Normal","Normalize Loudness": "Normalizar sonoridad",@@ -348,8 +349,8 @@"Preview failed: {0}": "La vista previa falló: {0}","Previous frame": "Fotograma anterior","Processor": "Procesador",- "Project": "Proyecto","PROJECT": "PROYECTO",+ "Project": "Proyecto","Project saved": "Proyecto guardado","Pulse": "Pulso","Put the detached sound back on its picture": "Devolver el sonido separado a su imagen",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "No hay nada en la línea de tiempo que exportar","These settings apply to the whole edit and cannot be changed later.": "Estos ajustes se aplican a toda la edición y no se pueden cambiar después.","This clip has no file to transcribe": "Este clip no tiene archivo que transcribir",- "Timeline": "Línea de tiempo","TIMELINE": "LÍNEA DE TIEMPO",+ "Timeline": "Línea de tiempo","Timeline 1": "Línea de tiempo 1","Tint": "Matiz","Title": "Título",@@ -512,8 +513,8 @@"Where should the project folder go?": "¿Dónde irá la carpeta del proyecto?","Width": "Ancho","yesterday": "ayer",- "Zoom in": "Acercar","Zoom In": "Acercar",+ "Zoom in": "Acercar","Zoom Out": "Alejar","Zoom out": "Alejar","Zoom to fit": "Ajustar a la vista",diff --git a/engine/crates/concat/locales/fr.json b/engine/crates/concat/locales/fr.jsonindex 7887b668..4961203e 100644--- a/engine/crates/concat/locales/fr.json+++ b/engine/crates/concat/locales/fr.json@@ -37,10 +37,10 @@"Apply": "Appliquer","Audio": "Audio","audio effect": "effet audio",- "Audio effects": "Effets audio","Audio Effects": "Effets audio",- "auto": "auto",+ "Audio effects": "Effets audio","Auto": "Auto",+ "auto": "auto","Auto captions": "Sous-titres automatiques","Auto captions from this clip's sound": "Sous-titres automatiques à partir du son de ce clip","Automatic": "Automatique",@@ -52,8 +52,8 @@"Bits": "Bits","Black & White": "Noir et blanc","Blend": "Fusion",- "Blue screen": "Fond bleu","Blue Screen": "Fond bleu",+ "Blue screen": "Fond bleu","Blur": "Flou","Body": "Corps","Bold": "Gras",@@ -99,8 +99,8 @@"Combo": "Combo","Concat {0}": "Concat {0}","Content": "Contenu",- "Contents": "Contenu","CONTENTS": "CONTENU",+ "Contents": "Contenu","Contrast": "Contraste","Contrast Pop": "Contraste vif","Cool": "Froid",@@ -182,8 +182,8 @@"File": "Fichier","Fill": "Remplissage","Film Grain": "Grain de film",- "filter": "filtre","Filter": "Filtre",+ "filter": "filtre","Filter library": "Bibliothèque de filtres","Filters": "Filtres","Finalising file": "Finalisation du fichier",@@ -210,8 +210,8 @@"Glow": "Lueur","Go to end": "Aller à la fin","Go to start": "Aller au début",- "Green screen": "Fond vert","Green Screen": "Fond vert",+ "Green screen": "Fond vert","Half": "Moitié","Hall": "Salle","Headline": "Gros titre",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Fait ressortir la voix du mixage : un peu de présence, un peu de contrôle.","Light": "Clair","Lighten": "Éclaircir",+ "Lightness": "Lumière","Line height": "Interligne","Lo-fi": "Lo-fi","Loading the model": "Chargement du modèle",@@ -302,8 +303,8 @@"No {0} matches that.": "Aucun {0} ne correspond.","Noise": "Bruit","Noise Reduction": "Réduction de bruit",- "none": "aucun","None": "Aucun",+ "none": "aucun","None installed": "Aucun installé","Normal": "Normal","Normalize Loudness": "Normaliser la sonie",@@ -348,8 +349,8 @@"Preview failed: {0}": "L'aperçu a échoué : {0}","Previous frame": "Image précédente","Processor": "Processeur",- "Project": "Projet","PROJECT": "PROJET",+ "Project": "Projet","Project saved": "Projet enregistré","Pulse": "Pulsation","Put the detached sound back on its picture": "Remettre le son détaché sur son image",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "Il n'y a rien à exporter sur la timeline","These settings apply to the whole edit and cannot be changed later.": "Ces réglages s'appliquent à tout le montage et ne pourront plus être changés.","This clip has no file to transcribe": "Ce clip n'a pas de fichier à transcrire",- "Timeline": "Timeline","TIMELINE": "TIMELINE",+ "Timeline": "Timeline","Timeline 1": "Timeline 1","Tint": "Teinte","Title": "Titre",@@ -512,8 +513,8 @@"Where should the project folder go?": "Où placer le dossier du projet ?","Width": "Largeur","yesterday": "hier",- "Zoom in": "Zoom avant","Zoom In": "Zoom avant",+ "Zoom in": "Zoom avant","Zoom Out": "Zoom arrière","Zoom out": "Zoom arrière","Zoom to fit": "Ajuster à la vue",diff --git a/engine/crates/concat/locales/it.json b/engine/crates/concat/locales/it.jsonindex 67de3507..fd676088 100644--- a/engine/crates/concat/locales/it.json+++ b/engine/crates/concat/locales/it.json@@ -37,10 +37,10 @@"Apply": "Applica","Audio": "Audio","audio effect": "effetto audio",- "Audio effects": "Effetti audio","Audio Effects": "Effetti audio",- "auto": "auto",+ "Audio effects": "Effetti audio","Auto": "Auto",+ "auto": "auto","Auto captions": "Sottotitoli automatici","Auto captions from this clip's sound": "Sottotitoli automatici dal suono di questa clip","Automatic": "Automatico",@@ -52,8 +52,8 @@"Bits": "Bit","Black & White": "Bianco e nero","Blend": "Fusione",- "Blue screen": "Blue screen","Blue Screen": "Blue screen",+ "Blue screen": "Blue screen","Blur": "Sfocatura","Body": "Corpo","Bold": "Grassetto",@@ -99,8 +99,8 @@"Combo": "Combo","Concat {0}": "Concat {0}","Content": "Contenuto",- "Contents": "Contenuto","CONTENTS": "CONTENUTO",+ "Contents": "Contenuto","Contrast": "Contrasto","Contrast Pop": "Contrasto vivo","Cool": "Freddo",@@ -182,8 +182,8 @@"File": "File","Fill": "Riempimento","Film Grain": "Grana pellicola",- "filter": "filtro","Filter": "Filtro",+ "filter": "filtro","Filter library": "Libreria filtri","Filters": "Filtri","Finalising file": "Finalizzazione del file",@@ -210,8 +210,8 @@"Glow": "Bagliore","Go to end": "Vai alla fine","Go to start": "Vai all'inizio",- "Green screen": "Green screen","Green Screen": "Green screen",+ "Green screen": "Green screen","Half": "Metà","Hall": "Sala","Headline": "Titolo grande",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Fa emergere la voce dal mix: un po' di presenza, un po' di controllo.","Light": "Chiaro","Lighten": "Schiarisci",+ "Lightness": "Luce","Line height": "Interlinea","Lo-fi": "Lo-fi","Loading the model": "Caricamento del modello",@@ -302,8 +303,8 @@"No {0} matches that.": "Nessun {0} corrisponde.","Noise": "Rumore","Noise Reduction": "Riduzione del rumore",- "none": "nessuno","None": "Nessuno",+ "none": "nessuno","None installed": "Nessuno installato","Normal": "Normale","Normalize Loudness": "Normalizza loudness",@@ -348,8 +349,8 @@"Preview failed: {0}": "Anteprima fallita: {0}","Previous frame": "Fotogramma precedente","Processor": "Processore",- "Project": "Progetto","PROJECT": "PROGETTO",+ "Project": "Progetto","Project saved": "Progetto salvato","Pulse": "Pulsazione","Put the detached sound back on its picture": "Rimetti il suono separato sulla sua immagine",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "Non c'è nulla sulla timeline da esportare","These settings apply to the whole edit and cannot be changed later.": "Queste impostazioni valgono per tutto il montaggio e non si possono cambiare in seguito.","This clip has no file to transcribe": "Questa clip non ha un file da trascrivere",- "Timeline": "Timeline","TIMELINE": "TIMELINE",+ "Timeline": "Timeline","Timeline 1": "Timeline 1","Tint": "Tinta","Title": "Titolo",@@ -512,8 +513,8 @@"Where should the project folder go?": "Dove mettere la cartella del progetto?","Width": "Larghezza","yesterday": "ieri",- "Zoom in": "Ingrandisci","Zoom In": "Zoom in avanti",+ "Zoom in": "Ingrandisci","Zoom Out": "Zoom indietro","Zoom out": "Riduci","Zoom to fit": "Adatta alla vista",diff --git a/engine/crates/concat/locales/ja.json b/engine/crates/concat/locales/ja.jsonindex 4a361d36..af71e4ca 100644--- a/engine/crates/concat/locales/ja.json+++ b/engine/crates/concat/locales/ja.json@@ -37,10 +37,10 @@"Apply": "適用","Audio": "オーディオ","audio effect": "オーディオエフェクト",- "Audio effects": "オーディオエフェクト","Audio Effects": "オーディオエフェクト",- "auto": "自動",+ "Audio effects": "オーディオエフェクト","Auto": "自動",+ "auto": "自動","Auto captions": "自動字幕","Auto captions from this clip's sound": "このクリップの音声から自動字幕を作成","Automatic": "自動",@@ -52,8 +52,8 @@"Bits": "ビット","Black & White": "白黒","Blend": "ブレンド",- "Blue screen": "ブルースクリーン","Blue Screen": "ブルースクリーン",+ "Blue screen": "ブルースクリーン","Blur": "ぼかし","Body": "ボディ","Bold": "太字",@@ -99,8 +99,8 @@"Combo": "コンボ","Concat {0}": "Concat {0}","Content": "内容",- "Contents": "内容","CONTENTS": "内容",+ "Contents": "内容","Contrast": "コントラスト","Contrast Pop": "コントラストポップ","Cool": "クール",@@ -182,8 +182,8 @@"File": "ファイル","Fill": "塗り","Film Grain": "フィルムグレイン",- "filter": "フィルター","Filter": "フィルター",+ "filter": "フィルター","Filter library": "フィルターライブラリ","Filters": "フィルター","Finalising file": "ファイルを仕上げています",@@ -210,8 +210,8 @@"Glow": "グロー","Go to end": "終端へ","Go to start": "先頭へ",- "Green screen": "グリーンスクリーン","Green Screen": "グリーンスクリーン",+ "Green screen": "グリーンスクリーン","Half": "1/2","Hall": "ホール","Headline": "見出し",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "ミックスから声を引き立てます。少しの存在感と、少しの抑え。","Light": "ライト","Lighten": "比較(明)",+ "Lightness": "明度","Line height": "行の高さ","Lo-fi": "ローファイ","Loading the model": "モデルを読み込み中",@@ -302,8 +303,8 @@"No {0} matches that.": "該当する{0}はありません。","Noise": "ノイズ","Noise Reduction": "ノイズ除去",- "none": "なし","None": "なし",+ "none": "なし","None installed": "インストールなし","Normal": "通常","Normalize Loudness": "ラウドネスを正規化",@@ -348,8 +349,8 @@"Preview failed: {0}": "プレビューに失敗しました:{0}","Previous frame": "前のフレーム","Processor": "プロセッサ",- "Project": "プロジェクト","PROJECT": "プロジェクト",+ "Project": "プロジェクト","Project saved": "プロジェクトを保存しました","Pulse": "パルス","Put the detached sound back on its picture": "分離した音声を映像に戻す",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "タイムラインに書き出すものがありません","These settings apply to the whole edit and cannot be changed later.": "これらの設定は編集全体に適用され、後から変更できません。","This clip has no file to transcribe": "このクリップには文字起こしするファイルがありません",- "Timeline": "タイムライン","TIMELINE": "タイムライン",+ "Timeline": "タイムライン","Timeline 1": "タイムライン 1","Tint": "色合い","Title": "タイトル",@@ -512,8 +513,8 @@"Where should the project folder go?": "プロジェクトフォルダをどこに作成しますか?","Width": "幅","yesterday": "昨日",- "Zoom in": "拡大","Zoom In": "ズームイン",+ "Zoom in": "拡大","Zoom Out": "ズームアウト","Zoom out": "縮小","Zoom to fit": "全体を表示",diff --git a/engine/crates/concat/locales/ko.json b/engine/crates/concat/locales/ko.jsonindex b735ae02..c555f678 100644--- a/engine/crates/concat/locales/ko.json+++ b/engine/crates/concat/locales/ko.json@@ -37,10 +37,10 @@"Apply": "적용","Audio": "오디오","audio effect": "오디오 효과",- "Audio effects": "오디오 효과","Audio Effects": "오디오 효과",- "auto": "자동",+ "Audio effects": "오디오 효과","Auto": "자동",+ "auto": "자동","Auto captions": "자동 자막","Auto captions from this clip's sound": "이 클립의 소리로 자동 자막 만들기","Automatic": "자동",@@ -52,8 +52,8 @@"Bits": "비트","Black & White": "흑백","Blend": "블렌드",- "Blue screen": "블루 스크린","Blue Screen": "블루 스크린",+ "Blue screen": "블루 스크린","Blur": "흐림","Body": "바디","Bold": "굵게",@@ -99,8 +99,8 @@"Combo": "콤보","Concat {0}": "Concat {0}","Content": "내용",- "Contents": "내용","CONTENTS": "내용",+ "Contents": "내용","Contrast": "대비","Contrast Pop": "선명한 대비","Cool": "차갑게",@@ -182,8 +182,8 @@"File": "파일","Fill": "채우기","Film Grain": "필름 그레인",- "filter": "필터","Filter": "필터",+ "filter": "필터","Filter library": "필터 라이브러리","Filters": "필터","Finalising file": "파일 마무리 중",@@ -210,8 +210,8 @@"Glow": "글로우","Go to end": "끝으로","Go to start": "처음으로",- "Green screen": "그린 스크린","Green Screen": "그린 스크린",+ "Green screen": "그린 스크린","Half": "1/2","Hall": "홀","Headline": "헤드라인",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "믹스에서 음성을 살립니다. 약간의 존재감과 약간의 제어.","Light": "라이트","Lighten": "밝게",+ "Lightness": "명도","Line height": "줄 높이","Lo-fi": "로파이","Loading the model": "모델 불러오는 중",@@ -302,8 +303,8 @@"No {0} matches that.": "일치하는 {0}이(가) 없습니다.","Noise": "노이즈","Noise Reduction": "노이즈 제거",- "none": "없음","None": "없음",+ "none": "없음","None installed": "설치된 항목 없음","Normal": "표준","Normalize Loudness": "라우드니스 정규화",@@ -348,8 +349,8 @@"Preview failed: {0}": "미리보기 실패: {0}","Previous frame": "이전 프레임","Processor": "프로세서",- "Project": "프로젝트","PROJECT": "프로젝트",+ "Project": "프로젝트","Project saved": "프로젝트를 저장했습니다","Pulse": "펄스","Put the detached sound back on its picture": "분리한 소리를 영상에 다시 붙이기",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "타임라인에 내보낼 것이 없습니다","These settings apply to the whole edit and cannot be changed later.": "이 설정은 편집 전체에 적용되며 나중에 바꿀 수 없습니다.","This clip has no file to transcribe": "이 클립에는 받아쓸 파일이 없습니다",- "Timeline": "타임라인","TIMELINE": "타임라인",+ "Timeline": "타임라인","Timeline 1": "타임라인 1","Tint": "틴트","Title": "자막",@@ -512,8 +513,8 @@"Where should the project folder go?": "프로젝트 폴더를 어디에 만들까요?","Width": "너비","yesterday": "어제",- "Zoom in": "확대","Zoom In": "줌 인",+ "Zoom in": "확대","Zoom Out": "줌 아웃","Zoom out": "축소","Zoom to fit": "화면에 맞추기",diff --git a/engine/crates/concat/locales/pt-BR.json b/engine/crates/concat/locales/pt-BR.jsonindex ec6dcde1..dc8c5771 100644--- a/engine/crates/concat/locales/pt-BR.json+++ b/engine/crates/concat/locales/pt-BR.json@@ -37,10 +37,10 @@"Apply": "Aplicar","Audio": "Áudio","audio effect": "efeito de áudio",- "Audio effects": "Efeitos de áudio","Audio Effects": "Efeitos de áudio",- "auto": "auto",+ "Audio effects": "Efeitos de áudio","Auto": "Auto",+ "auto": "auto","Auto captions": "Legendas automáticas","Auto captions from this clip's sound": "Legendas automáticas a partir do som deste clipe","Automatic": "Automático",@@ -52,8 +52,8 @@"Bits": "Bits","Black & White": "Preto e branco","Blend": "Mesclagem",- "Blue screen": "Tela azul","Blue Screen": "Tela azul",+ "Blue screen": "Tela azul","Blur": "Desfoque","Body": "Corpo","Bold": "Negrito",@@ -99,8 +99,8 @@"Combo": "Combo","Concat {0}": "Concat {0}","Content": "Conteúdo",- "Contents": "Conteúdo","CONTENTS": "CONTEÚDO",+ "Contents": "Conteúdo","Contrast": "Contraste","Contrast Pop": "Contraste vivo","Cool": "Frio",@@ -182,8 +182,8 @@"File": "Arquivo","Fill": "Preenchimento","Film Grain": "Granulação de filme",- "filter": "filtro","Filter": "Filtro",+ "filter": "filtro","Filter library": "Biblioteca de filtros","Filters": "Filtros","Finalising file": "Finalizando o arquivo",@@ -210,8 +210,8 @@"Glow": "Brilho","Go to end": "Ir para o fim","Go to start": "Ir para o início",- "Green screen": "Tela verde","Green Screen": "Tela verde",+ "Green screen": "Tela verde","Half": "Metade","Hall": "Salão","Headline": "Manchete",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Destaca a voz na mixagem: um pouco de presença, um pouco de controle.","Light": "Claro","Lighten": "Clarear",+ "Lightness": "Luz","Line height": "Altura da linha","Lo-fi": "Lo-fi","Loading the model": "Carregando o modelo",@@ -302,8 +303,8 @@"No {0} matches that.": "Nenhum {0} corresponde.","Noise": "Ruído","Noise Reduction": "Redução de ruído",- "none": "nenhum","None": "Nenhum",+ "none": "nenhum","None installed": "Nenhum instalado","Normal": "Normal","Normalize Loudness": "Normalizar loudness",@@ -348,8 +349,8 @@"Preview failed: {0}": "A pré-visualização falhou: {0}","Previous frame": "Quadro anterior","Processor": "Processador",- "Project": "Projeto","PROJECT": "PROJETO",+ "Project": "Projeto","Project saved": "Projeto salvo","Pulse": "Pulso","Put the detached sound back on its picture": "Devolver o som separado à sua imagem",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "Não há nada na linha do tempo para exportar","These settings apply to the whole edit and cannot be changed later.": "Estas configurações valem para toda a edição e não podem ser alteradas depois.","This clip has no file to transcribe": "Este clipe não tem arquivo para transcrever",- "Timeline": "Linha do tempo","TIMELINE": "LINHA DO TEMPO",+ "Timeline": "Linha do tempo","Timeline 1": "Linha do tempo 1","Tint": "Matiz","Title": "Título",@@ -512,8 +513,8 @@"Where should the project folder go?": "Onde a pasta do projeto deve ficar?","Width": "Largura","yesterday": "ontem",- "Zoom in": "Ampliar","Zoom In": "Aproximar",+ "Zoom in": "Ampliar","Zoom Out": "Afastar","Zoom out": "Reduzir","Zoom to fit": "Ajustar à janela",diff --git a/engine/crates/concat/locales/ru.json b/engine/crates/concat/locales/ru.jsonindex 6d99d2b7..c03d2721 100644--- a/engine/crates/concat/locales/ru.json+++ b/engine/crates/concat/locales/ru.json@@ -37,10 +37,10 @@"Apply": "Применить","Audio": "Аудио","audio effect": "аудиоэффект",- "Audio effects": "Аудиоэффекты","Audio Effects": "Аудиоэффекты",- "auto": "авто",+ "Audio effects": "Аудиоэффекты","Auto": "Авто",+ "auto": "авто","Auto captions": "Автосубтитры","Auto captions from this clip's sound": "Автосубтитры из звука этого клипа","Automatic": "Автоматически",@@ -52,8 +52,8 @@"Bits": "Биты","Black & White": "Чёрно-белое","Blend": "Наложение",- "Blue screen": "Синий экран","Blue Screen": "Синий экран",+ "Blue screen": "Синий экран","Blur": "Размытие","Body": "Тело","Bold": "Жирный",@@ -99,8 +99,8 @@"Combo": "Комбо","Concat {0}": "Concat {0}","Content": "Содержание",- "Contents": "Содержимое","CONTENTS": "СОДЕРЖИМОЕ",+ "Contents": "Содержимое","Contrast": "Контраст","Contrast Pop": "Сочный контраст","Cool": "Холодный",@@ -182,8 +182,8 @@"File": "Файл","Fill": "Заливка","Film Grain": "Зерно плёнки",- "filter": "фильтр","Filter": "Фильтр",+ "filter": "фильтр","Filter library": "Библиотека фильтров","Filters": "Фильтры","Finalising file": "Завершение файла",@@ -210,8 +210,8 @@"Glow": "Свечение","Go to end": "В конец","Go to start": "В начало",- "Green screen": "Зелёный экран","Green Screen": "Зелёный экран",+ "Green screen": "Зелёный экран","Half": "Половина","Hall": "Зал","Headline": "Заголовок",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Выделяет голос в миксе: немного присутствия, немного контроля.","Light": "Светлая","Lighten": "Осветление",+ "Lightness": "Свет","Line height": "Высота строки","Lo-fi": "Лоу-фай","Loading the model": "Загрузка модели",@@ -302,8 +303,8 @@"No {0} matches that.": "Ничего не подходит: {0}.","Noise": "Шум","Noise Reduction": "Шумоподавление",- "none": "нет","None": "Нет",+ "none": "нет","None installed": "Ничего не установлено","Normal": "Обычный","Normalize Loudness": "Нормализовать громкость",@@ -348,8 +349,8 @@"Preview failed: {0}": "Просмотр не удался: {0}","Previous frame": "Предыдущий кадр","Processor": "Процессор",- "Project": "Проект","PROJECT": "ПРОЕКТ",+ "Project": "Проект","Project saved": "Проект сохранён","Pulse": "Пульс","Put the detached sound back on its picture": "Вернуть отделённый звук к его картинке",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "На таймлайне нечего экспортировать","These settings apply to the whole edit and cannot be changed later.": "Эти настройки действуют на весь монтаж и потом не меняются.","This clip has no file to transcribe": "У этого клипа нет файла для распознавания",- "Timeline": "Таймлайн","TIMELINE": "ТАЙМЛАЙН",+ "Timeline": "Таймлайн","Timeline 1": "Таймлайн 1","Tint": "Оттенок","Title": "Титр",@@ -512,8 +513,8 @@"Where should the project folder go?": "Где разместить папку проекта?","Width": "Ширина","yesterday": "вчера",- "Zoom in": "Увеличить","Zoom In": "Приближение",+ "Zoom in": "Увеличить","Zoom Out": "Отдаление","Zoom out": "Уменьшить","Zoom to fit": "Вместить",diff --git a/engine/crates/concat/locales/tr.json b/engine/crates/concat/locales/tr.jsonindex 32e8c731..ac062b26 100644--- a/engine/crates/concat/locales/tr.json+++ b/engine/crates/concat/locales/tr.json@@ -37,10 +37,10 @@"Apply": "Uygula","Audio": "Ses","audio effect": "ses efekti",- "Audio effects": "Ses efektleri","Audio Effects": "Ses efektleri",- "auto": "otomatik",+ "Audio effects": "Ses efektleri","Auto": "Otomatik",+ "auto": "otomatik","Auto captions": "Otomatik altyazı","Auto captions from this clip's sound": "Bu klibin sesinden otomatik altyazı","Automatic": "Otomatik",@@ -52,8 +52,8 @@"Bits": "Bit","Black & White": "Siyah-Beyaz","Blend": "Karışım",- "Blue screen": "Mavi perde","Blue Screen": "Mavi perde",+ "Blue screen": "Mavi perde","Blur": "Bulanıklık","Body": "Gövde","Bold": "Kalın",@@ -99,8 +99,8 @@"Combo": "Kombo","Concat {0}": "Concat {0}","Content": "İçerik",- "Contents": "İçerik","CONTENTS": "İÇERİK",+ "Contents": "İçerik","Contrast": "Kontrast","Contrast Pop": "Canlı kontrast","Cool": "Soğuk",@@ -182,8 +182,8 @@"File": "Dosya","Fill": "Dolgu","Film Grain": "Film greni",- "filter": "filtre","Filter": "Filtre",+ "filter": "filtre","Filter library": "Filtre kitaplığı","Filters": "Filtreler","Finalising file": "Dosya tamamlanıyor",@@ -210,8 +210,8 @@"Glow": "Parıltı","Go to end": "Sona git","Go to start": "Başa git",- "Green screen": "Yeşil perde","Green Screen": "Yeşil perde",+ "Green screen": "Yeşil perde","Half": "Yarım","Hall": "Salon","Headline": "Manşet",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "Konuşmayı miksin önüne çıkarır: biraz varlık, biraz kontrol.","Light": "Açık","Lighten": "Açıklaştır",+ "Lightness": "Işık","Line height": "Satır yüksekliği","Lo-fi": "Lo-fi","Loading the model": "Model yükleniyor",@@ -302,8 +303,8 @@"No {0} matches that.": "Eşleşen {0} yok.","Noise": "Gürültü","Noise Reduction": "Gürültü azaltma",- "none": "yok","None": "Yok",+ "none": "yok","None installed": "Hiçbiri kurulu değil","Normal": "Normal","Normalize Loudness": "Ses yüksekliğini normalleştir",@@ -348,8 +349,8 @@"Preview failed: {0}": "Önizleme başarısız: {0}","Previous frame": "Önceki kare","Processor": "İşlemci",- "Project": "Proje","PROJECT": "PROJE",+ "Project": "Proje","Project saved": "Proje kaydedildi","Pulse": "Nabız","Put the detached sound back on its picture": "Ayrılan sesi görüntüsüne geri koy",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "Zaman çizelgesinde dışa aktarılacak bir şey yok","These settings apply to the whole edit and cannot be changed later.": "Bu ayarlar tüm düzenleme için geçerlidir ve sonradan değiştirilemez.","This clip has no file to transcribe": "Bu klibin yazıya dökülecek dosyası yok",- "Timeline": "Zaman çizelgesi","TIMELINE": "ZAMAN ÇIZELGESI",+ "Timeline": "Zaman çizelgesi","Timeline 1": "Zaman çizelgesi 1","Tint": "Renk tonu","Title": "Yazı",@@ -512,8 +513,8 @@"Where should the project folder go?": "Proje klasörü nereye gitsin?","Width": "Genişlik","yesterday": "dün",- "Zoom in": "Yaklaştır","Zoom In": "Yaklaşma",+ "Zoom in": "Yaklaştır","Zoom Out": "Uzaklaşma","Zoom out": "Uzaklaştır","Zoom to fit": "Sığdır",diff --git a/engine/crates/concat/locales/zh-Hans.json b/engine/crates/concat/locales/zh-Hans.jsonindex 8b86d2c6..a8fd4631 100644--- a/engine/crates/concat/locales/zh-Hans.json+++ b/engine/crates/concat/locales/zh-Hans.json@@ -37,10 +37,10 @@"Apply": "应用","Audio": "音频","audio effect": "音频效果",- "Audio effects": "音频效果","Audio Effects": "音频效果",- "auto": "自动",+ "Audio effects": "音频效果","Auto": "自动",+ "auto": "自动","Auto captions": "自动字幕","Auto captions from this clip's sound": "根据此片段的声音生成自动字幕","Automatic": "自动",@@ -52,8 +52,8 @@"Bits": "位数","Black & White": "黑白","Blend": "混合",- "Blue screen": "蓝幕","Blue Screen": "蓝幕",+ "Blue screen": "蓝幕","Blur": "模糊","Body": "厚度","Bold": "粗体",@@ -99,8 +99,8 @@"Combo": "组合","Concat {0}": "Concat {0}","Content": "内容",- "Contents": "内容","CONTENTS": "内容",+ "Contents": "内容","Contrast": "对比度","Contrast Pop": "对比增强","Cool": "冷色",@@ -182,8 +182,8 @@"File": "文件","Fill": "填充","Film Grain": "胶片颗粒",- "filter": "滤镜","Filter": "滤镜",+ "filter": "滤镜","Filter library": "滤镜库","Filters": "滤镜","Finalising file": "正在完成文件",@@ -210,8 +210,8 @@"Glow": "发光","Go to end": "跳到结尾","Go to start": "跳到开头",- "Green screen": "绿幕","Green Screen": "绿幕",+ "Green screen": "绿幕","Half": "1/2","Hall": "大厅","Headline": "标题",@@ -257,6 +257,7 @@"Lifts speech out of the mix: a little presence, a little control.": "让人声从混音中突出:一点临场感,一点控制。","Light": "浅色","Lighten": "变亮",+ "Lightness": "明度","Line height": "行高","Lo-fi": "低保真","Loading the model": "正在加载模型",@@ -302,8 +303,8 @@"No {0} matches that.": "没有匹配的{0}。","Noise": "噪点","Noise Reduction": "降噪",- "none": "无","None": "无",+ "none": "无","None installed": "未安装","Normal": "正常","Normalize Loudness": "响度标准化",@@ -348,8 +349,8 @@"Preview failed: {0}": "预览失败:{0}","Previous frame": "上一帧","Processor": "处理器",- "Project": "项目","PROJECT": "项目",+ "Project": "项目","Project saved": "项目已保存","Pulse": "脉动","Put the detached sound back on its picture": "把分离的声音放回画面",@@ -472,8 +473,8 @@"There is nothing on the timeline to export": "时间线上没有可导出的内容","These settings apply to the whole edit and cannot be changed later.": "这些设置作用于整个剪辑,之后无法更改。","This clip has no file to transcribe": "此片段没有可转写的文件",- "Timeline": "时间线","TIMELINE": "时间线",+ "Timeline": "时间线","Timeline 1": "时间线 1","Tint": "色调","Title": "字幕",@@ -512,8 +513,8 @@"Where should the project folder go?": "项目文件夹放在哪里?","Width": "宽度","yesterday": "昨天",- "Zoom in": "放大","Zoom In": "推近",+ "Zoom in": "放大","Zoom Out": "拉远","Zoom out": "缩小","Zoom to fit": "适应窗口",diff --git a/engine/crates/concat/src/studio.rs b/engine/crates/concat/src/studio.rsindex c8e459e9..3606f72a 100644--- a/engine/crates/concat/src/studio.rs+++ b/engine/crates/concat/src/studio.rs@@ -960,6 +960,7 @@ fn adjust_rows(chain: &[AppliedFilter]) -> Vec<AppliedParamData> {entry: -1,key: param.key.as_str().into(),label: t(¶m.label).into(),+ group: t(¶m.group).into(),min: param.min as f32,max: param.max as f32,step: if param.step > 0.0 {@@ -1010,6 +1011,7 @@ fn chain_rows(chain: &[AppliedFilter]) -> (Vec<AppliedEntryData>, Vec<AppliedParentry: index as i32,key: concat_effects::catalogue::INTENSITY.into(),label: t("Intensity").into(),+ group: "".into(),min: 0.0,max: 100.0,step: 1.0,@@ -1032,6 +1034,7 @@ fn chain_rows(chain: &[AppliedFilter]) -> (Vec<AppliedEntryData>, Vec<AppliedParentry: index as i32,key: param.key.as_str().into(),label: t(¶m.label).into(),+ group: "".into(),min: param.min as f32,max: param.max as f32,step: step as f32,diff --git a/engine/crates/concat/ui/inspector/clip-inspector.slint b/engine/crates/concat/ui/inspector/clip-inspector.slintindex bf0456b0..2996cc15 100644--- a/engine/crates/concat/ui/inspector/clip-inspector.slint+++ b/engine/crates/concat/ui/inspector/clip-inspector.slint@@ -10,7 +10,7 @@ import { SegmentedControl } from "../primitives/segmented-control.slint";import { Select } from "../primitives/select.slint";import {Fader, HelpButton, InspectorFmt, Note, Param, ParamFormat,- Rail, ResetButton, SearchField, Switch, SwitchRow,+ Rail, ResetButton, SearchField, Subhead, Switch, SwitchRow,} from "controls.slint";import { ClipField, ClipKind, Keyframes, SelectedClipData } from "../timeline/model.slint";@@ -94,6 +94,9 @@ export struct AppliedParamData {/// The manifest's key; what Rust is handed back with the new value.key: string,label: string,+ /// The subhead this knob sits under; empty for none. Rows that share+ /// one in a run share one subhead.+ group: string,min: float,max: float,step: float,@@ -1300,7 +1303,7 @@ export component AdjustPanel inherits VerticalLayout {Section {first: true;SectionHeader {- title: I18n.t("Color");+ title: I18n.t("Adjust");HelpButton {open: root.help;toggled => { root.help = self.open; }@@ -1311,23 +1314,32 @@ export component AdjustPanel inherits VerticalLayout {text: I18n.t("Exposure is in stops; the rest is a signed percent of the picture as shot, and zero everywhere is the picture as shot. Double-click a knob to put it back.");}- // See PresetStack for why each row re-seeds its knob.+ // See PresetStack for why each row re-seeds its knob. A subhead+ // opens each run of rows that share a group.SectionBody {- for p in root.params: Rectangle {- property <AppliedParamData> data: p;- height: knob.preferred-height;- changed data => { knob.value = self.data.value; }-- knob := Param {- slider: false;- label: p.label;- value: p.value;- minimum: p.min;- maximum: p.max;- step: p.step;- default-value: p.default-value;- fmt: p.fmt;- changed(v) => { root.set(p.key, v); root.commit(); }+ for p[i] in root.params: VerticalLayout {+ spacing: Theme.gap;++ if p.group != "" && (i == 0 || root.params[i - 1].group != p.group): Subhead {+ title: p.group;+ }++ Rectangle {+ property <AppliedParamData> data: p;+ height: knob.preferred-height;+ changed data => { knob.value = self.data.value; }++ knob := Param {+ slider: false;+ label: p.label;+ value: p.value;+ minimum: p.min;+ maximum: p.max;+ step: p.step;+ default-value: p.default-value;+ fmt: p.fmt;+ changed(v) => { root.set(p.key, v); root.commit(); }+ }}}}diff --git a/engine/crates/concat/ui/inspector/controls.slint b/engine/crates/concat/ui/inspector/controls.slintindex a15de9b6..3fdc82a7 100644--- a/engine/crates/concat/ui/inspector/controls.slint+++ b/engine/crates/concat/ui/inspector/controls.slint@@ -519,6 +519,29 @@ export component Param inherits VerticalLayout {}}+// A label over a run of rows inside one section - Color, Lightness,+// Effects on the Adjust tab. Lighter than a SectionHeader, since it groups+// knobs rather than opening a drawer: muted text and a hairline under it.+export component Subhead inherits VerticalLayout {+ in property <string> title;++ padding-left: Theme.pad;+ padding-right: Theme.pad;+ padding-top: 6px;+ spacing: 6px;++ Text {+ text: root.title;+ color: Theme.fg-muted;+ font-size: Theme.fs;+ font-weight: Theme.weight-title;+ }+ Rectangle {+ height: 1px;+ background: Theme.line;+ }+}+export component Switch inherits Rectangle {in-out property <bool> checked;in property <bool> enabled: true;diff --git a/scripts/locales.py b/scripts/locales.pyindex 0a4c6fb5..4dc761c5 100755--- a/scripts/locales.py+++ b/scripts/locales.py@@ -26,7 +26,7 @@ PACKAGES = ROOT / "engine" / "crates" / "concat-effects" / "packages"LITERAL = r'"((?:[^"\\]|\\.)*)"'SLINT_CALL = re.compile(r"I18n\.t[12]?\(\s*" + LITERAL)RUST_CALL = re.compile(r"(?<![A-Za-z_])(?:i18n::)?tf?\(\s*" + LITERAL)-TOML_FIELD = re.compile(r'^(name|description|category|label)\s*=\s*' + LITERAL, re.M)+TOML_FIELD = re.compile(r'^(name|description|category|label|group)\s*=\s*' + LITERAL, re.M)PRESET = re.compile(r'look\(\s*"[^"]+",\s*' + LITERAL)@@ -70,7 +70,9 @@ def read(path: pathlib.Path) -> dict:def write_inventory(inventory: set[str]) -> None:body = {"_": {"name": "English"}}- for key in sorted(inventory, key=str.casefold):+ # Case-folded, with the exact key breaking ties, so the file is the+ # same from one run to the next.+ for key in sorted(inventory, key=lambda key: (key.casefold(), key)):body[key] = keyLOCALES.mkdir(exist_ok=True)(LOCALES / "en.json").write_text(