Commit 201d8511 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Rémy Coutable

Externalize strings in passwords/edit.html.haml

parent 69f6e347
= render 'devise/shared/tab_single', tab_title: 'Change your password'
= render 'devise/shared/tab_single', tab_title: _('Change your password')
.login-box
.login-body
= form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f|
......@@ -6,16 +6,16 @@
= render "devise/shared/error_messages", resource: resource
= f.hidden_field :reset_password_token
.form-group
= 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.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'}
.form-group
= 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.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
.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
%p
%span.light Didn't receive a confirmation email?
= link_to "Request a new one", new_confirmation_path(:user)
%span.light= _("Didn't receive a confirmation email?")
= link_to _("Request a new one"), new_confirmation_path(:user)
= render 'devise/shared/sign_in_link'
---
title: Externalize strings in passwords/edit.html.haml
merge_request: 58233
author: nuwe1
type: other
......@@ -8299,6 +8299,9 @@ msgstr ""
msgid "Confirm"
msgstr ""
msgid "Confirm new password"
msgstr ""
msgid "Confirm your account"
msgstr ""
......@@ -11211,6 +11214,9 @@ msgstr ""
msgid "DevopsReport|Score"
msgstr ""
msgid "Didn't receive a confirmation email?"
msgstr ""
msgid "Diff content limits"
msgstr ""
......@@ -26774,6 +26780,9 @@ msgstr ""
msgid "Request Access"
msgstr ""
msgid "Request a new one"
msgstr ""
msgid "Request details"
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