mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
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.
This commit is contained in:
parent
839cad4284
commit
93ecbcf211
@ -8,8 +8,8 @@ return array(
|
|||||||
'numeric' => "must be numeric",
|
'numeric' => "must be numeric",
|
||||||
'integer' => "must be an integer (0-9)",
|
'integer' => "must be an integer (0-9)",
|
||||||
'length' => "must be longer than %d",
|
'length' => "must be longer than %d",
|
||||||
'min' => "must be greater than %s",
|
'min' => "must be at least than %s",
|
||||||
'max' => "must be less than %s",
|
'max' => "must be no more than %s",
|
||||||
'in' => "contains invalid value",
|
'in' => "contains invalid value",
|
||||||
'notIn' => "contains invalid value",
|
'notIn' => "contains invalid value",
|
||||||
'ip' => "is not a valid IP address",
|
'ip' => "is not a valid IP address",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user