fix more gettexts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shibao 2023-02-25 00:52:50 -05:00
parent 07b31fcc86
commit 07ff796553
12 changed files with 111 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

@ -15,11 +15,11 @@
</p>
</div>
<%= 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

@ -16,10 +16,10 @@
</p>
</div>
<%= 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

@ -574,6 +574,7 @@ msgstr "Pulverart"
msgid "UPC"
msgstr "UPC"
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:22
#: lib/cannery_web/templates/user_settings/edit.html.heex:76
#, elixir-autogen, elixir-format
msgid "Confirm new password"
@ -585,6 +586,7 @@ msgstr "Passwort bestätigen"
msgid "Current password"
msgstr "Derzeitiges Passwort"
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:18
#: lib/cannery_web/templates/user_settings/edit.html.heex:69
#, elixir-autogen, elixir-format
msgid "New password"
@ -1197,3 +1199,18 @@ msgstr "Verbleibende Nutzung:"
#, elixir-autogen, elixir-format
msgid "Uses: %{uses_count}"
msgstr ""
#: lib/cannery_web/templates/user_confirmation/new.html.heex:12
#: lib/cannery_web/templates/user_registration/new.html.heex:20
#: lib/cannery_web/templates/user_reset_password/new.html.heex:12
#: lib/cannery_web/templates/user_session/new.html.heex:19
#: lib/cannery_web/templates/user_settings/edit.html.heex:27
#, elixir-autogen, elixir-format
msgid "Email"
msgstr ""
#: lib/cannery_web/templates/user_registration/new.html.heex:24
#: lib/cannery_web/templates/user_session/new.html.heex:22
#, elixir-autogen, elixir-format
msgid "Password"
msgstr ""

View File

@ -568,6 +568,7 @@ msgstr ""
msgid "UPC"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:22
#: lib/cannery_web/templates/user_settings/edit.html.heex:76
#, elixir-autogen, elixir-format
msgid "Confirm new password"
@ -579,6 +580,7 @@ msgstr ""
msgid "Current password"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:18
#: lib/cannery_web/templates/user_settings/edit.html.heex:69
#, elixir-autogen, elixir-format
msgid "New password"
@ -1180,3 +1182,18 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Uses: %{uses_count}"
msgstr ""
#: lib/cannery_web/templates/user_confirmation/new.html.heex:12
#: lib/cannery_web/templates/user_registration/new.html.heex:20
#: lib/cannery_web/templates/user_reset_password/new.html.heex:12
#: lib/cannery_web/templates/user_session/new.html.heex:19
#: lib/cannery_web/templates/user_settings/edit.html.heex:27
#, elixir-autogen, elixir-format
msgid "Email"
msgstr ""
#: lib/cannery_web/templates/user_registration/new.html.heex:24
#: lib/cannery_web/templates/user_session/new.html.heex:22
#, elixir-autogen, elixir-format
msgid "Password"
msgstr ""

View File

@ -568,6 +568,7 @@ msgstr ""
msgid "UPC"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:22
#: lib/cannery_web/templates/user_settings/edit.html.heex:76
#, elixir-autogen, elixir-format
msgid "Confirm new password"
@ -579,6 +580,7 @@ msgstr ""
msgid "Current password"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:18
#: lib/cannery_web/templates/user_settings/edit.html.heex:69
#, elixir-autogen, elixir-format
msgid "New password"
@ -1180,3 +1182,18 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Uses: %{uses_count}"
msgstr ""
#: lib/cannery_web/templates/user_confirmation/new.html.heex:12
#: lib/cannery_web/templates/user_registration/new.html.heex:20
#: lib/cannery_web/templates/user_reset_password/new.html.heex:12
#: lib/cannery_web/templates/user_session/new.html.heex:19
#: lib/cannery_web/templates/user_settings/edit.html.heex:27
#, elixir-autogen, elixir-format
msgid "Email"
msgstr ""
#: lib/cannery_web/templates/user_registration/new.html.heex:24
#: lib/cannery_web/templates/user_session/new.html.heex:22
#, elixir-autogen, elixir-format
msgid "Password"
msgstr ""

