validation.php 5.31 KB
Newer Older
Nir Lahad committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php 

return array(

	/*
	|--------------------------------------------------------------------------
	| Validation Language Lines
	|--------------------------------------------------------------------------
	|
	| The following language lines contain the default error messages used
	| by the validator class. Some of the rules contain multiple versions,
	| such as the size (max, min, between) rules. These versions are used
	| for different input types such as strings and files.
	|
	| These language lines may be easily changed to provide custom error
	| messages in your application. Error messages for custom validation
	| rules may also be added to this file.
	|
	| Hebrew Translation:
	| Nir Lahad - www.nirlah.com
	|
	*/

	"accepted"       => "חובה להסכים ל-:attribute.",
Nir Lahad committed
25 26 27 28 29
	"active_url"     => "הערך :attribute חייב להכיל כתובת אינטרנט פעילה.",
	"after"          => "הערך :attribute חייב להכיל תאריך אחרי :date.",
	"alpha"          => "הערך :attribute יכול להכיל רק אותיות.",
	"alpha_dash"     => "הערך :attribute יכול להכיל רק אותיות, מספרים ומקפים.",
	"alpha_num"      => "הערך :attribute יכול להכיל רק אותיות ומספרים.",
30
	"array"          => "The :attribute must have selected elements.",
Nir Lahad committed
31
	"before"         => "הערך :attribute חייב להכיל תאריך לפני :date.",
Nir Lahad committed
32
	"between"        => array(
Nir Lahad committed
33 34 35
		"numeric" => "הערך :attribute חייב להיות בין :min ל-:max.",
		"file"    => "הערך :attribute חייב לשקול בין :min ל-:max ק&quot;ב.",
		"string"  => "הערך :attribute חייב להכיל בין :min ל-:max תווים.",
Nir Lahad committed
36
	),
Nir Lahad committed
37
	"confirmed"      => "הערכים של :attribute חייבים להיות זהים.",
38 39 40 41
	"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.",
Nir Lahad committed
42 43 44 45 46 47 48 49
	"different"      => "הערכים של :attribute ו-:other חייבים להיות שונים.",
	"email"          => "הערך :attribute חייב להכיל כתובת אימייל תקינה.",
	"exists"         => "הערך :attribute לא קיים.",
	"image"          => "הערך :attribute חייב להיות תמונה.",
	"in"             => "הערך :attribute חייב להיות ברשימה המאשרת.",
	"integer"        => "הערך :attribute חייב להיות מספר שלם.",
	"ip"             => "הערך :attribute חייב להיות כתובת IP תקינה.",
	"match"          => "התבנית של הערך :attribute אינה תקינה.",
Nir Lahad committed
50
	"max"            => array(
Nir Lahad committed
51 52 53
		"numeric" => "הערך :attribute חייב להיות פחות מ-:max.",
		"file"    => "הערך :attribute חייב לשקול פחות מ-:max ק&quotב.",
		"string"  => "הערך :attribute חייב להכיל פחות מ-:max תווים.",
Nir Lahad committed
54
	),
Nir Lahad committed
55
	"mimes"          => "הערך :attribute חייב להיות קובץ מסוג: :values.",
Nir Lahad committed
56
	"min"            => array(
Nir Lahad committed
57 58 59
		"numeric" => "הערך :attribute חייב להיות לפחות :min.",
		"file"    => "הערך :attribute חייב לשקול לפחות :min ק&quot;ב.",
		"string"  => "הערך :attribute חייב להכיל לפחות :min תווים.",
Nir Lahad committed
60
	),
Nir Lahad committed
61 62 63 64
	"not_in"         => "הערך :attribute נמצא ברשימה השחורה.",
	"numeric"        => "הערך :attribute חייב להיות מספר.",
	"required"       => "חובה למלא את הערך :attribute.",
	"same"           => "הערכים :attribute ו-:other חייבים להיות זהים.",
Nir Lahad committed
65
	"size"           => array(
Nir Lahad committed
66 67 68
		"numeric" => "הערך :attribute חייב להיות :size.",
		"file"    => "הערך :attribute חייב לשקול :size ק&quot;ב.",
		"string"  => "הערך :attribute חייב להכיל :size תווים.",
Nir Lahad committed
69
	),
Nir Lahad committed
70 71
	"unique"         => "הערך :attribute כבר קיים.",
	"url"            => "הערך :attribute חייב להכיל כתובת אינטרנט תקינה.",
Nir Lahad committed
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107

	/*
	|--------------------------------------------------------------------------
	| Custom Validation Language Lines
	|--------------------------------------------------------------------------
	|
	| Here you may specify custom validation messages for attributes using the
	| convention "attribute_rule" to name the lines. This helps keep your
	| custom validation clean and tidy.
	|
	| So, say you want to use a custom validation message when validating that
	| the "email" attribute is unique. Just add "email_unique" to this array
	| with your custom message. The Validator will handle the rest!
	|
	*/

	'custom' => array(),

	/*
	|--------------------------------------------------------------------------
	| Validation Attributes
	|--------------------------------------------------------------------------
	|
	| The following language lines are used to swap attribute place-holders
	| with something more reader friendly such as "E-Mail Address" instead
	| of "email". Your users will thank you.
	|
	| The Validator class will automatically search this array of lines it
	| is attempting to replace the :attribute place-holder in messages.
	| It's pretty slick. We think you'll like it.
	|
	*/

	'attributes' => array(),

);