2012-07-01 00:38:43 +03:00
|
|
|
|
<?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.",
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"active_url" => "הערך :attribute חייב להכיל כתובת אינטרנט פעילה.",
|
|
|
|
|
|
"after" => "הערך :attribute חייב להכיל תאריך אחרי :date.",
|
|
|
|
|
|
"alpha" => "הערך :attribute יכול להכיל רק אותיות.",
|
|
|
|
|
|
"alpha_dash" => "הערך :attribute יכול להכיל רק אותיות, מספרים ומקפים.",
|
|
|
|
|
|
"alpha_num" => "הערך :attribute יכול להכיל רק אותיות ומספרים.",
|
2012-08-03 17:27:29 +02:00
|
|
|
|
"array" => "The :attribute must have selected elements.",
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"before" => "הערך :attribute חייב להכיל תאריך לפני :date.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
"between" => array(
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"numeric" => "הערך :attribute חייב להיות בין :min ל-:max.",
|
|
|
|
|
|
"file" => "הערך :attribute חייב לשקול בין :min ל-:max ק"ב.",
|
|
|
|
|
|
"string" => "הערך :attribute חייב להכיל בין :min ל-:max תווים.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
),
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"confirmed" => "הערכים של :attribute חייבים להיות זהים.",
|
2012-08-03 17:27:29 +02:00
|
|
|
|
"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.",
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"different" => "הערכים של :attribute ו-:other חייבים להיות שונים.",
|
|
|
|
|
|
"email" => "הערך :attribute חייב להכיל כתובת אימייל תקינה.",
|
|
|
|
|
|
"exists" => "הערך :attribute לא קיים.",
|
|
|
|
|
|
"image" => "הערך :attribute חייב להיות תמונה.",
|
|
|
|
|
|
"in" => "הערך :attribute חייב להיות ברשימה המאשרת.",
|
|
|
|
|
|
"integer" => "הערך :attribute חייב להיות מספר שלם.",
|
|
|
|
|
|
"ip" => "הערך :attribute חייב להיות כתובת IP תקינה.",
|
|
|
|
|
|
"match" => "התבנית של הערך :attribute אינה תקינה.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
"max" => array(
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"numeric" => "הערך :attribute חייב להיות פחות מ-:max.",
|
|
|
|
|
|
"file" => "הערך :attribute חייב לשקול פחות מ-:max ק"ב.",
|
|
|
|
|
|
"string" => "הערך :attribute חייב להכיל פחות מ-:max תווים.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
),
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"mimes" => "הערך :attribute חייב להיות קובץ מסוג: :values.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
"min" => array(
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"numeric" => "הערך :attribute חייב להיות לפחות :min.",
|
|
|
|
|
|
"file" => "הערך :attribute חייב לשקול לפחות :min ק"ב.",
|
|
|
|
|
|
"string" => "הערך :attribute חייב להכיל לפחות :min תווים.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
),
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"not_in" => "הערך :attribute נמצא ברשימה השחורה.",
|
|
|
|
|
|
"numeric" => "הערך :attribute חייב להיות מספר.",
|
|
|
|
|
|
"required" => "חובה למלא את הערך :attribute.",
|
|
|
|
|
|
"same" => "הערכים :attribute ו-:other חייבים להיות זהים.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
"size" => array(
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"numeric" => "הערך :attribute חייב להיות :size.",
|
|
|
|
|
|
"file" => "הערך :attribute חייב לשקול :size ק"ב.",
|
|
|
|
|
|
"string" => "הערך :attribute חייב להכיל :size תווים.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
),
|
2012-07-04 08:19:36 +03:00
|
|
|
|
"unique" => "הערך :attribute כבר קיים.",
|
|
|
|
|
|
"url" => "הערך :attribute חייב להכיל כתובת אינטרנט תקינה.",
|
2012-07-01 00:38:43 +03:00
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
| 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(),
|
|
|
|
|
|
|
|
|
|
|
|
);
|