mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-20 21:14:30 -05:00
Parametrised error translations (invalid api token permission, invalid timezone, invalid claim data) rendered their placeholders as empty text because the backend only baked the values into the English message and the frontend translated the error code without any interpolation params. Carry the values as i18n_params on error responses, keyed by the placeholder names of the frontend's error translations, on both v1 and the v2 problem+json body, and pass them through when translating the toast. A 14002 toast now reads e.g. "The permission time_entries of group tasks is invalid." instead of "The permission of group is invalid."