Commit 35a30751 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'Externalize-strings-in-passwords/edit.html.haml' into 'master'

Externalize strings in passwords/edit.html.haml

See merge request gitlab-org/gitlab!58233
parents 1032d5ab 201d8511
= render 'devise/shared/tab_single', tab_title: 'Change your password' = render 'devise/shared/tab_single', tab_title: _('Change your password')
.login-box .login-box
.login-body .login-body
= form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f| = form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f|
...@@ -6,16 +6,16 @@ ...@@ -6,16 +6,16 @@
= render "devise/shared/error_messages", resource: resource = render "devise/shared/error_messages", resource: resource
= f.hidden_field :reset_password_token = f.hidden_field :reset_password_token
.form-group .form-group
= f.label 'New password', for: "user_password" = f.label _('New password'), for: "user_password"
= f.password_field :password, class: "form-control gl-form-input top", required: true, title: 'This field is required', data: { qa_selector: 'password_field'} = f.password_field :password, class: "form-control gl-form-input top", required: true, title: _('This field is required.'), data: { qa_selector: 'password_field'}
.form-group .form-group
= f.label 'Confirm new password', for: "user_password_confirmation" = f.label _('Confirm new password'), for: "user_password_confirmation"
= f.password_field :password_confirmation, class: "form-control gl-form-input bottom", title: 'This field is required', data: { qa_selector: 'password_confirmation_field' }, required: true = f.password_field :password_confirmation, class: "form-control gl-form-input bottom", title: _('This field is required.'), data: { qa_selector: 'password_confirmation_field' }, required: true
.clearfix .clearfix
= f.submit "Change your password", class: "gl-button btn btn-confirm", data: { qa_selector: 'change_password_button' } = f.submit _("Change your password"), class: "gl-button btn btn-confirm", data: { qa_selector: 'change_password_button' }
.clearfix.prepend-top-20 .clearfix.prepend-top-20
%p %p
%span.light Didn't receive a confirmation email? %span.light= _("Didn't receive a confirmation email?")
= link_to "Request a new one", new_confirmation_path(:user) = link_to _("Request a new one"), new_confirmation_path(:user)
= render 'devise/shared/sign_in_link' = render 'devise/shared/sign_in_link'
---
title: Externalize strings in passwords/edit.html.haml
merge_request: 58233
author: nuwe1
type: other
...@@ -8305,6 +8305,9 @@ msgstr "" ...@@ -8305,6 +8305,9 @@ msgstr ""
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
msgid "Confirm new password"
msgstr ""
msgid "Confirm your account" msgid "Confirm your account"
msgstr "" msgstr ""
...@@ -11220,6 +11223,9 @@ msgstr "" ...@@ -11220,6 +11223,9 @@ msgstr ""
msgid "DevopsReport|Score" msgid "DevopsReport|Score"
msgstr "" msgstr ""
msgid "Didn't receive a confirmation email?"
msgstr ""
msgid "Diff content limits" msgid "Diff content limits"
msgstr "" msgstr ""
...@@ -26792,6 +26798,9 @@ msgstr "" ...@@ -26792,6 +26798,9 @@ msgstr ""
msgid "Request Access" msgid "Request Access"
msgstr "" msgstr ""
msgid "Request a new one"
msgstr ""
msgid "Request details" msgid "Request details"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment