enhanced validation, added mimes config array.
This commit is contained in:
27
application/lang/en/validation.php
Normal file
27
application/lang/en/validation.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
"acceptance_of" => "The :attribute must be accepted.",
|
||||
"confirmation_of" => "The :attribute confirmation does not match.",
|
||||
"exclusion_of" => "The :attribute value is invalid.",
|
||||
"format_of" => "The :attribute format is invalid.",
|
||||
"inclusion_of" => "The :attribute value is invalid.",
|
||||
"presence_of" => "The :attribute can't be blank.",
|
||||
"uniqueness_of" => "The :attribute has already been taken.",
|
||||
"with_callback" => "The :attribute is invalid.",
|
||||
|
||||
"number_not_valid" => "The :attribute is not a valid number.",
|
||||
"number_not_integer" => "The :attribute is not a valid integer.",
|
||||
"number_wrong_size" => "The :attribute must be :size.",
|
||||
"number_too_big" => "The :attribute must be less than :max.",
|
||||
"number_too_small" => "The :attribute must be at least :min.",
|
||||
|
||||
"string_wrong_size" => "The :attribute must be :size characters.",
|
||||
"string_too_big" => "The :attribute must be less than :max characters.",
|
||||
"string_too_small" => "The :attribute must be at least :min characters.",
|
||||
|
||||
"file_too_big" => "The :attribute exceeded size limit of :maxkb.",
|
||||
"file_wrong_type" => "The :attribute is an invalid type.",
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user