Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

feat: effect, filter and time labels speak the catalog

Jareer1647544c551e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 32836b29..3aaa8ae3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,9 +6,11 @@ behaviour.
## Unreleased
-- Interface language support: the app follows the system language when a
- translation exists, with an override in Settings → General. Translations
- are plain JSON files contributors can add — see TRANSLATING.md.
+- The entire interface is translatable: the app follows the system language
+ when a translation exists, with an override in Settings → General.
+ Translations are plain JSON files contributors can add — see TRANSLATING.md.
+- Simplified Chinese ships as the first translation (machine-drafted,
+ pending native review).
## v0.2.0-alpha.6 — 2026-08-29
diff --git a/desktop/src/lib/effects.ts b/desktop/src/lib/effects.ts
index 44074671..8851c075 100644
--- a/desktop/src/lib/effects.ts
+++ b/desktop/src/lib/effects.ts
@@ -13,9 +13,12 @@
* quality version of what was already on screen.
*
* Ids are forever: they are written into project files, so renaming one later
- * would orphan clips. Pick them like you mean them.
+ * would orphan clips. Pick them like you mean them. Labels and blurbs are
+ * display-only and read from the message catalog as getters, so the id is the
+ * only identity anything stores.
*/
+import { t } from "./i18n";
import type { FilterParam } from "./filters";
/**
@@ -156,11 +159,11 @@ export interface EffectDefinition {
/** The categories under the "Video Effects" dropdown, in display order. */
export const EFFECT_CATEGORIES: { id: EffectCategory; label: string }[] = [
- { id: "basic", label: "Basic" },
- { id: "blur", label: "Blur" },
- { id: "color", label: "Color" },
- { id: "stylize", label: "Stylize" },
- { id: "distort", label: "Distort" },
+ { id: "basic", get label() { return t("effects.category.basic"); } },
+ { id: "blur", get label() { return t("effects.category.blur"); } },
+ { id: "color", get label() { return t("effects.category.color"); } },
+ { id: "stylize", get label() { return t("effects.category.stylize"); } },
+ { id: "distort", get label() { return t("effects.category.distort"); } },
];
const percent = (value: number) => `${Math.round(value)}%`;
@@ -172,9 +175,9 @@ export const EFFECTS: EffectDefinition[] = [
// ── basic ────────────────────────────────────────────────────────────────
{
id: "black-white",
- label: "Black & White",
+ get label() { return t("effects.black-white.label"); },
category: "basic",
- blurb: "Drops all colour, keeps the tones.",
+ get blurb() { return t("effects.black-white.blurb"); },
swatch: "linear-gradient(135deg, #e8e8e8 0%, #6b6b6b 55%, #1c1c1c 100%)",
params: [],
chain: () => "hue=s=0",
@@ -182,9 +185,9 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "sepia",
- label: "Sepia",
+ get label() { return t("effects.sepia.label"); },
category: "basic",
- blurb: "Aged warm brown, like an old photograph.",
+ get blurb() { return t("effects.sepia.blurb"); },
swatch: "linear-gradient(135deg, #e9d3ae 0%, #a9773f 60%, #513a1c 100%)",
params: [],
// The standard sepia matrix, the same one the CSS filter defines.
@@ -194,9 +197,9 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "invert",
- label: "Invert",
+ get label() { return t("effects.invert.label"); },
category: "basic",
- blurb: "Flips every colour to its negative.",
+ get blurb() { return t("effects.invert.blurb"); },
swatch: "linear-gradient(135deg, #00d0ff 0%, #7a00c8 55%, #ffe600 100%)",
params: [],
chain: () => "negate",
@@ -204,12 +207,12 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "sharpen",
- label: "Sharpen",
+ get label() { return t("effects.sharpen.label"); },
category: "basic",
- blurb: "Crisps up edges and fine detail.",
+ get blurb() { return t("effects.sharpen.blurb"); },
swatch: "linear-gradient(135deg, #cfd8dc 0%, #607d8b 55%, #263238 100%)",
params: [
- { key: "amount", label: "Amount", min: 0.2, max: 3, step: 0.1, default: 1, format: times },
+ { key: "amount", get label() { return t("effects.sharpen.param.amount"); }, min: 0.2, max: 3, step: 0.1, default: 1, format: times },
],
chain: ({ amount = 1 }) => `unsharp=5:5:${amount.toFixed(2)}:5:5:0`,
preview: {
@@ -225,36 +228,36 @@ export const EFFECTS: EffectDefinition[] = [
// ── blur ─────────────────────────────────────────────────────────────────
{
id: "gaussian-blur",
- label: "Gaussian Blur",
+ get label() { return t("effects.gaussian-blur.label"); },
category: "blur",
- blurb: "Soft, even blur across the whole frame.",
+ get blurb() { return t("effects.gaussian-blur.blurb"); },
swatch: "linear-gradient(135deg, #b3c7f9 0%, #7f9cf5 55%, #4c6ef5 100%)",
params: [
- { key: "radius", label: "Radius", min: 1, max: 50, step: 1, default: 10, format: pixels },
+ { key: "radius", get label() { return t("effects.gaussian-blur.param.radius"); }, min: 1, max: 50, step: 1, default: 10, format: pixels },
],
chain: ({ radius = 10 }) => `gblur=sigma=${radius.toFixed(1)}`,
preview: { kind: "css", filter: ({ radius = 10 }, scale) => `blur(${(radius * scale).toFixed(2)}px)` },
},
{
id: "box-blur",
- label: "Box Blur",
+ get label() { return t("effects.box-blur.label"); },
category: "blur",
- blurb: "Fast, slightly harsher blur.",
+ get blurb() { return t("effects.box-blur.blurb"); },
swatch: "linear-gradient(135deg, #a5d8ff 0%, #4dabf7 55%, #1971c2 100%)",
params: [
- { key: "radius", label: "Radius", min: 1, max: 30, step: 1, default: 6, format: pixels },
+ { key: "radius", get label() { return t("effects.box-blur.param.radius"); }, min: 1, max: 30, step: 1, default: 6, format: pixels },
],
chain: ({ radius = 6 }) => `boxblur=${Math.round(radius)}:1`,
preview: { kind: "css", filter: ({ radius = 6 }, scale) => `blur(${(radius * 0.7 * scale).toFixed(2)}px)` },
},
{
id: "motion-blur",
- label: "Motion Blur",
+ get label() { return t("effects.motion-blur.label"); },
category: "blur",
- blurb: "Horizontal streaking, as if the camera swept.",
+ get blurb() { return t("effects.motion-blur.blurb"); },
swatch: "linear-gradient(90deg, #91a7ff 0%, #5c7cfa 45%, #91a7ff 100%)",
params: [
- { key: "length", label: "Length", min: 2, max: 60, step: 1, default: 18, format: pixels },
+ { key: "length", get label() { return t("effects.motion-blur.param.length"); }, min: 2, max: 60, step: 1, default: 18, format: pixels },
],
// Gaussian in one axis only is the streak; the tiny vertical sigma keeps
// the filter happy without visibly blurring that axis.
@@ -269,14 +272,14 @@ export const EFFECTS: EffectDefinition[] = [
// ── color ────────────────────────────────────────────────────────────────
{
id: "warm",
- label: "Warm",
+ get label() { return t("effects.warm.label"); },
category: "color",
- blurb: "Pushes the frame toward orange and gold.",
+ get blurb() { return t("effects.warm.blurb"); },
swatch: "linear-gradient(135deg, #ffd8a8 0%, #ff922b 55%, #d9480f 100%)",
params: [
{
key: "temperature",
- label: "Temperature",
+ get label() { return t("effects.warm.param.temperature"); },
min: 3000,
max: 6000,
step: 100,
@@ -290,14 +293,14 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "cool",
- label: "Cool",
+ get label() { return t("effects.cool.label"); },
category: "color",
- blurb: "Pushes the frame toward blue and teal.",
+ get blurb() { return t("effects.cool.blurb"); },
swatch: "linear-gradient(135deg, #99e9f2 0%, #22b8cf 55%, #0b7285 100%)",
params: [
{
key: "temperature",
- label: "Temperature",
+ get label() { return t("effects.cool.param.temperature"); },
min: 7000,
max: 11000,
step: 100,
@@ -311,24 +314,24 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "vibrance",
- label: "Vibrance",
+ get label() { return t("effects.vibrance.label"); },
category: "color",
- blurb: "Richer colour without blowing out skin tones.",
+ get blurb() { return t("effects.vibrance.blurb"); },
swatch: "linear-gradient(135deg, #ff6b6b 0%, #fcc419 40%, #51cf66 70%, #339af0 100%)",
params: [
- { key: "intensity", label: "Intensity", min: 0.1, max: 2, step: 0.05, default: 0.7, format: times },
+ { key: "intensity", get label() { return t("effects.vibrance.param.intensity"); }, min: 0.1, max: 2, step: 0.05, default: 0.7, format: times },
],
chain: ({ intensity = 0.7 }) => `vibrance=intensity=${intensity.toFixed(2)}`,
preview: { kind: "css", filter: ({ intensity = 0.7 }) => `saturate(${(1 + intensity * 0.45).toFixed(2)})` },
},
{
id: "contrast-pop",
- label: "Contrast Pop",
+ get label() { return t("effects.contrast-pop.label"); },
category: "color",
- blurb: "Deeper blacks, brighter whites.",
+ get blurb() { return t("effects.contrast-pop.blurb"); },
swatch: "linear-gradient(135deg, #f8f9fa 0%, #868e96 45%, #212529 100%)",
params: [
- { key: "contrast", label: "Contrast", min: 1, max: 2, step: 0.05, default: 1.25, format: times },
+ { key: "contrast", get label() { return t("effects.contrast-pop.param.contrast"); }, min: 1, max: 2, step: 0.05, default: 1.25, format: times },
],
chain: ({ contrast = 1.25 }) => `eq=contrast=${contrast.toFixed(2)}`,
preview: { kind: "css", filter: ({ contrast = 1.25 }) => `contrast(${contrast.toFixed(2)})` },
@@ -336,12 +339,12 @@ export const EFFECTS: EffectDefinition[] = [
// ── stylize ──────────────────────────────────────────────────────────────
{
id: "vignette",
- label: "Vignette",
+ get label() { return t("effects.vignette.label"); },
category: "stylize",
- blurb: "Darkens the corners to pull the eye inward.",
+ get blurb() { return t("effects.vignette.blurb"); },
swatch: "radial-gradient(circle at 50% 50%, #ced4da 0%, #495057 60%, #16191c 100%)",
params: [
- { key: "strength", label: "Strength", min: 10, max: 100, step: 1, default: 50, format: percent },
+ { key: "strength", get label() { return t("effects.vignette.param.strength"); }, min: 10, max: 100, step: 1, default: 50, format: percent },
],
// The filter's angle runs 0..PI/2, wider being darker corners; the slider
// maps into the range that reads as a vignette rather than a tunnel.
@@ -358,12 +361,12 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "film-grain",
- label: "Film Grain",
+ get label() { return t("effects.film-grain.label"); },
category: "stylize",
- blurb: "Fine analogue noise over the picture.",
+ get blurb() { return t("effects.film-grain.blurb"); },
swatch: "linear-gradient(135deg, #dee2e6 0%, #adb5bd 50%, #495057 100%)",
params: [
- { key: "amount", label: "Amount", min: 2, max: 40, step: 1, default: 12, format: percent },
+ { key: "amount", get label() { return t("effects.film-grain.param.amount"); }, min: 2, max: 40, step: 1, default: 12, format: percent },
],
// Temporal (t) so the grain dances like film instead of sitting still.
chain: ({ amount = 12 }) => `noise=alls=${Math.round(amount)}:allf=t+u`,
@@ -380,12 +383,12 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "glow",
- label: "Glow",
+ get label() { return t("effects.glow.label"); },
category: "stylize",
- blurb: "Blooms the highlights softly.",
+ get blurb() { return t("effects.glow.blurb"); },
swatch: "radial-gradient(circle at 50% 40%, #fff9db 0%, #ffe066 45%, #e8590c 100%)",
params: [
- { key: "amount", label: "Amount", min: 10, max: 100, step: 1, default: 45, format: percent },
+ { key: "amount", get label() { return t("effects.glow.param.amount"); }, min: 10, max: 100, step: 1, default: 45, format: percent },
],
// Screen-blend a blurred copy over itself - the classic bloom. Labels
// carry the chain index so two glows cannot collide in one graph.
@@ -407,13 +410,13 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "posterize",
- label: "Posterize",
+ get label() { return t("effects.posterize.label"); },
category: "stylize",
- blurb: "Flattens colour into bold bands.",
+ get blurb() { return t("effects.posterize.blurb"); },
swatch:
"linear-gradient(135deg, #e64980 0%, #e64980 33%, #7950f2 33%, #7950f2 66%, #1098ad 66%, #1098ad 100%)",
params: [
- { key: "levels", label: "Levels", min: 2, max: 8, step: 1, default: 4, format: (v) => String(Math.round(v)) },
+ { key: "levels", get label() { return t("effects.posterize.param.levels"); }, min: 2, max: 8, step: 1, default: 4, format: (v) => String(Math.round(v)) },
],
chain: ({ levels = 4 }) => {
const size = Math.round(256 / Math.max(2, Math.round(levels)));
@@ -442,13 +445,13 @@ export const EFFECTS: EffectDefinition[] = [
// ── distort ──────────────────────────────────────────────────────────────
{
id: "pixelate",
- label: "Pixelate",
+ get label() { return t("effects.pixelate.label"); },
category: "distort",
- blurb: "Chunks the frame into visible blocks.",
+ get blurb() { return t("effects.pixelate.blurb"); },
swatch:
"repeating-linear-gradient(0deg, #74c0fc 0 6px, #4dabf7 6px 12px), repeating-linear-gradient(90deg, #74c0fc80 0 6px, #4dabf780 6px 12px)",
params: [
- { key: "size", label: "Block size", min: 2, max: 64, step: 1, default: 16, format: pixels },
+ { key: "size", get label() { return t("effects.pixelate.param.size"); }, min: 2, max: 64, step: 1, default: 16, format: pixels },
],
chain: ({ size = 16 }) =>
`pixelize=width=${Math.round(size)}:height=${Math.round(size)}`,
@@ -456,9 +459,9 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "mirror",
- label: "Mirror",
+ get label() { return t("effects.mirror.label"); },
category: "distort",
- blurb: "Reflects the left half of the frame onto the right.",
+ get blurb() { return t("effects.mirror.blurb"); },
swatch: "linear-gradient(90deg, #63e6be 0%, #0ca678 50%, #63e6be 100%)",
params: [],
chain: (_params, index) =>
@@ -468,12 +471,12 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "fisheye",
- label: "Fisheye",
+ get label() { return t("effects.fisheye.label"); },
category: "distort",
- blurb: "Bulges the centre like a wide lens.",
+ get blurb() { return t("effects.fisheye.blurb"); },
swatch: "radial-gradient(circle at 50% 50%, #d0bfff 0%, #9775fa 55%, #5f3dc4 100%)",
params: [
- { key: "strength", label: "Strength", min: 5, max: 100, step: 1, default: 50, format: percent },
+ { key: "strength", get label() { return t("effects.fisheye.param.strength"); }, min: 5, max: 100, step: 1, default: 50, format: percent },
],
// Negative correction coefficients produce barrel distortion - the bulge.
chain: ({ strength = 50 }) => {
@@ -484,13 +487,13 @@ export const EFFECTS: EffectDefinition[] = [
},
{
id: "shake",
- label: "Shake",
+ get label() { return t("effects.shake.label"); },
category: "distort",
- blurb: "Handheld-style camera judder.",
+ get blurb() { return t("effects.shake.blurb"); },
swatch: "linear-gradient(105deg, #ffc9c9 0%, #ff8787 40%, #fa5252 60%, #ffc9c9 100%)",
params: [
- { key: "amount", label: "Amount", min: 2, max: 40, step: 1, default: 12, format: pixels },
- { key: "speed", label: "Speed", min: 2, max: 30, step: 1, default: 13, format: times },
+ { key: "amount", get label() { return t("effects.shake.param.amount"); }, min: 2, max: 40, step: 1, default: 12, format: pixels },
+ { key: "speed", get label() { return t("effects.shake.param.speed"); }, min: 2, max: 30, step: 1, default: 13, format: times },
],
// A jittering crop window; the decoder's guard scale stretches the
// slightly smaller window back to full size afterwards.
@@ -626,64 +629,64 @@ export interface TransitionDefinition {
/** The categories under the "Transitions" dropdown, in display order. */
export const TRANSITION_CATEGORIES: { id: TransitionCategory; label: string }[] = [
- { id: "basic", label: "Basic" },
- { id: "motion", label: "Motion" },
+ { id: "basic", get label() { return t("transitions.category.basic"); } },
+ { id: "motion", get label() { return t("transitions.category.motion"); } },
];
export const TRANSITIONS: TransitionDefinition[] = [
{
id: "cross-fade",
- label: "Cross Fade",
+ get label() { return t("transitions.cross-fade.label"); },
category: "basic",
- blurb: "The outgoing clip dissolves into the incoming one.",
+ get blurb() { return t("transitions.cross-fade.blurb"); },
implemented: true,
defaultDuration: 1,
},
{
id: "fade-black",
- label: "Fade to Black",
+ get label() { return t("transitions.fade-black.label"); },
category: "basic",
- blurb: "Out through black, then in from black.",
+ get blurb() { return t("transitions.fade-black.blurb"); },
implemented: true,
defaultDuration: 1,
},
{
id: "fade-white",
- label: "Fade to White",
+ get label() { return t("transitions.fade-white.label"); },
category: "basic",
- blurb: "Out through white, then in from white.",
+ get blurb() { return t("transitions.fade-white.blurb"); },
implemented: true,
defaultDuration: 1,
},
{
id: "wipe-left",
- label: "Wipe Left",
+ get label() { return t("transitions.wipe-left.label"); },
category: "motion",
- blurb: "The incoming clip sweeps in from the right edge.",
+ get blurb() { return t("transitions.wipe-left.blurb"); },
implemented: false,
defaultDuration: 0.8,
},
{
id: "wipe-right",
- label: "Wipe Right",
+ get label() { return t("transitions.wipe-right.label"); },
category: "motion",
- blurb: "The incoming clip sweeps in from the left edge.",
+ get blurb() { return t("transitions.wipe-right.blurb"); },
implemented: false,
defaultDuration: 0.8,
},
{
id: "push",
- label: "Push",
+ get label() { return t("transitions.push.label"); },
category: "motion",
- blurb: "The incoming clip shoves the outgoing one off screen.",
+ get blurb() { return t("transitions.push.blurb"); },
implemented: false,
defaultDuration: 0.8,
},
{
id: "zoom",
- label: "Zoom",
+ get label() { return t("transitions.zoom.label"); },
category: "motion",
- blurb: "Punches in on the cut, then settles.",
+ get blurb() { return t("transitions.zoom.blurb"); },
implemented: false,
defaultDuration: 0.8,
},
diff --git a/desktop/src/lib/filters.ts b/desktop/src/lib/filters.ts
index ace46433..c037350e 100644
--- a/desktop/src/lib/filters.ts
+++ b/desktop/src/lib/filters.ts
@@ -11,6 +11,8 @@
* See `lib/audio.ts`; the alternative was a preview that lies.
*/
+import { t } from "./i18n";
+
export type FilterCategory = "voice" | "tone" | "space";
export interface FilterParam {
@@ -47,9 +49,9 @@ export interface ClipFilter {
}
export const CATEGORIES: { id: FilterCategory; label: string }[] = [
- { id: "voice", label: "Voice" },
- { id: "tone", label: "Tone" },
- { id: "space", label: "Space" },
+ { id: "voice", get label() { return t("filters.category.voice"); } },
+ { id: "tone", get label() { return t("filters.category.tone"); } },
+ { id: "space", get label() { return t("filters.category.space"); } },
];
const percent = (value: number) => `${Math.round(value)}%`;
@@ -81,13 +83,13 @@ function pitchShift(semitoneShift: number): string[] {
export const FILTERS: FilterDefinition[] = [
{
id: "sweet",
- label: "Sweet",
+ get label() { return t("filters.sweet.label"); },
category: "voice",
- blurb: "Brighter, softer and a little higher. Ported from the reference chain.",
+ get blurb() { return t("filters.sweet.blurb"); },
params: [
{
key: "amount",
- label: "Amount",
+ get label() { return t("filters.sweet.param.amount"); },
min: 0,
max: 100,
step: 1,
@@ -96,14 +98,14 @@ export const FILTERS: FilterDefinition[] = [
},
{
key: "pitch",
- label: "Pitch",
+ get label() { return t("filters.sweet.param.pitch"); },
min: 0,
max: 8,
step: 0.1,
// 0 means "follow amount", which is what the original did when no
// explicit pitch was passed.
default: 0,
- format: (value) => (value === 0 ? "auto" : semitones(value)),
+ format: (value) => (value === 0 ? t("filters.sweet.pitchAuto") : semitones(value)),
},
],
chain: ({ amount = 65, pitch = 0 }) => {
@@ -146,12 +148,12 @@ export const FILTERS: FilterDefinition[] = [
},
{
id: "deep",
- label: "Deep",
+ get label() { return t("filters.deep.label"); },
category: "voice",
- blurb: "Lower and heavier, with the low end lifted to match.",
+ get blurb() { return t("filters.deep.blurb"); },
params: [
- { key: "pitch", label: "Pitch", min: -8, max: -1, step: 0.1, default: -3, format: semitones },
- { key: "body", label: "Body", min: 0, max: 8, step: 0.5, default: 3, format: decibels },
+ { key: "pitch", get label() { return t("filters.deep.param.pitch"); }, min: -8, max: -1, step: 0.1, default: -3, format: semitones },
+ { key: "body", get label() { return t("filters.deep.param.body"); }, min: 0, max: 8, step: 0.5, default: 3, format: decibels },
],
chain: ({ pitch = -3, body = 3 }) =>
[
@@ -164,22 +166,22 @@ export const FILTERS: FilterDefinition[] = [
},
{
id: "chipmunk",
- label: "Chipmunk",
+ get label() { return t("filters.chipmunk.label"); },
category: "voice",
- blurb: "Sharply higher. Formants move too, so it is a different voice.",
+ get blurb() { return t("filters.chipmunk.blurb"); },
params: [
- { key: "pitch", label: "Pitch", min: 3, max: 12, step: 0.5, default: 7, format: semitones },
+ { key: "pitch", get label() { return t("filters.chipmunk.param.pitch"); }, min: 3, max: 12, step: 0.5, default: 7, format: semitones },
],
chain: ({ pitch = 7 }) =>
[...pitchShift(pitch), "highpass=f=120", "alimiter=limit=0.94"].join(","),
},
{
id: "robot",
- label: "Robot",
+ get label() { return t("filters.robot.label"); },
category: "voice",
- blurb: "Flattened and metallic, from a very short modulated delay.",
+ get blurb() { return t("filters.robot.blurb"); },
params: [
- { key: "depth", label: "Depth", min: 1, max: 10, step: 0.5, default: 5, format: percent },
+ { key: "depth", get label() { return t("filters.robot.param.depth"); }, min: 1, max: 10, step: 0.5, default: 5, format: percent },
],
chain: ({ depth = 5 }) =>
[
@@ -194,31 +196,31 @@ export const FILTERS: FilterDefinition[] = [
{
id: "bass",
- label: "Bass boost",
+ get label() { return t("filters.bass.label"); },
category: "tone",
- blurb: "Lifts the low end without touching anything above it.",
+ get blurb() { return t("filters.bass.blurb"); },
params: [
- { key: "gain", label: "Gain", min: 0, max: 12, step: 0.5, default: 5, format: decibels },
+ { key: "gain", get label() { return t("filters.bass.param.gain"); }, min: 0, max: 12, step: 0.5, default: 5, format: decibels },
],
chain: ({ gain = 5 }) => `bass=g=${gain.toFixed(2)}:f=110:w=0.6,alimiter=limit=0.95`,
},
{
id: "treble",
- label: "Treble boost",
+ get label() { return t("filters.treble.label"); },
category: "tone",
- blurb: "Adds air at the top. Useful on dull recordings.",
+ get blurb() { return t("filters.treble.blurb"); },
params: [
- { key: "gain", label: "Gain", min: 0, max: 12, step: 0.5, default: 4, format: decibels },
+ { key: "gain", get label() { return t("filters.treble.param.gain"); }, min: 0, max: 12, step: 0.5, default: 4, format: decibels },
],
chain: ({ gain = 4 }) => `treble=g=${gain.toFixed(2)}:f=9000:w=0.7,alimiter=limit=0.95`,
},
{
id: "telephone",
- label: "Telephone",
+ get label() { return t("filters.telephone.label"); },
category: "tone",
- blurb: "Band-limited to a phone line, everything else discarded.",
+ get blurb() { return t("filters.telephone.blurb"); },
params: [
- { key: "drive", label: "Drive", min: 0, max: 10, step: 0.5, default: 3, format: percent },
+ { key: "drive", get label() { return t("filters.telephone.param.drive"); }, min: 0, max: 10, step: 0.5, default: 3, format: percent },
],
chain: ({ drive = 3 }) =>
[
@@ -231,23 +233,23 @@ export const FILTERS: FilterDefinition[] = [
{
id: "echo",
- label: "Echo",
+ get label() { return t("filters.echo.label"); },
category: "space",
- blurb: "A single distinct repeat.",
+ get blurb() { return t("filters.echo.blurb"); },
params: [
- { key: "delay", label: "Delay", min: 0.05, max: 1, step: 0.01, default: 0.25, format: seconds },
- { key: "decay", label: "Decay", min: 0.1, max: 0.9, step: 0.05, default: 0.4, format: percent },
+ { key: "delay", get label() { return t("filters.echo.param.delay"); }, min: 0.05, max: 1, step: 0.01, default: 0.25, format: seconds },
+ { key: "decay", get label() { return t("filters.echo.param.decay"); }, min: 0.1, max: 0.9, step: 0.05, default: 0.4, format: percent },
],
chain: ({ delay = 0.25, decay = 0.4 }) =>
`aecho=0.8:0.85:${Math.round(delay * 1000)}:${decay.toFixed(2)}`,
},
{
id: "room",
- label: "Room",
+ get label() { return t("filters.room.label"); },
category: "space",
- blurb: "Several short reflections, so it sits in a space rather than repeating.",
+ get blurb() { return t("filters.room.blurb"); },
params: [
- { key: "size", label: "Size", min: 0, max: 100, step: 1, default: 40, format: percent },
+ { key: "size", get label() { return t("filters.room.param.size"); }, min: 0, max: 100, step: 1, default: 40, format: percent },
],
chain: ({ size = 40 }) => {
const scale = 0.4 + (size / 100) * 1.6;
diff --git a/desktop/src/lib/text.ts b/desktop/src/lib/text.ts
index 16109070..0b3614ab 100644
--- a/desktop/src/lib/text.ts
+++ b/desktop/src/lib/text.ts
@@ -7,6 +7,8 @@
* 1080p project still lands correctly when exported at 4K.
*/
+import { t } from "./i18n";
+
export interface TextStyle {
content: string;
/** CSS family name. See `FONTS`. */
@@ -122,11 +124,11 @@ export function familyForPath(path: string, taken: readonly string[]): string {
}
export const WEIGHTS: { label: string; value: number }[] = [
- { label: "Light", value: 300 },
- { label: "Regular", value: 400 },
- { label: "Medium", value: 500 },
- { label: "Bold", value: 700 },
- { label: "Black", value: 900 },
+ { get label() { return t("text.weight.light"); }, value: 300 },
+ { get label() { return t("text.weight.regular"); }, value: 400 },
+ { get label() { return t("text.weight.medium"); }, value: 500 },
+ { get label() { return t("text.weight.bold"); }, value: 700 },
+ { get label() { return t("text.weight.black"); }, value: 900 },
];
export function defaultTextStyle(): TextStyle {
diff --git a/desktop/src/lib/time.test.ts b/desktop/src/lib/time.test.ts
index a67a8046..a82e972e 100644
--- a/desktop/src/lib/time.test.ts
+++ b/desktop/src/lib/time.test.ts
@@ -7,6 +7,7 @@
*/
import { afterEach, describe, expect, test, vi } from "vitest";
+import { getLocale } from "./i18n";
import { relativeTime, shortDuration, timecode } from "./time";
describe("timecode", () => {
@@ -111,7 +112,7 @@ describe("relativeTime", () => {
freeze();
const timestamp = NOW - 30 * 86_400 * 1000;
expect(relativeTime(timestamp)).toBe(
- new Date(timestamp).toLocaleDateString(undefined, {
+ new Date(timestamp).toLocaleDateString(getLocale(), {
day: "numeric",
month: "short",
year: "numeric",
diff --git a/desktop/src/lib/time.ts b/desktop/src/lib/time.ts
index bb821fec..fe0485de 100644
--- a/desktop/src/lib/time.ts
+++ b/desktop/src/lib/time.ts
@@ -5,6 +5,8 @@
* rational seconds. These helpers only turn a number into something to look at.
*/
+import { getLocale, t, tp } from "./i18n";
+
/** Formats seconds as `HH:MM:SS:FF` at the given frame rate. */
export function timecode(seconds: number, frameRate: number): string {
const safe = Math.max(0, seconds);
@@ -36,17 +38,15 @@ export function timecode(seconds: number, frameRate: number): string {
export function relativeTime(milliseconds: number): string {
const seconds = Math.max(0, (Date.now() - milliseconds) / 1000);
- if (seconds < 90) return "just now";
- if (seconds < 3600) return `${Math.round(seconds / 60)} min ago`;
+ if (seconds < 90) return t("time.relative.justNow");
+ if (seconds < 3600) return tp("time.relative.minutesAgo", Math.round(seconds / 60));
if (seconds < 86_400) {
- const hours = Math.round(seconds / 3600);
- return hours === 1 ? "1 hour ago" : `${hours} hours ago`;
+ return tp("time.relative.hoursAgo", Math.round(seconds / 3600));
}
if (seconds < 7 * 86_400) {
- const days = Math.round(seconds / 86_400);
- return days === 1 ? "yesterday" : `${days} days ago`;
+ return tp("time.relative.daysAgo", Math.round(seconds / 86_400));
}
- return new Date(milliseconds).toLocaleDateString(undefined, {
+ return new Date(milliseconds).toLocaleDateString(getLocale(), {
day: "numeric",
month: "short",
year: "numeric",
diff --git a/desktop/src/locales/en.json b/desktop/src/locales/en.json
index a1e2344f..d8d7f7eb 100644
--- a/desktop/src/locales/en.json
+++ b/desktop/src/locales/en.json
@@ -38,6 +38,41 @@
"dialog.deleteTimeline.confirm": "Delete timeline",
"dialog.deleteTimeline.empty": "The timeline is empty; nothing else is affected.",
"dialog.deleteTimeline.title": "Delete \"{name}\"?",
+ "effects.black-white.blurb": "Drops all colour, keeps the tones.",
+ "effects.black-white.label": "Black & White",
+ "effects.box-blur.blurb": "Fast, slightly harsher blur.",
+ "effects.box-blur.label": "Box Blur",
+ "effects.box-blur.param.radius": "Radius",
+ "effects.category.basic": "Basic",
+ "effects.category.blur": "Blur",
+ "effects.category.color": "Color",
+ "effects.category.distort": "Distort",
+ "effects.category.stylize": "Stylize",
+ "effects.contrast-pop.blurb": "Deeper blacks, brighter whites.",
+ "effects.contrast-pop.label": "Contrast Pop",
+ "effects.contrast-pop.param.contrast": "Contrast",
+ "effects.cool.blurb": "Pushes the frame toward blue and teal.",
+ "effects.cool.label": "Cool",
+ "effects.cool.param.temperature": "Temperature",
+ "effects.film-grain.blurb": "Fine analogue noise over the picture.",
+ "effects.film-grain.label": "Film Grain",
+ "effects.film-grain.param.amount": "Amount",
+ "effects.fisheye.blurb": "Bulges the centre like a wide lens.",
+ "effects.fisheye.label": "Fisheye",
+ "effects.fisheye.param.strength": "Strength",
+ "effects.gaussian-blur.blurb": "Soft, even blur across the whole frame.",
+ "effects.gaussian-blur.label": "Gaussian Blur",
+ "effects.gaussian-blur.param.radius": "Radius",
+ "effects.glow.blurb": "Blooms the highlights softly.",
+ "effects.glow.label": "Glow",
+ "effects.glow.param.amount": "Amount",
+ "effects.invert.blurb": "Flips every colour to its negative.",
+ "effects.invert.label": "Invert",
+ "effects.mirror.blurb": "Reflects the left half of the frame onto the right.",
+ "effects.mirror.label": "Mirror",
+ "effects.motion-blur.blurb": "Horizontal streaking, as if the camera swept.",
+ "effects.motion-blur.label": "Motion Blur",
+ "effects.motion-blur.param.length": "Length",
"effects.panel.addEffect": "Add an effect",
"effects.panel.applied": "Applied",
"effects.panel.appliedHelp": "Effects run top to bottom. The eye bypasses one without losing its settings - flick it to compare.",
@@ -52,6 +87,30 @@
"effects.panel.remove": "Remove {name}",
"effects.panel.transition": "Transition",
"effects.panel.transitionHelp": "The transition on the cut into this clip. It needs the clip before it to stay touching - moved apart, it renders as a plain cut.",
+ "effects.pixelate.blurb": "Chunks the frame into visible blocks.",
+ "effects.pixelate.label": "Pixelate",
+ "effects.pixelate.param.size": "Block size",
+ "effects.posterize.blurb": "Flattens colour into bold bands.",
+ "effects.posterize.label": "Posterize",
+ "effects.posterize.param.levels": "Levels",
+ "effects.sepia.blurb": "Aged warm brown, like an old photograph.",
+ "effects.sepia.label": "Sepia",
+ "effects.shake.blurb": "Handheld-style camera judder.",
+ "effects.shake.label": "Shake",
+ "effects.shake.param.amount": "Amount",
+ "effects.shake.param.speed": "Speed",
+ "effects.sharpen.blurb": "Crisps up edges and fine detail.",
+ "effects.sharpen.label": "Sharpen",
+ "effects.sharpen.param.amount": "Amount",
+ "effects.vibrance.blurb": "Richer colour without blowing out skin tones.",
+ "effects.vibrance.label": "Vibrance",
+ "effects.vibrance.param.intensity": "Intensity",
+ "effects.vignette.blurb": "Darkens the corners to pull the eye inward.",
+ "effects.vignette.label": "Vignette",
+ "effects.vignette.param.strength": "Strength",
+ "effects.warm.blurb": "Pushes the frame toward orange and gold.",
+ "effects.warm.label": "Warm",
+ "effects.warm.param.temperature": "Temperature",
"error.fontUnreadable": "Could not read {file} as a font.",
"errorNotice.copied": "Copied",
"errorNotice.copy": "Copy error",
@@ -83,6 +142,23 @@
"export.titles.one": "{count} title",
"export.titles.other": "{count} titles",
"export.tryAgain": "Try again",
+ "filters.bass.blurb": "Lifts the low end without touching anything above it.",
+ "filters.bass.label": "Bass boost",
+ "filters.bass.param.gain": "Gain",
+ "filters.category.space": "Space",
+ "filters.category.tone": "Tone",
+ "filters.category.voice": "Voice",
+ "filters.chipmunk.blurb": "Sharply higher. Formants move too, so it is a different voice.",
+ "filters.chipmunk.label": "Chipmunk",
+ "filters.chipmunk.param.pitch": "Pitch",
+ "filters.deep.blurb": "Lower and heavier, with the low end lifted to match.",
+ "filters.deep.label": "Deep",
+ "filters.deep.param.body": "Body",
+ "filters.deep.param.pitch": "Pitch",
+ "filters.echo.blurb": "A single distinct repeat.",
+ "filters.echo.label": "Echo",
+ "filters.echo.param.decay": "Decay",
+ "filters.echo.param.delay": "Delay",
"filters.panel.applied": "Applied",
"filters.panel.appliedHelp": "Filters run top to bottom, and order is audible. The eye bypasses one without losing its settings - flick it to compare.",
"filters.panel.bypass": "Bypass {name}",
@@ -95,6 +171,23 @@
"filters.panel.noMatches": "Nothing matches \"{query}\".",
"filters.panel.remove": "Remove {name}",
"filters.panel.searchPlaceholder": "Search filters",
+ "filters.robot.blurb": "Flattened and metallic, from a very short modulated delay.",
+ "filters.robot.label": "Robot",
+ "filters.robot.param.depth": "Depth",
+ "filters.room.blurb": "Several short reflections, so it sits in a space rather than repeating.",
+ "filters.room.label": "Room",
+ "filters.room.param.size": "Size",
+ "filters.sweet.blurb": "Brighter, softer and a little higher. Ported from the reference chain.",
+ "filters.sweet.label": "Sweet",
+ "filters.sweet.param.amount": "Amount",
+ "filters.sweet.param.pitch": "Pitch",
+ "filters.sweet.pitchAuto": "auto",
+ "filters.telephone.blurb": "Band-limited to a phone line, everything else discarded.",
+ "filters.telephone.label": "Telephone",
+ "filters.telephone.param.drive": "Drive",
+ "filters.treble.blurb": "Adds air at the top. Useful on dull recordings.",
+ "filters.treble.label": "Treble boost",
+ "filters.treble.param.gain": "Gain",
"inspector.audio": "Audio",
"inspector.clip": "Clip",
"inspector.clips": "Clips",
@@ -292,6 +385,11 @@
"status.saveFailed": "save failed",
"status.saved": "saved",
"status.saving": "saving...",
+ "text.weight.black": "Black",
+ "text.weight.bold": "Bold",
+ "text.weight.light": "Light",
+ "text.weight.medium": "Medium",
+ "text.weight.regular": "Regular",
"textPanel.addFontFile": "Add font file",
"textPanel.alignCenter": "center",
"textPanel.alignLeft": "left",
@@ -328,6 +426,13 @@
"textPanel.vertical": "Vertical",
"textPanel.width": "Width",
"textPanel.yours": "Yours",
+ "time.relative.daysAgo.one": "yesterday",
+ "time.relative.daysAgo.other": "{count} days ago",
+ "time.relative.hoursAgo.one": "1 hour ago",
+ "time.relative.hoursAgo.other": "{count} hours ago",
+ "time.relative.justNow": "just now",
+ "time.relative.minutesAgo.one": "{count} min ago",
+ "time.relative.minutesAgo.other": "{count} min ago",
"timeline.addTrack": "Add track",
"timeline.avTools": "Audio & video tools",
"timeline.deleteClips": "Delete {count} clips (Del)",
@@ -371,5 +476,21 @@
"toast.templateSaved": "Saved template \"{name}\"",
"toast.transitionAdded": "{transition} added to the cut",
"toast.transitionNeedsClip": "Select the incoming clip - the one after the cut - first",
- "toast.transitionNeedsCut": "No clip ends where this one starts - transitions need a cut"
+ "toast.transitionNeedsCut": "No clip ends where this one starts - transitions need a cut",
+ "transitions.category.basic": "Basic",
+ "transitions.category.motion": "Motion",
+ "transitions.cross-fade.blurb": "The outgoing clip dissolves into the incoming one.",
+ "transitions.cross-fade.label": "Cross Fade",
+ "transitions.fade-black.blurb": "Out through black, then in from black.",
+ "transitions.fade-black.label": "Fade to Black",
+ "transitions.fade-white.blurb": "Out through white, then in from white.",
+ "transitions.fade-white.label": "Fade to White",
+ "transitions.push.blurb": "The incoming clip shoves the outgoing one off screen.",
+ "transitions.push.label": "Push",
+ "transitions.wipe-left.blurb": "The incoming clip sweeps in from the right edge.",
+ "transitions.wipe-left.label": "Wipe Left",
+ "transitions.wipe-right.blurb": "The incoming clip sweeps in from the left edge.",
+ "transitions.wipe-right.label": "Wipe Right",
+ "transitions.zoom.blurb": "Punches in on the cut, then settles.",
+ "transitions.zoom.label": "Zoom"
}
diff --git a/desktop/src/locales/zh-CN.json b/desktop/src/locales/zh-CN.json
index 2efa0301..2caeb902 100644
--- a/desktop/src/locales/zh-CN.json
+++ b/desktop/src/locales/zh-CN.json
@@ -38,6 +38,41 @@
"dialog.deleteTimeline.confirm": "删除时间线",
"dialog.deleteTimeline.empty": "该时间线是空的;不影响其他内容。",
"dialog.deleteTimeline.title": "删除“{name}”?",
+ "effects.black-white.blurb": "去除所有色彩,保留影调。",
+ "effects.black-white.label": "黑白",
+ "effects.box-blur.blurb": "更快、略显生硬的模糊。",
+ "effects.box-blur.label": "方框模糊",
+ "effects.box-blur.param.radius": "半径",
+ "effects.category.basic": "基础",
+ "effects.category.blur": "模糊",
+ "effects.category.color": "色彩",
+ "effects.category.distort": "扭曲",
+ "effects.category.stylize": "风格化",
+ "effects.contrast-pop.blurb": "黑得更深,白得更亮。",
+ "effects.contrast-pop.label": "对比增强",
+ "effects.contrast-pop.param.contrast": "对比度",
+ "effects.cool.blurb": "将画面推向蓝色和青色。",
+ "effects.cool.label": "冷色",
+ "effects.cool.param.temperature": "色温",
+ "effects.film-grain.blurb": "画面上细腻的模拟噪点。",
+ "effects.film-grain.label": "胶片颗粒",
+ "effects.film-grain.param.amount": "强度",
+ "effects.fisheye.blurb": "像广角镜头一样使画面中心凸起。",
+ "effects.fisheye.label": "鱼眼",
+ "effects.fisheye.param.strength": "强度",
+ "effects.gaussian-blur.blurb": "柔和均匀的全画面模糊。",
+ "effects.gaussian-blur.label": "高斯模糊",
+ "effects.gaussian-blur.param.radius": "半径",
+ "effects.glow.blurb": "柔和地晕开高光。",
+ "effects.glow.label": "辉光",
+ "effects.glow.param.amount": "强度",
+ "effects.invert.blurb": "将每种颜色翻转为其负片。",
+ "effects.invert.label": "反色",
+ "effects.mirror.blurb": "将画面左半边映射到右半边。",
+ "effects.mirror.label": "镜像",
+ "effects.motion-blur.blurb": "水平拖影,如同镜头扫过。",
+ "effects.motion-blur.label": "运动模糊",
+ "effects.motion-blur.param.length": "长度",
"effects.panel.addEffect": "添加特效",
"effects.panel.applied": "已应用",
"effects.panel.appliedHelp": "特效从上到下依次生效。眼睛图标可以在不丢失设置的情况下旁通——切换它来对比。",
@@ -52,6 +87,30 @@
"effects.panel.remove": "移除 {name}",
"effects.panel.transition": "转场",
"effects.panel.transitionHelp": "进入此片段的剪切点上的转场。它需要前一个片段保持相接——移开后将呈现为普通剪切。",
+ "effects.pixelate.blurb": "将画面分割成可见的色块。",
+ "effects.pixelate.label": "像素化",
+ "effects.pixelate.param.size": "块大小",
+ "effects.posterize.blurb": "将色彩压平为大胆的色带。",
+ "effects.posterize.label": "色调分离",
+ "effects.posterize.param.levels": "级数",
+ "effects.sepia.blurb": "泛黄的暖棕色,如同老照片。",
+ "effects.sepia.label": "怀旧棕褐",
+ "effects.shake.blurb": "手持相机般的晃动。",
+ "effects.shake.label": "抖动",
+ "effects.shake.param.amount": "幅度",
+ "effects.shake.param.speed": "速度",
+ "effects.sharpen.blurb": "使边缘和细节更清晰。",
+ "effects.sharpen.label": "锐化",
+ "effects.sharpen.param.amount": "强度",
+ "effects.vibrance.blurb": "色彩更丰富,同时不破坏肤色。",
+ "effects.vibrance.label": "自然饱和度",
+ "effects.vibrance.param.intensity": "强度",
+ "effects.vignette.blurb": "压暗四角,将视线引向中心。",
+ "effects.vignette.label": "暗角",
+ "effects.vignette.param.strength": "强度",
+ "effects.warm.blurb": "将画面推向橙色和金色。",
+ "effects.warm.label": "暖色",
+ "effects.warm.param.temperature": "色温",
"error.fontUnreadable": "无法将 {file} 读取为字体。",
"errorNotice.copied": "已复制",
"errorNotice.copy": "复制错误信息",
@@ -83,6 +142,23 @@
"export.titles.one": "{count} 个标题",
"export.titles.other": "{count} 个标题",
"export.tryAgain": "重试",
+ "filters.bass.blurb": "提升低频,不影响其上的任何频段。",
+ "filters.bass.label": "低音增强",
+ "filters.bass.param.gain": "增益",
+ "filters.category.space": "空间",
+ "filters.category.tone": "音色",
+ "filters.category.voice": "人声",
+ "filters.chipmunk.blurb": "大幅升高音调。共振峰也随之移动,因此听起来是另一个声音。",
+ "filters.chipmunk.label": "花栗鼠",
+ "filters.chipmunk.param.pitch": "音调",
+ "filters.deep.blurb": "更低更厚重,低频也相应提升。",
+ "filters.deep.label": "低沉",
+ "filters.deep.param.body": "厚度",
+ "filters.deep.param.pitch": "音调",
+ "filters.echo.blurb": "一次清晰的重复。",
+ "filters.echo.label": "回声",
+ "filters.echo.param.decay": "衰减",
+ "filters.echo.param.delay": "延迟",
"filters.panel.applied": "已应用",
"filters.panel.appliedHelp": "滤镜从上到下依次生效,顺序是听得出来的。眼睛图标可以在不丢失设置的情况下旁通——切换它来对比。",
"filters.panel.bypass": "旁通 {name}",
@@ -95,6 +171,23 @@
"filters.panel.noMatches": "没有与“{query}”匹配的结果。",
"filters.panel.remove": "移除 {name}",
"filters.panel.searchPlaceholder": "搜索滤镜",
+ "filters.robot.blurb": "扁平而金属感,来自极短的调制延迟。",
+ "filters.robot.label": "机器人",
+ "filters.robot.param.depth": "深度",
+ "filters.room.blurb": "若干短反射,使声音置身于空间中而非重复。",
+ "filters.room.label": "房间",
+ "filters.room.param.size": "大小",
+ "filters.sweet.blurb": "更亮、更柔和、略微升高。移植自参考链。",
+ "filters.sweet.label": "甜美",
+ "filters.sweet.param.amount": "强度",
+ "filters.sweet.param.pitch": "音调",
+ "filters.sweet.pitchAuto": "自动",
+ "filters.telephone.blurb": "限制在电话线路的频带内,其余全部舍弃。",
+ "filters.telephone.label": "电话",
+ "filters.telephone.param.drive": "驱动",
+ "filters.treble.blurb": "在顶部增加空气感。适合发闷的录音。",
+ "filters.treble.label": "高音增强",
+ "filters.treble.param.gain": "增益",
"inspector.audio": "音频",
"inspector.clip": "片段",
"inspector.clips": "片段数",
@@ -292,6 +385,11 @@
"status.saveFailed": "保存失败",
"status.saved": "已保存",
"status.saving": "正在保存...",
+ "text.weight.black": "特粗",
+ "text.weight.bold": "粗体",
+ "text.weight.light": "细体",
+ "text.weight.medium": "中等",
+ "text.weight.regular": "常规",
"textPanel.addFontFile": "添加字体文件",
"textPanel.alignCenter": "居中",
"textPanel.alignLeft": "左对齐",
@@ -328,6 +426,13 @@
"textPanel.vertical": "垂直",
"textPanel.width": "宽度",
"textPanel.yours": "自定义",
+ "time.relative.daysAgo.one": "昨天",
+ "time.relative.daysAgo.other": "{count} 天前",
+ "time.relative.hoursAgo.one": "1 小时前",
+ "time.relative.hoursAgo.other": "{count} 小时前",
+ "time.relative.justNow": "刚刚",
+ "time.relative.minutesAgo.one": "{count} 分钟前",
+ "time.relative.minutesAgo.other": "{count} 分钟前",
"timeline.addTrack": "添加轨道",
"timeline.avTools": "音频与视频工具",
"timeline.deleteClips": "删除 {count} 个片段(Del)",
@@ -371,5 +476,21 @@
"toast.templateSaved": "已保存模板“{name}”",
"toast.transitionAdded": "{transition} 已加入剪辑",
"toast.transitionNeedsClip": "请先选择切点之后的入场片段",
- "toast.transitionNeedsCut": "没有片段在此片段开始处结束——转场需要一个切点"
+ "toast.transitionNeedsCut": "没有片段在此片段开始处结束——转场需要一个切点",
+ "transitions.category.basic": "基础",
+ "transitions.category.motion": "运动",
+ "transitions.cross-fade.blurb": "出场片段溶解进入场片段。",
+ "transitions.cross-fade.label": "交叉淡化",
+ "transitions.fade-black.blurb": "经黑色淡出,再从黑色淡入。",
+ "transitions.fade-black.label": "淡出至黑",
+ "transitions.fade-white.blurb": "经白色淡出,再从白色淡入。",
+ "transitions.fade-white.label": "淡出至白",
+ "transitions.push.blurb": "入场片段将出场片段推出画面。",
+ "transitions.push.label": "推移",
+ "transitions.wipe-left.blurb": "入场片段从右边缘扫入。",
+ "transitions.wipe-left.label": "向左划像",
+ "transitions.wipe-right.blurb": "入场片段从左边缘扫入。",
+ "transitions.wipe-right.label": "向右划像",
+ "transitions.zoom.blurb": "在剪切点上急推放大,随后回稳。",
+ "transitions.zoom.label": "缩放"
}