From a4a41e05a81b6a7f832b299763e930aa56a1d0ac Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 7 Apr 2009 17:50:17 +0000 Subject: [PATCH] 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 --- config/locales/en.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" -- 2.39.5