added array and array count validation
added validate_array/count/countmin/countmax/countbetween - corresponding replace_count/countmin/countmax/countbetween message functions - corresponding validator error messages into all language files (please have maintainers update their language files) - also converted spaces to tabs in the polish language file to fit all the others.
This commit is contained in:
@@ -24,6 +24,7 @@ return array(
|
||||
"alpha" => "The :attribute may only contain letters.",
|
||||
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
|
||||
"alpha_num" => "The :attribute may only contain letters and numbers.",
|
||||
"array" => "The :attribute must have selected elements.",
|
||||
"before" => "The :attribute must be a date before :date.",
|
||||
"between" => array(
|
||||
"numeric" => "The :attribute must be between :min - :max.",
|
||||
@@ -31,6 +32,10 @@ return array(
|
||||
"string" => "The :attribute must be between :min - :max characters.",
|
||||
),
|
||||
"confirmed" => "The :attribute confirmation does not match.",
|
||||
"count" => "The :attribute must have exactly :count selected elements.",
|
||||
"countbetween" => "The :attribute must have between :min and :max selected elements.",
|
||||
"countmax" => "The :attribute must have less than :max selected elements.",
|
||||
"countmin" => "The :attribute must have at least :min selected elements.",
|
||||
"different" => "The :attribute and :other must be different.",
|
||||
"email" => "The :attribute format is invalid.",
|
||||
"exists" => "The selected :attribute is invalid.",
|
||||
|
||||
Reference in New Issue
Block a user