]> source.dussan.org Git - redmine.git/commitdiff
Inform about minimum/maximum field lengths in error messages (#3128).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 7 Apr 2009 17:50:17 +0000 (17:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 7 Apr 2009 17:50:17 +0000 (17:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2666 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/locales/en.yml

index b04e9e73038072329144cab3a489c2fc0c6ac3d0..b60329f30005d30e410de80cc6c0e47a25da1a51 100644 (file)
@@ -76,9 +76,9 @@ en:
         accepted: "must be accepted"
         empty: "can't be empty"
         blank: "can't be blank"
-        too_long: "is too long"
-        too_short: "is too short"
-        wrong_length: "is the wrong length"
+        too_long: "is too long (maximum is {{count}} characters)"
+        too_short: "is too short (minimum is {{count}} characters)"
+        wrong_length: "is the wrong length (should be {{count}} characters)"
         taken: "has already been taken"
         not_a_number: "is not a number"
         not_a_date: "is not a valid date"