site-mva-global-fret/js
MVA Global Fret 0b2fe83963 Expose translations on window so the inline lang switcher can find it
translations.js declared the dict as `const translations = {...}`,
which scopes it to the script but does NOT attach it to window. The
inline applyLang() in index.html reads `window.translations?.[l]` and
was always getting undefined → early-return → no DOM updates → the
button text stayed in French regardless of the lang switcher.

One-line fix: append `window.translations = translations;` so
classic-script inline code can pick it up. All page-level i18n keys
(intro.ctaBtn included) start translating again.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-05 14:18:14 +02:00
..
form-handler.js Send welcome-back email to clients already registered 2026-05-04 18:18:22 +02:00
intro-scene.js CTA emerges from the plane when it reaches center 2026-05-05 14:07:48 +02:00
main.js Translate CGV page to EN/MG + full i18n audit fixes 2026-05-04 17:39:55 +02:00
translations.js Expose translations on window so the inline lang switcher can find it 2026-05-05 14:18:14 +02:00