validation.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. 'accepted_if' => 'שדה :attribute חייב להתקבל כאשר :other הוא :value.',
  15. 'active_url' => 'שדה :attribute חייב להיות כתובת URL תקפה.',
  16. 'after' => 'שדה :attribute חייב להיות תאריך אחרי :date.',
  17. 'after_or_equal' => 'שדה :attribute חייב להיות תאריך אחרי או שווה ל־:date.',
  18. 'alpha' => 'שדה :attribute יכול להכיל רק אותיות.',
  19. 'alpha_dash' => 'שדה :attribute יכול להכיל רק אותיות, מספרים, מקפים וקווים תחתונים.',
  20. 'alpha_num' => 'שדה :attribute יכול להכיל רק אותיות ומספרים.',
  21. 'array' => 'שדה :attribute חייב להיות מערך.',
  22. 'ascii' => 'שדה :attribute יכול להכיל רק תווים אלפאנומריים וסימנים בתצורה יחידתית.',
  23. 'before' => 'שדה :attribute חייב להיות תאריך לפני :date.',
  24. 'before_or_equal' => 'שדה :attribute חייב להיות תאריך לפני או שווה ל־:date.',
  25. 'between' => [
  26. 'array' => 'שדה :attribute חייב להכיל בין :min ל־:max פריטים.',
  27. 'file' => 'שדה :attribute חייב להיות בין :min ל־:max קילובייטים.',
  28. 'numeric' => 'שדה :attribute חייב להיות בין :min ל־:max.',
  29. 'string' => 'שדה :attribute חייב להיות בין :min ל־:max תווים.',
  30. ],
  31. 'boolean' => 'שדה :attribute חייב להיות אמת או שקר.',
  32. 'can' => 'שדה :attribute מכיל ערך לא מורשה.',
  33. 'confirmed' => 'אישור השדה :attribute אינו תואם.',
  34. 'current_password' => 'הסיסמה שגויה.',
  35. 'date' => 'שדה :attribute חייב להיות תאריך תקף.',
  36. 'date_equals' => 'שדה :attribute חייב להיות תאריך שווה ל־:date.',
  37. 'date_format' => 'שדה :attribute אינו תואם את הפורמט :format.',
  38. 'decimal' => 'שדה :attribute חייב להיות עם :decimal ספרות אחרי הנקודה.',
  39. 'declined' => 'השדה :attribute חייב להיות מדווח כמסריר.',
  40. 'declined_if' => 'השדה :attribute חייב להיות מדווח כמסריר כאשר :other הוא :value.',
  41. 'different' => 'השדה :attribute ו־:other חייבים להיות שונים.',
  42. 'digits' => 'שדה :attribute חייב להיות בעל :digits ספרות.',
  43. 'digits_between' => 'שדה :attribute חייב להיות בין :min ל־:max ספרות.',
  44. 'dimensions' => 'התמונה בשדה :attribute יש מימדים לא תקינים.',
  45. 'distinct' => 'שדה :attribute מכיל ערך כפול.',
  46. 'doesnt_end_with' => 'שדה :attribute חייב לא להסתיים באחד מהערכים הבאים: :values.',
  47. 'doesnt_start_with' => 'שדה :attribute חייב לא להתחיל באחד מהערכים הבאים: :values.',
  48. 'email' => 'שדה :attribute חייב להיות כתובת דוא"ל תקינה.',
  49. 'ends_with' => 'שדה :attribute חייב להסתיים באחד מהערכים הבאים: :values.',
  50. 'enum' => 'הערך שנבחר עבור :attribute אינו תקין.',
  51. 'exists' => 'הערך שנבחר עבור :attribute אינו תקין.',
  52. 'extensions' => 'שדה :attribute חייב להכיל אחת מהסיומות הבאות: :values.',
  53. 'file' => 'שדה :attribute חייב להיות קובץ.',
  54. 'filled' => 'שדה :attribute חייב להכיל ערך.',
  55. 'gt' => [
  56. 'array' => 'שדה :attribute חייב להכיל יותר מ־:value פריטים.',
  57. 'file' => 'שדה :attribute חייב להיות גדול מ־:value קילובייטים.',
  58. 'numeric' => 'שדה :attribute חייב להיות גדול מ־:value.',
  59. 'string' => 'שדה :attribute חייב להיות גדול מ־:value תווים.',
  60. ],
  61. 'gte' => [
  62. 'array' => 'שדה :attribute חייב להכיל :value פריטים או יותר.',
  63. 'file' => 'שדה :attribute חייב להיות גדול או שווה ל־:value קילובייטים.',
  64. 'numeric' => 'שדה :attribute חייב להיות גדול או שווה ל־:value.',
  65. 'string' => 'שדה :attribute חייב להיות גדול או שווה ל־:value תווים.',
  66. ],
  67. 'hex_color' => 'שדה :attribute חייב להיות קוד צבע הקסדצימלי תקין.',
  68. 'image' => 'שדה :attribute חייב להיות תמונה.',
  69. 'in' => 'הערך שנבחר עבור :attribute אינו תקין.',
  70. 'in_array' => 'שדה :attribute חייב להיות קיים ב־:other.',
  71. 'integer' => 'שדה :attribute חייב להיות מספר שלם.',
  72. 'ip' => 'שדה :attribute חייב להיות כתובת IP תקינה.',
  73. 'ipv4' => 'שדה :attribute חייב להיות כתובת IPv4 תקינה.',
  74. 'ipv6' => 'שדה :attribute חייב להיות כתובת IPv6 תקינה.',
  75. 'json' => 'שדה :attribute חייב להיות מחרוזת JSON תקינה.',
  76. 'lowercase' => 'שדה :attribute חייב להיות באותיות קטנות בלבד.',
  77. 'lt' => [
  78. 'array' => 'שדה :attribute חייב להכיל פחות מ־:value פריטים.',
  79. 'file' => 'שדה :attribute חייב להיות פחות מ־:value קילובייטים.',
  80. 'numeric' => 'שדה :attribute חייב להיות פחות מ־:value.',
  81. 'string' => 'שדה :attribute חייב להיות פחות מ־:value תווים.',
  82. ],
  83. 'lte' => [
  84. 'array' => 'שדה :attribute חייב להכיל :value פריטים או פחות.',
  85. 'file' => 'שדה :attribute חייב להיות קטן או שווה ל־:value קילובייטים.',
  86. 'numeric' => 'שדה :attribute חייב להיות קטן או שווה ל־:value.',
  87. 'string' => 'שדה :attribute חייב להיות קטן או שווה ל־:value תווים.',
  88. ],
  89. 'mac_address' => 'שדה :attribute חייב להיות כתובת MAC תקינה.',
  90. 'max' => [
  91. 'array' => 'שדה :attribute חייב להכיל לא יותר מ־:max פריטים.',
  92. 'file' => 'שדה :attribute חייב להיות קטן מ־:max קילובייטים.',
  93. 'numeric' => 'שדה :attribute חייב להיות קטן מ־:max.',
  94. 'string' => 'שדה :attribute חייב להיות קטן מ־:max תווים.',
  95. ],
  96. 'max_digits' => 'שדה :attribute חייב להיות עד :max ספרות.',
  97. 'mimes' => 'שדה :attribute חייב להיות קובץ מסוג: :values.',
  98. 'mimetypes' => 'שדה :attribute חייב להיות קובץ מסוג: :values.',
  99. 'min' => [
  100. 'array' => 'שדה :attribute חייב להכיל לפחות :min פריטים.',
  101. 'file' => 'שדה :attribute חייב להיות לפחות :min קילובייטים.',
  102. 'numeric' => 'שדה :attribute חייב להיות לפחות :min.',
  103. 'string' => 'שדה :attribute חייב להיות לפחות :min תווים.',
  104. ],
  105. 'min_digits' => 'שדה :attribute חייב להיות לפחות בעל :min ספרות.',
  106. 'missing' => 'שדה :attribute חייב להיות חסר.',
  107. 'missing_if' => 'שדה :attribute חייב להיות חסר כאשר :other הוא :value.',
  108. 'missing_unless' => 'שדה :attribute חייב להיות חסר אלא אם :other הוא :value.',
  109. 'missing_with' => 'שדה :attribute חייב להיות חסר כאשר :values נמצאים.',
  110. 'missing_with_all' => 'שדה :attribute חייב להיות חסר כאשר :values נמצאים.',
  111. 'multiple_of' => 'שדה :attribute חייב להיות מרובה של :value.',
  112. 'not_in' => 'הערך שנבחר עבור :attribute אינו תקין.',
  113. 'not_regex' => 'פורמט שדה :attribute אינו תקין.',
  114. 'numeric' => 'שדה :attribute חייב להיות מספר.',
  115. 'password' => [
  116. 'letters' => 'שדה :attribute חייב לכלול לפחות אות אחת.',
  117. 'mixed' => 'שדה :attribute חייב לכלול לפחות אות אחת באותיות גדולות ואחת באותיות קטנות.',
  118. 'numbers' => 'שדה :attribute חייב לכלול לפחות מספר אחד.',
  119. 'symbols' => 'שדה :attribute חייב לכלול לפחות סמל אחד.',
  120. 'uncompromised' => 'ה־:attribute שנבחר הופיע בפרצת מידע. יש לבחור :attribute אחר.',
  121. ],
  122. 'present' => 'שדה :attribute חייב להיות נוכח.',
  123. 'present_if' => 'שדה :attribute חייב להיות נוכח כאשר :other הוא :value.',
  124. 'present_unless' => 'שדה :attribute חייב להיות נוכח אלא אם :other הוא :value.',
  125. 'present_with' => 'שדה :attribute חייב להיות נוכח כאשר :values נמצאים.',
  126. 'present_with_all' => 'שדה :attribute חייב להיות נוכח כאשר :values נמצאים.',
  127. 'prohibited' => 'שדה :attribute אסור.',
  128. 'prohibited_if' => 'שדה :attribute אסור כאשר :other הוא :value.',
  129. 'prohibited_unless' => 'שדה :attribute אסור אלא אם :other הוא ב־:values.',
  130. 'prohibits' => 'שדה :attribute אסור מלהכיל את :other.',
  131. 'regex' => 'פורמט השדה :attribute אינו תקין.',
  132. 'required' => 'שדה :attribute הוא חובה.',
  133. 'required_array_keys' => 'שדה :attribute חייב להכיל ערכים עבור: :values.',
  134. 'required_if' => 'שדה :attribute נדרש כאשר :other הוא :value.',
  135. 'required_if_accepted' => 'שדה :attribute נדרש כאשר :other מתקבל.',
  136. 'required_unless' => 'שדה :attribute נדרש אלא אם :other הוא ב־:values.',
  137. 'required_with' => 'שדה :attribute נדרש כאשר :values נמצאים.',
  138. 'required_with_all' => 'שדה :attribute נדרש כאשר :values נמצאים.',
  139. 'required_without' => 'שדה :attribute נדרש כאשר :values לא נמצאים.',
  140. 'required_without_all' => 'שדה :attribute נדרש כאשר אף אחד מהערכים :values לא נמצאים.',
  141. 'same' => 'שדה :attribute חייב להתאים ל־:other.',
  142. 'size' => [
  143. 'array' => 'שדה :attribute חייב להכיל :size פריטים.',
  144. 'file' => 'שדה :attribute חייב להיות בגודל של :size קילובייט.',
  145. 'numeric' => 'שדה :attribute חייב להיות בגודל של :size.',
  146. 'string' => 'שדה :attribute חייב להיות בגודל של :size תווים.',
  147. ],
  148. 'starts_with' => 'שדה :attribute חייב להתחיל באחד מהערכים הבאים: :values.',
  149. 'string' => 'שדה :attribute חייב להיות מחרוזת.',
  150. 'timezone' => 'שדה :attribute חייב להיות איזור זמן תקין.',
  151. 'unique' => 'ה־:attribute כבר תפוס.',
  152. 'uploaded' => 'העלאת :attribute נכשלה.',
  153. 'uppercase' => 'שדה :attribute חייב להיות באותיות גדולות בלבד.',
  154. 'url' => 'שדה :attribute חייב להיות כתובת URL תקינה.',
  155. 'ulid' => 'שדה :attribute חייב להיות ULID תקין.',
  156. 'uuid' => 'שדה :attribute חייב להיות UUID תקין.',
  157. /*
  158. |--------------------------------------------------------------------------
  159. | Custom Validation Language Lines
  160. |--------------------------------------------------------------------------
  161. |
  162. | Here you may specify custom validation messages for attributes using the
  163. | convention "attribute.rule" to name the lines. This makes it quick to
  164. | specify a specific custom language line for a given attribute rule.
  165. |
  166. */
  167. 'custom' => [
  168. 'attribute-name' => [
  169. 'rule-name' => 'הודעה מותאמת אישית',
  170. ],
  171. ],
  172. /*
  173. |--------------------------------------------------------------------------
  174. | Custom Validation Attributes
  175. |--------------------------------------------------------------------------
  176. |
  177. | The following language lines are used to swap our attribute placeholder
  178. | with something more reader friendly such as "E-Mail Address" instead
  179. | of "email". This simply helps us make our message more expressive.
  180. |
  181. */
  182. 'attributes' => [],
  183. ];