enhanced validation, added mimes config array.

This commit is contained in:
Taylor Otwell
2011-06-27 17:33:07 -05:00
parent bd3d8f6347
commit d51be02dd2
19 changed files with 841 additions and 411 deletions

View 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.",
);