fix missing gettexts

This commit is contained in:
shibao 2023-02-25 00:39:02 -05:00 committed by oliviasculley
parent ad1e44fd42
commit eb9280fa7e
8 changed files with 43 additions and 9 deletions

View File

@ -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"),

View File

@ -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") %>

View File

@ -13,11 +13,11 @@
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>
</p>
<%= 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,

View File

@ -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"),

View File

@ -14,10 +14,10 @@
<%= @error_message %>
</p>
<%= 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"),

View File

@ -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") %>

View File

@ -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 ""

View File

@ -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 ""