Fix translations and enable i18n testing

This commit is contained in:
2023-05-14 16:37:53 +02:00
parent 3509cd409c
commit e4f595a329
9 changed files with 33 additions and 33 deletions

View File

@@ -21,9 +21,9 @@
<%= f.select :status, User.statuses, readonly: true %>
<%= f.password_field :password, size: 30, autocomplete: "off",
hint: t('.blank_password_hint_html',
subhint: t('.minimum_length_hint_html', count: @minimum_password_length)) %>
hint: t(".blank_password_hint_html",
subhint: t(".minimum_length_hint_html", count: @minimum_password_length)) %>
<%= f.password_field :password_confirmation, size: 30, autocomplete: "off" %>
<%= f.submit t('.update') %>
<%= f.submit t(".update") %>
<% end %>

View File

@@ -3,7 +3,7 @@
<%= f.password_field :password, required: true, size: 30, minlength: @minimum_password_length,
autocomplete: "new-password",
hint: ("(#{@minimum_password_length} characters minimum)" if @minimum_password_length) %>
<%= f.password_field :password_confirmation, label: t('.password_confirmation'),
<%= f.password_field :password_confirmation, label: t(".password_confirmation"),
required: true, size: 30, autocomplete: "new-password" %>
<%= f.submit t(:register) %>