Centralize auth messages #269
Reference in New Issue
Block a user
Delete Branch "jose/centralize-auth-msgs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes https://github.com/maybe-finance/maybe/issues/264
At first, I thought by "centralize" we meant we wanted all the copy for the messages in a single place for easy editing. So I added rudimentary i18n, as well as i18n-tasks, which helps keep i18n files tidy. (That's on me for not paying attention, sorry I jumped the gun here)
Then I realized we actually wanted the messages to all appear in a single place for auth-related forms, so I pulled out a helper for that, too.
Let me know if we don't want the i18n part of this. Happy to take it out.
To be clear, there's still plenty of i18n work left to do — this was more meant to organize the auth messages. The rest of the app needs to be configured still. We can tackle that work as part of https://github.com/maybe-finance/maybe/issues/256.
@josefarias Couple of conflicts that popped up from a PR merge this morning.