validation.php 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Validation Language Lines
  6. |--------------------------------------------------------------------------
  7. |
  8. | The following language lines contain the default error messages used by
  9. | the validator class. Some of these rules have multiple versions such
  10. | as the size rules. Feel free to tweak each of these messages here.
  11. |
  12. */
  13. 'accepted' => 'חובה לאשר את ה- :attribute.',
  14. 'active_url' => 'ה- :attribute לא URL תקין.',
  15. 'after' => 'ה- :attribute חייב להיות תאריך אחרי :date.',
  16. 'after_or_equal' => 'ה- :attribute חייב להיות תאריך אחרי או שווה ל- :date.',
  17. 'alpha' => 'ה- :attribute יכול לכלול רק אותיות.',
  18. 'alpha_dash' => 'ה- :attribute יכול לכלול רק אותיות, מספרים וקוים מפרידים.',
  19. 'alpha_num' => 'ה- :attribute יכול לכלול רק אותיות ומספרים.',
  20. 'array' => 'ה- :attribute חייב להיות מערך.',
  21. 'before' => 'ה- :attribute חייב להיות תאריך לפני :date.',
  22. 'before_or_equal' => 'ה- :attribute חייב להיות תאריך לפני או שווה ל- :date.',
  23. 'between' => [
  24. 'numeric' => 'ה- :attribute צריך להיות בין :min ו- :max.',
  25. 'file' => 'ה- :attribute צריך להיות בין :min ו- :max קילובייט.',
  26. 'string' => 'ה- :attribute צריך להיות בין :min ו- :max אותיות.',
  27. 'array' => 'ה- :attribute צריך לכלול בין :min ו- :max פריטים.',
  28. ],
  29. 'boolean' => 'השדה :attribute חייב להיות אמת או שקר.',
  30. 'confirmed' => 'ה- :attribute אישור לא תואם.',
  31. 'date' => 'ה- :attribute לא תאריך תקין.',
  32. 'date_format' => 'ה- :attribute לא תואם את הפורמט :format.',
  33. 'different' => 'ה- :attribute ו- :other חייבים להיות שונים.',
  34. 'digits' => 'ה- :attribute חייב להיות :digits ספרות.',
  35. 'digits_between' => 'ה- :attribute חייב להיות בין :min ו- :max ספרות.',
  36. 'dimensions' => 'ה- :attribute בעל ממדי תמונה לא תקינים.',
  37. 'distinct' => 'השדה :attribute בעל ערך כפול.',
  38. 'email' => 'ה- :attribute חייב להיות כתובת אימייל תקינה.',
  39. 'exists' => 'ה- :attribute הנבחר לא תקין.',
  40. 'file' => 'ה- :attribute חייב להיות קובץ.',
  41. 'filled' => 'השדה :attribute חייב להיות בעל ערך.',
  42. 'image' => 'ה- :attribute חייב להיות תמונה.',
  43. 'in' => 'ה- :attribute הנבחר לא תקין.',
  44. 'in_array' => 'השדה :attribute לא קיים ב- :other.',
  45. 'integer' => 'ה- :attribute צריך להיות מספר שלם.',
  46. 'ip' => 'ה- :attribute צריך להיות כתובת IP תקינה.',
  47. 'ipv4' => 'ה- :attribute צריך להיות כתובת IPv4 תקינה.',
  48. 'ipv6' => 'ה- :attribute צריך להיות כתובת IPv6 תקינה.',
  49. 'json' => 'ה- :attribute צריך להיות רצף אותיות JSON תקין.',
  50. 'max' => [
  51. 'numeric' => 'ה- :attribute צריך להיות מתחת ל- :max.',
  52. 'file' => 'ה- :attribute צריך להיות מתחת ל- :max קילובייט.',
  53. 'string' => 'ה- :attribute צריך להיות מתחת ל- :max תוים.',
  54. 'array' => 'ה- :attribute לא יכול לכלול יותר מ- :max פריטים.',
  55. ],
  56. 'mimes' => 'ה- :attribute צריך להיות קובץ מסוג: :values.',
  57. 'mimetypes' => 'ה- :attribute צריך להיות קובץ מסוג: :values.',
  58. 'min' => [
  59. 'numeric' => 'ה- :attribute צריך להיות לפחות :min.',
  60. 'file' => 'ה- :attribute צריך להיות לפחות :min קילובייט.',
  61. 'string' => 'ה- :attribute צריך להיות לפחות :min תוים.',
  62. 'array' => 'ה- :attribute צריך לכלול לפחות :min פריטים.',
  63. ],
  64. 'not_in' => 'ה- :attribute הנבחר אינו תקין.',
  65. 'not_regex' => 'הפורמט :attribute אינו תקין.',
  66. 'numeric' => 'ה- :attribute חייב להיות מספר.',
  67. 'present' => 'השדה :attribute חייב להיות קיים.',
  68. 'regex' => 'הפורמט :attribute לא תקין.',
  69. 'required' => 'השדה :attribute הכרחי.',
  70. 'required_if' => 'השדה :attribute הכרחי כש- :other הוא :value.',
  71. 'required_unless' => 'השדה :attribute הכרחי אלא אם :other בתוך :values.',
  72. 'required_with' => 'השדה :attribute הכרחי כש- :values קיים.',
  73. 'required_with_all' => 'השדה :attribute הכרחי כש- :values קיים.',
  74. 'required_without' => 'השדה :attribute הכרחי כש- :values לא קיים.',
  75. 'required_without_all' => 'השדה :attribute הכרחי כשאף מן ה- :values לא נמצאים.',
  76. 'same' => 'ה- :attribute ו- :other חייבים להתאים.',
  77. 'size' => [
  78. 'numeric' => 'ה- :attribute צריך להיות :size.',
  79. 'file' => 'ה- :attribute צריך להיות :size קילובייט.',
  80. 'string' => 'ה- :attribute צריך להיות :size תוים.',
  81. 'array' => 'ה- :attribute צריך לכלול :size פריטים.',
  82. ],
  83. 'string' => 'ה- :attribute חייב להיות רצף של אותיות.',
  84. 'timezone' => 'ה- :attribute חייב להיות איזור תקין.',
  85. 'unique' => 'ה- :attribute כבר נלקח.',
  86. 'uploaded' => 'ההעלאה של ה- :attribute נכשלה.',
  87. 'url' => 'הפורמט של ה- :attribute אינו תקין.',
  88. /*
  89. |--------------------------------------------------------------------------
  90. | Custom Validation Language Lines
  91. |--------------------------------------------------------------------------
  92. |
  93. | Here you may specify custom validation messages for attributes using the
  94. | convention "attribute.rule" to name the lines. This makes it quick to
  95. | specify a specific custom language line for a given attribute rule.
  96. |
  97. */
  98. 'custom' => [
  99. 'attribute-name' => [
  100. 'rule-name' => 'custom-message',
  101. ],
  102. ],
  103. /*
  104. |--------------------------------------------------------------------------
  105. | Custom Validation Attributes
  106. |--------------------------------------------------------------------------
  107. |
  108. | The following language lines are used to swap attribute place-holders
  109. | with something more reader friendly such as E-Mail Address instead
  110. | of "email". This simply helps us make messages a little cleaner.
  111. |
  112. */
  113. 'attributes' => [],
  114. ];