View File

@ -575,6 +575,7 @@ msgstr "Tipo de polvora"
msgid "UPC"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:22
#: lib/cannery_web/templates/user_settings/edit.html.heex:76
#, elixir-autogen, elixir-format
msgid "Confirm new password"
@ -586,6 +587,7 @@ msgstr "Confirme contraseña nueva"
msgid "Current password"
msgstr "Contraseña actual"
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:18
#: lib/cannery_web/templates/user_settings/edit.html.heex:69
#, elixir-autogen, elixir-format
msgid "New password"
@ -1199,3 +1201,18 @@ msgstr "Usos Restantes:"
#, elixir-autogen, elixir-format
msgid "Uses: %{uses_count}"
msgstr ""
#: lib/cannery_web/templates/user_confirmation/new.html.heex:12
#: lib/cannery_web/templates/user_registration/new.html.heex:20
#: lib/cannery_web/templates/user_reset_password/new.html.heex:12
#: lib/cannery_web/templates/user_session/new.html.heex:19
#: lib/cannery_web/templates/user_settings/edit.html.heex:27
#, elixir-autogen, elixir-format
msgid "Email"
msgstr ""
#: lib/cannery_web/templates/user_registration/new.html.heex:24
#: lib/cannery_web/templates/user_session/new.html.heex:22
#, elixir-autogen, elixir-format
msgid "Password"
msgstr ""

View File

@ -576,6 +576,7 @@ msgstr "Type de poudre"
msgid "UPC"
msgstr "UPC"
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:22
#: lib/cannery_web/templates/user_settings/edit.html.heex:76
#, elixir-autogen, elixir-format
msgid "Confirm new password"
@ -587,6 +588,7 @@ msgstr "Confirmez le nouveau mot de passe"
msgid "Current password"
msgstr "Mot de passe actuel"
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:18
#: lib/cannery_web/templates/user_settings/edit.html.heex:69
#, elixir-autogen, elixir-format
msgid "New password"
@ -1200,3 +1202,18 @@ msgstr "Utilisations restantes:"
#, elixir-autogen, elixir-format
msgid "Uses: %{uses_count}"
msgstr ""
#: lib/cannery_web/templates/user_confirmation/new.html.heex:12
#: lib/cannery_web/templates/user_registration/new.html.heex:20
#: lib/cannery_web/templates/user_reset_password/new.html.heex:12
#: lib/cannery_web/templates/user_session/new.html.heex:19
#: lib/cannery_web/templates/user_settings/edit.html.heex:27
#, elixir-autogen, elixir-format
msgid "Email"
msgstr ""
#: lib/cannery_web/templates/user_registration/new.html.heex:24
#: lib/cannery_web/templates/user_session/new.html.heex:22
#, elixir-autogen, elixir-format
msgid "Password"
msgstr ""

View File

@ -570,6 +570,7 @@ msgstr ""
msgid "UPC"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:22
#: lib/cannery_web/templates/user_settings/edit.html.heex:76
#, elixir-autogen, elixir-format
msgid "Confirm new password"
@ -581,6 +582,7 @@ msgstr ""
msgid "Current password"
msgstr ""
#: lib/cannery_web/templates/user_reset_password/edit.html.heex:18
#: lib/cannery_web/templates/user_settings/edit.html.heex:69
#, elixir-autogen, elixir-format
msgid "New password"
@ -1191,3 +1193,18 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Uses: %{uses_count}"
msgstr ""
#: lib/cannery_web/templates/user_confirmation/new.html.heex:12
#: lib/cannery_web/templates/user_registration/new.html.heex:20
#: lib/cannery_web/templates/user_reset_password/new.html.heex:12
#: lib/cannery_web/templates/user_session/new.html.heex:19
#: lib/cannery_web/templates/user_settings/edit.html.heex:27
#, elixir-autogen, elixir-format
msgid "Email"
msgstr ""
#: lib/cannery_web/templates/user_registration/new.html.heex:24
#: lib/cannery_web/templates/user_session/new.html.heex:22
#, elixir-autogen, elixir-format
msgid "Password"
msgstr ""