mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
The existing i18n guards prove key-shape parity but pass an English string copied verbatim into another locale — the exact class of bug the v1.25 audit found (illness journal, PHQ-9/GAD-7 screener). Add a heuristic that flags any es/fr/it/pl value byte-identical to en for a multi-word string, with an explicit allowlist for the legitimately-identical keys (clinical abbreviations, units, brands, OAuth labels) and auto-skips for URLs and mask placeholders.