mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-10-16 01:05:42 -04:00
Helpers that took Lingui's `t` as a parameter rendered empty strings because the macro only transforms `t` imported from the macro. Use msg descriptors plus i18n._ instead, so mapped error toasts and native server-URL errors are real, extractable strings. Also map Better Auth error codes to localized messages instead of showing raw server text, and send a REGISTRATION_CLOSED code from the auth hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>