summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/my_controller.rb2
-rw-r--r--config/locales/ar.yml2
-rw-r--r--config/locales/az.yml2
-rw-r--r--config/locales/bg.yml2
-rw-r--r--config/locales/bs.yml2
-rw-r--r--config/locales/ca.yml2
-rw-r--r--config/locales/cs.yml2
-rw-r--r--config/locales/da.yml2
-rw-r--r--config/locales/de.yml2
-rw-r--r--config/locales/el.yml2
-rw-r--r--config/locales/en-GB.yml2
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/locales/es.yml2
-rw-r--r--config/locales/et.yml2
-rw-r--r--config/locales/eu.yml2
-rw-r--r--config/locales/fa.yml2
-rw-r--r--config/locales/fi.yml2
-rw-r--r--config/locales/fr.yml1
-rw-r--r--config/locales/gl.yml2
-rw-r--r--config/locales/he.yml2
-rw-r--r--config/locales/hr.yml2
-rw-r--r--config/locales/hu.yml2
-rw-r--r--config/locales/id.yml2
-rw-r--r--config/locales/it.yml2
-rw-r--r--config/locales/ja.yml2
-rw-r--r--config/locales/ko.yml2
-rw-r--r--config/locales/lt.yml2
-rw-r--r--config/locales/lv.yml2
-rw-r--r--config/locales/mk.yml2
-rw-r--r--config/locales/mn.yml2
-rw-r--r--config/locales/nl.yml2
-rw-r--r--config/locales/no.yml2
-rw-r--r--config/locales/pl.yml2
-rw-r--r--config/locales/pt-BR.yml2
-rw-r--r--config/locales/pt.yml2
-rw-r--r--config/locales/ro.yml2
-rw-r--r--config/locales/ru.yml2
-rw-r--r--config/locales/sk.yml2
-rw-r--r--config/locales/sl.yml2
-rw-r--r--config/locales/sq.yml2
-rw-r--r--config/locales/sr-YU.yml2
-rw-r--r--config/locales/sr.yml2
-rw-r--r--config/locales/sv.yml2
-rw-r--r--config/locales/th.yml2
-rw-r--r--config/locales/tr.yml2
-rw-r--r--config/locales/uk.yml2
-rw-r--r--config/locales/vi.yml2
-rw-r--r--config/locales/zh-TW.yml2
-rw-r--r--config/locales/zh.yml2
49 files changed, 95 insertions, 1 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb
index 82532918a..679aee38c 100644
--- a/app/controllers/my_controller.rb
+++ b/app/controllers/my_controller.rb
@@ -95,7 +95,7 @@ class MyController < ApplicationController
if !@user.check_password?(params[:password])
flash.now[:error] = l(:notice_account_wrong_password)
elsif params[:password] == params[:new_password]
- flash.now[:error] = 'Your new password must be different from your current password'
+ flash.now[:error] = l(:notice_new_password_must_be_different)
else
@user.password, @user.password_confirmation = params[:new_password], params[:new_password_confirmation]
@user.must_change_passwd = false
diff --git a/config/locales/ar.yml b/config/locales/ar.yml
index 5730bc07c..68712ce3a 100644
--- a/config/locales/ar.yml
+++ b/config/locales/ar.yml
@@ -1097,3 +1097,5 @@ ar:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/az.yml b/config/locales/az.yml
index 45ad7503a..fa6f778e5 100644
--- a/config/locales/az.yml
+++ b/config/locales/az.yml
@@ -1194,3 +1194,5 @@ az:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/bg.yml b/config/locales/bg.yml
index 731809079..111163848 100644
--- a/config/locales/bg.yml
+++ b/config/locales/bg.yml
@@ -1095,3 +1095,5 @@ bg:
description_date_to: Въведете крайна дата
text_repository_identifier_info: 'Позволени са малки букви (a-z), цифри, тирета и _.<br />Промяна след създаването му не е възможна.'
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/bs.yml b/config/locales/bs.yml
index 859f13dd4..21da6a1ed 100644
--- a/config/locales/bs.yml
+++ b/config/locales/bs.yml
@@ -1110,3 +1110,5 @@ bs:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/ca.yml b/config/locales/ca.yml
index 1df7a6e0b..5c75bc2ef 100644
--- a/config/locales/ca.yml
+++ b/config/locales/ca.yml
@@ -1099,3 +1099,5 @@ ca:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/cs.yml b/config/locales/cs.yml
index a1c394ba6..0dc060255 100644
--- a/config/locales/cs.yml
+++ b/config/locales/cs.yml
@@ -1101,3 +1101,5 @@ cs:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/da.yml b/config/locales/da.yml
index 66488da75..f364dcae0 100644
--- a/config/locales/da.yml
+++ b/config/locales/da.yml
@@ -1114,3 +1114,5 @@ da:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/de.yml b/config/locales/de.yml
index d56cf9038..04d0cf1c3 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -1109,3 +1109,5 @@ de:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/el.yml b/config/locales/el.yml
index be77c676c..afe27fb8e 100644
--- a/config/locales/el.yml
+++ b/config/locales/el.yml
@@ -1097,3 +1097,5 @@ el:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml
index 8d9efbc34..f8dc8f5cb 100644
--- a/config/locales/en-GB.yml
+++ b/config/locales/en-GB.yml
@@ -1099,3 +1099,5 @@ en-GB:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e63a724cb..6db126283 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -181,6 +181,7 @@ en:
notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it."
notice_account_deleted: "Your account has been permanently deleted."
notice_user_successful_create: "User %{id} created."
+ notice_new_password_must_be_different: The new password must be different from the current password
error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
error_scm_not_found: "The entry or revision was not found in the repository."
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 7c57fc31f..7b54d367c 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -1133,3 +1133,5 @@ es:
label_visibility_roles: solamente para estos roles
label_visibility_public: para cualquier usuario
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/et.yml b/config/locales/et.yml
index 05f2db6e0..032f2ef69 100644
--- a/config/locales/et.yml
+++ b/config/locales/et.yml
@@ -1110,3 +1110,5 @@ et:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/eu.yml b/config/locales/eu.yml
index e7de3cce5..97d1aa2b2 100644
--- a/config/locales/eu.yml
+++ b/config/locales/eu.yml
@@ -1098,3 +1098,5 @@ eu:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/fa.yml b/config/locales/fa.yml
index edc9afd24..51d8aa962 100644
--- a/config/locales/fa.yml
+++ b/config/locales/fa.yml
@@ -1099,3 +1099,5 @@ fa:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/fi.yml b/config/locales/fi.yml
index 36b89826f..bcd08e39c 100644
--- a/config/locales/fi.yml
+++ b/config/locales/fi.yml
@@ -1118,3 +1118,5 @@ fi:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index c2e72c45b..71d4f776f 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -196,6 +196,7 @@ fr:
notice_issue_update_conflict: "La demande a été mise à jour par un autre utilisateur pendant que vous la modifiez."
notice_account_deleted: "Votre compte a été définitivement supprimé."
notice_user_successful_create: "Utilisateur %{id} créé."
+ notice_new_password_must_be_different: Votre nouveau mot de passe doit être différent de votre mot de passe actuel
error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramétrage : %{value}"
error_scm_not_found: "L'entrée et/ou la révision demandée n'existe pas dans le dépôt."
diff --git a/config/locales/gl.yml b/config/locales/gl.yml
index 06bbb7158..a9d802d77 100644
--- a/config/locales/gl.yml
+++ b/config/locales/gl.yml
@@ -1108,3 +1108,5 @@ gl:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/he.yml b/config/locales/he.yml
index 0740e58e0..e3e6a1b6a 100644
--- a/config/locales/he.yml
+++ b/config/locales/he.yml
@@ -1102,3 +1102,5 @@ he:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/hr.yml b/config/locales/hr.yml
index 08851db80..a0eaac8d1 100644
--- a/config/locales/hr.yml
+++ b/config/locales/hr.yml
@@ -1098,3 +1098,5 @@ hr:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/hu.yml b/config/locales/hu.yml
index 491b5033f..e68792024 100644
--- a/config/locales/hu.yml
+++ b/config/locales/hu.yml
@@ -1116,3 +1116,5 @@
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/id.yml b/config/locales/id.yml
index 315912ba3..a96442de1 100644
--- a/config/locales/id.yml
+++ b/config/locales/id.yml
@@ -1101,3 +1101,5 @@ id:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/it.yml b/config/locales/it.yml
index ce0b68123..4c11743ff 100644
--- a/config/locales/it.yml
+++ b/config/locales/it.yml
@@ -1096,3 +1096,5 @@ it:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/ja.yml b/config/locales/ja.yml
index dd2f3642c..f93f9c6e8 100644
--- a/config/locales/ja.yml
+++ b/config/locales/ja.yml
@@ -1125,3 +1125,5 @@ ja:
label_visibility_roles: 以下のロールのみ
label_visibility_public: すべてのユーザー
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/ko.yml b/config/locales/ko.yml
index ad48d943b..268ec8730 100644
--- a/config/locales/ko.yml
+++ b/config/locales/ko.yml
@@ -1146,3 +1146,5 @@ ko:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/lt.yml b/config/locales/lt.yml
index 66235cf6c..787659987 100644
--- a/config/locales/lt.yml
+++ b/config/locales/lt.yml
@@ -1156,3 +1156,5 @@ lt:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/lv.yml b/config/locales/lv.yml
index e8f7d3fd8..e3260918f 100644
--- a/config/locales/lv.yml
+++ b/config/locales/lv.yml
@@ -1091,3 +1091,5 @@ lv:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/mk.yml b/config/locales/mk.yml
index 48703b70e..fa4a6fc21 100644
--- a/config/locales/mk.yml
+++ b/config/locales/mk.yml
@@ -1097,3 +1097,5 @@ mk:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/mn.yml b/config/locales/mn.yml
index f7097086e..a363be0d8 100644
--- a/config/locales/mn.yml
+++ b/config/locales/mn.yml
@@ -1098,3 +1098,5 @@ mn:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/nl.yml b/config/locales/nl.yml
index 7c71b553e..218c8aa91 100644
--- a/config/locales/nl.yml
+++ b/config/locales/nl.yml
@@ -1079,3 +1079,5 @@ nl:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/no.yml b/config/locales/no.yml
index dfdc134a9..04b94bc6c 100644
--- a/config/locales/no.yml
+++ b/config/locales/no.yml
@@ -1087,3 +1087,5 @@
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/pl.yml b/config/locales/pl.yml
index 9fe5efbbf..89d0837f1 100644
--- a/config/locales/pl.yml
+++ b/config/locales/pl.yml
@@ -1119,3 +1119,5 @@ pl:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index a36a6295a..6ecd508f7 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -1117,3 +1117,5 @@ pt-BR:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/pt.yml b/config/locales/pt.yml
index 6a68139b6..9cec4b78f 100644
--- a/config/locales/pt.yml
+++ b/config/locales/pt.yml
@@ -1104,3 +1104,5 @@ pt:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/ro.yml b/config/locales/ro.yml
index 229c66f02..153f88312 100644
--- a/config/locales/ro.yml
+++ b/config/locales/ro.yml
@@ -1092,3 +1092,5 @@ ro:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index 3402d3980..c7a538c8f 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -1207,3 +1207,5 @@ ru:
label_visibility_roles: только этим ролям
label_visibility_public: всем пользователям
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/sk.yml b/config/locales/sk.yml
index 2121b2f20..0c727af2a 100644
--- a/config/locales/sk.yml
+++ b/config/locales/sk.yml
@@ -1094,3 +1094,5 @@ sk:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/sl.yml b/config/locales/sl.yml
index 6360195d8..bb2e64934 100644
--- a/config/locales/sl.yml
+++ b/config/locales/sl.yml
@@ -1097,3 +1097,5 @@ sl:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/sq.yml b/config/locales/sq.yml
index 258e3d38a..acdc343d3 100644
--- a/config/locales/sq.yml
+++ b/config/locales/sq.yml
@@ -1093,3 +1093,5 @@ sq:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/sr-YU.yml b/config/locales/sr-YU.yml
index bddd03c09..b409c47be 100644
--- a/config/locales/sr-YU.yml
+++ b/config/locales/sr-YU.yml
@@ -1099,3 +1099,5 @@ sr-YU:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/sr.yml b/config/locales/sr.yml
index 5aa80e389..f28c45f2f 100644
--- a/config/locales/sr.yml
+++ b/config/locales/sr.yml
@@ -1098,3 +1098,5 @@ sr:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/sv.yml b/config/locales/sv.yml
index 3081fc42a..0ff567f74 100644
--- a/config/locales/sv.yml
+++ b/config/locales/sv.yml
@@ -1135,3 +1135,5 @@ sv:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/th.yml b/config/locales/th.yml
index 974d24817..ada3f1504 100644
--- a/config/locales/th.yml
+++ b/config/locales/th.yml
@@ -1094,3 +1094,5 @@ th:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/tr.yml b/config/locales/tr.yml
index dc7c83d19..29d0733f1 100644
--- a/config/locales/tr.yml
+++ b/config/locales/tr.yml
@@ -1116,3 +1116,5 @@ tr:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/uk.yml b/config/locales/uk.yml
index 96bb01980..44eb00bb8 100644
--- a/config/locales/uk.yml
+++ b/config/locales/uk.yml
@@ -1092,3 +1092,5 @@ uk:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/vi.yml b/config/locales/vi.yml
index 50437d811..e88d7b239 100644
--- a/config/locales/vi.yml
+++ b/config/locales/vi.yml
@@ -1150,3 +1150,5 @@ vi:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml
index 4e304a97d..24fb78312 100644
--- a/config/locales/zh-TW.yml
+++ b/config/locales/zh-TW.yml
@@ -1178,3 +1178,5 @@
description_date_to: 輸入結束日期
text_repository_identifier_info: '僅允許使用小寫英文字母 (a-z), 阿拉伯數字, 虛線與底線。<br />一旦儲存之後, 代碼便無法再次被更改。'
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index c120c59b8..ca58fd2ce 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -1101,3 +1101,5 @@ zh:
label_visibility_roles: to these roles only
label_visibility_public: to any users
field_must_change_passwd: Must change password at next logon
+ notice_new_password_must_be_different: The new password must be different from the
+ current password