From e6d078d6b2326042b077eb5c123d235f0e48a3df Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 4 Apr 2026 11:11:32 +0200 Subject: [PATCH] Add French l10n test for arch --help in WASM playground --- static/js/wasm-terminal.test.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/static/js/wasm-terminal.test.html b/static/js/wasm-terminal.test.html index ddd5632ce..1ecd1606a 100644 --- a/static/js/wasm-terminal.test.html +++ b/static/js/wasm-terminal.test.html @@ -431,15 +431,16 @@ async function runTests() { if (T.wasmReady) { section("l10n WASM integration"); - // l10n tests are skipped for now — they require French translations - // baked into the WASM binary, which is only available in full CI builds. - // TODO: re-enable once the l10n data is bundled in feat_wasm. - T.locale = "en-US"; const enHelp = await executeCommandLine("arch --help"); assert("arch --help in English contains English text", enHelp.includes("Display machine architecture"), true); + T.locale = "fr-FR"; + const frHelp = await executeCommandLine("arch --help"); + assert("arch --help in French contains French text", + frHelp.includes("Afficher l'architecture de la machine"), true); + T.locale = "en-US"; // ===== UTF-8 / multibyte WASM tests =====