validation.php 1.89 KB
Newer Older
1 2 3 4
<?php 

return array(

5 6 7 8 9 10
	/*
	|--------------------------------------------------------------------------
	| General Validation Messages
	|--------------------------------------------------------------------------
	*/

11 12 13 14 15
	"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.",
16
	"presence_of" => "The :attribute can't be empty.",
17 18 19
	"uniqueness_of" => "The :attribute has already been taken.",
	"with_callback" => "The :attribute is invalid.",

20 21 22 23 24 25
	/*
	|--------------------------------------------------------------------------
	| Numericality_Of Validation Messages
	|--------------------------------------------------------------------------
	*/

26
	"number_not_valid" => "The :attribute must be a number.",
27
	"number_not_integer" => "The :attribute must be an integer.",
28
	"number_wrong_size" => "The :attribute must be :size.",
29
	"number_too_big" => "The :attribute must be no more than :max.",
30 31
	"number_too_small" => "The :attribute must be at least :min.",

32 33 34 35 36 37
	/*
	|--------------------------------------------------------------------------
	| Length_Of Validation Messages
	|--------------------------------------------------------------------------
	*/

38
	"string_wrong_size" => "The :attribute must be :size characters.",
39
	"string_too_big" => "The :attribute must be no more than :max characters.",
40 41
	"string_too_small" => "The :attribute must be at least :min characters.",

42 43 44 45 46 47
	/*
	|--------------------------------------------------------------------------
	| Upload_Of Validation Messages
	|--------------------------------------------------------------------------
	*/

48
	"file_wrong_type" => "The :attribute must be a file of type: :types.",
49
	"file_too_big" => "The :attribute exceeds size limit of :maxkb.",
50 51

);