- 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.
55 lines
1.9 KiB
Text
55 lines
1.9 KiB
Text
## This file is a PO Template file.
|
|
##
|
|
## `msgid`s here are often extracted from source code.
|
|
## Add new translations manually only if they're dynamic
|
|
## translations that can't be statically extracted.
|
|
##
|
|
## Run `mix gettext.extract` to bring this file up to
|
|
## date. Leave `msgstr`s empty as changing them here has no
|
|
## effect: edit them in PO (.po) files instead.
|
|
##
|
|
## Domain: emails
|
|
## Purpose: Email templates and subjects
|
|
msgid ""
|
|
msgstr ""
|
|
"Language: en\n"
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:96
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Confirmation instructions"
|
|
msgstr ""
|
|
|
|
#: 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 ""
|
|
|
|
#: 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 ""
|
|
|
|
#: 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 ""
|
|
|
|
#: 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 ""
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:75
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Log in instructions"
|
|
msgstr ""
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:120
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Reset password instructions"
|
|
msgstr ""
|
|
|
|
#: lib/towerops/accounts/user_notifier.ex:44
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Update email instructions"
|
|
msgstr ""
|