gettext controllers

This commit is contained in:
2022-02-09 00:13:01 -05:00
parent 9972299fc4
commit 3675d0b4f4
11 changed files with 144 additions and 33 deletions

View File

@ -41,9 +41,11 @@ If you're multilingual, this project can use your translations! Visit
- When adding text, please use `gettext` macros to enable things to be
translated in the future. After adding `gettext` macros, run `mix format` in
order to add your new text strings to the files in `priv/gettext`.
- Existing domains: `"default"` (for anything general), `"prompts"` (as a
result of the user doing an action), `"actions"` (actions that the user can
take), `"emails"`, and `"errors"`
- Existing domains: `"default"` (for anything general), `"prompts"`
(informational messages as a result of the user doing an action, i.e. in
flashes), `"actions"` (actions that the user can take), `"emails"`, and
`"errors"`. Using these domains accurately will let translators know which
messages are higher and lower priority. Thank you!
- Before submitting a PR, please make sure all tests are passing using `mix test`.
And as always, thank you!