mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 14:32:03 +00:00
The sign-in page (password and passkey), the second-factor step and registration printed the server's English error text, so a German or French page said "Invalid credentials" or "Invalid code". They now resolve the error code through localizedApiError like the other forms and fall back to the page's own sentence. Registration still shows a 422 as sent: that is the password feedback, which the server already words in the reader's language. A 429 carries the generic `http.rate_limited` code, which had no sentence, so a person locked out by the limiter would have read only "Login failed". The catalog now has one, reusing the wording of the profile take-over's rate-limit message.