Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

Fix Studio localization gaps while preserving authored content

罗高7d934a35af67
diff --git a/docs/editor-fork.md b/docs/editor-fork.md
index 15bc6a09..b83a0d1e 100644
--- a/docs/editor-fork.md
+++ b/docs/editor-fork.md
@@ -20,11 +20,11 @@ Undo/redo availability is filtered by the workspace host using history metadata
Hosts passing a custom `editHistory` handle to `useEditHistoryActions` must supply `canUndo` and `canRedo` from their history view, alongside the step functions. `usePersistentEditHistory` already supplies these flags.
-The sidebar language menu offers English, Simplified Chinese, Japanese, Korean, German, French, Russian, Spanish, Brazilian Portuguese, Italian and Turkish. The first launch still defaults to Simplified Chinese; `motion.studio.locale` stores the preference in browser localStorage and synchronizes it between same-origin windows. Unsupported or removed preferences fall back to Chinese. `studio/src/i18n/messages.ts` owns the supported languages, English message keys, dictionaries, interpolation and locale-aware plural forms; `I18n.tsx` provides the React context and Intl date/number formatting. Missing messages fall back to the English source.
+The sidebar language menu offers English, Simplified Chinese, Japanese, Korean, German, French, Russian, Spanish, Brazilian Portuguese, Italian and Turkish. The first launch still defaults to Simplified Chinese; `motion.studio.locale` stores the preference in browser localStorage and synchronizes it between same-origin windows. The document language and browser-tab title follow the selected locale. Unsupported or removed preferences fall back to Chinese. `studio/src/i18n/messages.ts` owns the supported languages, English message keys, dictionaries, interpolation and locale-aware plural forms; `I18n.tsx` provides the React context and Intl date/number formatting. Missing messages fall back to the English source.
Simplified Chinese interface copy uses “项目” for a project throughout the editor and connection pages. This display terminology leaves English message keys, API fields, project identifiers and local directory names unchanged.
-Localization covers editor labels, tooltips, placeholders, empty/error states and the embedded MCP/template dialog. The DOM fragment updates bound labels in place, preserving the selected client, searches and live media. Switching language does not remount the editor, change Dock layout, modify property values or translate authored text, project/template titles, source paths and protocol identifiers. Property sections receive English source titles and translate them only for display, so duplicate translations cannot change their internal IDs. README/Skill/installer translations, third-party template descriptions, copied Agent instructions and long connection guides are outside this interface change. MVP audit additions live in `mvp-zh-CN.json` and currently cover Chinese/English; the other nine locales retain English fallback for these additions, while their shared vocabulary remains intact. New locale dictionaries include machine-translated text; automated key/placeholder checks do not replace native-speaker review.
+Localization covers editor labels, tooltips, placeholders, empty/error states and the embedded MCP/template dialog. The DOM fragment updates bound labels in place, preserving the selected client, searches and live media. Switching language does not remount the editor, change Dock layout, modify property values or translate authored text, project/template titles, source paths and protocol identifiers. Property sections receive English source titles and translate them only for display, so duplicate translations cannot change their internal IDs. README/Skill/installer translations, third-party template descriptions, copied Agent instructions and long connection guides are outside this interface change. MVP additions use `mvp-zh-CN.json`, `mvp-ui.json` and `error-ui.json`. The eleven languages cover preparation progress and failures, import retry, asset-name validation, common editing feedback and media fit/crop labels. Retained advanced effects, audio processing and block-parameter additions may still fall back to English outside the MVP. Known-message detection includes the error dictionary, so recognized guidance is preserved by error summaries. Privacy, diagnostic-export and template feedback keep source message keys in state and translate them on render; changing language does not repeat a privacy request. Template filter labels use the same display translation in the sidebar and dialog, while brand names and stored filter values remain unchanged. New locale dictionaries include machine-translated text; automated key/placeholder checks do not replace native-speaker review.
Header Export opens a compact, right-aligned popover below the button with settings and task history, replacing the MVP Renders tab. Opening it does not start a render; its Export action continues using the native render queue, retaining MP4/MOV/WebM/GIF, resolution, frame rate, quality, cancellation, progress, render history and download. GIF retains native loop-count controls and the 30 fps limit. Composition-row render actions and GPU controls are hidden. 一期插件 `motion_export_request` 仍提供独立的后台快照渲染,供 Agent 使用;不会替代界面的原生导出。
diff --git a/studio/index.html b/studio/index.html
index 2e002b01..65fd2f9b 100644
--- a/studio/index.html
+++ b/studio/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#ededed" />
- <title>OpenDesign · 创作工作区</title>
+ <title>OpenMotion 工作室</title>
<script>
// Studio owns theme persistence; the product stylesheet maps its tokens.
try {
diff --git a/studio/src/components/NativeRuntimeNotice.test.tsx b/studio/src/components/NativeRuntimeNotice.test.tsx
index 35b79b60..92ae78d4 100644
--- a/studio/src/components/NativeRuntimeNotice.test.tsx
+++ b/studio/src/components/NativeRuntimeNotice.test.tsx
@@ -3,7 +3,7 @@ import { act } from 'react';
import { createRoot } from 'react-dom/client';
import { expect, it, vi } from 'vitest';
import { NativeRuntimeNotice, componentProgress } from './NativeRuntimeNotice';
-import { I18nProvider } from '../i18n/I18n';
+import { I18nProvider, languages, translate, useI18n } from '../i18n/I18n';
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
it('keeps technical progress collapsed, with retry and readiness without remounting the editor', async () => {
const host = document.createElement('div'); document.body.append(host);
@@ -25,3 +25,38 @@ it('does not invent progress or confuse completed transfer with readiness', () =
expect(componentProgress({ id: 'browser', stage: 'downloading', receivedBytes: 25 })).toBeNull();
expect(componentProgress({ id: 'browser', stage: 'checking', receivedBytes: 100, totalBytes: 100 })).toBeNull();
});
+
+it('updates an open preparation panel in all eleven languages and keeps import retry available', async () => {
+ const host = document.createElement('div'); document.body.append(host);
+ const root = createRoot(host), retry = vi.fn();
+ function Notice() {
+ const { setLocale } = useI18n();
+ return <>{languages.map(({ locale }) => <button key={locale} data-locale={locale} onClick={() => setLocale(locale)}>{locale}</button>)}
+ <input defaultValue="Authored title" />
+ <NativeRuntimeNotice checking={false} onRetry={retry} pendingImport={{ count: 2, retry }} status={{
+ ok: false,
+ runtime: { managed: true, components: [
+ { id: 'browser', stage: 'failed', errorCode: 'disk_space', error: 'ENOSPC /cache/original' },
+ { id: 'media', stage: 'ready' },
+ ], capabilities: { capture: false, media: true, export: false } },
+ }} /></>;
+ }
+ try {
+ act(() => root.render(<I18nProvider initialLocale="en"><Notice /></I18nProvider>));
+ const input = host.querySelector('input');
+ await act(async () => [...host.querySelectorAll('button')].find(b => b.textContent === 'View progress')!.click());
+ const panel = document.querySelector('[data-base-ui-portal]');
+ for (const { locale } of languages) {
+ act(() => host.querySelector<HTMLButtonElement>(`[data-locale="${locale}"]`)!.click());
+ expect(host.querySelector('input')).toBe(input);
+ expect(document.querySelector('[data-base-ui-portal]')).toBe(panel);
+ for (const key of ['Video export is not ready', 'Rendering component', 'Media components', 'Preparation failed', 'Ready', 'Not enough disk space. Free some space and retry.']) {
+ expect(document.body.textContent, `${locale}: ${key}`).toContain(translate(locale, key));
+ }
+ expect(document.body.textContent).toContain(translate(locale, 'Files waiting for import: {count}', { count: 2 }));
+ expect(document.body.textContent).toContain('ENOSPC /cache/original');
+ }
+ await act(async () => [...host.querySelectorAll('button')].find(b => b.textContent === translate('tr', 'Continue import'))!.click());
+ expect(retry).toHaveBeenCalledOnce();
+ } finally { act(() => root.unmount()); host.remove(); }
+});
diff --git a/studio/src/components/StudioErrorBoundary.test.tsx b/studio/src/components/StudioErrorBoundary.test.tsx
index 97a7368f..cda02b64 100644
--- a/studio/src/components/StudioErrorBoundary.test.tsx
+++ b/studio/src/components/StudioErrorBoundary.test.tsx
@@ -58,7 +58,9 @@ describe("StudioErrorBoundary", () => {
it("shows the crash screen with the error message and both recovery paths", () => {
renderCrashed();
expect(container.textContent).toContain("Something went wrong");
- expect(container.textContent).toContain("timeline exploded");
+ expect(container.textContent).not.toContain("timeline exploded");
+ act(() => container.querySelector<HTMLButtonElement>('[aria-label="Error details"]')!.click());
+ expect(container.querySelector("pre")?.textContent).toBe("timeline exploded");
expect(container.textContent).toContain("Try again");
expect(container.textContent).toContain("Reload Studio");
});
@@ -108,6 +110,19 @@ it("localizes crash recovery inside the product host and respects its feedback s
act(() => root.render(<Product />));
expect(container.textContent).toContain(translate('ja', 'Something went wrong'));
expect(container.textContent).toContain(translate('ja', 'Reload Studio'));
- expect(container.textContent).toContain('timeline exploded');
+ expect(container.textContent).not.toContain('timeline exploded');
+ act(() => container.querySelector<HTMLButtonElement>(`[aria-label="${translate('ja', 'Error details')}"]`)!.click());
+ expect(container.querySelector('pre')?.textContent).toBe('timeline exploded');
expect(container.querySelector('[aria-label="Send feedback to the HyperFrames team"]')).toBeNull();
});
+
+it("localizes Chinese crash prompts, chips and hints without changing answer IDs", () => {
+ act(() => root.render(<I18nProvider initialLocale="zh-CN"><StudioErrorBoundary><Boom /></StudioErrorBoundary></I18nProvider>));
+ expect(container.textContent).toContain('编辑器崩溃了。你刚才在做什么?');
+ expect(container.textContent).toContain('选择一项,或填写其他情况。');
+ expect(container.querySelector('input')?.placeholder).toBe(translate('zh-CN', 'The last thing you touched'));
+ const chip = [...container.querySelectorAll('button')].find(b => b.textContent?.trim() === '编辑时间轴')!;
+ expect(chip.getAttribute('aria-label')).toBe('编辑时间轴. 拖动、裁剪或分割片段');
+ act(() => chip.dispatchEvent(new FocusEvent('focusin', { bubbles: true })));
+ expect(container.textContent).toContain('拖动、裁剪或分割片段');
+});
diff --git a/studio/src/components/StudioErrorBoundary.tsx b/studio/src/components/StudioErrorBoundary.tsx
index 5d1919c3..f4e7ce8b 100644
--- a/studio/src/components/StudioErrorBoundary.tsx
+++ b/studio/src/components/StudioErrorBoundary.tsx
@@ -3,6 +3,7 @@ import { useStudioHost } from '../motion/StudioHost';
import { Component, type ErrorInfo, type ReactNode } from "react";
import { trackStudioEvent } from "../utils/studioTelemetry";
import { CrashFeedbackPrompt } from "./feedback/CrashFeedbackPrompt";
+import { ErrorNotice } from './ui/ErrorNotice';
import { DiagnosticExport } from '../motion/DiagnosticExport';
import { recordBrowserDiagnostic } from '../motion/diagnostics';
@@ -46,7 +47,7 @@ function CrashScreen({ error, retry }: { error: Error; retry: () => void }) {
<div className="fixed inset-0 flex flex-col items-center justify-center gap-4 bg-neutral-950 font-sans text-neutral-200">
<div className="text-lg font-semibold">{t('Something went wrong')}</div>
<div className="max-w-[480px] text-center text-[13px] text-neutral-500">
- {error.message}
+ <ErrorNotice message={error.message} />
</div>
<div className="mt-2 flex items-center gap-2">
<button
diff --git a/studio/src/components/editor/AnimationCardParts.tsx b/studio/src/components/editor/AnimationCardParts.tsx
index c5143976..53430291 100644
--- a/studio/src/components/editor/AnimationCardParts.tsx
+++ b/studio/src/components/editor/AnimationCardParts.tsx
@@ -86,7 +86,7 @@ export function PropertyRow({
<div className="flex items-center gap-1">
<div className="min-w-0 flex-1 flex items-center gap-2 px-2 py-1 rounded-lg bg-neutral-900 border border-neutral-800">
<span className="flex-1 text-[11px] font-medium text-neutral-500">
- {PROP_LABELS[prop] ?? prop}
+ {t(PROP_LABELS[prop] ?? prop)}
</span>
<button
type="button"
@@ -120,7 +120,7 @@ export function PropertyRow({
<div className="flex items-center gap-1">
<div className="min-w-0 flex-1 flex items-center gap-2 px-2 py-1 rounded-lg bg-neutral-900 border border-neutral-800">
<span className="shrink-0 text-[11px] font-medium text-neutral-500">
- {PROP_LABELS[prop] ?? prop}
+ {t(PROP_LABELS[prop] ?? prop)}
</span>
<input
type="text"
@@ -143,7 +143,7 @@ export function PropertyRow({
onClick={() => onCommit(p.value)}
className="px-1.5 py-0.5 rounded-sm text-[9px] font-medium text-neutral-500 bg-neutral-800/50 hover:bg-neutral-800 hover:text-neutral-300 transition-colors"
>
- {p.label}
+ {t(p.label)}
</button>
))}
</div>
@@ -155,7 +155,7 @@ export function PropertyRow({
<div className="flex items-center gap-1">
<div className="min-w-0 flex-1">
<MetricField
- label={PROP_LABELS[prop] ?? prop}
+ label={t(PROP_LABELS[prop] ?? prop)}
value={displayValue(prop, val)}
suffix={PROP_UNITS[prop]}
tooltip={PROP_TOOLTIPS[prop]}
diff --git a/studio/src/components/editor/EaseCurveSection.tsx b/studio/src/components/editor/EaseCurveSection.tsx
index 02882071..36fcc7bf 100644
--- a/studio/src/components/editor/EaseCurveSection.tsx
+++ b/studio/src/components/editor/EaseCurveSection.tsx
@@ -150,7 +150,7 @@ function EaseTypeDropdown({
ref={menuRef}
id={menuId}
role="menu"
- aria-label={t("{value0} ease presets", { value0: MODE_LABELS[kind] })}
+ aria-label={t("{value0} ease presets", { value0: t(MODE_LABELS[kind]) })}
onKeyDown={handleMenuKeyDown}
className="absolute inset-x-0 top-full z-20 mt-1 rounded-md border border-border bg-raised p-2 shadow-xl"
>
@@ -396,14 +396,14 @@ export function EaseCurveSection({
return (
<div className="rounded-lg bg-neutral-900/50 p-2">
- <EaseTypeDropdown kind={mode} ease={displayedEase} label={label} onSelect={commitEase} />
+ <EaseTypeDropdown kind={mode} ease={displayedEase} label={t(label)} onSelect={commitEase} />
{collidingAnimationTargets && collidingAnimationTargets.length > 1 && (
<p className="mb-1 text-[9px] text-neutral-500">
{t("Applies to")}{" "}{collidingAnimationTargets.length} {t("animations")}</p>
)}
<EaseModeToggle mode={mode} onCommit={commitEase} />
<span className="sr-only" aria-live="polite">
- {MODE_LABELS[mode]} {t("ease editor selected")}</span>
+ {t(MODE_LABELS[mode])} {t("ease editor selected")}</span>
{showGraph ? (
<>
<div
@@ -511,7 +511,7 @@ export function EaseCurveSection({
fill="transparent"
role="slider"
tabIndex={0}
- aria-label={t("{value0} bezier control point", { value0: key === "p1" ? "First" : "Second" })}
+ aria-label={t("{value0} bezier control point", { value0: t(key === "p1" ? "First" : "Second") })}
aria-valuemin={0}
aria-valuemax={1}
aria-valuenow={key === "p1" ? x1 : x2}
diff --git a/studio/src/components/editor/EaseModeControls.tsx b/studio/src/components/editor/EaseModeControls.tsx
index b7dd8c2b..743bb022 100644
--- a/studio/src/components/editor/EaseModeControls.tsx
+++ b/studio/src/components/editor/EaseModeControls.tsx
@@ -39,6 +39,7 @@ export const EasePresetGrid = function EasePresetGrid({
currentEase: string;
onSelect: (ease: string) => void;
}) {
+ const { t } = useI18n();
return (
<div className="mb-2 grid max-h-56 grid-cols-4 gap-1 overflow-y-auto pr-0.5">
{EASE_PRESETS.filter((preset) => preset.kind === kind).map((preset) => {
@@ -55,7 +56,7 @@ export const EasePresetGrid = function EasePresetGrid({
className={`flex flex-col items-center gap-0.5 rounded-md p-1 transition-colors ${
isActive ? "bg-panel-accent/10 ring-1 ring-panel-accent/30" : "hover:bg-neutral-800"
}`}
- title={preset.label}
+ title={t(preset.label)}
>
<MiniCurveSvg ease={preset.ease} active={isActive} />
<span
@@ -63,7 +64,7 @@ export const EasePresetGrid = function EasePresetGrid({
isActive ? "text-accent-ink" : "text-neutral-500"
}`}
>
- {preset.label}
+ {t(preset.label)}
</span>
</button>
);
@@ -103,7 +104,7 @@ export function EaseModeToggle({
active ? "bg-neutral-700 text-neutral-100" : "text-neutral-500 hover:text-neutral-300"
}`}
>
- {MODE_LABELS[candidateMode]}
+ {t(MODE_LABELS[candidateMode])}
</button>
);
})}
diff --git a/studio/src/components/editor/PropertyPanel.tsx b/studio/src/components/editor/PropertyPanel.tsx
index 02ce435a..ee6a3bc1 100644
--- a/studio/src/components/editor/PropertyPanel.tsx
+++ b/studio/src/components/editor/PropertyPanel.tsx
@@ -125,7 +125,7 @@ export const PropertyPanel = memo(function PropertyPanel(props: PropertyPanelPro
&& timelineElements.some((item) => (item.key ?? item.id) === selectedElementId);
const toggleTimelineVisibility = hasVisibilityTarget ? onToggleElementHidden : undefined;
const selectedElementHidden = isSelectedElementHidden(timelineElements, selectedElementId);
- const visibilityToggleLabel = selectedElementHidden ? "Show element" : "Hide element";
+ const visibilityToggleLabel = t(selectedElementHidden ? "Show element" : "Hide element");
// Audio gets no visibility toggle in this classic panel; the timeline and the flat panel offer it as a mute.
const audioSelection = isAudioDomElement(element?.element);
// Live during playback, the store's when paused — see the hook. Shared with the
diff --git a/studio/src/components/editor/propertyPanelColorGradingControls.tsx b/studio/src/components/editor/propertyPanelColorGradingControls.tsx
index 8b664f3c..6fa602c1 100644
--- a/studio/src/components/editor/propertyPanelColorGradingControls.tsx
+++ b/studio/src/components/editor/propertyPanelColorGradingControls.tsx
@@ -334,7 +334,7 @@ export function ColorGradingControls({
>
{HF_COLOR_GRADING_PRESETS.map((preset) => (
<option key={preset.id} value={preset.id}>
- {preset.label}
+ {t(preset.label)}
</option>
))}
</select>
diff --git a/studio/src/components/feedback/StudioFeedbackCard.tsx b/studio/src/components/feedback/StudioFeedbackCard.tsx
index 610a98ee..33d84be0 100644
--- a/studio/src/components/feedback/StudioFeedbackCard.tsx
+++ b/studio/src/components/feedback/StudioFeedbackCard.tsx
@@ -1,5 +1,6 @@
import { useI18n } from "../../i18n/I18n";
import { memo, useState, useCallback, useRef, useEffect } from "react";
+import { ErrorNotice } from "../ui/ErrorNotice";
import { toastSurface } from "../StudioToast";
import {
trackStudioFeedback,
@@ -221,7 +222,7 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
<p
className={`min-w-0 flex-1 text-[12px] leading-5 ${failed ? "text-danger-ink" : "text-text-0"}`}
>
- {step === "thanks" ? t("Thanks, that helps.") : title}
+ {step === "thanks" ? t("Thanks, that helps.") : t(title)}
</p>
{step === "thanks" && (
<a
@@ -259,7 +260,7 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
{/* The failure text the user already saw, quoted back so the report
carries it without asking them to retype the error. */}
{failed && request.detail && step !== "thanks" && (
- <p className="line-clamp-2 text-[11px] leading-4 text-danger-ink">{request.detail}</p>
+ <ErrorNotice message={request.detail} context={request.reason === "render_failed" ? "export" : "operation"} compact />
)}
{step === "rating" && (
@@ -301,7 +302,7 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
<div className="flex flex-wrap gap-1.5">
{followUp.presets.map((preset) => (
<button
- key={preset.label}
+ key={t(preset.label)}
type="button"
onClick={() => submit(preset.label)}
onPointerEnter={() => setHint(preset.hint)}
@@ -310,7 +311,7 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
onBlur={() => setHint(null)}
// The hint reaches a screen reader through the label, since
// it never gets the hover that reveals it visually.
- aria-label={`${preset.label}. ${preset.hint}`}
+ aria-label={`${t(preset.label)}. ${t(preset.hint)}`}
// Hover has to be unmistakable, not a shade brighter: the
// chip under the pointer is the one the hint line is talking
// about, so if you cannot tell which is hovered, the hint is
@@ -321,7 +322,7 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
: "border-border bg-hover text-neutral-300 hover:border-text-muted hover:bg-press hover:text-text-0"
}`}
>
- {preset.label}
+ {t(preset.label)}
</button>
))}
</div>
@@ -330,7 +331,7 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
bubble below lands on the input. One reserved line occludes
nothing and needs no hover delay to be readable. */}
<p className="h-3.5 truncate text-[10.5px] leading-[14px] text-neutral-500">
- {hint ?? "Tap one, or write your own."}
+ {t(hint ?? "Tap one, or write your own.")}
</p>
<div className="flex items-center gap-2">
<input
@@ -341,8 +342,8 @@ export const StudioFeedbackCard = memo(function StudioFeedbackCard() {
onKeyDown={(e) => {
if (e.key === "Enter") submit();
}}
- placeholder={followUp.placeholder}
- aria-label={followUp.prompt}
+ placeholder={t(followUp.placeholder)}
+ aria-label={t(followUp.prompt)}
maxLength={500}
className="h-7 min-w-0 flex-1 rounded-md border border-border bg-input px-2 text-[11px] text-neutral-100 outline-hidden transition-colors duration-150 placeholder:text-neutral-500 focus:border-ring"
/>
diff --git a/studio/src/components/renders/FfmpegRequiredNotice.tsx b/studio/src/components/renders/FfmpegRequiredNotice.tsx
index ce52e67c..67eb9a46 100644
--- a/studio/src/components/renders/FfmpegRequiredNotice.tsx
+++ b/studio/src/components/renders/FfmpegRequiredNotice.tsx
@@ -99,7 +99,7 @@ export const FfmpegRequiredNotice = memo(function FfmpegRequiredNotice({
) : (
status.hint && (
<span className="text-[10px] leading-snug text-pretty text-panel-text-2">
- {status.hint}
+ {t(status.hint)}
</span>
)
)}
diff --git a/studio/src/i18n/I18n.test.tsx b/studio/src/i18n/I18n.test.tsx
index 09ea0a89..93580d12 100644
--- a/studio/src/i18n/I18n.test.tsx
+++ b/studio/src/i18n/I18n.test.tsx
@@ -94,6 +94,7 @@ it('restores and synchronizes every supported preference without replacing edito
act(() => host.querySelector<HTMLButtonElement>(`[data-locale="${locale}"]`)!.click());
expect(readLocale()).toBe(locale);
expect(document.documentElement.lang).toBe(locale);
+ expect(document.title).toBe(translate(locale, 'OpenMotion Studio'));
expect(host.querySelector('h1')?.textContent).toBe(translate(locale, 'Preview'));
expect(host.querySelector('input')).toBe(input);
expect(host.querySelector('iframe')).toBe(preview);
diff --git a/studio/src/i18n/I18n.tsx b/studio/src/i18n/I18n.tsx
index b036032e..03de1c3e 100644
--- a/studio/src/i18n/I18n.tsx
+++ b/studio/src/i18n/I18n.tsx
@@ -31,6 +31,7 @@ export function I18nProvider({ children, initialLocale }: { children: ReactNode;
}, []);
useEffect(() => {
document.documentElement.lang = locale;
+ document.title = translate(locale, 'OpenMotion Studio');
const onStorage = (event: StorageEvent) => {
if (event.storageArea && event.storageArea !== localStorage) return;
if (event.key === LOCALE_STORAGE_KEY || event.key === null) updateLocale(isLocale(event.newValue) ? event.newValue : 'zh-CN');
diff --git a/studio/src/i18n/chineseControls.test.tsx b/studio/src/i18n/chineseControls.test.tsx
new file mode 100644
index 00000000..fe0bd6f8
--- /dev/null
+++ b/studio/src/i18n/chineseControls.test.tsx
@@ -0,0 +1,65 @@
+// @vitest-environment happy-dom
+import { act, type ReactNode } from 'react';
+import { createRoot, type Root } from 'react-dom/client';
+import { afterEach, expect, it, vi } from 'vitest';
+import { I18nProvider, useI18n } from './I18n';
+import { translate } from './messages';
+import { EasePresetGrid, EaseModeToggle } from '../components/editor/EaseModeControls';
+import { EaseCurveSection } from '../components/editor/EaseCurveSection';
+import { EASE_PRESETS } from '../components/editor/easePresetLibrary';
+import { FlatSelectRow } from '../components/editor/propertyPanelFlatSelectRow';
+import { PropertyRow } from '../components/editor/AnimationCardParts';
+
+let root: Root;
+afterEach(() => { act(() => root?.unmount()); document.body.replaceChildren(); localStorage.clear(); });
+function SwitchLanguage() {
+ const { setLocale } = useI18n();
+ return <button onClick={() => setLocale('en')}>English</button>;
+}
+function render(children: ReactNode) {
+ const host = document.createElement('div'); document.body.append(host); root = createRoot(host);
+ act(() => root.render(<I18nProvider initialLocale="zh-CN">{children}<SwitchLanguage /></I18nProvider>));
+ return host;
+}
+
+it('localizes easing choices and live language switches without changing ease values', () => {
+ const pick = vi.fn();
+ const host = render(<><EaseModeToggle mode="curve" onCommit={pick} /><EasePresetGrid kind="curve" currentEase="none" onSelect={pick} /><EasePresetGrid kind="spring" currentEase="spring(0.15)" onSelect={pick} /><EasePresetGrid kind="wiggle" currentEase="" onSelect={pick} /></>);
+ for (const preset of EASE_PRESETS) {
+ const button = host.querySelector<HTMLButtonElement>(`[data-ease-preset-id="${preset.id}"]`)!;
+ expect(button.title).toBe(translate('zh-CN', preset.label));
+ expect(button.textContent).toBe(button.title);
+ expect(button.title).toMatch(/[\u4e00-\u9fff]/);
+ }
+ expect(host.querySelector('[data-ease-mode="curve"]')?.textContent).toBe('曲线');
+ act(() => host.querySelector<HTMLButtonElement>('[data-ease-preset-id="quad-out"]')!.click());
+ expect(pick).toHaveBeenLastCalledWith('power2.out');
+ act(() => [...host.querySelectorAll('button')].find(b => b.textContent === 'English')!.click());
+ expect(host.querySelector('[data-ease-preset-id="quad-out"]')?.textContent).toBe('Quad Out');
+});
+
+it('localizes the selected ease label as well as the dropdown', () => {
+ const host = render(<EaseCurveSection ease="power2.out" onCustomEaseCommit={vi.fn()} />);
+ expect(host.querySelector('[data-ease-type-dropdown]')?.textContent).toBe('二次缓出');
+ expect(host.textContent).not.toContain('Curve');
+});
+
+it('translates offered CSS options while keeping their values and authored values intact', () => {
+ const pick = vi.fn();
+ const host = render(<FlatSelectRow label="Blend" value="Warm" options={['multiply', 'screen', 'overlay']} tier="explicitCustom" onChange={pick} />);
+ const options = [...host.querySelectorAll('option')];
+ expect(options.map(o => [o.value, o.textContent])).toEqual([['Warm', 'Warm'], ['multiply', '正片叠底'], ['screen', '滤色'], ['overlay', '叠加']]);
+ const select = host.querySelector('select')!;
+ act(() => { select.value = 'multiply'; select.dispatchEvent(new Event('change', { bubbles: true })); });
+ expect(pick).toHaveBeenCalledWith('multiply');
+});
+
+it('translates animation filter controls while preserving the authored filter string', () => {
+ const pick = vi.fn();
+ const host = render(<PropertyRow prop="filter" val="My Custom Filter" onCommit={pick} onRemove={vi.fn()} removeTitle="Remove" />);
+ expect(host.querySelector('input')?.value).toBe('My Custom Filter');
+ const bright = [...host.querySelectorAll('button')].find(b => b.textContent?.trim() === '增亮')!;
+ expect(bright).toBeTruthy();
+ act(() => bright.click());
+ expect(pick).toHaveBeenCalledWith('brightness(1.5)');
+});
diff --git a/studio/src/i18n/de.json b/studio/src/i18n/de.json
index a4229fd5..e2799856 100644
--- a/studio/src/i18n/de.json
+++ b/studio/src/i18n/de.json
@@ -500,17 +500,17 @@
"Remove this animation": "Diese Animation entfernen",
"Rename": "Umbenennen",
"Render and export this composition": "Diese Komposition rendern und exportieren",
- "Rendering…": "Rendering…",
- "Repeat": "Repeat",
+ "Rendering…": "Wird gerendert…",
+ "Repeat": "Wiederholen",
"Reposition crop": "Passen Sie die Zuschneideposition an",
"Reset": "Zurücksetzen",
- "Reset 3D orientation": "Reset 3D orientation",
+ "Reset 3D orientation": "3D-Ausrichtung zurücksetzen",
"Reset color grading": "Farbkorrektur zurücksetzen",
"Reset effects": "Reset effect",
"Reset layout": "Standardlayout wiederherstellen",
"Reset to auto-generated control points": "Automatisch generierte Kontrollpunkte wiederherstellen",
"Resolution": "Auflösung",
- "Restore panel": "Restore panel",
+ "Restore panel": "Bedienfeld wiederherstellen",
"Retry": "Try again",
"Retry look previews": "Stilvorschau neu laden",
"Retry preview": "Reload preview",
@@ -899,7 +899,7 @@
"Reset {value0}": "{value0} zurücksetzen",
"Remove {value0}": "{value0} entfernen",
"Preview {value0}": "Vorschau {value0}",
- "Fade {edge}": "Fade {edge}",
+ "Fade {edge}": "{edge} ausblenden",
"Add {value0}": "{value0} hinzufügen",
"{label} value": "{label}-Wert",
"Make room for {value0}": "Geben Sie {value0} Platz",
@@ -1074,20 +1074,20 @@
"Explore multi-scene animation and captions, from an icon intro to team collaboration.": "Entdecken Sie Animationen und Untertitel für mehrere Szenen, von einer Symboleinführung bis hin zur Teamzusammenarbeit.",
"Data storytelling": "Data Narrative",
"Explore the rhythm of data, annotations, and shapes in a newspaper-style animated chart.": "Erkunden Sie den Rhythmus von Daten, Anmerkungen und Formen in einem animierten Diagramm im Zeitungsstil.",
- "Process animation": "Process animation",
+ "Process animation": "Animation verarbeiten",
"Explore nodes, connections, and branches in a decision tree that unfolds step by step.": "Erkunden Sie Knoten, Verbindungen und Zweige in einem Entscheidungsbaum, der sich Schritt für Schritt entfaltet.",
"{base} (not an integer scale of {width}×{height})": "{base} (keine ganzzahlige Skala von {width}×{height})",
"Rendering": "Rendern",
- "Initializing": "Initializing",
- "Preparing": "Preparing",
+ "Initializing": "Wird initialisiert",
+ "Preparing": "Wird vorbereitet",
"Capturing": "Collecting frames",
- "Encoding": "Encoding",
+ "Encoding": "Wird kodiert",
"Finalizing": "Abschließen",
"Playback": "Spielen",
"Play / Pause": "Wiedergabe/Pause",
"Play backward": "Play backwards",
"Stop": "Halt",
- "Play forward": "Play forward",
+ "Play forward": "Vorwärts abspielen",
"Toggle mute": "Stummschaltung umschalten",
"Toggle loop": "Loop-Wiedergabe umschalten",
"Step 1 frame": "Bild für Bild verschieben",
@@ -1200,34 +1200,34 @@
"Create a project": "Erstellen Sie ein Projekt",
"Project sessions": "Projektsitzung",
"Sessions": "Sitzung",
- "Workspace navigation": "Workspace navigation",
+ "Workspace navigation": "Arbeitsbereichsnavigation",
"Main navigation": "Hauptnavigation",
"OpenMotion home": "OpenMotion Home Page",
"Open project list": "Projektliste öffnen",
"Close project list": "Projektliste schließen",
- "Collapse project list": "Collapse project list",
+ "Collapse project list": "Projektliste einklappen",
"Expand project list": "Projektliste erweitern",
"Connect Agent": "Agent verbinden",
"Search projects…": "Suchelemente…",
"Search projects": "Suchelemente",
"Loading projects…": "Artikel werden gelesen...",
"No matching projects": "No related items found",
- "Create your first project": "Create your first project",
+ "Create your first project": "Erstes Projekt erstellen",
"Local project": "Lokale Projekte",
"My workspace": "Mein Arbeitsbereich",
"Saved on this device": "Auf diesem Gerät speichern",
"Project name": "Projektname",
- "Save project name": "Save project name",
- "Rename project": "Rename project",
+ "Save project name": "Projektnamen speichern",
+ "Rename project": "Projekt umbenennen",
"Could not open project": "Projekt kann nicht geöffnet werden",
"Back to home": "Return to homepage",
"Opening project…": "Opening project...",
"Give your next idea a little motion.": "Bringen Sie die nächste Idee in Bewegung.",
"Start from your footage, or make a template your own.": "Beginnen Sie mit Ihrem Filmmaterial oder erstellen Sie eine eigene Vorlage.",
"Upload video, images or audio. Start editing right away.": "Laden Sie Videos, Bilder oder Audio hoch. Beginnen Sie sofort mit der Bearbeitung.",
- "Recent projects": "Recent projects",
+ "Recent projects": "Zuletzt verwendete Projekte",
"Show less": "Close",
- "View all": "View all",
+ "View all": "Alle anzeigen",
"Your projects will appear here.": "Ihr Projekt wird hier gespeichert.",
"A starting point for every idea": "Beginnen Sie mit einer guten Vorlage",
"Open an editable template, or copy a reference for your Agent.": "Öffnen Sie eine bearbeitbare Vorlage oder kopieren Sie eine Referenz für Ihren Agenten.",
@@ -1251,7 +1251,7 @@
"More templates": "Weitere Vorlagen anzeigen",
"Preview unavailable. You can still use the template instruction.": "Vorschau nicht verfügbar. Sie können weiterhin die Musteranweisung verwenden.",
"Versions": "Gleiche Quellversion",
- "Template version": "Template version",
+ "Template version": "Vorlagenversion",
"Breadcrumb": "Current location",
"Creative conversation": "Autorensitzung",
"Workspace view": "Arbeitsbereichsansicht",
@@ -1259,12 +1259,12 @@
"Collapse conversation": "Autorensitzung schließen",
"Conversation width": "Breite der Authoring-Sitzung",
"Open conversation": "Autorensitzung erweitern",
- "Expand editor": "Expand editor",
- "Restore editor": "Restore editor",
+ "Expand editor": "Editor vergrößern",
+ "Restore editor": "Editor wiederherstellen",
"Creative request": "Creative needs",
"Describe your video…": "Beschreiben Sie das Video, das Sie erstellen möchten ...",
"Describe a change…": "Beschreiben Sie, was Sie ändern möchten ...",
- "Create project": "Create project",
+ "Create project": "Projekt erstellen",
"Loading conversation…": "Reading session...",
"You": "me",
"Copy for Agent": "An Agent kopieren",
@@ -1275,19 +1275,19 @@
"OpenDesign home": "OpenDesign-Homepage",
"New conversation": "Neue Sitzung",
"Recent conversations": "Aktuelle Gespräche",
- "New creation": "New creation",
+ "New creation": "Neue Erstellung",
"Start conversation": "Start session",
"Your conversations will appear here.": "Gespräche werden hier angezeigt.",
"Loading conversations…": "Sitzung wird geladen…",
"Use template": "Using templates",
- "Remove template": "Remove template",
+ "Remove template": "Vorlage entfernen",
"Creation mode": "Kreativmodus",
"Conversation": "Sitzung",
"Browser": "Browser",
- "Open browser": "Open browser",
+ "Open browser": "Browser öffnen",
"Hide conversation": "Gespräch ausblenden",
"Show conversation": "Erweitern Sie das Gespräch",
- "Close browser": "Close browser",
+ "Close browser": "Browser schließen",
"Artifact browser": "Product browser",
"Browser tabs": "Browser-Registerkarten",
"Browser address": "Browseradresse",
@@ -1309,14 +1309,14 @@
"Conversation list": "Sitzungsliste",
"Close conversation list": "Close session list",
"Open conversation list": "Sitzungsliste öffnen",
- "Collapse conversation list": "Collapse conversation list",
+ "Collapse conversation list": "Unterhaltungsliste einklappen",
"Artifact": "Produkte",
"New artifact": "Neues Produkt",
"Create artifact": "Generate products",
"Model settings": "Modelleinstellungen",
- "Close model settings": "Close model settings",
+ "Close model settings": "Modelleinstellungen schließen",
"Connect your local Agent or add a provider key. Studio and MCP share these capabilities.": "Verbinden Sie Ihren lokalen Agenten oder fügen Sie einen Anbieterschlüssel hinzu. Studio und MCP teilen sich diese Fähigkeiten.",
- "Detecting local capabilities…": "Detecting local capabilities…",
+ "Detecting local capabilities…": "Lokale Funktionen werden ermittelt…",
"Enable {provider}": "{provider} aktivieren",
"Ready to request": "Can initiate generation",
"Detect again": "Erneut testen",
@@ -1327,7 +1327,7 @@
"Using environment key": "Key in environment variable is being used",
"Keys stay on this computer and are never returned by the API.": "Schlüssel verbleiben auf diesem Computer und werden niemals von der API zurückgegeben.",
"Default models": "Standardmodell",
- "Default {kind} model": "Default {kind} model",
+ "Default {kind} model": "Standardmodell für {kind}",
"Automatic · local Agent first": "Automatische Auswahl · Priorisieren Sie den lokalen Agenten",
"Model catalogue": "Modellverzeichnis",
"Discover models": "Discovery-Modell",
@@ -1352,7 +1352,7 @@
"Placement and options": "Time position and parameters",
"Start (seconds)": "Start time (seconds)",
"Duration (seconds)": "Dauer (Sekunden)",
- "Advanced parameters (JSON)": "Advanced parameters (JSON)",
+ "Advanced parameters (JSON)": "Erweiterte Parameter (JSON)",
"Advanced parameters must be a JSON object": "Advanced parameters must be JSON objects",
"Uses your local Codex account": "Use native Codex account",
"Uses your provider account": "Über Ihr Lieferantenkonto",
diff --git a/studio/src/i18n/error-ui.json b/studio/src/i18n/error-ui.json
index 6a8447d8..b40eafab 100644
--- a/studio/src/i18n/error-ui.json
+++ b/studio/src/i18n/error-ui.json
@@ -2,14 +2,14 @@
"zh-CN": {
"Reconnecting…": "重连中…",
"Connection lost.": "连接已断开",
- "The project changed elsewhere. Resolve the changes before continuing.": "工程已在其他地方修改,请先处理版本冲突。",
- "Changes could not be saved. Check the connection and project before continuing.": "修改未能保存,请检查连接和工程后再继续。",
+ "The project changed elsewhere. Resolve the changes before continuing.": "项目已在其他地方修改,请先处理版本冲突。",
+ "Changes could not be saved. Check the connection and project before continuing.": "修改未能保存,请检查连接和项目后再继续。",
"A required file is missing. Check or replace it, then try again.": "所需文件已丢失,请检查或替换文件后重试。",
"Access to the file was denied. Check its permissions.": "没有文件访问权限,请检查权限设置。",
"This file format is not supported.": "暂不支持此文件格式。",
"Cannot connect to the local studio. Check that it is running.": "无法连接本地工作室,请确认服务已启动。",
"Media could not be read. Check or replace it before exporting again.": "无法读取素材,请检查或替换素材后重新导出。",
- "Export failed. Check the project before exporting again.": "导出失败,请检查工程后重新导出。",
+ "Export failed. Check the project before exporting again.": "导出失败,请检查项目后重新导出。",
"The operation could not be completed. See error details.": "操作未能完成,可查看错误详情。",
"Error details": "错误详情",
"Hide error details": "收起详情",
@@ -28,7 +28,7 @@
"No permission to access this file.": "没有文件访问权限",
"Preview update timed out.": "预览更新超时",
"Preview could not be updated.": "预览未能更新",
- "The project changed elsewhere.": "工程已在其他地方修改",
+ "The project changed elsewhere.": "项目已在其他地方修改",
"Changes could not be saved.": "修改未能保存",
"Action not completed. Please try again.": "操作未完成,请重试",
"Historical files are unavailable. Version not restored.": "历史文件不可用,未恢复该版本",
diff --git a/studio/src/i18n/ko.json b/studio/src/i18n/ko.json
index 47dae029..750fa314 100644
--- a/studio/src/i18n/ko.json
+++ b/studio/src/i18n/ko.json
@@ -1157,7 +1157,7 @@
"{count} effects": "효과 {count}개",
"{count} elements": "요소 {count}개",
"{start} to {end}": "{start}~{end}",
- "OpenMotion Studio": "오픈모션 스튜디오",
+ "OpenMotion Studio": "OpenMotion 스튜디오",
"MCP connection · Templates": "MCP 액세스 · 템플릿",
"Search templates, creators, styles…": "템플릿, 작성자, 스타일 검색…",
"View all templates": "모든 템플릿 보기",
diff --git a/studio/src/i18n/messages.test.ts b/studio/src/i18n/messages.test.ts
index 2ecefe9c..a8437923 100644
--- a/studio/src/i18n/messages.test.ts
+++ b/studio/src/i18n/messages.test.ts
@@ -1,6 +1,8 @@
import { describe, expect, it } from 'vitest';
-import { dictionaries, languages, translate, mvpMessages, isKnownMessage } from './messages';
+import { dictionaries, languages, translate, mvpMessages, isKnownMessage, sourceMessage } from './messages';
import mvpUi from './mvp-ui.json';
+import errorUi from './error-ui.json';
+import { errorNoticeMessage } from '../components/ui/errorNoticeMessage';
import { historyEntryLabel } from './historyMessages';
describe('editor language resources', () => {
@@ -71,6 +73,61 @@ it('covers phase-one additions in all nine other languages without losing placeh
}
});
+it('recognizes error additions before reverse lookup and preserves their specific guidance', () => {
+ for (const [locale, messages] of Object.entries(errorUi)) for (const [source, value] of Object.entries(messages)) {
+ expect(isKnownMessage(source), source).toBe(true);
+ expect(sourceMessage(source), source).toBe(source);
+ expect(translate('en', source), source).toBe(source);
+ expect(translate(locale as keyof typeof errorUi, source), `${locale}: ${source}`).toBe(value);
+ expect([...value.matchAll(/\{\w+\}/g)].map(m => m[0]).sort()).toEqual([...source.matchAll(/\{\w+\}/g)].map(m => m[0]).sort());
+ }
+ const guidance = 'Please wait 30 seconds before exporting diagnostics again.';
+ expect(errorNoticeMessage(guidance)).toBe(guidance);
+});
+
+it('covers preparation and import feedback in every supported language', () => {
+ const messages = [
+ 'Rendering component', 'Media components', 'Media processing', 'Media inspection',
+ 'Waiting to prepare', 'Waiting for shared download', 'Downloading', 'Verifying download',
+ 'Extracting', 'Checking component', 'Ready', 'Preparation failed',
+ 'Video components are not ready. Check preparation status.',
+ 'Media components are preparing. Selected files are kept for retry.',
+ 'Files waiting for import: {count}', 'Preparing video features', 'Video export is not ready',
+ 'You can keep editing', 'View progress', 'Video preparation', 'Technical details',
+ 'Preparation progress unavailable', 'Your files are ready to import', 'Continue import',
+ 'Download verification failed. Retry the download.',
+ 'Not enough disk space. Free some space and retry.',
+ 'Cannot write the preparation cache. Check folder permissions.',
+ 'This platform needs compatible video components.',
+ 'Download failed. Check your connection and retry.',
+ 'The component could not be prepared. Retry or inspect the details.',
+ 'Name cannot contain slashes or two consecutive dots.',
+ ];
+ for (const { locale } of languages.filter(l => l.locale !== 'en')) for (const message of messages) {
+ expect(translate(locale, message), `${locale}: ${message}`).not.toBe(message);
+ }
+ expect(translate('en', '{count} active effects', { count: 1 })).toBe('1 active effect');
+});
+
+it('uses the current Chinese project terminology in every resource layer', () => {
+ const messages = { ...dictionaries['zh-CN'], ...mvpMessages['zh-CN'], ...errorUi['zh-CN'] };
+ for (const [source, value] of Object.entries(messages)) {
+ for (const text of typeof value === 'string' ? [value] : Object.values(value)) expect(text, source).not.toContain('工程');
+ }
+});
+
+it('uses editing actions rather than unrelated noun meanings for common controls', () => {
+ expect(translate('de', 'Retry')).toBe('Erneut versuchen');
+ expect(translate('ja', 'Apply')).toBe('適用');
+ expect(translate('fr', 'Apply')).toBe('Appliquer');
+ expect(translate('tr', 'Apply')).toBe('Uygula');
+ expect(translate('ko', 'Fit')).toBe('화면에 맞추기');
+ expect(translate('it', 'Draft')).toBe('Bozza');
+ for (const key of ['Initializing', 'Preparing', 'Encoding', 'Play forward', 'Save project name', 'Rename project', 'Create project']) {
+ expect(translate('de', key), key).not.toBe(key);
+ }
+});
+
it('localizes audited controls and history without translating authored names', () => {
expect(translate('de', 'Undo')).toBe('Rückgängig');
expect(translate('ru', 'Align left')).toBe('По левому краю');
diff --git a/studio/src/i18n/messages.ts b/studio/src/i18n/messages.ts
index 7de4e837..f943c5e2 100644
--- a/studio/src/i18n/messages.ts
+++ b/studio/src/i18n/messages.ts
@@ -44,10 +44,11 @@ const singular: Record<string, string> = {
' and its {count} slides': ' and its {count} slide', '{count} lint findings': '{count} lint finding',
'{description} ({count} effects)': '{description} ({count} effect)', '{count} files': '{count} file',
'{count} tools': '{count} tool', '{count} elements selected': '{count} element selected',
+ '{count} active effects': '{count} active effect',
};
const pluralRules = Object.fromEntries(languages.map(({ locale }) => [locale, new Intl.PluralRules(locale)]));
-export const isKnownMessage = (message: string): boolean => Object.hasOwn(zhCN, message) || Object.hasOwn(mvpZhCN, message);
+export const isKnownMessage = (message: string): boolean => Object.hasOwn(effectiveDictionaries['zh-CN'], message);
/** Accept legacy Chinese labels and already-localized built-in labels. */
export function sourceMessage(message: string, locale: Locale = 'zh-CN'): string {
diff --git a/studio/src/i18n/mvp-ui.json b/studio/src/i18n/mvp-ui.json
index 72672d99..18ed8f89 100644
--- a/studio/src/i18n/mvp-ui.json
+++ b/studio/src/i18n/mvp-ui.json
@@ -189,7 +189,109 @@
"No editable content": "編集できる内容がありません",
"No content to export. Add media first.": "書き出す内容がありません。先に素材を追加してください。",
"Select an element to edit its properties": "要素を選択してプロパティを編集",
- "Untitled": "無題"
+ "Untitled": "無題",
+ "Rendering component": "レンダリングコンポーネント",
+ "Media components": "メディアコンポーネント",
+ "Media processing": "メディア処理",
+ "Media inspection": "メディア検査",
+ "Waiting to prepare": "準備待ち",
+ "Waiting for shared download": "共有ダウンロードの完了待ち",
+ "Downloading": "ダウンロード中",
+ "Verifying download": "ダウンロードを検証中",
+ "Extracting": "展開中",
+ "Checking component": "コンポーネントを確認中",
+ "Ready": "準備完了",
+ "Preparation failed": "準備に失敗しました",
+ "Video components are not ready. Check preparation status.": "動画コンポーネントの準備ができていません。準備状況を確認してください。",
+ "Media components are preparing. Selected files are kept for retry.": "メディアコンポーネントを準備中です。選択したファイルは再試行用に保持されます。",
+ "Files waiting for import: {count}": "インポート待ちのファイル:{count}",
+ "Download verification failed. Retry the download.": "ダウンロードの検証に失敗しました。再度ダウンロードしてください。",
+ "Not enough disk space. Free some space and retry.": "ディスクの空き容量が不足しています。空き容量を増やして再試行してください。",
+ "Cannot write the preparation cache. Check folder permissions.": "準備用キャッシュに書き込めません。フォルダーの権限を確認してください。",
+ "This platform needs compatible video components.": "このプラットフォームに対応した動画コンポーネントが必要です。",
+ "Download failed. Check your connection and retry.": "ダウンロードに失敗しました。接続を確認して再試行してください。",
+ "The component could not be prepared. Retry or inspect the details.": "コンポーネントを準備できませんでした。再試行するか詳細を確認してください。",
+ "Preparing video features": "動画機能を準備中",
+ "Video export is not ready": "動画の書き出しはまだ利用できません",
+ "You can keep editing": "編集は続けられます",
+ "View progress": "進行状況を表示",
+ "Video preparation": "動画機能の準備",
+ "Technical details": "技術的な詳細",
+ "Preparation progress unavailable": "準備の進行状況を取得できません",
+ "Your files are ready to import": "ファイルをインポートできます",
+ "Continue import": "インポートを続行",
+ "WebP (not yet available)": "WebP(未対応)",
+ "Name cannot contain slashes or two consecutive dots.": "名前にスラッシュや連続した2つのドットは使用できません。",
+ "Unable to copy \"{name}\".": "「{name}」をコピーできません。",
+ "Unable to copy this element.": "この要素をコピーできません。",
+ "Clip deleted, but the gap could not be closed.": "クリップは削除されましたが、隙間を詰められませんでした。",
+ "This clip can't be moved or resized from the timeline yet.": "このクリップはまだタイムライン上で移動や長さの変更ができません。",
+ "Upload rejected: payload too large": "アップロードを拒否しました:サイズが大きすぎます",
+ "Upload failed: network error": "アップロード失敗:ネットワークエラー",
+ "Upload failed ({status})": "アップロード失敗({status})",
+ "Skipped (too large): {files}": "スキップ(サイズ超過):{files}",
+ "Not added: {message}": "追加されませんでした:{message}",
+ "Added {name}, {message}": "{name} を追加しました。{message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "このコンポジションを追加すると循環参照が発生します。別のコンポジションを選択してください。",
+ "Set a valid duration on the composition before adding it to the timeline.": "タイムラインに追加する前に、コンポジションに有効な長さを設定してください。",
+ "Couldn't save edit because it contains invalid layout values": "レイアウトの値が無効なため、編集を保存できませんでした",
+ "Couldn't assign element id because the patch contains invalid values": "変更内容に無効な値があるため、要素IDを割り当てられませんでした",
+ "Select at least 2 elements to group": "グループ化するには2つ以上の要素を選択してください",
+ "Can't group elements from different files": "異なるファイルの要素はグループ化できません",
+ "This element is inside a sub-composition and has no timeline row to hide.": "この要素はサブコンポジション内にあり、非表示にするタイムライン行がありません。",
+ "Audio can't be hidden. Use the group's own controls": "音声は非表示にできません。グループのコントロールを使用してください",
+ "Couldn't read element layout. Try again at a different playhead time": "要素のレイアウトを読み取れませんでした。再生ヘッドの位置を変えて再試行してください",
+ "This element's size can't be edited here yet: its animation drives it": "この要素のサイズはアニメーションで制御されているため、ここではまだ編集できません",
+ "This layer can't be reordered": "このレイヤーの順序は変更できません",
+ "Deleting {name}...": "{name} を削除中…",
+ "Deleted {name}. Use Undo to restore it.": "{name} を削除しました。「元に戻す」で復元できます。",
+ "Deleted {name}. Use Undo to restore them.": "{name} を削除しました。「元に戻す」で復元できます。",
+ "Couldn't save the text edit: {message}": "テキストの編集を保存できませんでした:{message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "{path} を保存できませんでした。最新の編集は保存されていません。プレビューサーバーを確認してください。再編集すると保存を再試行します。",
+ "Saved, but couldn't finish updating {path}: {message}": "保存しましたが、{path} の更新を完了できませんでした:{message}",
+ "Couldn't assign element id: element not found in {path}": "要素IDを割り当てられません:{path} に要素が見つかりません",
+ "Can't {action}: {paths} changed since that edit.": "{action}できません:編集中に {paths} が変更されました。",
+ "{action} failed: {message}": "{action}に失敗しました:{message}",
+ "Crop top": "上を切り抜き",
+ "Crop right": "右を切り抜き",
+ "Crop bottom": "下を切り抜き",
+ "Crop left": "左を切り抜き",
+ "top": "上",
+ "bottom": "下",
+ "contain": "全体を表示",
+ "cover": "領域を埋める",
+ "fill": "引き伸ばす",
+ "scale-down": "縮小のみ",
+ "left top": "左上",
+ "right top": "右上",
+ "left bottom": "左下",
+ "right bottom": "右下",
+ "Link to audio": "音声にリンク",
+ "Link to video": "動画にリンク",
+ "Unlink from audio": "音声とのリンクを解除",
+ "Unlink from video": "動画とのリンクを解除",
+ "Link": "リンク",
+ "Unlink": "リンクを解除",
+ "Add layer": "レイヤーを追加",
+ "Grade": "カラー補正",
+ "Overlays": "オーバーレイ",
+ "Audio FX": "音声エフェクト",
+ "{count} active effects": "有効なエフェクト:{count}",
+ "Retry": "再試行",
+ "Try again": "再試行",
+ "Apply": "適用",
+ "Fit": "画面に合わせる",
+ "Open": "開く",
+ "History": "変更履歴",
+ "Position": "位置",
+ "Regular": "標準",
+ "Done": "完了",
+ "Standard": "標準",
+ "Draft": "ドラフト",
+ "Duplicate": "複製",
+ "Volume": "音量",
+ "Show": "表示",
+ "Hide": "非表示"
},
"ko": {
"Join the OpenDesign community": "OpenDesign 커뮤니티에 참여하세요",
@@ -381,7 +483,109 @@
"No editable content": "편집할 콘텐츠가 없습니다",
"No content to export. Add media first.": "내보낼 콘텐츠가 없습니다. 먼저 미디어를 추가하세요.",
"Select an element to edit its properties": "요소를 선택해 속성 편집",
- "Untitled": "제목 없음"
+ "Untitled": "제목 없음",
+ "Rendering component": "렌더링 구성 요소",
+ "Media components": "미디어 구성 요소",
+ "Media processing": "미디어 처리",
+ "Media inspection": "미디어 검사",
+ "Waiting to prepare": "준비 대기 중",
+ "Waiting for shared download": "공유 다운로드 대기 중",
+ "Downloading": "다운로드 중",
+ "Verifying download": "다운로드 확인 중",
+ "Extracting": "압축 해제 중",
+ "Checking component": "구성 요소 확인 중",
+ "Ready": "준비 완료",
+ "Preparation failed": "준비 실패",
+ "Video components are not ready. Check preparation status.": "동영상 구성 요소가 준비되지 않았습니다. 준비 상태를 확인하세요.",
+ "Media components are preparing. Selected files are kept for retry.": "미디어 구성 요소를 준비 중입니다. 선택한 파일은 재시도를 위해 보관됩니다.",
+ "Files waiting for import: {count}": "가져오기 대기 파일: {count}",
+ "Download verification failed. Retry the download.": "다운로드 확인에 실패했습니다. 다시 다운로드하세요.",
+ "Not enough disk space. Free some space and retry.": "디스크 공간이 부족합니다. 공간을 확보하고 다시 시도하세요.",
+ "Cannot write the preparation cache. Check folder permissions.": "준비 캐시에 쓸 수 없습니다. 폴더 권한을 확인하세요.",
+ "This platform needs compatible video components.": "이 플랫폼에 호환되는 동영상 구성 요소가 필요합니다.",
+ "Download failed. Check your connection and retry.": "다운로드에 실패했습니다. 연결을 확인하고 다시 시도하세요.",
+ "The component could not be prepared. Retry or inspect the details.": "구성 요소를 준비하지 못했습니다. 다시 시도하거나 세부 정보를 확인하세요.",
+ "Preparing video features": "동영상 기능 준비 중",
+ "Video export is not ready": "동영상 내보내기가 준비되지 않았습니다",
+ "You can keep editing": "계속 편집할 수 있습니다",
+ "View progress": "진행 상황 보기",
+ "Video preparation": "동영상 준비",
+ "Technical details": "기술 세부 정보",
+ "Preparation progress unavailable": "준비 진행 상황을 확인할 수 없습니다",
+ "Your files are ready to import": "파일을 가져올 준비가 되었습니다",
+ "Continue import": "가져오기 계속",
+ "WebP (not yet available)": "WebP (아직 지원되지 않음)",
+ "Name cannot contain slashes or two consecutive dots.": "이름에는 슬래시나 연속된 두 개의 마침표를 사용할 수 없습니다.",
+ "Unable to copy \"{name}\".": "\"{name}\"을(를) 복사할 수 없습니다.",
+ "Unable to copy this element.": "이 요소를 복사할 수 없습니다.",
+ "Clip deleted, but the gap could not be closed.": "클립이 삭제되었지만 간격을 닫지 못했습니다.",
+ "This clip can't be moved or resized from the timeline yet.": "이 클립은 아직 타임라인에서 이동하거나 길이를 조절할 수 없습니다.",
+ "Upload rejected: payload too large": "업로드 거부: 파일 크기가 너무 큽니다",
+ "Upload failed: network error": "업로드 실패: 네트워크 오류",
+ "Upload failed ({status})": "업로드 실패 ({status})",
+ "Skipped (too large): {files}": "건너뜀 (너무 큼): {files}",
+ "Not added: {message}": "추가되지 않음: {message}",
+ "Added {name}, {message}": "{name} 추가됨, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "이 컴포지션을 추가하면 순환 참조가 발생합니다. 다른 컴포지션을 선택하세요.",
+ "Set a valid duration on the composition before adding it to the timeline.": "타임라인에 추가하기 전에 컴포지션에 유효한 길이를 설정하세요.",
+ "Couldn't save edit because it contains invalid layout values": "잘못된 레이아웃 값이 있어 편집을 저장하지 못했습니다",
+ "Couldn't assign element id because the patch contains invalid values": "변경 내용에 잘못된 값이 있어 요소 ID를 할당하지 못했습니다",
+ "Select at least 2 elements to group": "그룹화하려면 요소를 2개 이상 선택하세요",
+ "Can't group elements from different files": "서로 다른 파일의 요소는 그룹화할 수 없습니다",
+ "This element is inside a sub-composition and has no timeline row to hide.": "이 요소는 하위 컴포지션 안에 있으며 숨길 타임라인 행이 없습니다.",
+ "Audio can't be hidden. Use the group's own controls": "오디오는 숨길 수 없습니다. 그룹의 컨트롤을 사용하세요",
+ "Couldn't read element layout. Try again at a different playhead time": "요소 레이아웃을 읽지 못했습니다. 재생 헤드 위치를 바꾸고 다시 시도하세요",
+ "This element's size can't be edited here yet: its animation drives it": "이 요소의 크기는 애니메이션으로 제어되어 여기서 아직 편집할 수 없습니다",
+ "This layer can't be reordered": "이 레이어는 순서를 변경할 수 없습니다",
+ "Deleting {name}...": "{name} 삭제 중...",
+ "Deleted {name}. Use Undo to restore it.": "{name}을(를) 삭제했습니다. 실행 취소로 복원할 수 있습니다.",
+ "Deleted {name}. Use Undo to restore them.": "{name}을(를) 삭제했습니다. 실행 취소로 복원할 수 있습니다.",
+ "Couldn't save the text edit: {message}": "텍스트 편집을 저장하지 못했습니다: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "{path}을(를) 저장하지 못했습니다. 최근 편집이 저장되지 않았습니다. 미리보기 서버를 확인하세요. 다시 편집하면 저장을 재시도합니다.",
+ "Saved, but couldn't finish updating {path}: {message}": "저장했지만 {path} 업데이트를 완료하지 못했습니다: {message}",
+ "Couldn't assign element id: element not found in {path}": "요소 ID를 할당하지 못했습니다: {path}에서 요소를 찾을 수 없습니다",
+ "Can't {action}: {paths} changed since that edit.": "{action}할 수 없습니다: 편집 후 {paths}이(가) 변경되었습니다.",
+ "{action} failed: {message}": "{action} 실패: {message}",
+ "Crop top": "위쪽 자르기",
+ "Crop right": "오른쪽 자르기",
+ "Crop bottom": "아래쪽 자르기",
+ "Crop left": "왼쪽 자르기",
+ "top": "위쪽",
+ "bottom": "아래쪽",
+ "contain": "전체 맞춤",
+ "cover": "영역 채우기",
+ "fill": "늘여 채우기",
+ "scale-down": "축소만",
+ "left top": "왼쪽 위",
+ "right top": "오른쪽 위",
+ "left bottom": "왼쪽 아래",
+ "right bottom": "오른쪽 아래",
+ "Link to audio": "오디오에 연결",
+ "Link to video": "동영상에 연결",
+ "Unlink from audio": "오디오 연결 해제",
+ "Unlink from video": "동영상 연결 해제",
+ "Link": "연결",
+ "Unlink": "연결 해제",
+ "Add layer": "레이어 추가",
+ "Grade": "색 보정",
+ "Overlays": "오버레이",
+ "Audio FX": "오디오 효과",
+ "{count} active effects": "활성 효과: {count}",
+ "Retry": "다시 시도",
+ "Try again": "다시 시도",
+ "Apply": "적용",
+ "Fit": "화면에 맞추기",
+ "Open": "열기",
+ "History": "변경 기록",
+ "Position": "위치",
+ "Regular": "보통",
+ "Done": "완료",
+ "Standard": "표준",
+ "Draft": "초안",
+ "Duplicate": "복제",
+ "Volume": "음량",
+ "Show": "표시",
+ "Hide": "숨기기"
},
"de": {
"Join the OpenDesign community": "Tritt der OpenDesign-Community bei",
@@ -573,7 +777,109 @@
"No editable content": "Keine bearbeitbaren Inhalte",
"No content to export. Add media first.": "Keine Inhalte zum Exportieren. Füge zuerst Medien hinzu.",
"Select an element to edit its properties": "Element zum Bearbeiten wählen",
- "Untitled": "Unbenannt"
+ "Untitled": "Unbenannt",
+ "Rendering component": "Renderkomponente",
+ "Media components": "Medienkomponenten",
+ "Media processing": "Medienverarbeitung",
+ "Media inspection": "Medienprüfung",
+ "Waiting to prepare": "Vorbereitung ausstehend",
+ "Waiting for shared download": "Warten auf gemeinsamen Download",
+ "Downloading": "Wird heruntergeladen",
+ "Verifying download": "Download wird geprüft",
+ "Extracting": "Wird entpackt",
+ "Checking component": "Komponente wird geprüft",
+ "Ready": "Bereit",
+ "Preparation failed": "Vorbereitung fehlgeschlagen",
+ "Video components are not ready. Check preparation status.": "Videokomponenten sind noch nicht bereit. Prüfen Sie den Vorbereitungsstatus.",
+ "Media components are preparing. Selected files are kept for retry.": "Medienkomponenten werden vorbereitet. Ausgewählte Dateien bleiben für einen erneuten Versuch erhalten.",
+ "Files waiting for import: {count}": "Dateien zum Importieren: {count}",
+ "Download verification failed. Retry the download.": "Downloadprüfung fehlgeschlagen. Laden Sie erneut herunter.",
+ "Not enough disk space. Free some space and retry.": "Nicht genügend Speicherplatz. Geben Sie Speicherplatz frei und versuchen Sie es erneut.",
+ "Cannot write the preparation cache. Check folder permissions.": "Vorbereitungscache kann nicht geschrieben werden. Prüfen Sie die Ordnerberechtigungen.",
+ "This platform needs compatible video components.": "Diese Plattform benötigt kompatible Videokomponenten.",
+ "Download failed. Check your connection and retry.": "Download fehlgeschlagen. Prüfen Sie die Verbindung und versuchen Sie es erneut.",
+ "The component could not be prepared. Retry or inspect the details.": "Komponente konnte nicht vorbereitet werden. Versuchen Sie es erneut oder prüfen Sie die Details.",
+ "Preparing video features": "Videofunktionen werden vorbereitet",
+ "Video export is not ready": "Videoexport noch nicht bereit",
+ "You can keep editing": "Sie können weiter bearbeiten",
+ "View progress": "Fortschritt anzeigen",
+ "Video preparation": "Videovorbereitung",
+ "Technical details": "Technische Details",
+ "Preparation progress unavailable": "Vorbereitungsfortschritt nicht verfügbar",
+ "Your files are ready to import": "Ihre Dateien können importiert werden",
+ "Continue import": "Import fortsetzen",
+ "WebP (not yet available)": "WebP (noch nicht verfügbar)",
+ "Name cannot contain slashes or two consecutive dots.": "Der Name darf keine Schrägstriche oder zwei aufeinanderfolgende Punkte enthalten.",
+ "Unable to copy \"{name}\".": "„{name}“ kann nicht kopiert werden.",
+ "Unable to copy this element.": "Dieses Element kann nicht kopiert werden.",
+ "Clip deleted, but the gap could not be closed.": "Clip gelöscht, aber die Lücke konnte nicht geschlossen werden.",
+ "This clip can't be moved or resized from the timeline yet.": "Dieser Clip kann in der Zeitleiste noch nicht verschoben oder in der Länge geändert werden.",
+ "Upload rejected: payload too large": "Upload abgelehnt: Datenmenge zu groß",
+ "Upload failed: network error": "Upload fehlgeschlagen: Netzwerkfehler",
+ "Upload failed ({status})": "Upload fehlgeschlagen ({status})",
+ "Skipped (too large): {files}": "Übersprungen (zu groß): {files}",
+ "Not added: {message}": "Nicht hinzugefügt: {message}",
+ "Added {name}, {message}": "{name} hinzugefügt, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "Das Hinzufügen dieser Komposition würde einen Zirkelbezug erzeugen. Wählen Sie eine andere Komposition.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Legen Sie vor dem Hinzufügen zur Zeitleiste eine gültige Dauer für die Komposition fest.",
+ "Couldn't save edit because it contains invalid layout values": "Bearbeitung enthält ungültige Layoutwerte und konnte nicht gespeichert werden",
+ "Couldn't assign element id because the patch contains invalid values": "Element-ID konnte wegen ungültiger Werte in der Änderung nicht zugewiesen werden",
+ "Select at least 2 elements to group": "Wählen Sie mindestens 2 Elemente zum Gruppieren aus",
+ "Can't group elements from different files": "Elemente aus verschiedenen Dateien können nicht gruppiert werden",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Dieses Element liegt in einer Unterkomposition und hat keine ausblendbare Zeitleistenspur.",
+ "Audio can't be hidden. Use the group's own controls": "Audio kann nicht ausgeblendet werden. Verwenden Sie die Gruppensteuerung",
+ "Couldn't read element layout. Try again at a different playhead time": "Elementlayout konnte nicht gelesen werden. Versuchen Sie eine andere Abspielposition",
+ "This element's size can't be edited here yet: its animation drives it": "Die Größe dieses Elements wird durch seine Animation gesteuert und kann hier noch nicht bearbeitet werden",
+ "This layer can't be reordered": "Diese Ebene kann nicht umgeordnet werden",
+ "Deleting {name}...": "{name} wird gelöscht…",
+ "Deleted {name}. Use Undo to restore it.": "{name} gelöscht. Mit Rückgängig wiederherstellen.",
+ "Deleted {name}. Use Undo to restore them.": "{name} gelöscht. Mit Rückgängig wiederherstellen.",
+ "Couldn't save the text edit: {message}": "Textänderung konnte nicht gespeichert werden: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "{path} konnte nicht gespeichert werden. Ihre letzten Änderungen sind NICHT gespeichert. Prüfen Sie den Vorschauserver; erneutes Bearbeiten versucht das Speichern erneut.",
+ "Saved, but couldn't finish updating {path}: {message}": "Gespeichert, aber {path} konnte nicht vollständig aktualisiert werden: {message}",
+ "Couldn't assign element id: element not found in {path}": "Element-ID konnte nicht zugewiesen werden: Element in {path} nicht gefunden",
+ "Can't {action}: {paths} changed since that edit.": "{action} nicht möglich: {paths} wurden seit dieser Bearbeitung geändert.",
+ "{action} failed: {message}": "{action} fehlgeschlagen: {message}",
+ "Crop top": "Oben zuschneiden",
+ "Crop right": "Rechts zuschneiden",
+ "Crop bottom": "Unten zuschneiden",
+ "Crop left": "Links zuschneiden",
+ "top": "oben",
+ "bottom": "unten",
+ "contain": "Einpassen",
+ "cover": "Ausfüllen",
+ "fill": "Strecken",
+ "scale-down": "Nur verkleinern",
+ "left top": "links oben",
+ "right top": "rechts oben",
+ "left bottom": "links unten",
+ "right bottom": "rechts unten",
+ "Link to audio": "Mit Audio verknüpfen",
+ "Link to video": "Mit Video verknüpfen",
+ "Unlink from audio": "Audioverknüpfung lösen",
+ "Unlink from video": "Videoverknüpfung lösen",
+ "Link": "Verknüpfen",
+ "Unlink": "Verknüpfung lösen",
+ "Add layer": "Ebene hinzufügen",
+ "Grade": "Farbkorrektur",
+ "Overlays": "Überlagerungen",
+ "Audio FX": "Audioeffekte",
+ "{count} active effects": "Aktive Effekte: {count}",
+ "Retry": "Erneut versuchen",
+ "Try again": "Erneut versuchen",
+ "Apply": "Anwenden",
+ "Fit": "Einpassen",
+ "Open": "Öffnen",
+ "History": "Verlauf",
+ "Position": "Position",
+ "Regular": "Normal",
+ "Done": "Fertig",
+ "Standard": "Standard",
+ "Draft": "Entwurf",
+ "Duplicate": "Duplizieren",
+ "Volume": "Lautstärke",
+ "Show": "Einblenden",
+ "Hide": "Ausblenden"
},
"fr": {
"Join the OpenDesign community": "Rejoignez la communauté OpenDesign",
@@ -765,7 +1071,109 @@
"No editable content": "Aucun contenu à modifier",
"No content to export. Add media first.": "Aucun contenu à exporter. Ajoutez d’abord des médias.",
"Select an element to edit its properties": "Sélectionnez un élément à modifier",
- "Untitled": "Sans titre"
+ "Untitled": "Sans titre",
+ "Rendering component": "Composant de rendu",
+ "Media components": "Composants multimédias",
+ "Media processing": "Traitement multimédia",
+ "Media inspection": "Analyse des médias",
+ "Waiting to prepare": "En attente de préparation",
+ "Waiting for shared download": "En attente du téléchargement partagé",
+ "Downloading": "Téléchargement en cours",
+ "Verifying download": "Vérification du téléchargement",
+ "Extracting": "Extraction en cours",
+ "Checking component": "Vérification du composant",
+ "Ready": "Prêt",
+ "Preparation failed": "Échec de la préparation",
+ "Video components are not ready. Check preparation status.": "Les composants vidéo ne sont pas prêts. Vérifiez l’état de la préparation.",
+ "Media components are preparing. Selected files are kept for retry.": "Les composants multimédias sont en préparation. Les fichiers sélectionnés sont conservés pour réessayer.",
+ "Files waiting for import: {count}": "Fichiers en attente d’importation : {count}",
+ "Download verification failed. Retry the download.": "La vérification a échoué. Relancez le téléchargement.",
+ "Not enough disk space. Free some space and retry.": "Espace disque insuffisant. Libérez de l’espace et réessayez.",
+ "Cannot write the preparation cache. Check folder permissions.": "Impossible d’écrire le cache de préparation. Vérifiez les autorisations du dossier.",
+ "This platform needs compatible video components.": "Cette plateforme nécessite des composants vidéo compatibles.",
+ "Download failed. Check your connection and retry.": "Le téléchargement a échoué. Vérifiez votre connexion et réessayez.",
+ "The component could not be prepared. Retry or inspect the details.": "Le composant n’a pas pu être préparé. Réessayez ou consultez les détails.",
+ "Preparing video features": "Préparation des fonctions vidéo",
+ "Video export is not ready": "L’exportation vidéo n’est pas prête",
+ "You can keep editing": "Vous pouvez continuer à modifier",
+ "View progress": "Voir la progression",
+ "Video preparation": "Préparation vidéo",
+ "Technical details": "Détails techniques",
+ "Preparation progress unavailable": "Progression de la préparation indisponible",
+ "Your files are ready to import": "Vos fichiers sont prêts à être importés",
+ "Continue import": "Poursuivre l’importation",
+ "WebP (not yet available)": "WebP (pas encore disponible)",
+ "Name cannot contain slashes or two consecutive dots.": "Le nom ne peut pas contenir de barres obliques ni deux points consécutifs.",
+ "Unable to copy \"{name}\".": "Impossible de copier « {name} ».",
+ "Unable to copy this element.": "Impossible de copier cet élément.",
+ "Clip deleted, but the gap could not be closed.": "Le clip a été supprimé, mais l’espace n’a pas pu être refermé.",
+ "This clip can't be moved or resized from the timeline yet.": "Ce clip ne peut pas encore être déplacé ni redimensionné dans la timeline.",
+ "Upload rejected: payload too large": "Envoi refusé : données trop volumineuses",
+ "Upload failed: network error": "Échec de l’envoi : erreur réseau",
+ "Upload failed ({status})": "Échec de l’envoi ({status})",
+ "Skipped (too large): {files}": "Ignorés (trop volumineux) : {files}",
+ "Not added: {message}": "Non ajouté : {message}",
+ "Added {name}, {message}": "{name} ajouté, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "L’ajout de cette composition créerait une référence circulaire. Choisissez-en une autre.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Définissez une durée valide pour la composition avant de l’ajouter à la timeline.",
+ "Couldn't save edit because it contains invalid layout values": "Impossible d’enregistrer la modification : valeurs de mise en page invalides",
+ "Couldn't assign element id because the patch contains invalid values": "Impossible d’attribuer un identifiant : la modification contient des valeurs invalides",
+ "Select at least 2 elements to group": "Sélectionnez au moins 2 éléments à regrouper",
+ "Can't group elements from different files": "Impossible de regrouper des éléments de fichiers différents",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Cet élément est dans une sous-composition et n’a pas de piste à masquer dans la timeline.",
+ "Audio can't be hidden. Use the group's own controls": "L’audio ne peut pas être masqué. Utilisez les commandes du groupe",
+ "Couldn't read element layout. Try again at a different playhead time": "Impossible de lire la mise en page de l’élément. Réessayez à une autre position de lecture",
+ "This element's size can't be edited here yet: its animation drives it": "La taille de cet élément est contrôlée par son animation et ne peut pas encore être modifiée ici",
+ "This layer can't be reordered": "L’ordre de ce calque ne peut pas être modifié",
+ "Deleting {name}...": "Suppression de {name}…",
+ "Deleted {name}. Use Undo to restore it.": "{name} supprimé. Utilisez Annuler pour le restaurer.",
+ "Deleted {name}. Use Undo to restore them.": "{name} supprimés. Utilisez Annuler pour les restaurer.",
+ "Couldn't save the text edit: {message}": "Impossible d’enregistrer le texte : {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "Impossible d’enregistrer {path}. Vos dernières modifications ne sont PAS sauvegardées. Vérifiez le serveur d’aperçu ; une nouvelle modification relance l’enregistrement.",
+ "Saved, but couldn't finish updating {path}: {message}": "Enregistré, mais la mise à jour de {path} n’a pas pu être terminée : {message}",
+ "Couldn't assign element id: element not found in {path}": "Impossible d’attribuer un identifiant : élément introuvable dans {path}",
+ "Can't {action}: {paths} changed since that edit.": "Impossible de {action} : {paths} ont changé depuis cette modification.",
+ "{action} failed: {message}": "Échec de {action} : {message}",
+ "Crop top": "Rogner en haut",
+ "Crop right": "Rogner à droite",
+ "Crop bottom": "Rogner en bas",
+ "Crop left": "Rogner à gauche",
+ "top": "haut",
+ "bottom": "bas",
+ "contain": "Ajuster",
+ "cover": "Couvrir",
+ "fill": "Étirer",
+ "scale-down": "Réduire uniquement",
+ "left top": "en haut à gauche",
+ "right top": "en haut à droite",
+ "left bottom": "en bas à gauche",
+ "right bottom": "en bas à droite",
+ "Link to audio": "Lier à l’audio",
+ "Link to video": "Lier à la vidéo",
+ "Unlink from audio": "Dissocier de l’audio",
+ "Unlink from video": "Dissocier de la vidéo",
+ "Link": "Lier",
+ "Unlink": "Dissocier",
+ "Add layer": "Ajouter un calque",
+ "Grade": "Étalonnage",
+ "Overlays": "Superpositions",
+ "Audio FX": "Effets audio",
+ "{count} active effects": "Effets actifs : {count}",
+ "Retry": "Réessayer",
+ "Try again": "Réessayer",
+ "Apply": "Appliquer",
+ "Fit": "Ajuster",
+ "Open": "Ouvrir",
+ "History": "Historique",
+ "Position": "Position",
+ "Regular": "Normal",
+ "Done": "Terminé",
+ "Standard": "Standard",
+ "Draft": "Brouillon",
+ "Duplicate": "Dupliquer",
+ "Volume": "Volume",
+ "Show": "Afficher",
+ "Hide": "Masquer"
},
"ru": {
"Join the OpenDesign community": "Присоединяйтесь к сообществу OpenDesign",
@@ -957,7 +1365,109 @@
"No editable content": "Нет содержимого для редактирования",
"No content to export. Add media first.": "Нет содержимого для экспорта. Сначала добавьте медиафайлы.",
"Select an element to edit its properties": "Выберите элемент для правки",
- "Untitled": "Без названия"
+ "Untitled": "Без названия",
+ "Rendering component": "Компонент рендеринга",
+ "Media components": "Медиакомпоненты",
+ "Media processing": "Обработка медиа",
+ "Media inspection": "Проверка медиа",
+ "Waiting to prepare": "Ожидание подготовки",
+ "Waiting for shared download": "Ожидание общей загрузки",
+ "Downloading": "Загрузка",
+ "Verifying download": "Проверка загрузки",
+ "Extracting": "Распаковка",
+ "Checking component": "Проверка компонента",
+ "Ready": "Готово",
+ "Preparation failed": "Ошибка подготовки",
+ "Video components are not ready. Check preparation status.": "Видеокомпоненты не готовы. Проверьте состояние подготовки.",
+ "Media components are preparing. Selected files are kept for retry.": "Медиакомпоненты готовятся. Выбранные файлы сохранены для повторной попытки.",
+ "Files waiting for import: {count}": "Файлов для импорта: {count}",
+ "Download verification failed. Retry the download.": "Проверка загрузки не удалась. Повторите загрузку.",
+ "Not enough disk space. Free some space and retry.": "Недостаточно места на диске. Освободите место и повторите попытку.",
+ "Cannot write the preparation cache. Check folder permissions.": "Не удаётся записать кэш подготовки. Проверьте права доступа к папке.",
+ "This platform needs compatible video components.": "Для этой платформы нужны совместимые видеокомпоненты.",
+ "Download failed. Check your connection and retry.": "Ошибка загрузки. Проверьте подключение и повторите попытку.",
+ "The component could not be prepared. Retry or inspect the details.": "Не удалось подготовить компонент. Повторите попытку или посмотрите подробности.",
+ "Preparing video features": "Подготовка видеофункций",
+ "Video export is not ready": "Экспорт видео не готов",
+ "You can keep editing": "Можно продолжать редактирование",
+ "View progress": "Показать ход подготовки",
+ "Video preparation": "Подготовка видео",
+ "Technical details": "Технические сведения",
+ "Preparation progress unavailable": "Ход подготовки недоступен",
+ "Your files are ready to import": "Файлы готовы к импорту",
+ "Continue import": "Продолжить импорт",
+ "WebP (not yet available)": "WebP (пока недоступно)",
+ "Name cannot contain slashes or two consecutive dots.": "Имя не должно содержать косые черты или две точки подряд.",
+ "Unable to copy \"{name}\".": "Не удалось скопировать «{name}».",
+ "Unable to copy this element.": "Не удалось скопировать этот элемент.",
+ "Clip deleted, but the gap could not be closed.": "Клип удалён, но закрыть промежуток не удалось.",
+ "This clip can't be moved or resized from the timeline yet.": "Этот клип пока нельзя перемещать или изменять его длину на таймлайне.",
+ "Upload rejected: payload too large": "Загрузка отклонена: превышен размер данных",
+ "Upload failed: network error": "Ошибка загрузки: ошибка сети",
+ "Upload failed ({status})": "Ошибка загрузки ({status})",
+ "Skipped (too large): {files}": "Пропущено (слишком большой размер): {files}",
+ "Not added: {message}": "Не добавлено: {message}",
+ "Added {name}, {message}": "Добавлено: {name}, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "Добавление этой композиции создаст циклическую ссылку. Выберите другую композицию.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Задайте допустимую длительность композиции перед добавлением на таймлайн.",
+ "Couldn't save edit because it contains invalid layout values": "Не удалось сохранить изменение: недопустимые значения макета",
+ "Couldn't assign element id because the patch contains invalid values": "Не удалось назначить ID элемента: изменение содержит недопустимые значения",
+ "Select at least 2 elements to group": "Выберите не менее 2 элементов для группировки",
+ "Can't group elements from different files": "Нельзя группировать элементы из разных файлов",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Элемент находится внутри подкомпозиции и не имеет строки на таймлайне для скрытия.",
+ "Audio can't be hidden. Use the group's own controls": "Аудио нельзя скрыть. Используйте элементы управления группы",
+ "Couldn't read element layout. Try again at a different playhead time": "Не удалось прочитать макет элемента. Повторите попытку на другой позиции воспроизведения",
+ "This element's size can't be edited here yet: its animation drives it": "Размер элемента управляется анимацией и пока не может быть изменён здесь",
+ "This layer can't be reordered": "Порядок этого слоя нельзя изменить",
+ "Deleting {name}...": "Удаление {name}…",
+ "Deleted {name}. Use Undo to restore it.": "{name} удалён. Используйте отмену для восстановления.",
+ "Deleted {name}. Use Undo to restore them.": "{name} удалены. Используйте отмену для восстановления.",
+ "Couldn't save the text edit: {message}": "Не удалось сохранить изменение текста: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "Не удалось сохранить {path}. Последние изменения НЕ сохранены. Проверьте сервер предпросмотра; новое редактирование повторит сохранение.",
+ "Saved, but couldn't finish updating {path}: {message}": "Сохранено, но обновление {path} не завершено: {message}",
+ "Couldn't assign element id: element not found in {path}": "Не удалось назначить ID: элемент не найден в {path}",
+ "Can't {action}: {paths} changed since that edit.": "Невозможно выполнить «{action}»: {paths} изменились после этого редактирования.",
+ "{action} failed: {message}": "Ошибка «{action}»: {message}",
+ "Crop top": "Обрезка сверху",
+ "Crop right": "Обрезка справа",
+ "Crop bottom": "Обрезка снизу",
+ "Crop left": "Обрезка слева",
+ "top": "сверху",
+ "bottom": "снизу",
+ "contain": "Вписать",
+ "cover": "Заполнить",
+ "fill": "Растянуть",
+ "scale-down": "Только уменьшать",
+ "left top": "слева сверху",
+ "right top": "справа сверху",
+ "left bottom": "слева снизу",
+ "right bottom": "справа снизу",
+ "Link to audio": "Связать с аудио",
+ "Link to video": "Связать с видео",
+ "Unlink from audio": "Отвязать от аудио",
+ "Unlink from video": "Отвязать от видео",
+ "Link": "Связать",
+ "Unlink": "Отвязать",
+ "Add layer": "Добавить слой",
+ "Grade": "Цветокоррекция",
+ "Overlays": "Наложения",
+ "Audio FX": "Аудиоэффекты",
+ "{count} active effects": "Активных эффектов: {count}",
+ "Retry": "Повторить попытку",
+ "Try again": "Повторить попытку",
+ "Apply": "Применить",
+ "Fit": "Вписать",
+ "Open": "Открыть",
+ "History": "История изменений",
+ "Position": "Положение",
+ "Regular": "Обычный",
+ "Done": "Готово",
+ "Standard": "Стандартное",
+ "Draft": "Черновое",
+ "Duplicate": "Дублировать",
+ "Volume": "Громкость",
+ "Show": "Показать",
+ "Hide": "Скрыть"
},
"es": {
"Join the OpenDesign community": "Únete a la comunidad de OpenDesign",
@@ -1149,7 +1659,109 @@
"No editable content": "No hay contenido editable",
"No content to export. Add media first.": "No hay contenido para exportar. Añade archivos multimedia primero.",
"Select an element to edit its properties": "Selecciona un elemento para editar",
- "Untitled": "Sin título"
+ "Untitled": "Sin título",
+ "Rendering component": "Componente de renderizado",
+ "Media components": "Componentes multimedia",
+ "Media processing": "Procesamiento multimedia",
+ "Media inspection": "Análisis multimedia",
+ "Waiting to prepare": "Esperando la preparación",
+ "Waiting for shared download": "Esperando la descarga compartida",
+ "Downloading": "Descargando",
+ "Verifying download": "Verificando la descarga",
+ "Extracting": "Extrayendo",
+ "Checking component": "Comprobando el componente",
+ "Ready": "Listo",
+ "Preparation failed": "Error de preparación",
+ "Video components are not ready. Check preparation status.": "Los componentes de vídeo no están listos. Comprueba el estado de preparación.",
+ "Media components are preparing. Selected files are kept for retry.": "Los componentes multimedia se están preparando. Los archivos seleccionados se conservan para reintentar.",
+ "Files waiting for import: {count}": "Archivos pendientes de importar: {count}",
+ "Download verification failed. Retry the download.": "La verificación ha fallado. Repite la descarga.",
+ "Not enough disk space. Free some space and retry.": "No hay suficiente espacio en disco. Libera espacio y reinténtalo.",
+ "Cannot write the preparation cache. Check folder permissions.": "No se puede escribir la caché de preparación. Comprueba los permisos de la carpeta.",
+ "This platform needs compatible video components.": "Esta plataforma necesita componentes de vídeo compatibles.",
+ "Download failed. Check your connection and retry.": "La descarga ha fallado. Comprueba la conexión y reinténtalo.",
+ "The component could not be prepared. Retry or inspect the details.": "No se pudo preparar el componente. Reinténtalo o consulta los detalles.",
+ "Preparing video features": "Preparando las funciones de vídeo",
+ "Video export is not ready": "La exportación de vídeo no está lista",
+ "You can keep editing": "Puedes seguir editando",
+ "View progress": "Ver progreso",
+ "Video preparation": "Preparación de vídeo",
+ "Technical details": "Detalles técnicos",
+ "Preparation progress unavailable": "El progreso de preparación no está disponible",
+ "Your files are ready to import": "Tus archivos están listos para importar",
+ "Continue import": "Continuar importación",
+ "WebP (not yet available)": "WebP (aún no disponible)",
+ "Name cannot contain slashes or two consecutive dots.": "El nombre no puede contener barras ni dos puntos consecutivos.",
+ "Unable to copy \"{name}\".": "No se puede copiar «{name}».",
+ "Unable to copy this element.": "No se puede copiar este elemento.",
+ "Clip deleted, but the gap could not be closed.": "Se eliminó el clip, pero no se pudo cerrar el hueco.",
+ "This clip can't be moved or resized from the timeline yet.": "Este clip aún no se puede mover ni redimensionar desde la línea de tiempo.",
+ "Upload rejected: payload too large": "Carga rechazada: tamaño demasiado grande",
+ "Upload failed: network error": "Error de carga: error de red",
+ "Upload failed ({status})": "Error de carga ({status})",
+ "Skipped (too large): {files}": "Omitidos (demasiado grandes): {files}",
+ "Not added: {message}": "No se ha añadido: {message}",
+ "Added {name}, {message}": "Se ha añadido {name}, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "Añadir esta composición crearía una referencia circular. Elige otra composición.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Establece una duración válida antes de añadir la composición a la línea de tiempo.",
+ "Couldn't save edit because it contains invalid layout values": "No se pudo guardar la edición porque contiene valores de diseño no válidos",
+ "Couldn't assign element id because the patch contains invalid values": "No se pudo asignar el ID del elemento porque el cambio contiene valores no válidos",
+ "Select at least 2 elements to group": "Selecciona al menos 2 elementos para agrupar",
+ "Can't group elements from different files": "No se pueden agrupar elementos de archivos diferentes",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Este elemento está dentro de una subcomposición y no tiene una fila que ocultar.",
+ "Audio can't be hidden. Use the group's own controls": "El audio no se puede ocultar. Usa los controles del grupo",
+ "Couldn't read element layout. Try again at a different playhead time": "No se pudo leer el diseño del elemento. Reinténtalo en otra posición del cabezal",
+ "This element's size can't be edited here yet: its animation drives it": "El tamaño de este elemento lo controla su animación y aún no se puede editar aquí",
+ "This layer can't be reordered": "No se puede cambiar el orden de esta capa",
+ "Deleting {name}...": "Eliminando {name}…",
+ "Deleted {name}. Use Undo to restore it.": "Se ha eliminado {name}. Usa Deshacer para restaurarlo.",
+ "Deleted {name}. Use Undo to restore them.": "Se han eliminado {name}. Usa Deshacer para restaurarlos.",
+ "Couldn't save the text edit: {message}": "No se pudo guardar la edición de texto: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "No se pudo guardar {path}. Tus últimos cambios NO están guardados. Comprueba el servidor de vista previa; editar de nuevo reintenta el guardado.",
+ "Saved, but couldn't finish updating {path}: {message}": "Guardado, pero no se pudo terminar de actualizar {path}: {message}",
+ "Couldn't assign element id: element not found in {path}": "No se pudo asignar el ID: elemento no encontrado en {path}",
+ "Can't {action}: {paths} changed since that edit.": "No se puede {action}: {paths} han cambiado desde esa edición.",
+ "{action} failed: {message}": "Error al {action}: {message}",
+ "Crop top": "Recortar arriba",
+ "Crop right": "Recortar a la derecha",
+ "Crop bottom": "Recortar abajo",
+ "Crop left": "Recortar a la izquierda",
+ "top": "arriba",
+ "bottom": "abajo",
+ "contain": "Ajustar",
+ "cover": "Cubrir",
+ "fill": "Estirar",
+ "scale-down": "Solo reducir",
+ "left top": "arriba a la izquierda",
+ "right top": "arriba a la derecha",
+ "left bottom": "abajo a la izquierda",
+ "right bottom": "abajo a la derecha",
+ "Link to audio": "Vincular al audio",
+ "Link to video": "Vincular al vídeo",
+ "Unlink from audio": "Desvincular del audio",
+ "Unlink from video": "Desvincular del vídeo",
+ "Link": "Vincular",
+ "Unlink": "Desvincular",
+ "Add layer": "Añadir capa",
+ "Grade": "Corrección de color",
+ "Overlays": "Superposiciones",
+ "Audio FX": "Efectos de audio",
+ "{count} active effects": "Efectos activos: {count}",
+ "Retry": "Reintentar",
+ "Try again": "Reintentar",
+ "Apply": "Aplicar",
+ "Fit": "Ajustar",
+ "Open": "Abrir",
+ "History": "Historial",
+ "Position": "Posición",
+ "Regular": "Normal",
+ "Done": "Listo",
+ "Standard": "Estándar",
+ "Draft": "Borrador",
+ "Duplicate": "Duplicar",
+ "Volume": "Volumen",
+ "Show": "Mostrar",
+ "Hide": "Ocultar"
},
"pt-BR": {
"Join the OpenDesign community": "Junte-se à comunidade OpenDesign",
@@ -1341,7 +1953,109 @@
"No editable content": "Nenhum conteúdo editável",
"No content to export. Add media first.": "Não há conteúdo para exportar. Adicione mídia primeiro.",
"Select an element to edit its properties": "Selecione um elemento para editar",
- "Untitled": "Sem título"
+ "Untitled": "Sem título",
+ "Rendering component": "Componente de renderização",
+ "Media components": "Componentes de mídia",
+ "Media processing": "Processamento de mídia",
+ "Media inspection": "Inspeção de mídia",
+ "Waiting to prepare": "Aguardando preparação",
+ "Waiting for shared download": "Aguardando download compartilhado",
+ "Downloading": "Baixando",
+ "Verifying download": "Verificando download",
+ "Extracting": "Extraindo",
+ "Checking component": "Verificando componente",
+ "Ready": "Pronto",
+ "Preparation failed": "Falha na preparação",
+ "Video components are not ready. Check preparation status.": "Os componentes de vídeo não estão prontos. Verifique o status da preparação.",
+ "Media components are preparing. Selected files are kept for retry.": "Os componentes de mídia estão sendo preparados. Os arquivos selecionados são mantidos para tentar novamente.",
+ "Files waiting for import: {count}": "Arquivos aguardando importação: {count}",
+ "Download verification failed. Retry the download.": "A verificação falhou. Tente baixar novamente.",
+ "Not enough disk space. Free some space and retry.": "Espaço em disco insuficiente. Libere espaço e tente novamente.",
+ "Cannot write the preparation cache. Check folder permissions.": "Não foi possível gravar o cache de preparação. Verifique as permissões da pasta.",
+ "This platform needs compatible video components.": "Esta plataforma precisa de componentes de vídeo compatíveis.",
+ "Download failed. Check your connection and retry.": "O download falhou. Verifique sua conexão e tente novamente.",
+ "The component could not be prepared. Retry or inspect the details.": "Não foi possível preparar o componente. Tente novamente ou consulte os detalhes.",
+ "Preparing video features": "Preparando recursos de vídeo",
+ "Video export is not ready": "A exportação de vídeo não está pronta",
+ "You can keep editing": "Você pode continuar editando",
+ "View progress": "Ver progresso",
+ "Video preparation": "Preparação de vídeo",
+ "Technical details": "Detalhes técnicos",
+ "Preparation progress unavailable": "Progresso da preparação indisponível",
+ "Your files are ready to import": "Seus arquivos estão prontos para importar",
+ "Continue import": "Continuar importação",
+ "WebP (not yet available)": "WebP (ainda não disponível)",
+ "Name cannot contain slashes or two consecutive dots.": "O nome não pode conter barras nem dois pontos consecutivos.",
+ "Unable to copy \"{name}\".": "Não foi possível copiar “{name}”.",
+ "Unable to copy this element.": "Não foi possível copiar este elemento.",
+ "Clip deleted, but the gap could not be closed.": "O clipe foi excluído, mas não foi possível fechar o espaço.",
+ "This clip can't be moved or resized from the timeline yet.": "Este clipe ainda não pode ser movido ou redimensionado pela linha do tempo.",
+ "Upload rejected: payload too large": "Upload rejeitado: tamanho muito grande",
+ "Upload failed: network error": "Falha no upload: erro de rede",
+ "Upload failed ({status})": "Falha no upload ({status})",
+ "Skipped (too large): {files}": "Ignorados (muito grandes): {files}",
+ "Not added: {message}": "Não adicionado: {message}",
+ "Added {name}, {message}": "{name} adicionado, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "Adicionar esta composição criaria uma referência circular. Escolha outra composição.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Defina uma duração válida para a composição antes de adicioná-la à linha do tempo.",
+ "Couldn't save edit because it contains invalid layout values": "Não foi possível salvar a edição por conter valores de layout inválidos",
+ "Couldn't assign element id because the patch contains invalid values": "Não foi possível atribuir o ID do elemento porque a alteração contém valores inválidos",
+ "Select at least 2 elements to group": "Selecione pelo menos 2 elementos para agrupar",
+ "Can't group elements from different files": "Não é possível agrupar elementos de arquivos diferentes",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Este elemento está dentro de uma subcomposição e não tem uma faixa para ocultar.",
+ "Audio can't be hidden. Use the group's own controls": "O áudio não pode ser ocultado. Use os controles do grupo",
+ "Couldn't read element layout. Try again at a different playhead time": "Não foi possível ler o layout do elemento. Tente em outra posição de reprodução",
+ "This element's size can't be edited here yet: its animation drives it": "O tamanho deste elemento é controlado pela animação e ainda não pode ser editado aqui",
+ "This layer can't be reordered": "Não é possível reordenar esta camada",
+ "Deleting {name}...": "Excluindo {name}…",
+ "Deleted {name}. Use Undo to restore it.": "{name} excluído. Use Desfazer para restaurar.",
+ "Deleted {name}. Use Undo to restore them.": "{name} excluídos. Use Desfazer para restaurar.",
+ "Couldn't save the text edit: {message}": "Não foi possível salvar a edição de texto: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "Não foi possível salvar {path}. Suas últimas edições NÃO foram salvas. Verifique o servidor de prévia; editar novamente tenta salvar outra vez.",
+ "Saved, but couldn't finish updating {path}: {message}": "Salvo, mas não foi possível concluir a atualização de {path}: {message}",
+ "Couldn't assign element id: element not found in {path}": "Não foi possível atribuir o ID: elemento não encontrado em {path}",
+ "Can't {action}: {paths} changed since that edit.": "Não foi possível {action}: {paths} mudaram desde essa edição.",
+ "{action} failed: {message}": "Falha ao {action}: {message}",
+ "Crop top": "Recortar em cima",
+ "Crop right": "Recortar à direita",
+ "Crop bottom": "Recortar embaixo",
+ "Crop left": "Recortar à esquerda",
+ "top": "cima",
+ "bottom": "baixo",
+ "contain": "Ajustar",
+ "cover": "Cobrir",
+ "fill": "Esticar",
+ "scale-down": "Apenas reduzir",
+ "left top": "superior esquerdo",
+ "right top": "superior direito",
+ "left bottom": "inferior esquerdo",
+ "right bottom": "inferior direito",
+ "Link to audio": "Vincular ao áudio",
+ "Link to video": "Vincular ao vídeo",
+ "Unlink from audio": "Desvincular do áudio",
+ "Unlink from video": "Desvincular do vídeo",
+ "Link": "Vincular",
+ "Unlink": "Desvincular",
+ "Add layer": "Adicionar camada",
+ "Grade": "Correção de cor",
+ "Overlays": "Sobreposições",
+ "Audio FX": "Efeitos de áudio",
+ "{count} active effects": "Efeitos ativos: {count}",
+ "Retry": "Tentar novamente",
+ "Try again": "Tentar novamente",
+ "Apply": "Aplicar",
+ "Fit": "Ajustar",
+ "Open": "Abrir",
+ "History": "Histórico",
+ "Position": "Posição",
+ "Regular": "Normal",
+ "Done": "Concluído",
+ "Standard": "Padrão",
+ "Draft": "Rascunho",
+ "Duplicate": "Duplicar",
+ "Volume": "Volume",
+ "Show": "Mostrar",
+ "Hide": "Ocultar"
},
"it": {
"Join the OpenDesign community": "Unisciti alla community OpenDesign",
@@ -1533,7 +2247,109 @@
"No editable content": "Nessun contenuto modificabile",
"No content to export. Add media first.": "Nessun contenuto da esportare. Aggiungi prima dei media.",
"Select an element to edit its properties": "Seleziona un elemento da modificare",
- "Untitled": "Senza titolo"
+ "Untitled": "Senza titolo",
+ "Rendering component": "Componente di rendering",
+ "Media components": "Componenti multimediali",
+ "Media processing": "Elaborazione multimediale",
+ "Media inspection": "Analisi multimediale",
+ "Waiting to prepare": "In attesa della preparazione",
+ "Waiting for shared download": "In attesa del download condiviso",
+ "Downloading": "Download in corso",
+ "Verifying download": "Verifica del download",
+ "Extracting": "Estrazione in corso",
+ "Checking component": "Verifica del componente",
+ "Ready": "Pronto",
+ "Preparation failed": "Preparazione non riuscita",
+ "Video components are not ready. Check preparation status.": "I componenti video non sono pronti. Controlla lo stato della preparazione.",
+ "Media components are preparing. Selected files are kept for retry.": "Preparazione dei componenti multimediali. I file selezionati vengono mantenuti per riprovare.",
+ "Files waiting for import: {count}": "File in attesa di importazione: {count}",
+ "Download verification failed. Retry the download.": "Verifica non riuscita. Ripeti il download.",
+ "Not enough disk space. Free some space and retry.": "Spazio su disco insufficiente. Libera spazio e riprova.",
+ "Cannot write the preparation cache. Check folder permissions.": "Impossibile scrivere la cache di preparazione. Controlla i permessi della cartella.",
+ "This platform needs compatible video components.": "Questa piattaforma richiede componenti video compatibili.",
+ "Download failed. Check your connection and retry.": "Download non riuscito. Controlla la connessione e riprova.",
+ "The component could not be prepared. Retry or inspect the details.": "Impossibile preparare il componente. Riprova o consulta i dettagli.",
+ "Preparing video features": "Preparazione delle funzioni video",
+ "Video export is not ready": "Esportazione video non pronta",
+ "You can keep editing": "Puoi continuare a modificare",
+ "View progress": "Visualizza avanzamento",
+ "Video preparation": "Preparazione video",
+ "Technical details": "Dettagli tecnici",
+ "Preparation progress unavailable": "Avanzamento della preparazione non disponibile",
+ "Your files are ready to import": "I file sono pronti per l’importazione",
+ "Continue import": "Continua importazione",
+ "WebP (not yet available)": "WebP (non ancora disponibile)",
+ "Name cannot contain slashes or two consecutive dots.": "Il nome non può contenere barre o due punti consecutivi.",
+ "Unable to copy \"{name}\".": "Impossibile copiare «{name}».",
+ "Unable to copy this element.": "Impossibile copiare questo elemento.",
+ "Clip deleted, but the gap could not be closed.": "Clip eliminato, ma non è stato possibile chiudere lo spazio.",
+ "This clip can't be moved or resized from the timeline yet.": "Questo clip non può ancora essere spostato o ridimensionato dalla timeline.",
+ "Upload rejected: payload too large": "Caricamento rifiutato: dimensioni eccessive",
+ "Upload failed: network error": "Caricamento non riuscito: errore di rete",
+ "Upload failed ({status})": "Caricamento non riuscito ({status})",
+ "Skipped (too large): {files}": "Ignorati (troppo grandi): {files}",
+ "Not added: {message}": "Non aggiunto: {message}",
+ "Added {name}, {message}": "{name} aggiunto, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "L’aggiunta di questa composizione creerebbe un riferimento circolare. Scegline un’altra.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Imposta una durata valida per la composizione prima di aggiungerla alla timeline.",
+ "Couldn't save edit because it contains invalid layout values": "Impossibile salvare la modifica: valori di layout non validi",
+ "Couldn't assign element id because the patch contains invalid values": "Impossibile assegnare l’ID dell’elemento: la modifica contiene valori non validi",
+ "Select at least 2 elements to group": "Seleziona almeno 2 elementi da raggruppare",
+ "Can't group elements from different files": "Impossibile raggruppare elementi di file diversi",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Questo elemento si trova in una sottocomposizione e non ha una riga da nascondere nella timeline.",
+ "Audio can't be hidden. Use the group's own controls": "L’audio non può essere nascosto. Usa i controlli del gruppo",
+ "Couldn't read element layout. Try again at a different playhead time": "Impossibile leggere il layout dell’elemento. Riprova in un’altra posizione di riproduzione",
+ "This element's size can't be edited here yet: its animation drives it": "La dimensione di questo elemento è controllata dall’animazione e non può ancora essere modificata qui",
+ "This layer can't be reordered": "Questo livello non può essere riordinato",
+ "Deleting {name}...": "Eliminazione di {name}…",
+ "Deleted {name}. Use Undo to restore it.": "{name} eliminato. Usa Annulla per ripristinarlo.",
+ "Deleted {name}. Use Undo to restore them.": "{name} eliminati. Usa Annulla per ripristinarli.",
+ "Couldn't save the text edit: {message}": "Impossibile salvare la modifica del testo: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "Impossibile salvare {path}. Le ultime modifiche NON sono salvate. Controlla il server di anteprima; una nuova modifica ritenta il salvataggio.",
+ "Saved, but couldn't finish updating {path}: {message}": "Salvato, ma impossibile completare l’aggiornamento di {path}: {message}",
+ "Couldn't assign element id: element not found in {path}": "Impossibile assegnare l’ID: elemento non trovato in {path}",
+ "Can't {action}: {paths} changed since that edit.": "Impossibile {action}: {paths} sono cambiati dopo questa modifica.",
+ "{action} failed: {message}": "{action} non riuscito: {message}",
+ "Crop top": "Ritaglia in alto",
+ "Crop right": "Ritaglia a destra",
+ "Crop bottom": "Ritaglia in basso",
+ "Crop left": "Ritaglia a sinistra",
+ "top": "alto",
+ "bottom": "basso",
+ "contain": "Adatta",
+ "cover": "Copri",
+ "fill": "Estendi",
+ "scale-down": "Riduci soltanto",
+ "left top": "in alto a sinistra",
+ "right top": "in alto a destra",
+ "left bottom": "in basso a sinistra",
+ "right bottom": "in basso a destra",
+ "Link to audio": "Collega all’audio",
+ "Link to video": "Collega al video",
+ "Unlink from audio": "Scollega dall’audio",
+ "Unlink from video": "Scollega dal video",
+ "Link": "Collega",
+ "Unlink": "Scollega",
+ "Add layer": "Aggiungi livello",
+ "Grade": "Correzione colore",
+ "Overlays": "Sovrapposizioni",
+ "Audio FX": "Effetti audio",
+ "{count} active effects": "Effetti attivi: {count}",
+ "Retry": "Riprova",
+ "Try again": "Riprova",
+ "Apply": "Applica",
+ "Fit": "Adatta",
+ "Open": "Apri",
+ "History": "Cronologia",
+ "Position": "Posizione",
+ "Regular": "Normale",
+ "Done": "Fine",
+ "Standard": "Standard",
+ "Draft": "Bozza",
+ "Duplicate": "Duplica",
+ "Volume": "Volume",
+ "Show": "Mostra",
+ "Hide": "Nascondi"
},
"tr": {
"Join the OpenDesign community": "OpenDesign topluluğuna katılın",
@@ -1725,6 +2541,108 @@
"No editable content": "Düzenlenebilir içerik yok",
"No content to export. Add media first.": "Dışa aktarılacak içerik yok. Önce medya ekleyin.",
"Select an element to edit its properties": "Düzenlemek için bir öğe seçin",
- "Untitled": "Adsız"
+ "Untitled": "Adsız",
+ "Rendering component": "İşleme bileşeni",
+ "Media components": "Medya bileşenleri",
+ "Media processing": "Medya işleme",
+ "Media inspection": "Medya inceleme",
+ "Waiting to prepare": "Hazırlık bekleniyor",
+ "Waiting for shared download": "Paylaşılan indirme bekleniyor",
+ "Downloading": "İndiriliyor",
+ "Verifying download": "İndirme doğrulanıyor",
+ "Extracting": "Çıkarılıyor",
+ "Checking component": "Bileşen denetleniyor",
+ "Ready": "Hazır",
+ "Preparation failed": "Hazırlık başarısız",
+ "Video components are not ready. Check preparation status.": "Video bileşenleri hazır değil. Hazırlık durumunu kontrol edin.",
+ "Media components are preparing. Selected files are kept for retry.": "Medya bileşenleri hazırlanıyor. Seçilen dosyalar yeniden denemek için tutuluyor.",
+ "Files waiting for import: {count}": "İçe aktarılmayı bekleyen dosyalar: {count}",
+ "Download verification failed. Retry the download.": "İndirme doğrulanamadı. İndirmeyi yeniden deneyin.",
+ "Not enough disk space. Free some space and retry.": "Disk alanı yetersiz. Yer açıp yeniden deneyin.",
+ "Cannot write the preparation cache. Check folder permissions.": "Hazırlık önbelleğine yazılamıyor. Klasör izinlerini kontrol edin.",
+ "This platform needs compatible video components.": "Bu platform için uyumlu video bileşenleri gerekiyor.",
+ "Download failed. Check your connection and retry.": "İndirme başarısız. Bağlantınızı kontrol edip yeniden deneyin.",
+ "The component could not be prepared. Retry or inspect the details.": "Bileşen hazırlanamadı. Yeniden deneyin veya ayrıntıları inceleyin.",
+ "Preparing video features": "Video özellikleri hazırlanıyor",
+ "Video export is not ready": "Video dışa aktarma hazır değil",
+ "You can keep editing": "Düzenlemeye devam edebilirsiniz",
+ "View progress": "İlerlemeyi görüntüle",
+ "Video preparation": "Video hazırlığı",
+ "Technical details": "Teknik ayrıntılar",
+ "Preparation progress unavailable": "Hazırlık ilerlemesi kullanılamıyor",
+ "Your files are ready to import": "Dosyalarınız içe aktarılmaya hazır",
+ "Continue import": "İçe aktarmaya devam et",
+ "WebP (not yet available)": "WebP (henüz kullanılamıyor)",
+ "Name cannot contain slashes or two consecutive dots.": "Ad, eğik çizgi veya art arda iki nokta içeremez.",
+ "Unable to copy \"{name}\".": "“{name}” kopyalanamadı.",
+ "Unable to copy this element.": "Bu öğe kopyalanamadı.",
+ "Clip deleted, but the gap could not be closed.": "Klip silindi ancak boşluk kapatılamadı.",
+ "This clip can't be moved or resized from the timeline yet.": "Bu klip henüz zaman çizelgesinden taşınamaz veya yeniden boyutlandırılamaz.",
+ "Upload rejected: payload too large": "Yükleme reddedildi: veri çok büyük",
+ "Upload failed: network error": "Yükleme başarısız: ağ hatası",
+ "Upload failed ({status})": "Yükleme başarısız ({status})",
+ "Skipped (too large): {files}": "Atlandı (çok büyük): {files}",
+ "Not added: {message}": "Eklenmedi: {message}",
+ "Added {name}, {message}": "{name} eklendi, {message}",
+ "Adding this composition would create a circular reference. Choose a different composition.": "Bu kompozisyonu eklemek döngüsel başvuru oluşturur. Başka bir kompozisyon seçin.",
+ "Set a valid duration on the composition before adding it to the timeline.": "Kompozisyonu zaman çizelgesine eklemeden önce geçerli bir süre belirleyin.",
+ "Couldn't save edit because it contains invalid layout values": "Geçersiz yerleşim değerleri içerdiği için düzenleme kaydedilemedi",
+ "Couldn't assign element id because the patch contains invalid values": "Değişiklik geçersiz değerler içerdiği için öğe kimliği atanamadı",
+ "Select at least 2 elements to group": "Gruplamak için en az 2 öğe seçin",
+ "Can't group elements from different files": "Farklı dosyalardaki öğeler gruplanamaz",
+ "This element is inside a sub-composition and has no timeline row to hide.": "Bu öğe bir alt kompozisyonun içinde ve gizlenecek zaman çizelgesi satırı yok.",
+ "Audio can't be hidden. Use the group's own controls": "Ses gizlenemez. Grubun kendi kontrollerini kullanın",
+ "Couldn't read element layout. Try again at a different playhead time": "Öğe yerleşimi okunamadı. Oynatma kafasını başka bir zamana getirip yeniden deneyin",
+ "This element's size can't be edited here yet: its animation drives it": "Bu öğenin boyutu animasyonla yönetildiği için henüz buradan düzenlenemez",
+ "This layer can't be reordered": "Bu katman yeniden sıralanamaz",
+ "Deleting {name}...": "{name} siliniyor...",
+ "Deleted {name}. Use Undo to restore it.": "{name} silindi. Geri Al ile geri yükleyebilirsiniz.",
+ "Deleted {name}. Use Undo to restore them.": "{name} silindi. Geri Al ile geri yükleyebilirsiniz.",
+ "Couldn't save the text edit: {message}": "Metin düzenlemesi kaydedilemedi: {message}",
+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "{path} kaydedilemedi. Son düzenlemeleriniz KAYDEDİLMEDİ. Önizleme sunucusunu kontrol edin; yeniden düzenlemek kaydetmeyi tekrar dener.",
+ "Saved, but couldn't finish updating {path}: {message}": "Kaydedildi ancak {path} güncellemesi tamamlanamadı: {message}",
+ "Couldn't assign element id: element not found in {path}": "Öğe kimliği atanamadı: {path} içinde öğe bulunamadı",
+ "Can't {action}: {paths} changed since that edit.": "{action} yapılamıyor: {paths} bu düzenlemeden sonra değişti.",
+ "{action} failed: {message}": "{action} başarısız: {message}",
+ "Crop top": "Üstten kırp",
+ "Crop right": "Sağdan kırp",
+ "Crop bottom": "Alttan kırp",
+ "Crop left": "Soldan kırp",
+ "top": "üst",
+ "bottom": "alt",
+ "contain": "Sığdır",
+ "cover": "Kapla",
+ "fill": "Uzat",
+ "scale-down": "Yalnızca küçült",
+ "left top": "sol üst",
+ "right top": "sağ üst",
+ "left bottom": "sol alt",
+ "right bottom": "sağ alt",
+ "Link to audio": "Sese bağla",
+ "Link to video": "Videoya bağla",
+ "Unlink from audio": "Ses bağlantısını kaldır",
+ "Unlink from video": "Video bağlantısını kaldır",
+ "Link": "Bağla",
+ "Unlink": "Bağlantıyı kaldır",
+ "Add layer": "Katman ekle",
+ "Grade": "Renk düzeltme",
+ "Overlays": "Kaplamalar",
+ "Audio FX": "Ses efektleri",
+ "{count} active effects": "Etkin efektler: {count}",
+ "Retry": "Yeniden dene",
+ "Try again": "Yeniden dene",
+ "Apply": "Uygula",
+ "Fit": "Sığdır",
+ "Open": "Aç",
+ "History": "Değişiklik geçmişi",
+ "Position": "Konum",
+ "Regular": "Normal",
+ "Done": "Tamam",
+ "Standard": "Standart",
+ "Draft": "Taslak",
+ "Duplicate": "Çoğalt",
+ "Volume": "Ses düzeyi",
+ "Show": "Göster",
+ "Hide": "Gizle"
}
}
diff --git a/studio/src/i18n/mvp-zh-CN.json b/studio/src/i18n/mvp-zh-CN.json
index 4b8a2c1a..1d94fc0b 100644
--- a/studio/src/i18n/mvp-zh-CN.json
+++ b/studio/src/i18n/mvp-zh-CN.json
@@ -990,5 +990,187 @@
"No content to export. Add media first.": "暂无可导出的内容,请先添加素材。",
"Expand": "展开",
"No editable content": "暂无可编辑内容",
- "Select an element to edit its properties": "选择元素后可编辑属性"
+ "Select an element to edit its properties": "选择元素后可编辑属性",
+ "Bright": "增亮",
+ "Gray": "灰度",
+ "Inset": "内缩",
+ "custom": "自定义",
+ "Radial": "径向",
+ "Conic": "锥形",
+ "ellipse": "椭圆",
+ "circle": "圆形",
+ "closest-side": "最近边",
+ "closest-corner": "最近角",
+ "farthest-side": "最远边",
+ "farthest-corner": "最远角",
+ "flex-start": "起点对齐",
+ "flex-end": "终点对齐",
+ "space-between": "两端对齐",
+ "space-around": "环绕均分",
+ "space-evenly": "等距分布",
+ "stretch": "拉伸",
+ "baseline": "基线对齐",
+ "soft": "柔和",
+ "lift": "浮起",
+ "glow": "发光",
+ "multiply": "正片叠底",
+ "screen": "滤色",
+ "overlay": "叠加",
+ "darken": "变暗",
+ "lighten": "变亮",
+ "visible": "可见",
+ "hidden": "隐藏",
+ "clip": "裁切",
+ "auto": "自动",
+ "scroll": "滚动",
+ "inset": "内缩",
+ "outset": "外凸",
+ "groove": "凹槽",
+ "ridge": "凸脊",
+ "solid": "实线",
+ "dashed": "虚线",
+ "dotted": "点线",
+ "double": "双线",
+ "start": "起点",
+ "end": "终点",
+ "→ Row": "→ 横向",
+ "↓ Column": "↓ 纵向",
+ "RotX": "X 轴旋转",
+ "RotY": "Y 轴旋转",
+ "RotZ": "Z 轴旋转",
+ "TL": "左上",
+ "TR": "右上",
+ "BL": "左下",
+ "BR": "右下",
+ "Yes": "是",
+ "No": "否",
+ "Quad In": "二次缓入",
+ "Cubic In": "三次缓入",
+ "Quad Out": "二次缓出",
+ "Cubic Out": "三次缓出",
+ "Ease In & Out": "缓入缓出",
+ "Quad Ease": "二次缓入缓出",
+ "Cubic Ease": "三次缓入缓出",
+ "Circular Ease": "圆形缓动",
+ "Ease In Back": "回弹缓入",
+ "Ease Out Back": "回弹缓出",
+ "Ease In & Out Back": "回弹缓入缓出",
+ "Hold": "保持",
+ "Expo In": "指数缓入",
+ "Expo Out": "指数缓出",
+ "Gentle": "轻柔",
+ "Quick": "快速",
+ "Bouncy": "弹跳",
+ "Slow": "缓慢",
+ "Flow 1": "波动 1",
+ "Flow 2": "波动 2",
+ "Flow 3": "波动 3",
+ "Flow 4": "波动 4",
+ "Flow 5": "波动 5",
+ "Flow 6": "波动 6",
+ "Flow 7": "波动 7",
+ "Bounce 1": "弹跳 1",
+ "Bounce 2": "弹跳 2",
+ "Bounce 3": "弹跳 3",
+ "Bounce 4": "弹跳 4",
+ "How hard to carve: deeper cuts, in more bands, and more room made by dropping the bed's level under the voice. At 0 it carves frequencies only. Moving this re-runs the analysis on what is already here.": "控制避让强度:增加削减深度和频段,并降低人声下方背景音的音量。设为 0 时仅削减频段。调整此项会重新分析现有音频。",
+ "How much of this preset is applied. Automate it to bring the whole preset in or out over time.": "控制此预设的应用强度。可通过自动化让整个预设随时间渐入或渐出。",
+ "Edit muted": "修改静音状态",
+ "Happens every time": "每次都失败",
+ "Every export of this project fails this way": "这个项目每次导出都会出现此问题",
+ "First time": "首次遇到",
+ "Exports normally work for me": "平时可以正常导出",
+ "Long composition": "内容较长",
+ "Over a minute, or a lot of scenes": "时长超过一分钟,或包含较多场景",
+ "Big media files": "素材文件较大",
+ "Large video or image assets in the project": "项目中包含较大的视频或图片素材",
+ "Has audio": "包含音频",
+ "The composition includes voiceover, music or sound": "内容包含配音、音乐或音效",
+ "Embedded video": "包含视频片段",
+ "One or more video clips inside the composition": "内容中包含一个或多个视频片段",
+ "Editing the timeline": "编辑时间轴",
+ "Dragging, trimming or splitting clips": "拖动、裁剪或分割片段",
+ "Playing the preview": "播放预览",
+ "Scrubbing or playing back the composition": "拖动播放头或播放内容",
+ "Adding media": "添加素材",
+ "Importing video, images or audio": "导入视频、图片或音频",
+ "Editing properties": "编辑属性",
+ "Changing styles, transforms or keyframes": "修改样式、变换或关键帧",
+ "Exporting": "正在导出",
+ "Starting or watching a render": "开始导出或查看导出进度",
+ "Just opened it": "刚打开",
+ "It broke before I did anything": "还没有操作就出现了问题",
+ "Tap one, or write your own.": "选择一项,或填写其他情况。",
+ "Layers panel": "图层面板",
+ "The layer tree on the right": "右侧的图层树",
+ "Variables panel": "变量面板",
+ "Composition variables on the right": "右侧的合成变量",
+ "Blocks browser": "组件库",
+ "The block library in the sidebar": "侧边栏中的组件库",
+ "Caption editing": "字幕编辑",
+ "Editing caption words and presets in Studio": "在编辑器中修改字幕文字和预设",
+ "Render history": "导出历史",
+ "The list of past exports": "以往导出记录的列表",
+ "Nothing": "没有",
+ "It all earns its place": "这些功能都有用",
+ "Fix the exported file": "修复导出文件",
+ "Remuxing or re-encoding the output by hand": "手动重新封装或编码导出的文件",
+ "Convert source media": "转换原始素材",
+ "Re-encoding footage before it would import cleanly": "重新编码素材后才能正常导入",
+ "Match loudness": "统一响度",
+ "Normalising levels across the finished audio": "统一成片中各段音频的响度",
+ "Make images or graphics": "制作图片或图形",
+ "Creating visual assets in another tool": "在其他工具中制作视觉素材",
+ "Record footage": "录制素材",
+ "Capturing screen or camera video": "录制屏幕或摄像头视频",
+ "Nothing, it was all here": "没有,这里都能完成",
+ "No outside tools needed": "不需要使用其他工具",
+ "Audio mixing": "音频混音",
+ "Levels, ducking or the balance in the exported mix": "导出音频的音量、避让或混音平衡",
+ "Export encoding": "导出编码",
+ "The render fails, or the finished file is wrong": "导出失败,或成片文件有问题",
+ "Export matches preview": "预览与成片一致性",
+ "The exported video differs from the preview": "导出的视频与预览不一致",
+ "Media and fonts": "素材与字体",
+ "Adding video, images or fonts to a project": "向项目添加视频、图片或字体",
+ "Render speed": "导出速度",
+ "Exports take too long to finish": "完成导出耗时太久",
+ "Re-rendering everything": "全量重新导出",
+ "A small change means rendering the whole thing": "小幅修改也需要重新导出全部内容",
+ "Checks and warnings": "检查与警告",
+ "Lint flags things that are fine, or misses real ones": "检查误报正常内容,或漏报实际问题",
+ "Export failed": "导出失败",
+ "The render did not finish": "导出未完成",
+ "Output looked wrong": "成片效果不对",
+ "It rendered, but not the way I built it": "导出完成了,但与编辑时的效果不同",
+ "Crashed or froze": "崩溃或卡住",
+ "The editor stopped responding": "编辑器停止响应",
+ "Lost my edits": "修改丢失",
+ "Changes did not save, or came back changed": "修改未保存,或重新打开后发生变化",
+ "Too slow": "速度太慢",
+ "Waiting on renders, or the editor itself lagging": "导出等待太久,或编辑器操作卡顿",
+ "Could not figure it out": "不知如何操作",
+ "Could not find or understand something": "找不到功能或不理解操作方式",
+ "Look: {name}": "画面风格:{name}",
+ "Voice: {name}": "人声:{name}",
+ "Leveller": "自动均衡音量",
+ "Ducked": "已避让",
+ "Custom spring": "自定义弹簧",
+ "Custom wiggle": "自定义抖动",
+ "Custom bezier": "自定义贝塞尔曲线",
+ "First": "第一个",
+ "Second": "第二个",
+ "That export failed.": "本次导出失败了。",
+ "What were you exporting?": "你刚才在导出什么内容?",
+ "Studio crashed. What were you doing?": "编辑器崩溃了。你刚才在做什么?",
+ "The last thing you touched": "发生问题前的最后一步操作",
+ "What would you cut from Studio?": "你觉得编辑器中哪些功能可以去掉?",
+ "The part you never use": "你从不使用的功能",
+ "What did you have to do outside Studio?": "你还需要借助其他工具完成什么?",
+ "The step you finished somewhere else": "你在其他工具中完成的步骤",
+ "What should we fix first?": "你希望我们优先改进什么?",
+ "The thing that slowed you down": "影响你工作效率的问题",
+ "What went wrong?": "遇到了什么问题?",
+ "The thing that made that a low score": "让你给出低分的原因",
+ "How likely are you to recommend HyperFrames?": "你有多大可能推荐 HyperFrames?"
}
diff --git a/studio/src/i18n/operationFeedback.test.ts b/studio/src/i18n/operationFeedback.test.ts
index a4ee1191..064c1505 100644
--- a/studio/src/i18n/operationFeedback.test.ts
+++ b/studio/src/i18n/operationFeedback.test.ts
@@ -16,7 +16,7 @@ it('localizes rejected history restores while preserving project-relative paths'
expect(localized).toContain(files);
expect(localized).not.toContain('VERSION_NOT_RESTORABLE');
expect(localized).not.toMatch(/\{files\}/);
- if (locale === 'zh-CN') expect(localized).toContain('当前工程保持不变');
+ if (locale === 'zh-CN') expect(localized).toContain('当前项目保持不变');
if (locale === 'en') expect(localized).toContain('Your current project is unchanged');
}
});
diff --git a/studio/src/i18n/tr.json b/studio/src/i18n/tr.json
index 9f7e92aa..74585f3b 100644
--- a/studio/src/i18n/tr.json
+++ b/studio/src/i18n/tr.json
@@ -134,7 +134,7 @@
"Close preview": "Önizlemeyi kapat",
"Close settings": "Ayarları kapat",
"Collapse": "Daralt",
- "Collapse children": "Collapse children",
+ "Collapse children": "Alt öğeleri daralt",
"Color": "Renk",
"Color grading": "Renk düzenleme",
"Color wheels": "Renk tekerleği",
diff --git a/studio/src/i18n/zh-CN.json b/studio/src/i18n/zh-CN.json
index 3be71e6b..1c885f41 100644
--- a/studio/src/i18n/zh-CN.json
+++ b/studio/src/i18n/zh-CN.json
@@ -1768,8 +1768,8 @@
"red": "红色",
"yellow": "黄色",
"{count} templates": "{count} 个模板",
- "Historical files are missing, unreadable or damaged: {files}. This version was not restored. Your current project is unchanged.": "历史文件缺失、无法读取或已损坏:{files}。未恢复此版本,当前工程保持不变。",
- "Could not prepare historical files for restoration: {files}. Your current project is unchanged.": "无法准备恢复所需的历史文件:{files}。当前工程保持不变。",
+ "Historical files are missing, unreadable or damaged: {files}. This version was not restored. Your current project is unchanged.": "历史文件缺失、无法读取或已损坏:{files}。未恢复此版本,当前项目保持不变。",
+ "Could not prepare historical files for restoration: {files}. Your current project is unchanged.": "无法准备恢复所需的历史文件:{files}。当前项目保持不变。",
"Failed to add media": "添加素材失败",
"Could not read media duration. Try adding the file again.": "无法读取素材时长,请重新添加文件。",
"Loading fonts…": "正在加载字体…",
diff --git a/studio/src/motion/DiagnosticExport.test.tsx b/studio/src/motion/DiagnosticExport.test.tsx
index fb1142c3..424f609e 100644
--- a/studio/src/motion/DiagnosticExport.test.tsx
+++ b/studio/src/motion/DiagnosticExport.test.tsx
@@ -2,7 +2,7 @@
import React, { act } from 'react';
import { createRoot, type Root } from 'react-dom/client';
import { afterEach, beforeEach, expect, it, vi } from 'vitest';
-import { I18nProvider } from '../i18n/I18n';
+import { I18nProvider, useI18n, translate } from '../i18n/I18n';
import { DiagnosticExport } from './DiagnosticExport';
import { recordBrowserDiagnostic } from './diagnostics';
@@ -50,3 +50,18 @@ it('shows a localized rate-limit error and never starts a failed download', asyn
expect(recordBrowserDiagnostic).toHaveBeenCalledWith('diagnostic_export_failed', expect.stringContaining('status=429'));
expect(recordBrowserDiagnostic).not.toHaveBeenCalledWith('activity_diagnostic_export', expect.stringContaining('outcome=download_triggered'));
});
+
+it('updates a visible download failure when the language changes without retrying', async () => {
+ const fetcher = vi.fn(async () => new Response('', { status: 429 }));
+ vi.stubGlobal('fetch', fetcher);
+ function App() {
+ const { setLocale } = useI18n();
+ return <><button onClick={() => setLocale('de')}>German</button><DiagnosticExport /></>;
+ }
+ const container = document.createElement('div'); document.body.append(container); root = createRoot(container);
+ await act(async () => root!.render(<I18nProvider initialLocale="en"><App /></I18nProvider>));
+ await act(async () => container.querySelectorAll('button')[1].click());
+ await act(async () => container.querySelector('button')!.click());
+ expect(container.querySelector('[role=alert]')?.textContent).toBe(translate('de', 'Please wait 30 seconds before exporting diagnostics again.'));
+ expect(fetcher).toHaveBeenCalledTimes(1);
+});
diff --git a/studio/src/motion/DiagnosticExport.tsx b/studio/src/motion/DiagnosticExport.tsx
index 65d6d2d5..f3a61047 100644
--- a/studio/src/motion/DiagnosticExport.tsx
+++ b/studio/src/motion/DiagnosticExport.tsx
@@ -30,14 +30,14 @@ export function DiagnosticExport() {
finally { link.remove(); setTimeout(() => URL.revokeObjectURL(url), 1000); }
} catch (error) {
recordBrowserDiagnostic('diagnostic_export_failed', `request=${request} status=${status} durationMs=${Math.round(performance.now() - start)}`);
- setError(t(error instanceof Error && error.message === 'Please wait 30 seconds before exporting diagnostics again.'
- ? error.message : 'Could not export diagnostics. Use the command line if Studio cannot connect.')); }
+ setError(error instanceof Error && error.message === 'Please wait 30 seconds before exporting diagnostics again.'
+ ? error.message : 'Could not export diagnostics. Use the command line if Studio cannot connect.'); }
finally { pending.current = false; setBusy(false); }
}
return <div className="motion-diagnostic-export">
<button type="button" onClick={() => void download()} disabled={busy}>{t(busy ? 'Preparing diagnostics…' : 'Export diagnostic ZIP')}</button>
<p className="motion-media-muted">{t('Saves logs on your device with sensitive values redacted. No upload. Review the ZIP before sharing.')}</p>
{downloadName && <p role="status">{t('Download started. Check your browser downloads.')}<span className="motion-diagnostic-filename">{downloadName}</span></p>}
- {error && <p role="alert">{error}</p>}
+ {error && <p role="alert">{t(error)}</p>}
</div>;
}
diff --git a/studio/src/motion/PrivacySettings.test.tsx b/studio/src/motion/PrivacySettings.test.tsx
index ea42c9ad..e92b9d51 100644
--- a/studio/src/motion/PrivacySettings.test.tsx
+++ b/studio/src/motion/PrivacySettings.test.tsx
@@ -2,7 +2,7 @@
import React, { act } from 'react';
import { createRoot, type Root } from 'react-dom/client';
import { afterEach, expect, it, vi } from 'vitest';
-import { I18nProvider } from '../i18n/I18n';
+import { I18nProvider, useI18n, translate } from '../i18n/I18n';
import { PrivacySettings } from './PrivacySettings';
const hooks = vi.hoisted(() => ({ enabled: vi.fn() }));
@@ -57,3 +57,23 @@ it('reports save failure without falsely claiming the installation has opted out
expect(toggle.checked).toBe(true); expect(document.querySelector('[role=alert]')?.textContent).toContain('Could not save');
expect(hooks.enabled).toHaveBeenCalledWith(false);
});
+
+it('translates an existing failure without refetching or replacing the privacy form', async () => {
+ const fetcher = vi.fn(async (_url: string, init?: RequestInit) => init?.method === 'PUT'
+ ? Response.json({ error: 'failed' }, { status: 500 }) : Response.json({ enabled: true, preference: true, locked: false }));
+ vi.stubGlobal('fetch', fetcher);
+ function App() {
+ const { setLocale } = useI18n();
+ return <><button onClick={() => setLocale('ja')}>Japanese</button><PrivacySettings onClose={() => {}} /></>;
+ }
+ const container = document.createElement('div'); document.body.append(container); root = createRoot(container);
+ await act(async () => root!.render(<I18nProvider initialLocale="en"><App /></I18nProvider>));
+ const toggle = container.querySelector<HTMLInputElement>('input[type=checkbox]')!;
+ await act(async () => toggle.click());
+ expect(container.querySelector('[role=alert]')?.textContent).toBe('Could not save privacy settings.');
+ await act(async () => container.querySelector('button')!.click());
+ expect(container.querySelector('[role=alert]')?.textContent).toBe(translate('ja', 'Could not save privacy settings.'));
+ expect(container.querySelector('input')).toBe(toggle);
+ expect(toggle.checked).toBe(true);
+ expect(fetcher).toHaveBeenCalledTimes(2);
+});
diff --git a/studio/src/motion/PrivacySettings.tsx b/studio/src/motion/PrivacySettings.tsx
index 0158cc70..4156b97b 100644
--- a/studio/src/motion/PrivacySettings.tsx
+++ b/studio/src/motion/PrivacySettings.tsx
@@ -12,16 +12,16 @@ export function PrivacySettings({ onClose }: { onClose: () => void }) {
useEffect(() => {
const controller = new AbortController();
void motionApi<Status>('/tracking/preferences', { signal: controller.signal }).then(setStatus)
- .catch(() => { if (!controller.signal.aborted) setError(t('Could not load privacy settings.')); });
+ .catch(() => { if (!controller.signal.aborted) setError('Could not load privacy settings.'); });
return () => controller.abort();
- }, [t]);
+ }, []);
async function change(enabled: boolean) {
if (!enabled) setMotionTrackingEnabled(false);
setBusy(true); setError('');
try {
const next = await motionApi<Status>('/tracking/preferences', { method: 'PUT', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ enabled }) });
setStatus(next); setMotionTrackingEnabled(next.enabled);
- } catch { setError(t('Could not save privacy settings.')); }
+ } catch { setError('Could not save privacy settings.'); }
finally { setBusy(false); }
}
return <dialog ref={dialog} className="motion-model-dialog motion-media-surface motion-privacy-dialog" aria-labelledby="privacy-settings-title" onCancel={event => { event.preventDefault(); onClose(); }}>
@@ -30,7 +30,7 @@ export function PrivacySettings({ onClose }: { onClose: () => void }) {
<p>{t('Send feature usage, error categories and approximate region to improve OpenMotion. Prompts and project contents are excluded.')}</p>
<p className="motion-media-muted">{t('This setting applies to MCP and Studio on this installation and is kept after restart.')}</p>
{status?.locked && <p role="status">{t(status.reason === 'test_build' ? 'Usage data collection is disabled in test builds.' : 'Disabled by your environment settings.')}</p>}
- {error && <p role="alert">{error}</p>}
+ {error && <p role="alert">{t(error)}</p>}
</section>
<section><DiagnosticExport /></section>
</dialog>;
diff --git a/studio/src/motion/TemplateLibraryDialog.test.tsx b/studio/src/motion/TemplateLibraryDialog.test.tsx
index b93114c8..8dcd04d1 100644
--- a/studio/src/motion/TemplateLibraryDialog.test.tsx
+++ b/studio/src/motion/TemplateLibraryDialog.test.tsx
@@ -2,7 +2,7 @@
import React, { act } from 'react';
import { createRoot, type Root } from 'react-dom/client';
import { afterEach, beforeEach, expect, it, vi } from 'vitest';
-import { I18nProvider, useI18n } from '../i18n/I18n';
+import { I18nProvider, useI18n, translate } from '../i18n/I18n';
import { TemplateLibraryDialog } from './TemplateLibraryDialog';
globalThis.IS_REACT_ACT_ENVIRONMENT = true;
@@ -72,3 +72,19 @@ it('reloads template data when the editor language changes and clears language-s
expect(host.textContent).not.toContain('First');
expect(host.querySelectorAll('[data-template-id]')).toHaveLength(3);
});
+
+it('localizes facet labels consistently while retaining brand names and filter values', async () => {
+ vi.stubGlobal('fetch', vi.fn(async (url: string) => Response.json(url.endsWith('/integration') ? {} : {
+ items: [{ ...items[0], brand: 'Linear', uses: ['Landscape'] }], catalogVersion: 'v1', next: null, total: 1,
+ })));
+ await mount();
+ const aside = host.querySelector('aside')!;
+ expect(aside.textContent).toContain(translate('zh-CN', 'Landscape'));
+ const brand = [...aside.querySelectorAll<HTMLButtonElement>('button')].find(el => el.textContent?.includes('Linear'))!;
+ await act(async () => brand.click());
+ expect(host.textContent).toContain('Linear ×');
+ expect(host.textContent).not.toContain(translate('zh-CN', 'Linear'));
+ const checkbox = [...host.querySelectorAll<HTMLInputElement>('fieldset input')].find(el => el.parentElement?.textContent === 'Linear')!;
+ expect(checkbox.checked).toBe(true);
+ expect(host.querySelectorAll('[data-template-id]')).toHaveLength(1);
+});
diff --git a/studio/src/motion/TemplateLibraryDialog.tsx b/studio/src/motion/TemplateLibraryDialog.tsx
index ce836295..08ab4808 100644
--- a/studio/src/motion/TemplateLibraryDialog.tsx
+++ b/studio/src/motion/TemplateLibraryDialog.tsx
@@ -140,8 +140,8 @@ export function TemplateLibraryDialog(props: Props) {
} catch (err) { setFeedback((err as Error).message); }
}
async function copy() {
- try { await navigator.clipboard.writeText(prompt); setFeedback(t('Copied')); }
- catch { setFeedback(t('Copy the instruction below and send it to your Agent.')); }
+ try { await navigator.clipboard.writeText(prompt); setFeedback('Copied'); }
+ catch { setFeedback('Copy the instruction below and send it to your Agent.'); }
}
async function downloadMotion() {
if (!preview?.motionDocumentUrl) return;
@@ -152,7 +152,7 @@ export function TemplateLibraryDialog(props: Props) {
const url = URL.createObjectURL(await response.blob());
const link = document.createElement('a'); link.href = url; link.download = 'motion.md'; link.click();
setTimeout(() => URL.revokeObjectURL(url), 60_000);
- } catch { setDownloadError(t('Download failed. Please try again.')); }
+ } catch { setDownloadError('Download failed. Please try again.'); }
finally { setDownloading(false); }
}
const show = (item: GalleryTemplate) => { setPreview(item); setPrompt(''); setFeedback(''); setDownloadError(''); detail.current?.showModal(); };
@@ -167,7 +167,7 @@ export function TemplateLibraryDialog(props: Props) {
<button className={styles.all} aria-current={!hasFilters ? 'page' : undefined} onClick={reset}>{t('All templates')}<span>{catalog.length}</span></button>
{available.filter(facet => ['brand', 'uses', 'styles', 'industries', 'creationModels'].includes(facet.key)).map(facet => <details key={facet.key} open={facet.key === 'brand'}><summary>{t(facet.label)}</summary>
{facet.values.slice(0, facet.key === 'brand' && !moreBrands ? 5 : undefined).map(value => <button key={value} aria-pressed={selected[facet.key]?.includes(value) ?? false} onClick={() => toggle(facet.key, value)}>
- {facet.key === 'brand' && <span className={styles.brandIcon} aria-hidden="true">{brandLogos[value] ? <img src={brandLogos[value]} alt="" /> : value.slice(0, 1)}</span>}<span>{value}</span><small>{catalog.filter(item => values(item, facet.key).includes(value)).length}</small>
+ {facet.key === 'brand' && <span className={styles.brandIcon} aria-hidden="true">{brandLogos[value] ? <img src={brandLogos[value]} alt="" /> : value.slice(0, 1)}</span>}<span>{facet.key === 'brand' ? value : t(value)}</span><small>{catalog.filter(item => values(item, facet.key).includes(value)).length}</small>
</button>)}
{facet.key === 'brand' && facet.values.length > 5 && <button onClick={() => setMoreBrands(!moreBrands)}>{t(moreBrands ? 'Show less' : 'Show more')}</button>}
</details>)}
@@ -180,13 +180,13 @@ export function TemplateLibraryDialog(props: Props) {
<select aria-label={t('Sort')} value={sort} onChange={event => setSort(event.target.value)}><option value="recommended">{t('Recommended order')}</option><option value="name">{t('Name A–Z')}</option><option value="reverse">{t('Name Z–A')}</option></select>
</div></div>
{searchOpen && <input className={styles.search} autoFocus type="search" maxLength={200} value={query} onChange={event => setQuery(event.target.value)} placeholder={t('Search templates, creators, styles…')} aria-label={t('Search templates')} />}
- {hasFilters && <div className={styles.chips}>{facets.flatMap(([key]) => (selected[key] ?? []).map(value => <button key={key + value} onClick={() => toggle(key, value)}>{t(value)} ×</button>))}<button onClick={reset}>{t('Clear filters')}</button></div>}
+ {hasFilters && <div className={styles.chips}>{facets.flatMap(([key]) => (selected[key] ?? []).map(value => <button key={key + value} onClick={() => toggle(key, value)}>{key === 'brand' ? value : t(value)} ×</button>))}<button onClick={reset}>{t('Clear filters')}</button></div>}
{loading && !catalog.length ? <p role="status">{t('Loading templates…')}</p> : cards(visible)}
{!loading && !visible.length && !error && <p className={styles.empty}>{t('No matching templates. Try another name, creator or style.')}</p>}
</main>
</div>
<dialog ref={filter} className={styles.filters} aria-label={t('Filters')}><header><h2>{t('Filters')}</h2><button onClick={() => filter.current?.close()} aria-label={t('Close')}><MotionIcon name="close" /></button></header>
- {available.map(facet => <fieldset key={facet.key}><legend>{t(facet.label)}</legend>{facet.values.map(value => <label key={value}><input type="checkbox" checked={selected[facet.key]?.includes(value) ?? false} onChange={() => toggle(facet.key, value)} />{t(value)}</label>)}</fieldset>)}
+ {available.map(facet => <fieldset key={facet.key}><legend>{t(facet.label)}</legend>{facet.values.map(value => <label key={value}><input type="checkbox" checked={selected[facet.key]?.includes(value) ?? false} onChange={() => toggle(facet.key, value)} />{facet.key === 'brand' ? value : t(value)}</label>)}</fieldset>)}
<footer><button onClick={reset}>{t('Clear filters')}</button><button onClick={() => filter.current?.close()}>{t('Done')}</button></footer>
</dialog>
<dialog ref={detail} className={styles.detail} aria-label={t('Template preview')} onClose={() => { setPreview(null); setPrompt(''); }}>
@@ -196,7 +196,7 @@ export function TemplateLibraryDialog(props: Props) {
{preview.sourceUrl ? <a href={preview.sourceUrl} target="_blank" rel="noreferrer">{preview.authorName || preview.author} ↗</a> : <p>{preview.authorName || preview.author}</p>}
<div className={styles.actions}><button disabled={!preview.motionDocumentUrl || downloading} onClick={() => void downloadMotion()}>{t(downloading ? 'Downloading…' : 'Download motion.md')}</button><button onClick={() => void showPrompt()}>{t('Recreate template')}</button></div>
<div className={styles.projectActions}>{isEditableTemplate(preview) && <button disabled={props.busy} onClick={() => { detail.current?.close(); props.onOpen(preview.id); }}>{t('Open and edit')} ↗</button>}{preview.projectFileUrl && <a href={preview.projectFileUrl} target="_blank" rel="noreferrer">{t('Download OpenMotion project')} ↗</a>}</div>
- {downloadError && <p role="status">{downloadError}</p>}
+ {downloadError && <p role="status">{t(downloadError)}</p>}
<dl><dt>{t('Video types')}</dt><dd>{preview.styles?.join(' · ') || '—'}</dd><dt>{t('Creation models')}</dt><dd>{preview.creationModels?.join(' · ') || '—'}</dd><dt>{t('Duration')}</dt><dd>{preview.duration ? t('{value}s', { value: preview.duration }) : '—'}</dd></dl>
</div></div>
{(preview.styleDescription || preview.reviewFocus || preview.motionGuideUrl) && <section className={styles.guide} aria-label={t('Motion guide')}>
@@ -209,7 +209,7 @@ export function TemplateLibraryDialog(props: Props) {
{preview && <div className={styles.handoff}>{preview.posterUrl && <img src={preview.posterUrl} alt="" />}<div><strong>{preview.title}</strong><p>{preview.id}</p></div></div>}
<p className={styles.promptLabel}>{t('Copy the instruction below and send it to your Agent.')}</p>
<div className={styles.promptRow}><textarea className={styles.prompt} rows={8} readOnly value={prompt} aria-label={t('Content to copy')} />
- <button className={styles.copyPrompt} disabled={!prompt} onClick={() => void copy()} aria-label={t('Copy')}><MotionIcon name="copy" size={22} /></button></div><p className={styles.copyStatus} role="status">{feedback}</p>
+ <button className={styles.copyPrompt} disabled={!prompt} onClick={() => void copy()} aria-label={t('Copy')}><MotionIcon name="copy" size={22} /></button></div><p className={styles.copyStatus} role="status">{t(feedback)}</p>
</dialog>
</dialog>;
}
diff --git a/studio/src/player/components/AutomationSelectionMenu.tsx b/studio/src/player/components/AutomationSelectionMenu.tsx
index ac5c3f3b..29de5238 100644
--- a/studio/src/player/components/AutomationSelectionMenu.tsx
+++ b/studio/src/player/components/AutomationSelectionMenu.tsx
@@ -61,7 +61,7 @@ export const AutomationSelectionMenu = memo(function AutomationSelectionMenu({
onClose();
}}
>
- {shape.label}
+ {t(shape.label)}
</button>
))}
<div className={menuClasses.divider} />
diff --git a/studio/src/player/components/ClipBadges.tsx b/studio/src/player/components/ClipBadges.tsx
index 2d7670f2..313187bb 100644
--- a/studio/src/player/components/ClipBadges.tsx
+++ b/studio/src/player/components/ClipBadges.tsx
@@ -38,7 +38,7 @@ export const ClipBadges = memo(function ClipBadges({
}) {
const { t } = useI18n();
const state = useClipToolState(el);
- const effects = readClipEffects(state);
+ const effects = readClipEffects(state, t);
const mvp = useMvpEditor();
const volume = mvp ? null : clipVolumeBadge(state);
const hasEffects = effects.length > 0;
diff --git a/studio/src/player/components/Timeline.tsx b/studio/src/player/components/Timeline.tsx
index f5de1f41..deb88cd6 100644
--- a/studio/src/player/components/Timeline.tsx
+++ b/studio/src/player/components/Timeline.tsx
@@ -1,3 +1,4 @@
+import { useI18n } from "../../i18n/I18n";
import { memo } from "react";
import { useMvpEditor } from "../../motion/StudioHost";
import { TimelineMediaBar } from '../../motion/TimelineMediaBar';
@@ -37,13 +38,14 @@ export {
} from "./timelineViewportGeometry";
function TimelineView() {
+ const { t } = useI18n();
const { state, meta } = useTimelineContext();
const { timelineReady, elements } = state;
if (!timelineReady || elements.length === 0) {
return <TimelineEmptyStatePart />;
}
return (
- <div {...meta.containerProps}>
+ <div {...meta.containerProps} aria-label={t(meta.containerProps["aria-label"])}>
<div {...meta.viewportProps}>
<TimelineFrame />
<TimelineRazorGuide />
diff --git a/studio/src/player/components/TimelineTrackAudioControls.tsx b/studio/src/player/components/TimelineTrackAudioControls.tsx
index b4bb850d..7478c128 100644
--- a/studio/src/player/components/TimelineTrackAudioControls.tsx
+++ b/studio/src/player/components/TimelineTrackAudioControls.tsx
@@ -65,7 +65,7 @@ export function TimelineTrackAudioControls({ elements, trackLabel, isAudioOnly,
const result = await onSetElementsAttributeQuiet(clips.map(element => ({ element, value })), attr, label);
return !result || result.status === 'saved';
} catch (error) {
- shell?.showToast(error instanceof Error ? error.message : t('Could not save changes'), 'error');
+ shell?.showToast(error instanceof Error ? error.message : 'Changes could not be saved.', 'error');
return false;
} finally { running.current = false; setBusy(false); }
};
diff --git a/studio/src/player/components/clipMenuToolItems.test.tsx b/studio/src/player/components/clipMenuToolItems.test.tsx
index 71e3c757..fa86ee7e 100644
--- a/studio/src/player/components/clipMenuToolItems.test.tsx
+++ b/studio/src/player/components/clipMenuToolItems.test.tsx
@@ -1,5 +1,7 @@
// @vitest-environment happy-dom
+import { I18nProvider } from "../../i18n/I18n";
+import type { Locale } from "../../i18n/messages";
import { act } from "react";
import { createRoot, type Root } from "react-dom/client";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
@@ -39,6 +41,7 @@ function renderItems(
element: TimelineElement,
currentTime = 2,
withLive = true,
+ locale: Locale = "en",
) {
const setLive = vi.fn((_el: TimelineElement, _attr: string, _value: string | null) => undefined);
const revertLive = vi.fn((_el: TimelineElement, _attr: string) => undefined);
@@ -52,7 +55,7 @@ function renderItems(
root = createRoot(host);
act(() => {
root?.render(
- <TimelineEditProvider
+ <I18nProvider initialLocale={locale}><TimelineEditProvider
value={{
onSetElementAttributeQuiet: setQuiet,
onFreezeFrame: freeze,
@@ -67,7 +70,7 @@ function renderItems(
currentTime={currentTime}
onClose={onClose}
/>
- </TimelineEditProvider>,
+ </TimelineEditProvider></I18nProvider>,
);
});
return { setQuiet, onClose, freeze, setLive, revertLive };
@@ -286,3 +289,13 @@ describe("ClipMenuToolItems", () => {
});
});
});
+
+it("renders Chinese submenu choices while persisting the same preset ID", () => {
+ const { setQuiet } = renderItems("sound", video, 2, true, "zh-CN");
+ openSubmenu("人声");
+ expect(document.body.textContent).toContain("清晰");
+ expect(document.body.textContent).toContain("音色");
+ expect(document.body.textContent).not.toContain("Character");
+ pick("清晰");
+ expect(String(setQuiet.mock.calls[0]?.[2])).toContain('"fromPreset":"voice-clean"');
+});
diff --git a/studio/src/player/components/clipMenuToolItems.tsx b/studio/src/player/components/clipMenuToolItems.tsx
index dbf83378..239f2b57 100644
--- a/studio/src/player/components/clipMenuToolItems.tsx
+++ b/studio/src/player/components/clipMenuToolItems.tsx
@@ -98,6 +98,7 @@ function ChoiceSubmenu({
onPick: (id: string | null) => void;
preview?: HoverPreview;
}) {
+ const { t } = useI18n();
const [open, setOpen] = useState(false);
const [anchor, setAnchor] = useState<{ top: number; left?: number; right?: number }>({ top: 0 });
const rowRef = useRef<HTMLButtonElement | null>(null);
@@ -161,7 +162,7 @@ function ChoiceSubmenu({
<span aria-hidden="true" className="w-3 text-center">
{activeId === id && <Check size={12} />}
</span>
- {text}
+ {t(text)}
</span>
</button>
);
@@ -201,7 +202,7 @@ function ChoiceSubmenu({
<>
<div className={menuClasses.divider} />
<div className="px-3 py-1 text-[9px] uppercase tracking-wide text-neutral-500">
- {section.heading}
+ {t(section.heading)}
</div>
</>
)}
diff --git a/studio/src/player/components/clipToolAttrs.test.ts b/studio/src/player/components/clipToolAttrs.test.ts
index 52a2a0da..8549ba9a 100644
--- a/studio/src/player/components/clipToolAttrs.test.ts
+++ b/studio/src/player/components/clipToolAttrs.test.ts
@@ -1,3 +1,4 @@
+import { translate } from "../../i18n/messages";
import { describe, expect, it } from "vitest";
import { parseAudioFxChain, serializeAudioFxChain } from "@hyperframes/core/audio-fx";
import { normalizeHfColorGrading } from "@hyperframes/core/color-grading";
@@ -116,8 +117,8 @@ const rampAutomation = JSON.stringify({
describe("readClipEffects", () => {
it("lists nothing for a plain clip, so the fx badge stays grey", () => {
- expect(readClipEffects(baseState)).toEqual([]);
- expect(readClipEffects({ ...baseState, automation: rampAutomation, volume: 1.8 })).toEqual([]);
+ expect(readClipEffects(baseState, (m, v) => translate("en", m, v))).toEqual([]);
+ expect(readClipEffects({ ...baseState, automation: rampAutomation, volume: 1.8 }, (m, v) => translate("en", m, v))).toEqual([]);
});
it("lists every applied effect in the tooltip's order", () => {
@@ -128,7 +129,7 @@ describe("readClipEffects", () => {
colorGrading: lookAttrValue("warm-daylight"),
clipPath: "inset(0px 20px)",
carve: "{}",
- }),
+ }, (m, v) => translate("en", m, v)),
).toEqual(["Look: Warm daylight", "Voice: Clean", "Crop", "Ducked"]);
});
@@ -141,13 +142,13 @@ describe("readClipEffects", () => {
{ id: "c", type: "gain", enabled: true, fromCarve: true, params: {} },
],
});
- const effects = readClipEffects({ ...baseState, fxChain: chain });
+ const effects = readClipEffects({ ...baseState, fxChain: chain }, (m, v) => translate("en", m, v));
expect(effects).toHaveLength(1);
expect(effects[0]).not.toBe("highpass");
});
it("reads a hand-made grading without a menu preset as a Look", () => {
- expect(readClipEffects({ ...baseState, colorGrading: '{"adjust":{"contrast":0.2}}' })).toEqual([
+ expect(readClipEffects({ ...baseState, colorGrading: '{"adjust":{"contrast":0.2}}' }, (m, v) => translate("en", m, v))).toEqual([
"Look",
]);
});
@@ -175,3 +176,10 @@ describe("clipSpeedSuffix", () => {
expect(clipSpeedSuffix(1, rampAutomation)).toBe(" [ramp]");
});
});
+
+it("localizes effect summaries while preserving authored effect labels", () => {
+ const t = (m: string, v?: Record<string, string | number>) => translate("zh-CN", m, v);
+ expect(readClipEffects({ ...baseState, colorGrading: lookAttrValue("warm-daylight"), fxChain: chainWithVoicePreset(null, "voice-clean"), clipPath: "circle(50%)", carve: "{}" }, t)).toEqual(["画面风格:暖日光", "人声:清晰", "裁剪", "已避让"]);
+ const fxChain = serializeAudioFxChain({ version: 1, nodes: [{ id: "custom", type: "gain", label: "Warm", enabled: true, params: {} }] });
+ expect(readClipEffects({ ...baseState, fxChain }, t)).toEqual(["Warm"]);
+});
diff --git a/studio/src/player/components/clipToolAttrs.ts b/studio/src/player/components/clipToolAttrs.ts
index 47c782ea..9fabc9f4 100644
--- a/studio/src/player/components/clipToolAttrs.ts
+++ b/studio/src/player/components/clipToolAttrs.ts
@@ -3,6 +3,7 @@
* Pure over strings so the menu, the badges and an agent's hand edits all agree.
*/
+import type { Translate } from "../../i18n/messages";
import {
getAudioFxDef,
parseAudioFxChain,
@@ -158,33 +159,33 @@ export function clipVolumeBadge(state: ClipToolState): string | null {
return `${Math.round(volume * 100)}%`;
}
-function lookEffect(rawGrading: string | null): string | null {
+function lookEffect(rawGrading: string | null, t: Translate): string | null {
const grading = normalizeHfColorGrading(parseJson(rawGrading));
if (!grading) return null;
const label = lookLabel(grading.preset ?? null);
- return label ? `Look: ${label}` : "Look";
+ return label ? t("Look: {name}", { name: t(label) }) : t("Look");
}
-function presetEffect(presetId: string): string {
+function presetEffect(presetId: string, t: Translate): string {
const voice = voicePresetLabel(presetId);
- return voice ? `Voice: ${voice}` : (getAudioFxPreset(presetId)?.label ?? presetId);
+ return voice ? t("Voice: {name}", { name: t(voice) }) : t(getAudioFxPreset(presetId)?.label ?? presetId);
}
-function chainNodeEffect(node: HfAudioFxNode): string | null {
+function chainNodeEffect(node: HfAudioFxNode, t: Translate): string | null {
if (node.enabled === false || node.fromCarve) return null;
- if (node.fromPreset) return presetEffect(node.fromPreset);
+ if (node.fromPreset) return presetEffect(node.fromPreset, t);
if (node.fromEq) return "EQ";
- if (node.fromLeveller) return "Leveller";
- return node.label ?? getAudioFxDef(node.type)?.label ?? node.type;
+ if (node.fromLeveller) return t("Leveller");
+ return node.label ?? t(getAudioFxDef(node.type)?.label ?? node.type);
}
/** Every effect on the clip, in the fx badge tooltip's order; empty means a grey badge. */
-export function readClipEffects(state: ClipToolState): string[] {
+export function readClipEffects(state: ClipToolState, t: Translate): string[] {
const effects: Array<string | null> = [
- lookEffect(state.colorGrading),
- ...parseChainOrEmpty(state.fxChain).nodes.map(chainNodeEffect),
- hasCrop(state.clipPath) ? "Crop" : null,
- isDucked(state.carve) ? "Ducked" : null,
+ lookEffect(state.colorGrading, t),
+ ...parseChainOrEmpty(state.fxChain).nodes.map((node) => chainNodeEffect(node, t)),
+ hasCrop(state.clipPath) ? t("Crop") : null,
+ isDucked(state.carve) ? t("Ducked") : null,
];
return [...new Set(effects.filter((effect): effect is string => effect !== null))];
}
diff --git a/studio/src/player/lib/timelinePerformanceDiagnostics.test.ts b/studio/src/player/lib/timelinePerformanceDiagnostics.test.ts
index 93eaff8c..71c170d3 100644
--- a/studio/src/player/lib/timelinePerformanceDiagnostics.test.ts
+++ b/studio/src/player/lib/timelinePerformanceDiagnostics.test.ts
@@ -14,7 +14,7 @@ describe("timeline performance diagnostics", () => {
it("reads mounted resources without mutating the timeline", () => {
document.body.innerHTML = `
- <div aria-label="Timeline track view" data-timeline-scheduler-queued="3"
+ <div aria-label="时间轴轨道视图" data-timeline-element-count="4" data-timeline-scheduler-queued="3"
data-timeline-scheduler-active="2" data-timeline-cache-bytes="4096">
<div data-timeline-row><div data-clip="true"></div><div data-clip="true"></div></div>
<div data-timeline-row><div data-clip="true"></div></div>
diff --git a/studio/src/player/lib/timelinePerformanceDiagnostics.ts b/studio/src/player/lib/timelinePerformanceDiagnostics.ts
index 67474776..2ccf2c2c 100644
--- a/studio/src/player/lib/timelinePerformanceDiagnostics.ts
+++ b/studio/src/player/lib/timelinePerformanceDiagnostics.ts
@@ -69,7 +69,7 @@ function sumDataAttribute(root: ParentNode, selector: string, dataKey: string):
export function readTimelinePerformanceDiagnostics(
root: ParentNode = document,
): Readonly<TimelinePerformanceDiagnostics> {
- const timelineRoots = root.querySelectorAll<HTMLElement>('[aria-label="Timeline track view"]');
+ const timelineRoots = root.querySelectorAll<HTMLElement>('[data-timeline-element-count], [aria-label="Timeline track view"]');
let mountedTimelineDescendants = 0;
for (const timelineRoot of timelineRoots) {
mountedTimelineDescendants += timelineRoot.querySelectorAll("*").length;