use embed templates suffix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shibao 2023-04-14 18:45:12 -04:00
parent 96e155a49a
commit 35de8a6395
10 changed files with 62 additions and 61 deletions

View File

@ -5,5 +5,6 @@ defmodule MemexWeb.EmailHTML do
use MemexWeb, :html
embed_templates "email_html/*"
embed_templates "email_html/*.html", suffix: "_html"
embed_templates "email_html/*.txt", suffix: "_text"
end

View File

@ -10,58 +10,58 @@ msgid ""
msgstr ""
"Language: de\n"
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:3
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:2
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:3
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:2
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:3
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:2
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:3
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:2
#: lib/memex_web/controllers/email_html/reset_password.html.heex:3
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:2
#: lib/memex_web/controllers/email_html/update_email.html.heex:3
#: lib/memex_web/controllers/email_html/update_email.txt.eex:2
#, elixir-autogen, elixir-format
msgid "Hi %{email},"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:10
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:10
#, elixir-autogen, elixir-format
msgid "If you didn't create an account at %{url}, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:8
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:8
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:8
#: lib/memex_web/controllers/email_html/update_email.txt.eex:8
#, elixir-autogen, elixir-format
msgid "If you didn't request this change from %{url}, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:8
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:4
#: lib/memex_web/controllers/email_html/update_email.html.heex:8
#: lib/memex_web/controllers/email_html/update_email.txt.eex:4
#, elixir-autogen, elixir-format
msgid "You can change your email by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:14
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:6
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:14
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:6
#, elixir-autogen, elixir-format
msgid "You can confirm your account by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:8
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:4
#: lib/memex_web/controllers/email_html/reset_password.html.heex:8
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:4
#, elixir-autogen, elixir-format
msgid "You can reset your password by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:22
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:22
#, elixir-autogen, elixir-format, fuzzy
msgid "If you didn't create an account at memEx, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:16
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:16
#: lib/memex_web/controllers/email_html/reset_password.html.heex:16
#: lib/memex_web/controllers/email_html/update_email.html.heex:16
#, elixir-autogen, elixir-format, fuzzy
msgid "If you didn't request this change from memEx, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:9
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:4
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:9
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:4
#, elixir-autogen, elixir-format, fuzzy
msgid "Welcome to memEx"
msgstr ""

View File

@ -10,58 +10,58 @@
msgid ""
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:3
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:2
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:3
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:2
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:3
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:2
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:3
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:2
#: lib/memex_web/controllers/email_html/reset_password.html.heex:3
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:2
#: lib/memex_web/controllers/email_html/update_email.html.heex:3
#: lib/memex_web/controllers/email_html/update_email.txt.eex:2
#, elixir-autogen, elixir-format
msgid "Hi %{email},"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:10
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:10
#, elixir-autogen, elixir-format
msgid "If you didn't create an account at %{url}, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:8
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:8
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:8
#: lib/memex_web/controllers/email_html/update_email.txt.eex:8
#, elixir-autogen, elixir-format
msgid "If you didn't request this change from %{url}, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:8
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:4
#: lib/memex_web/controllers/email_html/update_email.html.heex:8
#: lib/memex_web/controllers/email_html/update_email.txt.eex:4
#, elixir-autogen, elixir-format
msgid "You can change your email by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:14
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:6
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:14
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:6
#, elixir-autogen, elixir-format
msgid "You can confirm your account by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:8
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:4
#: lib/memex_web/controllers/email_html/reset_password.html.heex:8
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:4
#, elixir-autogen, elixir-format
msgid "You can reset your password by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:22
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:22
#, elixir-autogen, elixir-format
msgid "If you didn't create an account at memEx, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:16
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:16
#: lib/memex_web/controllers/email_html/reset_password.html.heex:16
#: lib/memex_web/controllers/email_html/update_email.html.heex:16
#, elixir-autogen, elixir-format
msgid "If you didn't request this change from memEx, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:9
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:4
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:9
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:4
#, elixir-autogen, elixir-format
msgid "Welcome to memEx"
msgstr ""

View File

@ -11,58 +11,58 @@ msgstr ""
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:3
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:2
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:3
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:2
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:3
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:2
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:3
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:2
#: lib/memex_web/controllers/email_html/reset_password.html.heex:3
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:2
#: lib/memex_web/controllers/email_html/update_email.html.heex:3
#: lib/memex_web/controllers/email_html/update_email.txt.eex:2
#, elixir-autogen, elixir-format
msgid "Hi %{email},"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:10
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:10
#, elixir-autogen, elixir-format
msgid "If you didn't create an account at %{url}, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:8
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:8
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:8
#: lib/memex_web/controllers/email_html/update_email.txt.eex:8
#, elixir-autogen, elixir-format
msgid "If you didn't request this change from %{url}, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:8
#: lib/memex_web/controllers/email_html/update_email_text.txt.eex:4
#: lib/memex_web/controllers/email_html/update_email.html.heex:8
#: lib/memex_web/controllers/email_html/update_email.txt.eex:4
#, elixir-autogen, elixir-format
msgid "You can change your email by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:14
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:6
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:14
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:6
#, elixir-autogen, elixir-format
msgid "You can confirm your account by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:8
#: lib/memex_web/controllers/email_html/reset_password_text.txt.eex:4
#: lib/memex_web/controllers/email_html/reset_password.html.heex:8
#: lib/memex_web/controllers/email_html/reset_password.txt.eex:4
#, elixir-autogen, elixir-format
msgid "You can reset your password by visiting the URL below:"
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:22
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:22
#, elixir-autogen, elixir-format
msgid "If you didn't create an account at memEx, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/reset_password_html.html.heex:16
#: lib/memex_web/controllers/email_html/update_email_html.html.heex:16
#: lib/memex_web/controllers/email_html/reset_password.html.heex:16
#: lib/memex_web/controllers/email_html/update_email.html.heex:16
#, elixir-autogen, elixir-format
msgid "If you didn't request this change from memEx, please ignore this."
msgstr ""
#: lib/memex_web/controllers/email_html/confirm_email_html.html.heex:9
#: lib/memex_web/controllers/email_html/confirm_email_text.txt.eex:4
#: lib/memex_web/controllers/email_html/confirm_email.html.heex:9
#: lib/memex_web/controllers/email_html/confirm_email.txt.eex:4
#, elixir-autogen, elixir-format
msgid "Welcome to memEx"
msgstr ""