- Update UserNotifier to use t_email() helper for all email content
- Extract 4 email subjects and 4 email bodies to emails domain:
* Update email instructions
* Log in instructions
* Confirmation instructions
* Reset password instructions
- Replace string interpolation with Gettext bindings (%{email}, %{url})
- Auto-populate English translations (msgstr = msgid)
- All emails now ready for future internationalization
First module migration complete per design plan.
52 lines
2.5 KiB
Text
52 lines
2.5 KiB
Text
## `msgid`s in this file come from POT (.pot) files.
|
|
##
|
|
## Do not add, change, or remove `msgid`s manually here as
|
|
## they're tied to the ones in the corresponding POT file
|
|
## (with the same domain).
|
|
##
|
|
## Use `mix gettext.extract --merge` or `mix gettext.merge`
|
|
## to merge POT files into PO files.
|
|
msgid ""
|
|
msgstr ""
|
|
"Language: en\n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:96
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Confirmation instructions"
|
|
msgstr "Confirmation instructions"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:47
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Hi %{email},\n\nYou can change your email by visiting the URL below:\n\n%{url}\n\nIf you didn't request this change, please ignore this.\n"
|
|
msgstr "Hi %{email},\n\nYou can change your email by visiting the URL below:\n\n%{url}\n\nIf you didn't request this change, please ignore this.\n"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:99
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Hi %{email},\n\nYou can confirm your account by visiting the URL below:\n\n%{url}\n\nIf you didn't create an account with us, please ignore this.\n"
|
|
msgstr "Hi %{email},\n\nYou can confirm your account by visiting the URL below:\n\n%{url}\n\nIf you didn't create an account with us, please ignore this.\n"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:78
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Hi %{email},\n\nYou can log into your account by visiting the URL below:\n\n%{url}\n\nIf you didn't request this email, please ignore this.\n"
|
|
msgstr "Hi %{email},\n\nYou can log into your account by visiting the URL below:\n\n%{url}\n\nIf you didn't request this email, please ignore this.\n"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:123
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Hi %{email},\n\nYou can reset your password by visiting the URL below:\n\n%{url}\n\nIf you didn't request this change, please ignore this.\n\nThis link will expire in 1 hour.\n"
|
|
msgstr "Hi %{email},\n\nYou can reset your password by visiting the URL below:\n\n%{url}\n\nIf you didn't request this change, please ignore this.\n\nThis link will expire in 1 hour.\n"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:75
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Log in instructions"
|
|
msgstr "Log in instructions"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:120
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Reset password instructions"
|
|
msgstr "Reset password instructions"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:44
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Update email instructions"
|
|
msgstr "Update email instructions"
|