]> source.dussan.org Git - redmine.git/commitdiff
Removed hardcoded string (#3872).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 5 Aug 2013 18:04:20 +0000 (18:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 5 Aug 2013 18:04:20 +0000 (18:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12083 e93f8b46-1217-0410-a6f0-8f06a7374b81

49 files changed:
app/controllers/my_controller.rb
config/locales/ar.yml
config/locales/az.yml
config/locales/bg.yml
config/locales/bs.yml
config/locales/ca.yml
config/locales/cs.yml
config/locales/da.yml
config/locales/de.yml
config/locales/el.yml
config/locales/en-GB.yml
config/locales/en.yml
config/locales/es.yml
config/locales/et.yml
config/locales/eu.yml
config/locales/fa.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hr.yml
config/locales/hu.yml
config/locales/id.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/lt.yml
config/locales/lv.yml
config/locales/mk.yml
config/locales/mn.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ro.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sq.yml
config/locales/sr-YU.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/vi.yml
config/locales/zh-TW.yml
config/locales/zh.yml

index 82532918ab055589773c0574c2c0db722d77471e..679aee38c94294a14306878d2a3856ddf4c9c156 100644 (file)
@@ -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
index 5730bc07ccf6dfdc22e6b8d31bdb96f17dc1795e..68712ce3a0dd76397eb885be9a01deff0334f8db 100644 (file)
@@ -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
index 45ad7503ae0fbded84b04f20b0a199b454678bb0..fa6f778e5e93ce96caac7a58d66176261770ffd9 100644 (file)
@@ -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
index 7318090797b7dd80e3d54fbe6786aa31979a2dd1..11116384826b062acfefa1468533bcd590ccf83b 100644 (file)
@@ -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
index 859f13dd4dadfb03f006a021ce6217d67be44ffe..21da6a1ed024d4c2ee219b65774b667bf16e4fe3 100644 (file)
@@ -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
index 1df7a6e0bddba97c44b136b76e7b6152270ad8f4..5c75bc2ef59251ab931b0df8e4b35bf4229bbcfd 100644 (file)
@@ -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
index a1c394ba69ad5a8d8f4323169ea81da4ff3e38d0..0dc060255543fa5645f98b4c6b3c5a943badcf6e 100644 (file)
@@ -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
index 66488da75593e56ee789480b31ab75cf16fd4bc4..f364dcae0d12ff3aa3735c71ff5911dc9d4bfec5 100644 (file)
@@ -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
index d56cf9038714dd5d057d122cb8b9eb1487a67b49..04d0cf1c3c1303eb7f8bc22700b8a99d300137f6 100644 (file)
@@ -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
index be77c676c12dbd56a81e32ed9dbb99dd2bc2cec1..afe27fb8e8fa619915e6f6e26370f49112bb430b 100644 (file)
@@ -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
index 8d9efbc34ce89498e6d9534fb7f06e7616a5195f..f8dc8f5cb4526e93786a4fe880c8bdafeff47f97 100644 (file)
@@ -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
index e63a724cb5714eeaf363cf66909958e9f2df8b68..6db1262838cc14040d25e5796b7210bd7ff7362b 100644 (file)
@@ -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."
index 7c57fc31f6e82cb2899e6362d6115be092f4a37f..7b54d367c5bb5358a4a2ad41f503026bd9070018 100644 (file)
@@ -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
index 05f2db6e04eb95f9bc6032440945f16a357d26e2..032f2ef696f3c414e3af610317b722cc5247afc7 100644 (file)
@@ -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
index e7de3cce561f839a83aa65b30a99a9fc3c701cd8..97d1aa2b2b63a0ed20d15d545eb521468d4137db 100644 (file)
@@ -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
index edc9afd24238a66223e47479e5ba16a52075293e..51d8aa96233383ee2a8cda7c4e449c2d2db21903 100644 (file)
@@ -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
index 36b89826f7a25f87d4a09c3d8ef952723cb58a1c..bcd08e39cb0025aae147a3c2de86f0e7359a0086 100644 (file)
@@ -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
index c2e72c45b484a180eda2d31e633ae9e26e9fe10d..71d4f776f58a5d54fbd6d526bedb55aa3b441282 100644 (file)
@@ -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."
index 06bbb715814508508a953cfddbc27b0f691232b4..a9d802d7701d271510b4476a1be72832b6b9685e 100644 (file)
@@ -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
index 0740e58e0527b0c3f90c0efa7a08c9452c523286..e3e6a1b6ae0297d424247a3f1b11f42b4d26e88e 100644 (file)
@@ -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
index 08851db80ed15a57a7c9f4a57534d332ee9f7de6..a0eaac8d1147bf8e6c120cc73e8d6cec530dc68f 100644 (file)
@@ -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
index 491b5033fc151f42c3013a32e7d48e6281791a54..e687920245b8591ac8dc7866f291f242b45cd6ce 100644 (file)
   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
index 315912ba380ed8d84314419d9b073308b59f9e83..a96442de1669af05c9890a651385ea892668bb75 100644 (file)
@@ -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
index ce0b68123c1c66500832b5435f03e0660d21f498..4c11743ff6b86a53e26157f7ed596596d3b0ab56 100644 (file)
@@ -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
index dd2f3642c7eafea046fcc1836a6fb050335c1441..f93f9c6e804a222651c092fb042e355fe14d65a2 100644 (file)
@@ -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
index ad48d943b81bcaf65c501bef3b0b1ce7515db7c4..268ec873031005cd0fc277b6c536d59b166307e7 100644 (file)
@@ -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
index 66235cf6c62e5fc508c03788492befc00fcd01f6..7876599879932c41e2fdbf863c3469fb206957db 100644 (file)
@@ -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
index e8f7d3fd878c75086897e92de53079e88b94a16d..e3260918f856cb8c11272eece18d06a12781a1c5 100644 (file)
@@ -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
index 48703b70e9f35e388fa4e021d8715c154c7920b7..fa4a6fc21c5ab0b0f2cf7f55eea77ef077356129 100644 (file)
@@ -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
index f7097086e2ae22ddcd357a114e49a04479688193..a363be0d8fb602a2493fca3537df1c413d131a41 100644 (file)
@@ -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
index 7c71b553e2ffe3aaed8e45aa7b5f940b4c7288ae..218c8aa917fcb747db421c52ddf6c4a955a51882 100644 (file)
@@ -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
index dfdc134a90c778abcb78c6c191eb4666f50b5146..04b94bc6c8c12f3ab185469b928d6ef706c1e47d 100644 (file)
   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
index 9fe5efbbfd2f1f091b0da58c1d3a34299ec21f76..89d0837f1c4cdef242e1c10ef12952d1f1a82613 100644 (file)
@@ -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
index a36a6295abd8dc02f9867f05eb6d9b173b98e7f8..6ecd508f7f912d4b4116d0c597eb0244ab3a37c7 100644 (file)
@@ -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
index 6a68139b6a2199fa578027299cfe3dea02b35a7b..9cec4b78f6735731a61c8b85b204997dce618cfc 100644 (file)
@@ -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
index 229c66f022ad7b2ad77e77a3c740db021fc095d2..153f88312b965adbf9b0091d395f862a900d0ae7 100644 (file)
@@ -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
index 3402d398095bfcc29541177e1508f69b4ac8342e..c7a538c8fc012fbef1b930949144392eebfad0cf 100644 (file)
@@ -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
index 2121b2f201e5cb63236c083f2627a25a33685b35..0c727af2ac060a4111536fa2df64d9d3640ea6ad 100644 (file)
@@ -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
index 6360195d88386dc07be8a537c16ee846fae987fc..bb2e6493429a1ba231796d56602d18626df2090e 100644 (file)
@@ -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
index 258e3d38a04de43a9fe65eea7899e7d88edbddf1..acdc343d31802f3b7e3a9eeb23a7e89b4784164c 100644 (file)
@@ -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
index bddd03c09499d1ba49bf5abe699133a049627383..b409c47be8698ebdde35345684ce0c4592eebdc3 100644 (file)
@@ -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
index 5aa80e389ffd9ea751e0b13a620571e69fc08ffd..f28c45f2fce73a571cf3dae849fdc25606c0109d 100644 (file)
@@ -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
index 3081fc42a18bdd51636054e5432cae734b17b699..0ff567f74d77682df8983a207187cad859b453df 100644 (file)
@@ -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
index 974d24817e90b26f70fa2a32bbca21140ec5f523..ada3f150422392ce8979788e6b45360a17491d16 100644 (file)
@@ -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
index dc7c83d19ce1775a9fc3e7a328639803ffc29f2e..29d0733f1b4f6ce2dc70e59ef349b394e0b91e44 100644 (file)
@@ -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
index 96bb01980ea350fa2a208c41c8965a1a2373c718..44eb00bb8b18f3205674a2511292dab2e57ba8f0 100644 (file)
@@ -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
index 50437d8117df72cd47266589076fd8bacec668a7..e88d7b2394f8a7292471675cd0744aebfdc30ade 100644 (file)
@@ -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
index 4e304a97d350c18ec0c1824b7649f54e79fb0297..24fb78312b9261bae47ac05f9dd19d6f8c26a800 100644 (file)
   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
index c120c59b8da4401da663666690c4cac50e67f824..ca58fd2ce4dc48f889f505f24ba59346a92696b3 100644 (file)
@@ -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