From 93ecbcf2113eee5d3d7dd40948dee83256a033cc Mon Sep 17 00:00:00 2001 From: geoffs3310 Date: Fri, 18 Jul 2014 16:36:07 +0100 Subject: [PATCH] Update en.php Changed the error messages for min and max. If I set a min value of 1 the error message says the value has to be greater than 1 - changed the error message to say the value must be at least 1. If I set a max value of 10 the error message says the value has to be less than 10 - changed the error message to say the value must be no more than 10. --- lang/en.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/en.php b/lang/en.php index 60cb8c6..d768a20 100644 --- a/lang/en.php +++ b/lang/en.php @@ -8,8 +8,8 @@ return array( 'numeric' => "must be numeric", 'integer' => "must be an integer (0-9)", 'length' => "must be longer than %d", - 'min' => "must be greater than %s", - 'max' => "must be less than %s", + 'min' => "must be at least than %s", + 'max' => "must be no more than %s", 'in' => "contains invalid value", 'notIn' => "contains invalid value", 'ip' => "is not a valid IP address",