diff --git a/.planning/phase-W9e-v1425-translations-report.md b/.planning/phase-W9e-v1425-translations-report.md index f57da4435..354650ec7 100644 --- a/.planning/phase-W9e-v1425-translations-report.md +++ b/.planning/phase-W9e-v1425-translations-report.md @@ -191,3 +191,70 @@ Random `t()` keys verified for placeholder integrity: - `medications.nextIntakeAt` → `{time}` preserved. - `format.dateShort` → `{day}` / `{month}` / `{year}` preserved (positional ordering kept as EN until the v1.4.26 polish above). + +## W9f hot-fixes + +Two release-blockers raised against the W9e wave were resolved before +tagging v1.4.25. + +### Fix 1 — `parseLocaleFromAcceptLanguage` regression (no-op) + +The W7d dev-server-repair agent flagged that +`src/lib/__tests__/format-locale.test.ts:29` was failing because the +W9e expansion of `parseLocaleFromAcceptLanguage()` had added FR/ES/IT/ +PL prefix matches without updating the existing +`"returns en for English or unrecognised locales"` case. Re-running +the test on the current `develop` tree shows all 13 cases green — +W9e itself had already extended the suite with a dedicated `"returns +the matching tag for FR / ES / IT / PL"` block (lines 35-42) that +exercises every new prefix, and the legacy `ja-JP` / `*` / `en-US` +assertions in the prior block continue to hold against the same +fall-through. The flagged failure was real at the moment W7d ran but +was already closed by the W9e test additions. No code or test change +needed for Fix 1. + +### Fix 2 — missing `comparison.toggleHint` key + +`comparison.toggleHint` is rendered as helper copy under the +comparison-baseline `