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): the playhead's colour - lime by default, and any colour from Settings › Appearance
Jareer680609691b3f
diff --git a/src/crates/concat/locales/de.json b/src/crates/concat/locales/de.jsonindex 052cead0..f2a68ccf 100644--- a/src/crates/concat/locales/de.json+++ b/src/crates/concat/locales/de.json@@ -232,6 +232,7 @@"Deep": "Tief","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Tiefere Schatten, hellere Lichter.",+ "Default": "Standard","Default title": "Standardtitel","Delay": "Verzögerung","Delete": "Löschen",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "Die nächste Einstellung gleitet über die vorherige, die darunter stillhält.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "Die linke Hälfte, auf die rechte gespiegelt.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "Die Linie quer über die Spuren, die die aktuelle Zeit markiert. Wähle eine beliebige Farbe dafür, oder den ersten Punkt, um zur Farbe des Designs zurückzukehren.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "Das manuelle Farbpanel, das jeder Bildclip trägt: Belichtung, Ton, Balance, Schärfe und Kante.","The narrow band of a phone line.": "Das schmale Band einer Telefonleitung.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "Die vorherige Einstellung dreht sich wie eine Würfelseite weg, während die nächste ins Bild dreht.",diff --git a/src/crates/concat/locales/en.json b/src/crates/concat/locales/en.jsonindex f4403eca..01a5dbaf 100644--- a/src/crates/concat/locales/en.json+++ b/src/crates/concat/locales/en.json@@ -232,6 +232,7 @@"Deep": "Deep","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Deeper shadows, brighter highlights.",+ "Default": "Default","Default title": "Default title","Delay": "Delay","Delete": "Delete",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "The incoming shot slides in over the outgoing one, which holds still underneath.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "The left half, reflected onto the right.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.","The narrow band of a phone line.": "The narrow band of a phone line.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "The outgoing shot rotates away like a cube face as the incoming one rotates into view.",diff --git a/src/crates/concat/locales/es.json b/src/crates/concat/locales/es.jsonindex bc1981b2..9dd2b909 100644--- a/src/crates/concat/locales/es.json+++ b/src/crates/concat/locales/es.json@@ -232,6 +232,7 @@"Deep": "Profunda","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Sombras más profundas, luces más brillantes.",+ "Default": "Predeterminado","Default title": "Título predeterminado","Delay": "Retardo","Delete": "Eliminar",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "El plano entrante se desliza sobre el saliente, que permanece quieto debajo.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "La mitad izquierda, reflejada sobre la derecha.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "La línea que cruza las pistas y marca el tiempo actual. Elige cualquier color para ella, o el primer punto para volver al color del tema.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "El panel de color manual de todo clip de imagen: exposición, tono, balance, nitidez y borde.","The narrow band of a phone line.": "La banda estrecha de una línea telefónica.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "El plano saliente gira y se aleja como la cara de un cubo mientras el entrante gira hasta quedar a la vista.",diff --git a/src/crates/concat/locales/fa.json b/src/crates/concat/locales/fa.jsonindex 191f6904..5def62fb 100644--- a/src/crates/concat/locales/fa.json+++ b/src/crates/concat/locales/fa.json@@ -232,6 +232,7 @@"Deep": "عمیق","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "سیاهیهای عمیق، تهرنگ سرد روی همه چیز بهجز چراغها، رنگ کم و کمی دانهدانهشدن؛ مناسب ویدئوی خام میز و Monologue در آخر شب.","Deeper shadows, brighter highlights.": "سایههای عمیقتر و هایلایتهای روشنتر.",+ "Default": "پیشفرض","Default title": "عنوان پیشفرض","Delay": "تأخیر","Delete": "حذف",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "نمای ورودی روی نمای خروجی که زیر آن ثابت مانده است میلغزد.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "ظاهر Instant چاپ: Matte کرمی، هایلایتهای گرم، فیروزهای در سایهها و کمی نرمی در گوشهها.","The left half, reflected onto the right.": "نیمه چپ روی نیمه راست Mirror میشود.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "خطی که از روی ترکها میگذرد و زمان فعلی را نشان میدهد. هر رنگی را برای آن انتخاب کنید، یا نقطهٔ اول را برای بازگشت به رنگ خود تم.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "پنل دستی رنگ که هر تصویر کلیپ دارد: Exposure، Tone، تعادل، Sharpness و لبه.","The narrow band of a phone line.": "باند باریک یک خط تلفن.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "نمای خروجی مثل وجه یک مکعب میچرخد و دور میشود و نمای ورودی با چرخش وارد دید میشود.",diff --git a/src/crates/concat/locales/fr.json b/src/crates/concat/locales/fr.jsonindex 7ca1956b..f0b6e6fc 100644--- a/src/crates/concat/locales/fr.json+++ b/src/crates/concat/locales/fr.json@@ -232,6 +232,7 @@"Deep": "Grave","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Des ombres plus profondes, des hautes lumières plus vives.",+ "Default": "Par défaut","Default title": "Titre par défaut","Delay": "Délai","Delete": "Supprimer",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "Le plan suivant glisse par-dessus le plan sortant, qui reste immobile en dessous.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "La moitié gauche, reflétée sur la droite.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "La ligne qui traverse les pistes et marque l'instant courant. Choisissez n'importe quelle couleur, ou le premier point pour revenir à celle du thème.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "Le panneau de couleur manuel de chaque clip image : exposition, tonalité, balance, netteté et contour.","The narrow band of a phone line.": "La bande étroite d'une ligne téléphonique.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "Le plan sortant pivote comme la face d'un cube tandis que le plan suivant pivote dans le champ.",diff --git a/src/crates/concat/locales/hr.json b/src/crates/concat/locales/hr.jsonindex 83f8ba9a..c811e88d 100644--- a/src/crates/concat/locales/hr.json+++ b/src/crates/concat/locales/hr.json@@ -232,6 +232,7 @@"Deep": "Duboko","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Duboke crne, hladan ton preko svega osim svjetiljki, boja niska, malo zrna. Kasnonoćna snimka stola i monologa.","Deeper shadows, brighter highlights.": "Dublje sjene, svjetlija svjetla.",+ "Default": "Zadano","Default title": "Zadani naslov","Delay": "Kašnjenje","Delete": "Obriši",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "Dolazeći kadar uklizava preko odlazećeg, koji ispod stoji na mjestu.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "Trenutni print: krem mat, topla svjetla, cijan koji se uvlači u sjene, malo mekoće u kutovima.","The left half, reflected onto the right.": "Lijeva polovica, zrcaljena na desnu.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "Crta preko traka koja označava trenutno vrijeme. Odaberite bilo koju boju za nju, ili prvu točku za povratak na boju teme.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "Ručna ploča boje koju nosi svaki slikovni klip: ekspozicija, ton, balans, oštrina i rub.","The narrow band of a phone line.": "Uski pojas telefonske linije.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "Odlazeći kadar odvrće se kao stranica kocke dok se dolazeći uvrće u vidno polje.",diff --git a/src/crates/concat/locales/it.json b/src/crates/concat/locales/it.jsonindex ac702fb7..4ac1feaf 100644--- a/src/crates/concat/locales/it.json+++ b/src/crates/concat/locales/it.json@@ -232,6 +232,7 @@"Deep": "Profonda","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Ombre più profonde, luci più brillanti.",+ "Default": "Predefinito","Default title": "Titolo predefinito","Delay": "Ritardo","Delete": "Elimina",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "L'inquadratura in entrata scorre sopra quella in uscita, che resta ferma sotto.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "La metà sinistra, riflessa sulla destra.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "La linea che attraversa le tracce e segna il tempo corrente. Scegli un colore qualsiasi, o il primo punto per tornare a quello del tema.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "Il pannello colore manuale di ogni clip immagine: esposizione, tono, bilanciamento, nitidezza e bordo.","The narrow band of a phone line.": "La banda stretta di una linea telefonica.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "L'inquadratura in uscita ruota via come la faccia di un cubo mentre quella in entrata ruota in vista.",diff --git a/src/crates/concat/locales/ja.json b/src/crates/concat/locales/ja.jsonindex 4ea831e3..b1acde94 100644--- a/src/crates/concat/locales/ja.json+++ b/src/crates/concat/locales/ja.json@@ -232,6 +232,7 @@"Deep": "ディープ","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "シャドウをより深く、ハイライトをより明るく。",+ "Default": "デフォルト","Default title": "デフォルトのタイトル","Delay": "ディレイ","Delete": "削除",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "次のショットが、下で静止したままの前のショットの上にスライドして入ります。","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "左半分を右に映します。",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "トラックを横切って現在の時間を示す線です。好きな色を選ぶか、最初の点でテーマ本来の色に戻します。","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "すべての画像クリップが持つ手動カラーパネル:露出、トーン、バランス、シャープネス、エッジ。","The narrow band of a phone line.": "電話回線の狭い帯域。","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "前のショットが立方体の面のように回転して去り、次のショットが回転して現れます。",diff --git a/src/crates/concat/locales/ko.json b/src/crates/concat/locales/ko.jsonindex f789a422..1e2224f5 100644--- a/src/crates/concat/locales/ko.json+++ b/src/crates/concat/locales/ko.json@@ -232,6 +232,7 @@"Deep": "깊게","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "더 깊은 어둠, 더 밝은 하이라이트.",+ "Default": "기본","Default title": "기본 자막","Delay": "지연","Delete": "삭제",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "들어오는 샷이 가만히 있는 나가는 샷 위로 미끄러져 들어옵니다.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "왼쪽 절반을 오른쪽에 비춥니다.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "트랙을 가로질러 현재 시간을 표시하는 선입니다. 원하는 색을 고르거나, 첫 번째 점을 눌러 테마 본래의 색으로 돌아갑니다.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "모든 영상 클립이 가진 수동 색상 패널: 노출, 톤, 균형, 선명도, 가장자리.","The narrow band of a phone line.": "전화선의 좁은 대역.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "나가는 샷이 큐브의 한 면처럼 돌아 사라지고 들어오는 샷이 돌아 나타납니다.",diff --git a/src/crates/concat/locales/pt-BR.json b/src/crates/concat/locales/pt-BR.jsonindex 7a01a8fe..c6205b84 100644--- a/src/crates/concat/locales/pt-BR.json+++ b/src/crates/concat/locales/pt-BR.json@@ -232,6 +232,7 @@"Deep": "Grave","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Sombras mais profundas, realces mais brilhantes.",+ "Default": "Padrão","Default title": "Título padrão","Delay": "Atraso","Delete": "Excluir",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "O plano que entra desliza sobre o que sai, que fica parado por baixo.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "A metade esquerda, refletida na direita.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "A linha que cruza as faixas e marca o tempo atual. Escolha qualquer cor para ela, ou o primeiro ponto para voltar à cor do tema.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "O painel de cor manual de todo clipe de imagem: exposição, tom, balanço, nitidez e borda.","The narrow band of a phone line.": "A banda estreita de uma linha telefônica.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "O plano que sai gira para longe como a face de um cubo enquanto o que entra gira até aparecer.",diff --git a/src/crates/concat/locales/ru.json b/src/crates/concat/locales/ru.jsonindex a45b11f4..662c0ef9 100644--- a/src/crates/concat/locales/ru.json+++ b/src/crates/concat/locales/ru.json@@ -232,6 +232,7 @@"Deep": "Глубокий","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Глубокие чёрные, холодный оттенок на всём, кроме ламп, цвет приглушён, немного зерна. Ночной стол и монолог в камеру.","Deeper shadows, brighter highlights.": "Глубже тени, ярче света.",+ "Default": "По умолчанию","Default title": "Титр по умолчанию","Delay": "Задержка","Delete": "Удалить",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "Следующий кадр наезжает поверх уходящего, который неподвижно стоит под ним.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "Моментальный снимок: кремовая матовость, тёплые света, циан, заползающий в тени, лёгкая мягкость по углам.","The left half, reflected onto the right.": "Левая половина, отражённая на правую.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "Линия поперёк дорожек, отмечающая текущее время. Выберите для неё любой цвет или первую точку, чтобы вернуть цвет темы.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "Ручная цветовая панель каждого клипа с картинкой: экспозиция, тон, баланс, резкость и край.","The narrow band of a phone line.": "Узкая полоса телефонной линии.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "Уходящий кадр отворачивается, как грань куба, а следующий поворачивается на его место.",diff --git a/src/crates/concat/locales/tr.json b/src/crates/concat/locales/tr.jsonindex ff054b12..37866056 100644--- a/src/crates/concat/locales/tr.json+++ b/src/crates/concat/locales/tr.json@@ -232,6 +232,7 @@"Deep": "Derin","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.","Deeper shadows, brighter highlights.": "Daha derin gölgeler, daha parlak ışıklar.",+ "Default": "Varsayılan","Default title": "Varsayılan yazı","Delay": "Gecikme","Delete": "Sil",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "Gelen çekim altta sabit duran giden çekimin üzerine kayarak girer.","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.","The left half, reflected onto the right.": "Sol yarı, sağa yansıtılmış.",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "Parçaları boydan boya geçen ve geçerli zamanı gösteren çizgi. Ona istediğiniz rengi seçin ya da temanın kendi rengine dönmek için ilk noktayı.","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "Her görüntü klibinin taşıdığı elle renk paneli: pozlama, ton, denge, netlik ve kenar.","The narrow band of a phone line.": "Bir telefon hattının dar bandı.","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "Giden çekim bir küp yüzü gibi dönerek uzaklaşırken gelen çekim dönerek görünür.",diff --git a/src/crates/concat/locales/zh-Hans.json b/src/crates/concat/locales/zh-Hans.jsonindex ca821c20..0fd7392e 100644--- a/src/crates/concat/locales/zh-Hans.json+++ b/src/crates/concat/locales/zh-Hans.json@@ -232,6 +232,7 @@"Deep": "深邃","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "深邃的黑色,除灯光外整体偏冷,色彩低调,略带颗粒。适合深夜脱口秀的主持台与独白画面。","Deeper shadows, brighter highlights.": "阴影更深,高光更亮。",+ "Default": "默认","Default title": "默认标题","Delay": "延迟","Delete": "删除",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "下一个镜头滑入并覆盖上一个镜头,后者在下方保持不动。","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "拍立得相片:奶油色哑光,高光偏暖,青色渗入阴影,四角略显柔和。","The left half, reflected onto the right.": "左半边镜像到右侧。",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "横跨轨道、标记当前时间的那条线。可为它选择任意颜色,或点第一个圆点回到主题自带的颜色。","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "每个画面片段都自带的手动颜色面板:曝光、色调、平衡、锐度与边缘。","The narrow band of a phone line.": "电话线路的窄频声音。","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "上一个镜头像立方体的一面般转走,下一个镜头随之转入视野。",diff --git a/src/crates/concat/locales/zh-TW.json b/src/crates/concat/locales/zh-TW.jsonindex 33e78bad..c13f86f3 100644--- a/src/crates/concat/locales/zh-TW.json+++ b/src/crates/concat/locales/zh-TW.json@@ -232,6 +232,7 @@"Deep": "深邃","Deep blacks, a cool cast over everything but the lamps, colour low, a little grain. Late-night desk and monologue footage.": "深邃的黑色,除燈光外整體偏冷,色彩低調,略帶顆粒。適合深夜脫口秀的主持台與獨白畫面。","Deeper shadows, brighter highlights.": "陰影更深,亮部更亮。",+ "Default": "預設","Default title": "預設標題","Delay": "延遲","Delete": "刪除",@@ -862,6 +863,7 @@"The incoming shot slides in over the outgoing one, which holds still underneath.": "下一個鏡頭滑入並覆蓋上一個鏡頭,後者在下方保持不動。","The instant print: a cream matte, warm highlights, cyan creeping into the shadows, a little softness in the corners.": "拍立得相片:奶油色霧面,亮部偏暖,青色滲入陰影,四角略顯柔和。","The left half, reflected onto the right.": "左半邊鏡像到右側。",+ "The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.": "橫跨軌道、標記目前時間的那條線。可為它選擇任意顏色,或點第一個圓點回到主題原本的顏色。","The manual colour panel every picture clip carries: exposure, tone, balance, sharpness and edge.": "每個畫面片段都內建的手動顏色面板:曝光、色調、平衡、銳利度與邊緣。","The narrow band of a phone line.": "電話線路的窄頻聲音。","The outgoing shot rotates away like a cube face as the incoming one rotates into view.": "上一個鏡頭像立方體的一面般轉走,下一個鏡頭隨之轉入視野。",diff --git a/src/crates/concat/src/lib.rs b/src/crates/concat/src/lib.rsindex 491ec53a..03c7908e 100644--- a/src/crates/concat/src/lib.rs+++ b/src/crates/concat/src/lib.rs@@ -158,6 +158,13 @@ pub fn run() -> Result<(), slint::PlatformError> {}}}+ // A picked playhead colour is remembered as its hex; none remembered,+ // or one that will not parse, is the palette's own.+ if let Some(colour) = studio.prefs.playhead.as_deref().and_then(format::parse_colour) {+ let theme = app.global::<Theme>();+ theme.set_playhead_custom(colour);+ theme.set_playhead_is_custom(true);+ }let shell = Rc::new(Shell {app: app.as_weak(),@@ -1162,6 +1169,32 @@ pub fn run() -> Result<(), slint::PlatformError> {});}});+ // The playhead's colour is the same shape of thing as the custom accent:+ // a colour on the Theme global, remembered as its hex, behind a flag+ // that says it is on. A reset clears the flag and forgets the hex, so+ // the palette's own comes back and the file no longer names one.+ app.on_settings_playhead_changed({+ move |colour| {+ Shell::with(|shell, app| {+ let theme = app.global::<Theme>();+ theme.set_playhead_custom(colour);+ theme.set_playhead_is_custom(true);+ let mut studio = shell.studio.borrow_mut();+ studio.prefs.playhead = Some(format::hex_of(colour));+ studio.prefs.save(&studio.host.dirs);+ });+ }+ });+ app.on_settings_playhead_reset({+ move || {+ Shell::with(|shell, app| {+ app.global::<Theme>().set_playhead_is_custom(false);+ let mut studio = shell.studio.borrow_mut();+ studio.prefs.playhead = None;+ studio.prefs.save(&studio.host.dirs);+ });+ }+ });app.on_export_closed(on_window!(|state| {state.handle(Msg::Export(ExportMsg::Close));}));diff --git a/src/crates/concat/src/prefs.rs b/src/crates/concat/src/prefs.rsindex 42fe3c90..8fbb355b 100644--- a/src/crates/concat/src/prefs.rs+++ b/src/crates/concat/src/prefs.rs@@ -22,6 +22,9 @@ pub struct Preferences {/// `None`, or a name no longer on the list, is the first one, which is/// Lime.pub accent: Option<String>,+ /// The playhead's colour as "#rrggbb", when one was picked by hand in+ /// Settings > Appearance. `None` is the palette's own, which is lime.+ pub playhead: Option<String>,/// The chosen transcriber model id, e.g. "base.en".pub transcriber_model: Option<String>,/// The chosen speech model id.@@ -252,4 +255,20 @@ mod tests {assert_eq!(back.accent, None);assert_eq!(back.accent_index(NAMES), 0);}++ /// A picked playhead colour is written as its hex and read back as+ /// one, and a file from before it existed reads as the palette's own.+ #[test]+ fn a_picked_playhead_round_trips_and_an_older_file_has_none() {+ let prefs = Preferences {+ playhead: Some("#ff453a".to_owned()),+ ..Preferences::default()+ };+ let text = serde_json::to_string(&prefs).unwrap();+ assert!(text.contains("\"playhead\":\"#ff453a\""), "{text}");+ let back: Preferences = serde_json::from_str(&text).unwrap();+ assert_eq!(back.playhead.as_deref(), Some("#ff453a"));+ let older: Preferences = serde_json::from_str(r#"{"dark": true}"#).unwrap();+ assert_eq!(older.playhead, None);+ }}diff --git a/src/crates/concat/ui/app.slint b/src/crates/concat/ui/app.slintindex 59005b0c..fafeb6ed 100644--- a/src/crates/concat/ui/app.slint+++ b/src/crates/concat/ui/app.slint@@ -208,6 +208,8 @@ export component App inherits Window {callback settings-theme-changed(dark: bool);callback settings-accent-changed(index: int);callback settings-accent-custom-changed(colour: color);+ callback settings-playhead-changed(colour: color);+ callback settings-playhead-reset();callback settings-playhead-stops-changed(on: bool);callback settings-custom-context-actions-changed(on: bool);callback settings-magnetic-changed(on: bool);@@ -548,6 +550,8 @@ export component App inherits Window {theme-changed(dark) => { root.settings-theme-changed(dark); }accent-changed(index) => { root.settings-accent-changed(index); }accent-custom-changed(colour) => { root.settings-accent-custom-changed(colour); }+ playhead-changed(colour) => { root.settings-playhead-changed(colour); }+ playhead-reset => { root.settings-playhead-reset(); }playhead-stops-changed(on) => { root.settings-playhead-stops-changed(on); }custom-context-actions-changed(on) => { root.settings-custom-context-actions-changed(on); }magnetic-changed(on) => { root.settings-magnetic-changed(on); }diff --git a/src/crates/concat/ui/dialogs/settings.slint b/src/crates/concat/ui/dialogs/settings.slintindex 6a0735db..1aac342c 100644--- a/src/crates/concat/ui/dialogs/settings.slint+++ b/src/crates/concat/ui/dialogs/settings.slint@@ -451,6 +451,10 @@ export component SettingsDialog inherits Modal {callback accent-changed(index: int);/// A colour picked by hand in place of any on the list.callback accent-custom-changed(colour: color);+ /// The playhead's colour, picked by hand in place of the palette's own.+ callback playhead-changed(colour: color);+ /// The palette's own playhead colour, back in place of a picked one.+ callback playhead-reset();callback playhead-stops-changed(on: bool);callback custom-context-actions-changed(on: bool);callback magnetic-changed(on: bool);@@ -855,6 +859,79 @@ export component SettingsDialog inherits Modal {}}}++ // The playhead: the one line over the lanes that has to be+ // found at a glance, whatever the clips under it are wearing.+ // The palette's own is lime. The second dot opens the same+ // picker the accent does, and the picked colour replaces the+ // palette's under both palettes until the first dot puts it+ // back. Read off the Theme global for the same reason the+ // accent is, and the hex is always shown: what the line is+ // wearing is the whole point of the row.+ DialogSection {+ title: I18n.t("Playhead");+ hint: I18n.t("The line across the lanes that marks the current time. Pick any colour for it, or the first dot to go back to the theme's own.");++ HorizontalLayout {+ spacing: 6px;+ alignment: start;++ AccentSwatch {+ colour: Theme.playhead-default;+ label: I18n.t("Default");+ chosen: !Theme.playhead-is-custom;+ clicked => { root.playhead-reset(); }+ }++ Rectangle {+ width: 26px;+ height: 26px;++ AccentSwatch {+ colour: Theme.playhead-is-custom ? Theme.playhead-custom : Theme.fg-dim;+ label: I18n.t("Custom");+ chosen: Theme.playhead-is-custom;+ blank: !Theme.playhead-is-custom;+ clicked => { playhead-picker.show(); }+ }++ playhead-picker := PopupWindow {+ x: 0;+ y: parent.height + 4px;+ width: 236px;+ close-policy: close-on-click-outside;++ Rectangle {+ background: Theme.raised;+ border-width: 1px;+ border-color: Theme.line-strong;+ border-radius: Theme.r;++ ColorPicker {+ value: Theme.playhead;+ alpha: false;+ changed(next) => { root.playhead-changed(next); }+ }+ }+ }+ }++ Text {+ text: Theme.playhead-is-custom ? I18n.t("Custom") : I18n.t("Default");+ color: Theme.fg-muted;+ font-size: Theme.fs;+ vertical-alignment: center;+ }++ Text {+ text: Fmt.hex-of(Theme.playhead, false);+ color: Theme.fg-dim;+ font-family: Theme.font-technical;+ font-size: Theme.fs-sm;+ vertical-alignment: center;+ }+ }+ }}if root.data.tab == 2: VerticalLayout {diff --git a/src/crates/concat/ui/theme/dark.slint b/src/crates/concat/ui/theme/dark.slintindex a3368572..e6ae2753 100644--- a/src/crates/concat/ui/theme/dark.slint+++ b/src/crates/concat/ui/theme/dark.slint@@ -227,9 +227,11 @@ export global Dark {/// lanes now carry while staying under `line-strong`, so the rules place a/// clip without competing with it.out property <color> grid: #ffffff24;- // Red, and used for nothing else. A playhead that shared the accent would- // be one more blue line among the selection outlines.- out property <color> playhead: #ff453a;+ // Lime: the palette's first accent, as a colour of its own rather than a+ // read of the accent, so a change of accent leaves the playhead where the+ // eye learnt to find it. Settings > Appearance can put any colour in its+ // place (theme.slint, `playhead-custom`).+ out property <color> playhead: #cbf53f;// Drawn on the audio clip's own dark ground, so it is a light wash of the// kind's hue rather than the vivid mark itself.out property <color> wave: #a7f0c2b3; // 0.7 alphadiff --git a/src/crates/concat/ui/theme/light.slint b/src/crates/concat/ui/theme/light.slintindex 538594cd..1ddf50b5 100644--- a/src/crates/concat/ui/theme/light.slint+++ b/src/crates/concat/ui/theme/light.slint@@ -165,8 +165,9 @@ export global Light {/// the dark palette's 14% white is: the grid places a clip, it does not/// compete with one.out property <color> grid: #00000021;- // Red, and used for nothing else.- out property <color> playhead: #d70015;+ // Lime, the palette's first accent, as a colour of its own; see the dark+ // palette. Settings > Appearance can put any colour in its place.+ out property <color> playhead: #4d7c0f;// Drawn on the audio clip's own light ground, so it is a *darker* wash of// the kind's hue — the dark palette's light one would vanish into it.out property <color> wave: #16703bb3; // 0.7 alphadiff --git a/src/crates/concat/ui/theme/theme.slint b/src/crates/concat/ui/theme/theme.slintindex 64f18fab..b56a8fc7 100644--- a/src/crates/concat/ui/theme/theme.slint+++ b/src/crates/concat/ui/theme/theme.slint@@ -70,6 +70,16 @@ export global Theme {/// remembered under in settings.json, lower-cased; the dialog holds the/// same list wrapped for translation, in this order.out property <[string]> accent-names: ["Lime", "Sky", "Violet", "Rose", "Amber", "Mint"];+ /// The playhead's colour when one was picked by hand in Settings >+ /// Appearance, in place of the palette's own. Read only while+ /// `playhead-is-custom`, and one colour under both palettes, for the+ /// reason the custom accent is: whoever picked it picked what they see.+ /// Grey until picked, so the dot that offers it reads as a blank.+ in-out property <color> playhead-custom: #808080;+ /// The playhead wears `playhead-custom` rather than the palette's own.+ /// Settings > Appearance sets both (lib.rs, `on_settings_playhead_changed`)+ /// and clears this one to put the palette's back.+ in-out property <bool> playhead-is-custom: false;// ── type ─────────────────────────────────────────────────────────────//@@ -221,7 +231,10 @@ export global Theme {out property <color> lane-alt: dark ? Dark.lane-alt : Light.lane-alt;out property <color> ruler: dark ? Dark.ruler : Light.ruler;out property <color> grid: dark ? Dark.grid : Light.grid;- out property <color> playhead: dark ? Dark.playhead : Light.playhead;+ /// The palette's own playhead, for the dot in Settings that offers it+ /// back while a picked colour is on.+ out property <color> playhead-default: dark ? Dark.playhead : Light.playhead;+ out property <color> playhead: playhead-is-custom ? playhead-custom : playhead-default;out property <color> wave: dark ? Dark.wave : Light.wave;out property <color> wave-video: dark ? Dark.wave-video : Light.wave-video;out property <color> wave-hot: dark ? Dark.wave-hot : Light.wave-hot;