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.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
fix(studio): use product wording in project check results
罗高70d2271128af
diff --git a/studio/src/components/LintModal.tsx b/studio/src/components/LintModal.tsxindex 5df4b8a3..8cc65614 100644--- a/studio/src/components/LintModal.tsx+++ b/studio/src/components/LintModal.tsx@@ -16,7 +16,7 @@ export function LintModal({projectId,projectDir,title,- promptIntro = "Fix these HyperFrames lint issues",+ promptIntro = "Fix these OpenMotion project check issues",onClose,}: {findings: LintFinding[];@@ -30,7 +30,7 @@ export function LintModal({onClose: () => void;}) {const { t } = useI18n();- const dialogTitle = title ?? t("HyperFrame Lint Results");+ const dialogTitle = title ?? t("Project check results");const errors = findings.filter((f) => f.severity === "error");const warnings = findings.filter((f) => f.severity === "warning");const hasIssues = findings.length > 0;diff --git a/studio/src/i18n/I18n.test.tsx b/studio/src/i18n/I18n.test.tsxindex d4d1eea5..77979705 100644--- a/studio/src/i18n/I18n.test.tsx+++ b/studio/src/i18n/I18n.test.tsx@@ -179,16 +179,26 @@ it('localizes the complete lint success dialog and updates it when the language}act(() => root.render(<I18nProvider initialLocale="zh-CN"><Results /></I18nProvider>));const dialog = host.querySelector('[role="dialog"]')!;- expect(dialog.getAttribute('aria-label')).toBe('HyperFrame 检查结果');+ expect(dialog.getAttribute('aria-label')).toBe('项目检查结果');expect(dialog.querySelector('h2')?.textContent).toBe('所有检查均通过');- expect(dialog.querySelector('p')?.textContent).toBe('HyperFrame 检查结果');+ expect(dialog.querySelector('p')?.textContent).toBe('项目检查结果');expect(dialog.textContent).toContain('未发现错误或警告,合成检查通过。');act(() => host.querySelector('button')!.click());expect(host.querySelector('[role="dialog"]')).toBe(dialog);- expect(dialog.getAttribute('aria-label')).toBe('HyperFrame Lint Results');+ expect(dialog.getAttribute('aria-label')).toBe('Project check results');expect(dialog.querySelector('h2')?.textContent).toBe('All checks passed');- expect(dialog.querySelector('p')?.textContent).toBe('HyperFrame Lint Results');+ expect(dialog.querySelector('p')?.textContent).toBe('Project check results');expect(dialog.textContent).toContain('No errors or warnings found. Your composition looks good!');+ expect(dialog.textContent).not.toContain('HyperFrame');+});++it('uses OpenMotion in copied project-check instructions', async () => {+ const writeText = vi.spyOn(navigator.clipboard, 'writeText').mockResolvedValue();+ act(() => root.render(<I18nProvider initialLocale="en">+ <LintModal findings={[{ severity: 'error', message: 'Missing composition' }]} projectId="demo" onClose={vi.fn()} />+ </I18nProvider>));+ await act(async () => { [...host.querySelectorAll('button')].find(button => button.textContent === 'Copy to Agent')!.click(); });+ expect(writeText).toHaveBeenCalledWith('Fix these OpenMotion project check issues for project "demo":\n\n[error] Missing composition');});it('preserves custom console-error titles and original diagnostics in the shared lint dialog', () => {diff --git a/studio/src/i18n/de.json b/studio/src/i18n/de.jsonindex d6e8b2c5..e4f0271d 100644--- a/studio/src/i18n/de.json+++ b/studio/src/i18n/de.json@@ -304,7 +304,7 @@"Hue": "Farbton","Hue range": "Farbtonbereich","Hue softness": "Farbtonweichheit",- "HyperFrame Lint Results": "HyperFrame-Prüfergebnisse",+ "Project check results": "Projektprüfergebnisse","Import": "Importieren","Import .cube LUT": ".cube LUT importieren","Import local font files": "Lokale Schriftarten importieren",diff --git a/studio/src/i18n/es.json b/studio/src/i18n/es.jsonindex b6766fb6..1ff3e03a 100644--- a/studio/src/i18n/es.json+++ b/studio/src/i18n/es.json@@ -304,7 +304,7 @@"Hue": "Tono","Hue range": "Rango de tono","Hue softness": "Suavidad del tono",- "HyperFrame Lint Results": "Resultados de comprobación de HyperFrame",+ "Project check results": "Resultados de comprobación del proyecto","Import": "Importar","Import .cube LUT": "Importar LUT .cube","Import local font files": "Importar fuentes locales",diff --git a/studio/src/i18n/fr.json b/studio/src/i18n/fr.jsonindex 94133a16..94e5c744 100644--- a/studio/src/i18n/fr.json+++ b/studio/src/i18n/fr.json@@ -304,7 +304,7 @@"Hue": "Teinte","Hue range": "Plage de teintes","Hue softness": "Teinte douceur",- "HyperFrame Lint Results": "Résultats de vérification HyperFrame",+ "Project check results": "Résultats de vérification du projet","Import": "Importer","Import .cube LUT": "Importer une LUT .cube","Import local font files": "Importer des polices locales",diff --git a/studio/src/i18n/it.json b/studio/src/i18n/it.jsonindex e16f9ce7..27e5d46c 100644--- a/studio/src/i18n/it.json+++ b/studio/src/i18n/it.json@@ -304,7 +304,7 @@"Hue": "Tonalità","Hue range": "Gamma di tonalità","Hue softness": "Tonalità morbida",- "HyperFrame Lint Results": "Risultati della verifica HyperFrame",+ "Project check results": "Risultati della verifica del progetto","Import": "Importazione","Import .cube LUT": "Importa .cube LUT","Import local font files": "Importa caratteri locali",diff --git a/studio/src/i18n/ja.json b/studio/src/i18n/ja.jsonindex 2a5aa7d0..f98d6663 100644--- a/studio/src/i18n/ja.json+++ b/studio/src/i18n/ja.json@@ -304,7 +304,7 @@"Hue": "色相","Hue range": "色相範囲","Hue softness": "色合いの柔らかさ",- "HyperFrame Lint Results": "HyperFrame チェック結果",+ "Project check results": "プロジェクトのチェック結果","Import": "インポート","Import .cube LUT": ".cube LUTのインポート","Import local font files": "ローカルフォントをインポートする",diff --git a/studio/src/i18n/ko.json b/studio/src/i18n/ko.jsonindex a4329844..320eab15 100644--- a/studio/src/i18n/ko.json+++ b/studio/src/i18n/ko.json@@ -304,7 +304,7 @@"Hue": "색조","Hue range": "색조 범위","Hue softness": "색조 부드러움",- "HyperFrame Lint Results": "HyperFrame 검사 결과",+ "Project check results": "프로젝트 검사 결과","Import": "가져오기","Import .cube LUT": ".cube LUT 가져오기","Import local font files": "로컬 글꼴 가져오기",diff --git a/studio/src/i18n/pt-BR.json b/studio/src/i18n/pt-BR.jsonindex 360dcfcf..9d2a9db9 100644--- a/studio/src/i18n/pt-BR.json+++ b/studio/src/i18n/pt-BR.json@@ -304,7 +304,7 @@"Hue": "Matiz","Hue range": "Faixa de matiz","Hue softness": "Suavidade de matiz",- "HyperFrame Lint Results": "Resultados da verificação do HyperFrame",+ "Project check results": "Resultados da verificação do projeto","Import": "Importar","Import .cube LUT": "Importar .cube LUT","Import local font files": "Importar fontes locais",diff --git a/studio/src/i18n/ru.json b/studio/src/i18n/ru.jsonindex 2b102be5..d76c746e 100644--- a/studio/src/i18n/ru.json+++ b/studio/src/i18n/ru.json@@ -304,7 +304,7 @@"Hue": "Хюэ","Hue range": "Диапазон оттенков","Hue softness": "Мягкость оттенка",- "HyperFrame Lint Results": "Результаты проверки HyperFrame",+ "Project check results": "Результаты проверки проекта","Import": "Импорт","Import .cube LUT": "Импорт .cube LUT","Import local font files": "Импортировать локальные шрифты",diff --git a/studio/src/i18n/tr.json b/studio/src/i18n/tr.jsonindex e68225f6..b7119007 100644--- a/studio/src/i18n/tr.json+++ b/studio/src/i18n/tr.json@@ -304,7 +304,7 @@"Hue": "Renk tonu","Hue range": "Ton aralığı","Hue softness": "Ton yumuşaklığı",- "HyperFrame Lint Results": "HyperFrame denetim sonuçları",+ "Project check results": "Proje denetim sonuçları","Import": "İçe Aktarma","Import .cube LUT": ".cube LUT'u içe aktar","Import local font files": "Yerel yazı tiplerini içe aktar",diff --git a/studio/src/i18n/zh-CN.json b/studio/src/i18n/zh-CN.jsonindex b45a8583..b27e8995 100644--- a/studio/src/i18n/zh-CN.json+++ b/studio/src/i18n/zh-CN.json@@ -304,7 +304,7 @@"Hue": "色相","Hue range": "色相范围","Hue softness": "色相柔和度",- "HyperFrame Lint Results": "HyperFrame 检查结果",+ "Project check results": "项目检查结果","Import": "导入","Import .cube LUT": "导入 .cube LUT","Import local font files": "导入本地字体",