mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
The Coach chat, the document chat and the fenced chat declared their locale field as de/en, so a body naming French, Korean, Brazilian Portuguese or any other shipped language was refused with 422 before resolveServerLocale, which carries every locale, ever saw it. The same pair sat on the profile update, so an account could not store any other language there either, and the stored language is what the cookie-blind background work (the Coach nudge, notification texts) writes in. All four now take z.enum(locales), and the published contract for the metric, insight and biomarker status queries and the profile update lists every UI locale instead of two.
3.3 MiB
3.3 MiB