From: Jean-Philippe Lang Date: Tue, 7 Apr 2009 17:50:17 +0000 (+0000) Subject: Inform about minimum/maximum field lengths in error messages (#3128). X-Git-Tag: 0.9.0~527 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a4a41e05a81b6a7f832b299763e930aa56a1d0ac;p=redmine.git Inform about minimum/maximum field lengths in error messages (#3128). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2666 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/locales/en.yml b/config/locales/en.yml index b04e9e730..b60329f30 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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"