diff --git a/config/runtime.exs b/config/runtime.exs index b1e8c32..4e7d1fa 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -62,7 +62,7 @@ if config_env() == :prod do System.get_env("SECRET_KEY_BASE") || raise """ environment variable SECRET_KEY_BASE is missing. - You can generate one by calling: mix phx.gen.secret + You can generate one by running: mix phx.gen.secret """ config :memex, MemexWeb.Endpoint, secret_key_base: secret_key_base diff --git a/lib/memex_web/templates/layout/email.html.heex b/lib/memex_web/templates/layout/email.html.heex index afed40a..bd594bb 100644 --- a/lib/memex_web/templates/layout/email.html.heex +++ b/lib/memex_web/templates/layout/email.html.heex @@ -4,15 +4,15 @@ <%= @email.subject %> - + <%= @inner_content %> -
+
- + <%= dgettext( "emails", - "This email was sent from Memex, the self-hosted firearm tracker website." + "This email was sent from memEx" ) %> diff --git a/lib/memex_web/templates/layout/email.txt.eex b/lib/memex_web/templates/layout/email.txt.eex index 335ca3a..2ba3e7b 100644 --- a/lib/memex_web/templates/layout/email.txt.eex +++ b/lib/memex_web/templates/layout/email.txt.eex @@ -7,5 +7,5 @@ ===================== <%= dgettext("emails", - "This email was sent from Memex at %{url}, the self-hosted firearm tracker website.", + "This email was sent from memEx at %{url}", url: Routes.live_url(Endpoint, HomeLive)) %> diff --git a/priv/gettext/emails.pot b/priv/gettext/emails.pot index 5eae8ec..a3cf0fb 100644 --- a/priv/gettext/emails.pot +++ b/priv/gettext/emails.pot @@ -52,16 +52,6 @@ msgstr "" msgid "Reset your Memex password" msgstr "" -#: lib/memex_web/templates/layout/email.txt.eex:9 -#, elixir-autogen, elixir-format -msgid "This email was sent from Memex at %{url}, the self-hosted firearm tracker website." -msgstr "" - -#: lib/memex_web/templates/layout/email.html.heex:13 -#, elixir-autogen, elixir-format -msgid "This email was sent from Memex, the self-hosted firearm tracker website." -msgstr "" - #: lib/memex/accounts/email.ex:44 #, elixir-autogen, elixir-format msgid "Update your Memex email" @@ -90,3 +80,13 @@ msgstr "" #, elixir-autogen, elixir-format msgid "You can reset your password by visiting the URL below:" msgstr "" + +#: lib/memex_web/templates/layout/email.html.heex:13 +#, elixir-autogen, elixir-format +msgid "This email was sent from memEx" +msgstr "" + +#: lib/memex_web/templates/layout/email.txt.eex:9 +#, elixir-autogen, elixir-format +msgid "This email was sent from memEx at %{url}" +msgstr ""