mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
illness.vital.FUNCTIONAL_IMPACT (the recovery-driver track that wins ties in the illness insights card's driver selection) was referenced but absent from all six locale bundles, rendering its raw dotted key on a live surface — the same dynamic-key seam that let the WHO-5/SCI reminder labels ship untranslated. Added the label in de/en/es/fr/it/pl. Closed the class structurally: a new enum-driven dynamic-key-exhaustiveness test imports the source enum/const for each high-value dynamic key space (illness scan types + functional-impact, illness type/lifecycle, allergy + family-relationship records enums, the mental-health instrument slugs — the WHO-5/SCI seam) and asserts every member's built key resolves non-empty in all six locales, so a missing translation fails CI instead of reaching a user. Fallback-protected spaces (Strava raw sport_type) and structurally-unreachable keys are documented as excluded. Removed one confirmed-orphan key (illness.vital.SKIN_TEMPERATURE, zero call sites).