Skip to content

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

feat(timeline): draw each zoom's move-in and move-out as trails (#1028)

EtienneLescotdb8a31ca5f3d
diff --git a/src/components/ai-edition/v4/EditorShellV4.module.css b/src/components/ai-edition/v4/EditorShellV4.module.css
index 8188f58d9..f22c2d1ca 100644
--- a/src/components/ai-edition/v4/EditorShellV4.module.css
+++ b/src/components/ai-edition/v4/EditorShellV4.module.css
@@ -1665,6 +1665,35 @@
.laneCameraFullscreen {
--_c: #a855f7;
}
+/* A zoom's camera moves (#1028): a trail on each side of the pill, fading away from it, BELOW
+ it (a chained neighbour's pill stays on top). Thinner than the pill so it reads as part of
+ it, not as another region. The part a trim cuts is hatched in the trim lane's red. */
+.zoomTrail {
+ position: absolute;
+ top: 5px;
+ height: 14px;
+ min-width: 1px;
+ overflow: hidden;
+ z-index: 1;
+}
+.zoomTrail[data-zoom-trail="in"] {
+ border-radius: 7px 0 0 7px;
+ background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--_c) 55%, transparent));
+}
+.zoomTrail[data-zoom-trail="out"] {
+ border-radius: 0 7px 7px 0;
+ background: linear-gradient(90deg, color-mix(in oklab, var(--_c) 55%, transparent), transparent);
+}
+.zoomTrailCut {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ background: repeating-linear-gradient(
+ -45deg,
+ color-mix(in srgb, var(--danger) 70%, transparent) 0 3px,
+ transparent 3px 6px
+ );
+}
/* Imported audio tracks (issue #350). A distinct pink so a BGM/voiceover track
reads apart from the effect pills, and taller than a lane pill so the waveform
inside it is legible. */
diff --git a/src/components/ai-edition/v4/V4Timeline.geometry.test.tsx b/src/components/ai-edition/v4/V4Timeline.geometry.test.tsx
index 48c587402..9429043ab 100644
--- a/src/components/ai-edition/v4/V4Timeline.geometry.test.tsx
+++ b/src/components/ai-edition/v4/V4Timeline.geometry.test.tsx
@@ -37,6 +37,7 @@ import type { I18nNamespace } from "@/i18n/config";
import { getAvailableLocales, translate } from "@/i18n/loader";
import type { useTimeline } from "@/lib/ai-edition/store/useTimeline";
import { DEFAULT_SHORTCUTS, formatBinding } from "@/lib/shortcuts";
+import { zoomTransitionMs } from "@/lib/zoomMath/constants";
import { V4Timeline } from "./V4Timeline";
beforeAll(() => {
@@ -1083,3 +1084,54 @@ describe("V4Timeline toolbar tooltips", () => {
expect(wide).not.toHaveAttribute("title");
});
});
+
+// A zoom pill shows the hold; its camera moves run outside it (#1028).
+describe("V4Timeline zoom trails", () => {
+ afterEach(() => {
+ i18n.translate = null;
+ });
+
+ const W_SEC = zoomTransitionMs(1.8) / 1000; // ≈ 0.92 s at the default depth
+ const ZOOM = { id: "z1", startMs: 10_000, endMs: 12_000, depth: 3 };
+ const pct = (sec: number) => (sec / TOTAL_SEC) * 100;
+ const trail = (side: "in" | "out") =>
+ document.querySelector<HTMLElement>(`[data-zoom-trail="${side}"]`) as HTMLElement;
+
+ function renderZoom(overrides: Record<string, unknown>) {
+ i18n.translate = (namespace, key, vars) =>
+ translate("en", namespace as I18nNamespace, key, vars);
+ renderTimeline(undefined, undefined, [NO_CAMERA_ASSET], undefined, {
+ zoomRegions: [ZOOM],
+ ...overrides,
+ });
+ }
+
+ it("hatches the zoom-out a trim at the pill's end removes (issue #1028 repro)", () => {
+ renderZoom({
+ trimRanges: [
+ { id: "t1", assetId: "a1", clipId: "c@0", startSec: 12, endSec: 14, origin: "user" },
+ ],
+ });
+ expect(trail("in")).toHaveAccessibleName("Zoom-in: the view moves in until the zoom starts");
+ expect(trail("in").querySelector("[data-zoom-trail-cut]")).toBeNull();
+ expect(Number.parseFloat(trail("in").style.left)).toBeCloseTo(pct(10 - W_SEC), 6);
+
+ expect(trail("out")).toHaveAccessibleName(
+ `A trim removes ${W_SEC.toFixed(2)} s of the zoom-out. The export jumps at the cut.`,
+ );
+ expect(Number.parseFloat(trail("out").style.left)).toBeCloseTo(pct(12), 6);
+ const cut = trail("out").querySelector<HTMLElement>("[data-zoom-trail-cut]");
+ expect(Number.parseFloat(cut?.style.left ?? "")).toBeCloseTo(0, 6);
+ expect(Number.parseFloat(cut?.style.width ?? "")).toBeCloseTo(100, 6);
+ });
+
+ it("stretches the zoom-out across a speed region, uncut", () => {
+ renderZoom({ speedRegions: [{ id: "s1", startMs: 12_000, endMs: 20_000, speed: 3 }] });
+ expect(Number.parseFloat(trail("out").style.width)).toBeCloseTo(pct(3 * W_SEC), 6);
+ expect(Number.parseFloat(trail("in").style.width)).toBeCloseTo(pct(W_SEC), 6);
+ expect(trail("out")).toHaveAccessibleName(
+ "Zoom-out: the view moves back out after the zoom ends",
+ );
+ expect(trail("out").querySelector("[data-zoom-trail-cut]")).toBeNull();
+ });
+});
diff --git a/src/components/ai-edition/v4/V4Timeline.tsx b/src/components/ai-edition/v4/V4Timeline.tsx
index 3ebe75192..a27e28ea2 100644
--- a/src/components/ai-edition/v4/V4Timeline.tsx
+++ b/src/components/ai-edition/v4/V4Timeline.tsx
@@ -67,6 +67,8 @@ import {
resolveTimelineSpanToTrim,
ventilateTimelineSpanToTrims,
} from "@/lib/ai-edition/timeline/trim-mapping";
+import { effectiveZoomScale } from "@/lib/ai-edition/timeline/zoom-scale";
+import { transitionCutsMs, zoomTransitions } from "@/lib/ai-edition/timeline/zoom-transitions";
import { formatBinding } from "@/lib/shortcuts";
import { nativeBridgeClient } from "@/native/client";
import { TransportBar } from "../TransportBar";
@@ -742,7 +744,8 @@ export function V4Timeline({
label: t("toolbar.newAnnotation"),
sourceIds: p.ids,
}));
- const speedPills: LanePill[] = coalesceRegionsForRuler(tl.speedRegions).map((p) => ({
+ const speedRuns = coalesceRegionsForRuler(tl.speedRegions);
+ const speedPills: LanePill[] = speedRuns.map((p) => ({
id: p.ids[0],
kind: "speed",
start: p.start,
@@ -760,7 +763,8 @@ export function V4Timeline({
sourceIds: p.ids,
}),
);
- const zoomPills: LanePill[] = coalesceRegionsForRuler(tl.zoomRegions).map((p) => ({
+ const zoomRuns = coalesceRegionsForRuler(tl.zoomRegions);
+ const zoomPills: LanePill[] = zoomRuns.map((p) => ({
id: p.ids[0],
kind: "zoom",
start: p.start,
@@ -1748,13 +1752,14 @@ export function V4Timeline({
);
};
+ // A pill's span as drawn: the live drag geometry while it is being dragged.
+ const liveSpan = <T extends { start: number; end: number }>(id: string, p: T): T =>
+ activePillDrag && activePillDrag.id === id
+ ? { ...p, start: activePillDrag.start, end: activePillDrag.end }
+ : p;
+
const renderPills = (pills: LanePill[], emptyLabel: string) => {
- const effectivePills = pills.map((p) => {
- if (activePillDrag && activePillDrag.id === p.id) {
- return { ...p, start: activePillDrag.start, end: activePillDrag.end };
- }
- return p;
- });
+ const effectivePills = pills.map((p) => liveSpan(p.id, p));
return (
<>
{effectivePills.length === 0 ? (
@@ -1831,6 +1836,85 @@ export function V4Timeline({
);
};
+ // Each zoom's camera moves (#1028): the pill shows the hold, the zoom-in runs in the trail
+ // before it and the zoom-out in the trail after it, on the speed-aware clock the compositor
+ // uses. The part a trim cuts is hatched: the export jumps there instead of easing. Display
+ // only, not a control. Hidden while a clip is dragged, when the pills split and slide.
+ const renderZoomTrails = () => {
+ if (clipDrag) return null;
+ const ms = (span: { start: number; end: number }) => ({
+ startMs: span.start * 1000,
+ endMs: span.end * 1000,
+ });
+ const speeds = speedRuns.map((r) => ({
+ id: r.ids[0],
+ speed: r.member.speed,
+ ...ms(liveSpan(r.ids[0], r)),
+ }));
+ const trims = trimPills.map((p) => ms(liveSpan(p.id, p)));
+ const totalMs = total * 1000;
+ const sec = (cutMs: number) => (cutMs / 1000).toFixed(2);
+ return zoomRuns.flatMap((r) => {
+ const zoom = ms(liveSpan(r.ids[0], r));
+ const moves = zoomTransitions({ ...zoom, scale: effectiveZoomScale(r.member) }, speeds);
+ const cut = transitionCutsMs(zoom, moves, trims);
+ const outUntilMs = Math.min(moves.outUntilMs, totalMs);
+ const trails = [
+ {
+ side: "in",
+ fromMs: moves.inFromMs,
+ toMs: zoom.startMs,
+ cutFromMs: moves.inFromMs,
+ cutToMs: moves.inFromMs + cut.inMs,
+ text:
+ cut.inMs > 0 ? t("trails.zoomInCut", { seconds: sec(cut.inMs) }) : t("trails.zoomIn"),
+ },
+ {
+ side: "out",
+ fromMs: zoom.endMs,
+ toMs: outUntilMs,
+ cutFromMs: moves.outUntilMs - cut.outMs,
+ cutToMs: outUntilMs,
+ text:
+ cut.outMs > 0
+ ? t("trails.zoomOutCut", { seconds: sec(cut.outMs) })
+ : t("trails.zoomOut"),
+ },
+ ];
+ return trails
+ .filter((trail) => trail.toMs > trail.fromMs)
+ .map((trail) => {
+ const lengthMs = trail.toMs - trail.fromMs;
+ const cutMs = trail.cutToMs - trail.cutFromMs;
+ return (
+ <Tooltip key={`${r.ids[0]}:${trail.side}`} content={trail.text}>
+ <div
+ role="img"
+ aria-label={trail.text}
+ data-zoom-trail={trail.side}
+ className={`${styles.zoomTrail} ${styles.laneZoom}`}
+ style={{
+ left: `${pctAt(trail.fromMs / 1000)}%`,
+ width: `${pctOf(lengthMs / 1000)}%`,
+ }}
+ >
+ {cutMs > 0 ? (
+ <span
+ data-zoom-trail-cut=""
+ className={styles.zoomTrailCut}
+ style={{
+ left: `${((trail.cutFromMs - trail.fromMs) / lengthMs) * 100}%`,
+ width: `${(cutMs / lengthMs) * 100}%`,
+ }}
+ />
+ ) : null}
+ </div>
+ </Tooltip>
+ );
+ });
+ });
+ };
+
return (
<div className={styles.tl} ref={panelRef}>
<div className={styles.tlToolbar}>
@@ -2174,6 +2258,8 @@ export function V4Timeline({
)}
</div>
<div className={styles.tlLane}>
+ {/* Its own provider, like the toolbar's: see the note there. */}
+ <TooltipProvider>{renderZoomTrails()}</TooltipProvider>
{renderPills(
zoomPills,
t("hints.pressZoom", { key: formatBinding(shortcuts.addZoom, isMac) }),
diff --git a/src/i18n/__tests__/tooltipCopy.test.ts b/src/i18n/__tests__/tooltipCopy.test.ts
index be1036b9d..22257822b 100644
--- a/src/i18n/__tests__/tooltipCopy.test.ts
+++ b/src/i18n/__tests__/tooltipCopy.test.ts
@@ -42,6 +42,7 @@ const TOOLTIP_KEYS: Record<string, string[]> = {
"deviceSettings.title",
"deviceSettings.close",
],
+ timeline: ["trails.zoomIn", "trails.zoomOut", "trails.zoomInCut", "trails.zoomOutCut"],
};
function read(locale: string, namespace: string, key: string): string {
diff --git a/src/i18n/locales/ar/timeline.json b/src/i18n/locales/ar/timeline.json
index 1dbdb6882..9eb9cf6a9 100644
--- a/src/i18n/locales/ar/timeline.json
+++ b/src/i18n/locales/ar/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "كاميرا كاملة الشاشة",
"cameraFullscreenItem": "كاميرا كاملة الشاشة {{index}}"
},
+ "trails": {
+ "zoomIn": "التكبير التدريجي: تقترب الصورة حتى بداية التكبير",
+ "zoomOut": "التصغير التدريجي: تبتعد الصورة مجددًا بعد نهاية التكبير",
+ "zoomInCut": "يزيل قص {{seconds}} ث من التكبير التدريجي. يقفز التصدير عند القص.",
+ "zoomOutCut": "يزيل قص {{seconds}} ث من التصغير التدريجي. يقفز التصدير عند القص."
+ },
"emptyState": {
"noVideo": "لم يتم تحميل أي فيديو",
"dragAndDrop": "اسحب وأفلت مقطع فيديو لبدء التعديل"
diff --git a/src/i18n/locales/cs/timeline.json b/src/i18n/locales/cs/timeline.json
index 6c932b239..f1092ec2b 100644
--- a/src/i18n/locales/cs/timeline.json
+++ b/src/i18n/locales/cs/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Celá kamera",
"cameraFullscreenItem": "Celá kamera {{index}}"
},
+ "trails": {
+ "zoomIn": "Najetí: pohled se přibližuje až do začátku přiblížení",
+ "zoomOut": "Oddálení: pohled se po konci přiblížení znovu oddaluje",
+ "zoomInCut": "Oříznutí odstraní {{seconds}} s najetí. Export v místě střihu skočí.",
+ "zoomOutCut": "Oříznutí odstraní {{seconds}} s oddálení. Export v místě střihu skočí."
+ },
"emptyState": {
"noVideo": "Žádné video nenačteno",
"dragAndDrop": "Přetáhněte video pro zahájení úprav"
diff --git a/src/i18n/locales/de/timeline.json b/src/i18n/locales/de/timeline.json
index c2785ab43..819fcb947 100644
--- a/src/i18n/locales/de/timeline.json
+++ b/src/i18n/locales/de/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Vollbild-Kamera",
"cameraFullscreenItem": "Vollbild-Kamera {{index}}"
},
+ "trails": {
+ "zoomIn": "Hineinzoomen: Die Ansicht zoomt bis zum Beginn des Zooms hinein",
+ "zoomOut": "Herauszoomen: Die Ansicht zoomt nach dem Ende des Zooms wieder heraus",
+ "zoomInCut": "Ein Trim entfernt {{seconds}} s des Hineinzoomens. Der Export springt am Schnitt.",
+ "zoomOutCut": "Ein Trim entfernt {{seconds}} s des Herauszoomens. Der Export springt am Schnitt."
+ },
"emptyState": {
"noVideo": "Kein Video geladen",
"dragAndDrop": "Zieh ein Video hierher, um mit dem Bearbeiten zu beginnen"
diff --git a/src/i18n/locales/en/timeline.json b/src/i18n/locales/en/timeline.json
index 33942d460..b74827885 100644
--- a/src/i18n/locales/en/timeline.json
+++ b/src/i18n/locales/en/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Full Camera",
"cameraFullscreenItem": "Full Camera {{index}}"
},
+ "trails": {
+ "zoomIn": "Zoom-in: the view moves in until the zoom starts",
+ "zoomOut": "Zoom-out: the view moves back out after the zoom ends",
+ "zoomInCut": "A trim removes {{seconds}} s of the zoom-in. The export jumps at the cut.",
+ "zoomOutCut": "A trim removes {{seconds}} s of the zoom-out. The export jumps at the cut."
+ },
"emptyState": {
"noVideo": "No video loaded",
"dragAndDrop": "Drag and drop a video to start editing"
diff --git a/src/i18n/locales/es/timeline.json b/src/i18n/locales/es/timeline.json
index e8d1e9941..972f409b4 100644
--- a/src/i18n/locales/es/timeline.json
+++ b/src/i18n/locales/es/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Cámara a pantalla completa",
"cameraFullscreenItem": "Cámara a pantalla completa {{index}}"
},
+ "trails": {
+ "zoomIn": "Acercamiento: la vista se acerca hasta que empieza el zoom",
+ "zoomOut": "Alejamiento: la vista se aleja de nuevo cuando termina el zoom",
+ "zoomInCut": "Un recorte quita {{seconds}} s del acercamiento. La exportación salta en el corte.",
+ "zoomOutCut": "Un recorte quita {{seconds}} s del alejamiento. La exportación salta en el corte."
+ },
"emptyState": {
"noVideo": "No hay video cargado",
"dragAndDrop": "Arrastra y suelta un video para comenzar a editar"
diff --git a/src/i18n/locales/fr/timeline.json b/src/i18n/locales/fr/timeline.json
index 009044900..968ec2b7e 100644
--- a/src/i18n/locales/fr/timeline.json
+++ b/src/i18n/locales/fr/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Caméra plein écran",
"cameraFullscreenItem": "Caméra plein écran {{index}}"
},
+ "trails": {
+ "zoomIn": "Zoom avant : l'image se resserre jusqu'au début du zoom",
+ "zoomOut": "Zoom arrière : l'image s'élargit à nouveau après la fin du zoom",
+ "zoomInCut": "Une coupe retire {{seconds}} s du zoom avant. L'export saute à la coupe.",
+ "zoomOutCut": "Une coupe retire {{seconds}} s du zoom arrière. L'export saute à la coupe."
+ },
"emptyState": {
"noVideo": "Aucune vidéo chargée",
"dragAndDrop": "Glissez-déposez une vidéo pour commencer à éditer"
diff --git a/src/i18n/locales/it/timeline.json b/src/i18n/locales/it/timeline.json
index ea795c464..66eb38152 100644
--- a/src/i18n/locales/it/timeline.json
+++ b/src/i18n/locales/it/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Camera a schermo intero",
"cameraFullscreenItem": "Camera a schermo intero {{index}}"
},
+ "trails": {
+ "zoomIn": "Zoom in: la vista si avvicina fino all'inizio dello zoom",
+ "zoomOut": "Zoom out: la vista si allontana di nuovo dopo la fine dello zoom",
+ "zoomInCut": "Un taglio rimuove {{seconds}} s dello zoom in. L'esportazione salta al taglio.",
+ "zoomOutCut": "Un taglio rimuove {{seconds}} s dello zoom out. L'esportazione salta al taglio."
+ },
"emptyState": {
"noVideo": "Nessun video caricato",
"dragAndDrop": "Trascina e rilascia un video per iniziare a modificare"
diff --git a/src/i18n/locales/ja-JP/timeline.json b/src/i18n/locales/ja-JP/timeline.json
index 81a87ffb6..1a7cbb038 100644
--- a/src/i18n/locales/ja-JP/timeline.json
+++ b/src/i18n/locales/ja-JP/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "フルスクリーンカメラ",
"cameraFullscreenItem": "フルスクリーンカメラ {{index}}"
},
+ "trails": {
+ "zoomIn": "ズームイン:ズームの開始まで画面が拡大していきます",
+ "zoomOut": "ズームアウト:ズームの終了後に画面が元に戻ります",
+ "zoomInCut": "トリムでズームインの {{seconds}} 秒が削除されます。書き出しはカット位置で飛びます。",
+ "zoomOutCut": "トリムでズームアウトの {{seconds}} 秒が削除されます。書き出しはカット位置で飛びます。"
+ },
"emptyState": {
"noVideo": "ビデオが読み込まれていません",
"dragAndDrop": "ビデオをドラッグアンドドロップして編集を開始してください"
diff --git a/src/i18n/locales/ko-KR/timeline.json b/src/i18n/locales/ko-KR/timeline.json
index b97397ceb..668838700 100644
--- a/src/i18n/locales/ko-KR/timeline.json
+++ b/src/i18n/locales/ko-KR/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "전체 화면 카메라",
"cameraFullscreenItem": "전체 화면 카메라 {{index}}"
},
+ "trails": {
+ "zoomIn": "줌 인: 줌이 시작될 때까지 화면이 확대됩니다",
+ "zoomOut": "줌 아웃: 줌이 끝난 뒤 화면이 다시 축소됩니다",
+ "zoomInCut": "트림이 줌 인의 {{seconds}}초를 제거합니다. 내보내기는 컷 지점에서 건너뜁니다.",
+ "zoomOutCut": "트림이 줌 아웃의 {{seconds}}초를 제거합니다. 내보내기는 컷 지점에서 건너뜁니다."
+ },
"emptyState": {
"noVideo": "불러온 비디오 없음",
"dragAndDrop": "비디오를 드래그 앤 드롭해서 편집을 시작하세요"
diff --git a/src/i18n/locales/pt-BR/timeline.json b/src/i18n/locales/pt-BR/timeline.json
index 5bfc4aca2..2504471de 100644
--- a/src/i18n/locales/pt-BR/timeline.json
+++ b/src/i18n/locales/pt-BR/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Câmera em Tela Cheia",
"cameraFullscreenItem": "Câmera em Tela Cheia {{index}}"
},
+ "trails": {
+ "zoomIn": "Aproximação: a visão se aproxima até o início do zoom",
+ "zoomOut": "Afastamento: a visão se afasta de novo após o fim do zoom",
+ "zoomInCut": "Um recorte remove {{seconds}} s da aproximação. A exportação salta no corte.",
+ "zoomOutCut": "Um recorte remove {{seconds}} s do afastamento. A exportação salta no corte."
+ },
"emptyState": {
"noVideo": "Nenhum Vídeo Carregado",
"dragAndDrop": "Arraste e solte um vídeo para começar a editar"
diff --git a/src/i18n/locales/ru/timeline.json b/src/i18n/locales/ru/timeline.json
index fb019b9ad..f679acf83 100644
--- a/src/i18n/locales/ru/timeline.json
+++ b/src/i18n/locales/ru/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Камера на весь экран",
"cameraFullscreenItem": "Камера на весь экран {{index}}"
},
+ "trails": {
+ "zoomIn": "Приближение: вид приближается до начала масштабирования",
+ "zoomOut": "Отдаление: вид снова отдаляется после конца масштабирования",
+ "zoomInCut": "Обрезка удаляет {{seconds}} с приближения. В экспорте будет скачок на месте обрезки.",
+ "zoomOutCut": "Обрезка удаляет {{seconds}} с отдаления. В экспорте будет скачок на месте обрезки."
+ },
"emptyState": {
"noVideo": "Видео не загружено",
"dragAndDrop": "Перетащите видео для начала редактирования"
diff --git a/src/i18n/locales/tr/timeline.json b/src/i18n/locales/tr/timeline.json
index c24dd7d61..c25690bd3 100644
--- a/src/i18n/locales/tr/timeline.json
+++ b/src/i18n/locales/tr/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Tam Ekran Kamera",
"cameraFullscreenItem": "Tam Ekran Kamera {{index}}"
},
+ "trails": {
+ "zoomIn": "Yakınlaşma: görüntü, yakınlaştırma başlayana kadar yaklaşır",
+ "zoomOut": "Uzaklaşma: görüntü, yakınlaştırma bittikten sonra yeniden uzaklaşır",
+ "zoomInCut": "Bir kırpma, yakınlaşmanın {{seconds}} sn'sini kaldırır. Dışa aktarım kesimde atlar.",
+ "zoomOutCut": "Bir kırpma, uzaklaşmanın {{seconds}} sn'sini kaldırır. Dışa aktarım kesimde atlar."
+ },
"emptyState": {
"noVideo": "Video Yüklenmedi",
"dragAndDrop": "Düzenlemeye başlamak için bir video sürükleyip bırakın"
diff --git a/src/i18n/locales/vi/timeline.json b/src/i18n/locales/vi/timeline.json
index 3bdc702c6..ff52458f2 100644
--- a/src/i18n/locales/vi/timeline.json
+++ b/src/i18n/locales/vi/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "Camera Toàn màn hình",
"cameraFullscreenItem": "Camera Toàn màn hình {{index}}"
},
+ "trails": {
+ "zoomIn": "Phóng to: khung hình phóng to dần cho đến khi bắt đầu thu phóng",
+ "zoomOut": "Thu nhỏ: khung hình thu nhỏ lại sau khi kết thúc thu phóng",
+ "zoomInCut": "Một đoạn cắt xóa {{seconds}} giây của phần phóng to. Bản xuất sẽ nhảy tại điểm cắt.",
+ "zoomOutCut": "Một đoạn cắt xóa {{seconds}} giây của phần thu nhỏ. Bản xuất sẽ nhảy tại điểm cắt."
+ },
"emptyState": {
"noVideo": "Chưa tải video",
"dragAndDrop": "Kéo và thả video để bắt đầu chỉnh sửa"
diff --git a/src/i18n/locales/zh-CN/timeline.json b/src/i18n/locales/zh-CN/timeline.json
index 4d14f67ee..32d1f8f60 100644
--- a/src/i18n/locales/zh-CN/timeline.json
+++ b/src/i18n/locales/zh-CN/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "全屏摄像头",
"cameraFullscreenItem": "全屏摄像头 {{index}}"
},
+ "trails": {
+ "zoomIn": "放大过程:画面在缩放开始前逐渐放大",
+ "zoomOut": "缩小过程:画面在缩放结束后逐渐恢复",
+ "zoomInCut": "剪辑移除了放大过程的 {{seconds}} 秒。导出时画面会在剪切处跳变。",
+ "zoomOutCut": "剪辑移除了缩小过程的 {{seconds}} 秒。导出时画面会在剪切处跳变。"
+ },
"emptyState": {
"noVideo": "未加载视频",
"dragAndDrop": "拖放视频以开始编辑"
diff --git a/src/i18n/locales/zh-TW/timeline.json b/src/i18n/locales/zh-TW/timeline.json
index 948a87cc5..6f134cfde 100644
--- a/src/i18n/locales/zh-TW/timeline.json
+++ b/src/i18n/locales/zh-TW/timeline.json
@@ -33,6 +33,12 @@
"cameraFullscreen": "全螢幕攝影機",
"cameraFullscreenItem": "全螢幕攝影機 {{index}}"
},
+ "trails": {
+ "zoomIn": "放大過程:畫面在縮放開始前逐漸放大",
+ "zoomOut": "縮小過程:畫面在縮放結束後逐漸恢復",
+ "zoomInCut": "剪輯移除了放大過程的 {{seconds}} 秒。匯出時畫面會在剪切處跳動。",
+ "zoomOutCut": "剪輯移除了縮小過程的 {{seconds}} 秒。匯出時畫面會在剪切處跳動。"
+ },
"emptyState": {
"noVideo": "未載入影片",
"dragAndDrop": "拖放影片以開始編輯"