mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
i18n(meds): localise the modal-wizard surface
Populates messages/{de,en}.json with every key the new dialog reads
under medications.wizard.*, plus categoryDiabetes and
categoryAntibiotic on the cards' badge namespace; the other four
locales ship the English fallback per project convention. The
retired medications.create.wizard.* namespace is removed from all
six files so the locale-integrity guard surfaces every dangling key
the moment the old surface stops being reachable.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b1f9a4bf8f
commit
e686083bae
7 files changed
+827
-587
No files matched your search
@@ -252,12 +252,12 @@ describe("i18n locale file integrity", () => {
|
||||
"targets.status.normal",
|
||||
"targets.status.optimal",
|
||||
"targets.status.fitness",
|
||||
// v1.5 medication scheduling — SI-unit abbreviations the wizard
|
||||
// v1.5.4 modal wizard — SI-unit abbreviations the wizard
|
||||
// surfaces in its dose-unit dropdown. The labels are identical
|
||||
// across every locale (mg / g / ml are universal SI tokens).
|
||||
"medications.create.wizard.step1.dose.unit.mg",
|
||||
"medications.create.wizard.step1.dose.unit.g",
|
||||
"medications.create.wizard.step1.dose.unit.ml",
|
||||
// across every locale (mg / ml / g are universal SI tokens).
|
||||
"medications.wizard.steps.step3.unit.mg",
|
||||
"medications.wizard.steps.step3.unit.ml",
|
||||
"medications.wizard.steps.step3.unit.g",
|
||||
]);
|
||||
|
||||
it.each(ALL_LOCALES)("$locale locale has no empty values", ({ path }) => {
|
||||
|
||||
Reference in new issue
Block a user