mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
The custom metric, allergy, vaccination, booster, visit, address-book, workout and quick-add dose forms printed the server's error string as it came: English in every locale, and for a network failure the browser's own TypeError text. They now resolve the error code through localizedApiError like the other entry forms, so a known refusal reads in the person's language and anything else falls back to the form's "could not save" sentence. A custom metric whose name is taken keeps its specific message, now translated. The workout form's browser test expected the server prose and now expects the form's sentence.