validation.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. 'before' => ':attribute ຕ້ອງເປັນວັນທີກ່ອນ :date.',
  23. 'before_or_equal' => ':attribute ຕ້ອງເປັນວັນທີກ່ອນ ຫຼື ເທົ່າກັບ :date.',
  24. 'between' => [
  25. 'numeric' => ':attribute ຕ້ອງຢູ່ລະຫວ່າງ :min ຫາ :max.',
  26. 'file' => ':attribute ຕ້ອງມີຂະໜາດລະຫວ່າງ :min ຫາ :max ກິໂລໄບຕ໌.',
  27. 'string' => ':attribute ຕ້ອງມີຄວາມຍາວລະຫວ່າງ :min ຫາ :max ຕົວອັກສອນ.',
  28. 'array' => ':attribute ຕ້ອງມີລະຫວ່າງ :min ຫາ :max ລາຍການ.',
  29. ],
  30. 'boolean' => 'ຊ່ອງ :attribute ຕ້ອງເປັນ true ຫຼື false.',
  31. 'confirmed' => 'ການຢືນຢັນ :attribute ບໍ່ກົງກັນ.',
  32. 'current_password' => 'ລະຫັດຜ່ານບໍ່ຖືກຕ້ອງ.',
  33. 'date' => ':attribute ບໍ່ແມ່ນວັນທີທີ່ຖືກຕ້ອງ.',
  34. 'date_equals' => ':attribute ຕ້ອງເປັນວັນທີເທົ່າກັບ :date.',
  35. 'date_format' => ':attribute ບໍ່ກົງກັບຮູບແບບ :format.',
  36. 'declined' => 'ຕ້ອງປະຕິເສດ :attribute.',
  37. 'declined_if' => 'ຕ້ອງປະຕິເສດ :attribute ເມື່ອ :other ເປັນ :value.',
  38. 'different' => ':attribute ແລະ :other ຕ້ອງແຕກຕ່າງກັນ.',
  39. 'digits' => ':attribute ຕ້ອງມີ :digits ຫຼັກ.',
  40. 'digits_between' => ':attribute ຕ້ອງມີລະຫວ່າງ :min ຫາ :max ຫຼັກ.',
  41. 'dimensions' => ':attribute ມີຂະໜາດຮູບພາບບໍ່ຖືກຕ້ອງ.',
  42. 'distinct' => 'ຊ່ອງ :attribute ມີຄ່າຊ້ຳກັນ.',
  43. 'email' => ':attribute ຕ້ອງເປັນທີ່ຢູ່ອີເມວທີ່ຖືກຕ້ອງ.',
  44. 'ends_with' => ':attribute ຕ້ອງລົງທ້າຍດ້ວຍໜຶ່ງໃນ: :values.',
  45. 'enum' => ':attribute ທີ່ເລືອກບໍ່ຖືກຕ້ອງ.',
  46. 'exists' => ':attribute ທີ່ເລືອກມີຢູ່ແລ້ວ.',
  47. 'file' => ':attribute ຕ້ອງເປັນໄຟລ໌.',
  48. 'filled' => 'ຊ່ອງ :attribute ຕ້ອງມີຄ່າ.',
  49. 'gt' => [
  50. 'numeric' => ':attribute ຕ້ອງຫຼາຍກວ່າ :value.',
  51. 'file' => ':attribute ຕ້ອງໃຫຍ່ກວ່າ :value ກິໂລໄບຕ໌.',
  52. 'string' => ':attribute ຕ້ອງຍາວກວ່າ :value ຕົວອັກສອນ.',
  53. 'array' => ':attribute ຕ້ອງມີຫຼາຍກວ່າ :value ລາຍການ.',
  54. ],
  55. 'gte' => [
  56. 'numeric' => ':attribute ຕ້ອງຫຼາຍກວ່າ ຫຼື ເທົ່າກັບ :value.',
  57. 'file' => ':attribute ຕ້ອງໃຫຍ່ກວ່າ ຫຼື ເທົ່າກັບ :value ກິໂລໄບຕ໌.',
  58. 'string' => ':attribute ຕ້ອງຍາວກວ່າ ຫຼື ເທົ່າກັບ :value ຕົວອັກສອນ.',
  59. 'array' => ':attribute ຕ້ອງມີ :value ລາຍການຂຶ້ນໄປ.',
  60. ],
  61. 'image' => ':attribute ຕ້ອງເປັນຮູບພາບ.',
  62. 'in' => ':attribute ທີ່ເລືອກບໍ່ຖືກຕ້ອງ.',
  63. 'in_array' => 'ຊ່ອງ :attribute ບໍ່ມີຢູ່ໃນ :other.',
  64. 'integer' => ':attribute ຕ້ອງເປັນຈຳນວນເຕັມ.',
  65. 'ip' => ':attribute ຕ້ອງເປັນທີ່ຢູ່ IP ທີ່ຖືກຕ້ອງ.',
  66. 'ipv4' => ':attribute ຕ້ອງເປັນທີ່ຢູ່ IPv4 ທີ່ຖືກຕ້ອງ.',
  67. 'ipv6' => ':attribute ຕ້ອງເປັນທີ່ຢູ່ IPv6 ທີ່ຖືກຕ້ອງ.',
  68. 'mac_address' => ':attribute ຕ້ອງເປັນທີ່ຢູ່ MAC ທີ່ຖືກຕ້ອງ.',
  69. 'json' => ':attribute ຕ້ອງເປັນຂໍ້ຄວາມ JSON ທີ່ຖືກຕ້ອງ.',
  70. 'lt' => [
  71. 'numeric' => ':attribute ຕ້ອງນ້ອຍກວ່າ :value.',
  72. 'file' => ':attribute ຕ້ອງນ້ອຍກວ່າ :value ກິໂລໄບຕ໌.',
  73. 'string' => ':attribute ຕ້ອງສັ້ນກວ່າ :value ຕົວອັກສອນ.',
  74. 'array' => ':attribute ຕ້ອງມີໜ້ອຍກວ່າ :value ລາຍການ.',
  75. ],
  76. 'lte' => [
  77. 'numeric' => ':attribute ຕ້ອງນ້ອຍກວ່າ ຫຼື ເທົ່າກັບ :value.',
  78. 'file' => ':attribute ຕ້ອງນ້ອຍກວ່າ ຫຼື ເທົ່າກັບ :value ກິໂລໄບຕ໌.',
  79. 'string' => ':attribute ຕ້ອງສັ້ນກວ່າ ຫຼື ເທົ່າກັບ :value ຕົວອັກສອນ.',
  80. 'array' => ':attribute ຕ້ອງມີບໍ່ເກີນ :value ລາຍການ.',
  81. ],
  82. 'max' => [
  83. 'numeric' => ':attribute ຕ້ອງບໍ່ຫຼາຍກວ່າ :max.',
  84. 'file' => ':attribute ຕ້ອງບໍ່ໃຫຍ່ກວ່າ :max ກິໂລໄບຕ໌.',
  85. 'string' => ':attribute ຕ້ອງບໍ່ຍາວກວ່າ :max ຕົວອັກສອນ.',
  86. 'array' => ':attribute ຕ້ອງມີບໍ່ເກີນ :max ລາຍການ.',
  87. ],
  88. 'mimes' => ':attribute ຕ້ອງເປັນໄຟລ໌ປະເພດ: :values.',
  89. 'mimetypes' => ':attribute ຕ້ອງເປັນໄຟລ໌ປະເພດ: :values.',
  90. 'min' => [
  91. 'numeric' => ':attribute ຕ້ອງມີຄ່າຢ່າງໜ້ອຍ :min.',
  92. 'file' => ':attribute ຕ້ອງມີຂະໜາດຢ່າງໜ້ອຍ :min ກິໂລໄບຕ໌.',
  93. 'string' => ':attribute ຕ້ອງມີຢ່າງໜ້ອຍ :min ຕົວອັກສອນ.',
  94. 'array' => ':attribute ຕ້ອງມີຢ່າງໜ້ອຍ :min ລາຍການ.',
  95. ],
  96. 'multiple_of' => ':attribute ຕ້ອງເປັນຜົນຄູນຂອງ :value.',
  97. 'not_in' => ':attribute ທີ່ເລືອກບໍ່ຖືກຕ້ອງ.',
  98. 'not_regex' => 'ຮູບແບບຂອງ :attribute ບໍ່ຖືກຕ້ອງ.',
  99. 'numeric' => ':attribute ຕ້ອງເປັນຕົວເລກ.',
  100. 'password' => 'ລະຫັດຜ່ານບໍ່ຖືກຕ້ອງ.',
  101. 'present' => 'ຕ້ອງມີຊ່ອງ :attribute.',
  102. 'prohibited' => 'ຊ່ອງ :attribute ຖືກຫ້າມ.',
  103. 'prohibited_if' => 'ຊ່ອງ :attribute ຖືກຫ້າມເມື່ອ :other ເປັນ :value.',
  104. 'prohibited_unless' => 'ຊ່ອງ :attribute ຖືກຫ້າມ ເວັ້ນເສຍແຕ່ :other ຢູ່ໃນ :values.',
  105. 'prohibits' => 'ຊ່ອງ :attribute ຫ້າມບໍ່ໃຫ້ມີ :other.',
  106. 'regex' => 'ຮູບແບບຂອງ :attribute ບໍ່ຖືກຕ້ອງ.',
  107. 'required' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute.',
  108. 'required_if' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute ເມື່ອ :other ເປັນ :value.',
  109. 'required_unless' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute ເວັ້ນເສຍແຕ່ :other ຢູ່ໃນ :values.',
  110. 'required_with' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute ເມື່ອມີ :values.',
  111. 'required_with_all' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute ເມື່ອມີ :values ທັງໝົດ.',
  112. 'required_without' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute ເມື່ອບໍ່ມີ :values.',
  113. 'required_without_all' => 'ຕ້ອງຕື່ມຊ່ອງ :attribute ເມື່ອບໍ່ມີຄ່າໃດໆໃນ :values.',
  114. 'same' => ':attribute ແລະ :other ຕ້ອງກົງກັນ.',
  115. 'size' => [
  116. 'numeric' => ':attribute ຕ້ອງເທົ່າກັບ :size.',
  117. 'file' => ':attribute ຕ້ອງມີຂະໜາດ :size ກິໂລໄບຕ໌.',
  118. 'string' => ':attribute ຕ້ອງມີ :size ຕົວອັກສອນ.',
  119. 'array' => ':attribute ຕ້ອງມີ :size ລາຍການ.',
  120. ],
  121. 'starts_with' => ':attribute ຕ້ອງເລີ່ມຕົ້ນດ້ວຍໜຶ່ງໃນ: :values.',
  122. 'string' => ':attribute ຕ້ອງເປັນຂໍ້ຄວາມ.',
  123. 'timezone' => ':attribute ຕ້ອງເປັນເຂດເວລາທີ່ຖືກຕ້ອງ.',
  124. 'unique' => ':attribute ຖືກໃຊ້ໄປແລ້ວ.',
  125. 'uploaded' => 'ອັບໂຫຼດ :attribute ບໍ່ສຳເລັດ.',
  126. 'url' => ':attribute ຕ້ອງເປັນ URL ທີ່ຖືກຕ້ອງ.',
  127. 'uuid' => ':attribute ຕ້ອງເປັນ UUID ທີ່ຖືກຕ້ອງ.',
  128. /*
  129. |--------------------------------------------------------------------------
  130. | Custom Validation Language Lines
  131. |--------------------------------------------------------------------------
  132. |
  133. | Here you may specify custom validation messages for attributes using the
  134. | convention "attribute.rule" to name the lines. This makes it quick to
  135. | specify a specific custom language line for a given attribute rule.
  136. |
  137. */
  138. 'custom' => [
  139. 'attribute-name' => [
  140. 'rule-name' => 'custom-message',
  141. ],
  142. ],
  143. /*
  144. |--------------------------------------------------------------------------
  145. | Custom Validation Attributes
  146. |--------------------------------------------------------------------------
  147. |
  148. | The following language lines are used to swap our attribute placeholder
  149. | with something more reader friendly such as "E-Mail Address" instead
  150. | of "email". This simply helps us make our message more expressive.
  151. |
  152. */
  153. 'attributes' => [],
  154. ];