mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Remove 18 unreferenced i18n subtrees (75 leaves per locale, 450 strings across de/en/es/fr/it/pl) left behind by the settings D0-D8 reshuffle and the medication advanced/erweitert naming drift: settings.ai.disableCoach (superseded by settings.coach.activate), doctorReport.dialog/sections, the dead settings.sections export.hero / export.cards.doctorReport / layout.medications / layout.mood / integrations.tabs subtrees and the orphaned integrations connections/channels blurbs, the medications detail.advanced.title/group + detail.edit duplicates, insights.recovery .scoreLink, insights.range, targets.relativeDay (duplicate of targets.consistency.relativeDay), and insights.subPage.primary / lastMeasurement. Each subtree confirmed unused; the i18n coverage, locale-integrity, and sections-parity suites stay green. The per-slug settings.sections.<slug>.description keys are kept — they back the SectionPlaceholder fallback and the parity test asserts them. Point the stale knip entry at src/proxy.ts (renamed from middleware.ts) and drop the no-match src/lib/health glob. Resolve the analytics Rest Mode annotation as of the scored window: thread a single scoredAt instant into both the health-score computation and resolveRestMode, instead of letting the annotation read a later now().