summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2019-02-18 13:26:36 +0200
committermfluharty <mfluharty@gitlab.com>2019-02-20 11:20:33 -0700
commit6b2fa983d7b8ddd9a7e936980f8086f285d1b358 (patch)
tree7366545ce278669037999b4c73a4e80e6f61719e
parent39c51500a21d342dfb0967460c68babfd265dbcc (diff)
downloadgitlab-ce-6b2fa983d7b8ddd9a7e936980f8086f285d1b358.tar.gz
Add externalized strings for new password form
-rw-r--r--app/views/profiles/passwords/new.html.haml4
-rw-r--r--locale/gitlab.pot6
2 files changed, 8 insertions, 2 deletions
diff --git a/app/views/profiles/passwords/new.html.haml b/app/views/profiles/passwords/new.html.haml
index 467bb2bcdf0..4b84835429c 100644
--- a/app/views/profiles/passwords/new.html.haml
+++ b/app/views/profiles/passwords/new.html.haml
@@ -5,9 +5,9 @@
%hr
= form_for @user, url: profile_password_path, method: :post do |f|
%p.slead
- Please set a new password before proceeding.
+ = _('Please set a new password before proceeding.')
%br
- After a successful password update you will be redirected to login screen.
+ = _('After a successful password update you will be redirected to login screen.')
= form_errors(@user)
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 087faede69d..bf12aed99aa 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -528,6 +528,9 @@ msgstr ""
msgid "Advanced settings"
msgstr ""
+msgid "After a successful password update you will be redirected to login screen."
+msgstr ""
+
msgid "All"
msgstr ""
@@ -5491,6 +5494,9 @@ msgstr ""
msgid "Please select at least one filter to see results"
msgstr ""
+msgid "Please set a new password before proceeding."
+msgstr ""
+
msgid "Please solve the reCAPTCHA"
msgstr ""