MVA Global Fret static HTML site (mirror of GitHub MVA-Global-Fret/site-mva-global-fret) � deployed to VPS Falkenstein for mva-globalfret.com
Go to file
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
.claude Swap colorkey'd cloud for Microsoft Fluent 3D cloud emoji 2026-05-05 01:50:44 +02:00
assets Switch parcel sprites to a real 3D parachute GLB with bound cargo 2026-05-05 13:32:48 +02:00
cloudflare-worker feat: numérotation séquentielle MVA-XXX, texte succès corrigé, message email/spam 2026-05-04 16:28:28 +02:00
css Slow the CTA emerge tween — 1.2 s → 2.2 s, opacity 0.5 s → 0.9 s 2026-05-05 14:11:28 +02:00
images/payment-logos Replace generic icons with real payment brand logos 2026-05-04 22:05:09 +02:00
js Expose translations on window so the inline lang switcher can find it 2026-05-05 14:18:14 +02:00
.gitignore Initial commit — Site MVA Global Fret 2026-05-02 22:23:48 +02:00
about.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
accueil.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
application.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
cgv.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
contact.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
guide-envoi.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
index.html Switch parcel sprites to a real 3D parachute GLB with bound cargo 2026-05-05 13:32:48 +02:00
PNG MVA GLOBAL FRET.png Initial commit — Site MVA Global Fret 2026-05-02 22:23:48 +02:00
service-commande.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00
tarifs.html Add cinematic parallax intro page as new landing 2026-05-04 22:18:02 +02:00