diff --git a/lib/lokal_web/templates/user_confirmation/new.html.heex b/lib/lokal_web/templates/user_confirmation/new.html.heex index 0408945..6d72fe0 100644 --- a/lib/lokal_web/templates/user_confirmation/new.html.heex +++ b/lib/lokal_web/templates/user_confirmation/new.html.heex @@ -9,7 +9,7 @@ action={Routes.user_confirmation_path(@conn, :create)} class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" > - <%= label(f, :email, class: "title text-lg text-primary-600") %> + <%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> <%= submit(dgettext("actions", "Resend confirmation instructions"), diff --git a/lib/lokal_web/templates/user_registration/new.html.heex b/lib/lokal_web/templates/user_registration/new.html.heex index 82ff3bd..efa30fb 100644 --- a/lib/lokal_web/templates/user_registration/new.html.heex +++ b/lib/lokal_web/templates/user_registration/new.html.heex @@ -17,11 +17,11 @@ <%= hidden_input(f, :invite_token, value: @invite_token) %> <% end %> - <%= label(f, :email, class: "title text-lg text-primary-600") %> + <%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> <%= error_tag(f, :email, "col-span-3") %> - <%= label(f, :password, class: "title text-lg text-primary-600") %> + <%= label(f, :password, gettext("Password"), class: "title text-lg text-primary-600") %> <%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %> <%= error_tag(f, :password, "col-span-3") %> diff --git a/lib/lokal_web/templates/user_reset_password/edit.html.heex b/lib/lokal_web/templates/user_reset_password/edit.html.heex index f0a54b9..d116a39 100644 --- a/lib/lokal_web/templates/user_reset_password/edit.html.heex +++ b/lib/lokal_web/templates/user_reset_password/edit.html.heex @@ -13,11 +13,11 @@ <%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>

- <%= label(f, :password, "New password", class: "title text-lg text-primary-600") %> + <%= label(f, :password, gettext("New password"), class: "title text-lg text-primary-600") %> <%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %> <%= error_tag(f, :password, "col-span-3") %> - <%= label(f, :password_confirmation, "Confirm new password", + <%= label(f, :password_confirmation, gettext("Confirm new password"), class: "title text-lg text-primary-600" ) %> <%= password_input(f, :password_confirmation, diff --git a/lib/lokal_web/templates/user_reset_password/new.html.heex b/lib/lokal_web/templates/user_reset_password/new.html.heex index facedaa..3c18a58 100644 --- a/lib/lokal_web/templates/user_reset_password/new.html.heex +++ b/lib/lokal_web/templates/user_reset_password/new.html.heex @@ -9,7 +9,7 @@ action={Routes.user_reset_password_path(@conn, :create)} class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" > - <%= label(f, :email, class: "title text-lg text-primary-600") %> + <%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> <%= submit(dgettext("actions", "Send instructions to reset password"), diff --git a/lib/lokal_web/templates/user_session/new.html.heex b/lib/lokal_web/templates/user_session/new.html.heex index ff5ba34..0e3539f 100644 --- a/lib/lokal_web/templates/user_session/new.html.heex +++ b/lib/lokal_web/templates/user_session/new.html.heex @@ -14,10 +14,10 @@ <%= @error_message %>

- <%= label(f, :email, class: "title text-lg text-primary-600") %> + <%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> - <%= label(f, :password, class: "title text-lg text-primary-600") %> + <%= label(f, :password, gettext("Password"), class: "title text-lg text-primary-600") %> <%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %> <%= label(f, :remember_me, gettext("Keep me logged in for 60 days"), diff --git a/lib/lokal_web/templates/user_settings/edit.html.heex b/lib/lokal_web/templates/user_settings/edit.html.heex index 87df5d3..03ab3a8 100644 --- a/lib/lokal_web/templates/user_settings/edit.html.heex +++ b/lib/lokal_web/templates/user_settings/edit.html.heex @@ -24,7 +24,7 @@ <%= hidden_input(f, :action, name: "action", value: "update_email") %> - <%= label(f, :email, class: "title text-lg text-primary-600") %> + <%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "mx-2 my-1 input input-primary col-span-2") %> <%= error_tag(f, :email, "col-span-3") %> diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 94a6845..092d2ff 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -10,6 +10,7 @@ msgid "" msgstr "" +#: lib/lokal_web/templates/user_reset_password/edit.html.heex:20 #: lib/lokal_web/templates/user_settings/edit.html.heex:76 #, elixir-autogen, elixir-format msgid "Confirm new password" @@ -53,6 +54,7 @@ msgstr "" msgid "Log in" msgstr "" +#: lib/lokal_web/templates/user_reset_password/edit.html.heex:16 #: lib/lokal_web/templates/user_settings/edit.html.heex:69 #, elixir-autogen, elixir-format msgid "New password" @@ -283,3 +285,18 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Uses: %{uses_count}" msgstr "" + +#: lib/lokal_web/templates/user_confirmation/new.html.heex:12 +#: lib/lokal_web/templates/user_registration/new.html.heex:20 +#: lib/lokal_web/templates/user_reset_password/new.html.heex:12 +#: lib/lokal_web/templates/user_session/new.html.heex:17 +#: lib/lokal_web/templates/user_settings/edit.html.heex:27 +#, elixir-autogen, elixir-format +msgid "Email" +msgstr "" + +#: lib/lokal_web/templates/user_registration/new.html.heex:24 +#: lib/lokal_web/templates/user_session/new.html.heex:20 +#, elixir-autogen, elixir-format +msgid "Password" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index c384ce4..5a1e66b 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -10,6 +10,7 @@ msgid "" msgstr "" "Language: en\n" +#: lib/lokal_web/templates/user_reset_password/edit.html.heex:20 #: lib/lokal_web/templates/user_settings/edit.html.heex:76 #, elixir-autogen, elixir-format msgid "Confirm new password" @@ -53,6 +54,7 @@ msgstr "" msgid "Log in" msgstr "" +#: lib/lokal_web/templates/user_reset_password/edit.html.heex:16 #: lib/lokal_web/templates/user_settings/edit.html.heex:69 #, elixir-autogen, elixir-format msgid "New password" @@ -283,3 +285,18 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Uses: %{uses_count}" msgstr "" + +#: lib/lokal_web/templates/user_confirmation/new.html.heex:12 +#: lib/lokal_web/templates/user_registration/new.html.heex:20 +#: lib/lokal_web/templates/user_reset_password/new.html.heex:12 +#: lib/lokal_web/templates/user_session/new.html.heex:17 +#: lib/lokal_web/templates/user_settings/edit.html.heex:27 +#, elixir-autogen, elixir-format +msgid "Email" +msgstr "" + +#: lib/lokal_web/templates/user_registration/new.html.heex:24 +#: lib/lokal_web/templates/user_session/new.html.heex:20 +#, elixir-autogen, elixir-format +msgid "Password" +msgstr ""