validation-inline.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Validation Language Lines
  5. |--------------------------------------------------------------------------
  6. |
  7. | The following language lines contain the default error messages used by
  8. | the validator class. Some of these rules have multiple versions such
  9. | as the size rules. Feel free to tweak each of these messages here.
  10. |
  11. */
  12. return [
  13. 'accepted' => 'ช่องข้อมูลนี้จะต้องรับการยอมรับ',
  14. 'accepted_if' => 'This field must be accepted when :other is :value.',
  15. 'active_url' => 'นี่ไม่ใช่การใช้ได้ที่อยู่ URL ได้',
  16. 'after' => 'นี่ต้องเป็นวันหลังจาก :date.',
  17. 'after_or_equal' => 'นี่ต้องเป็นวันหลังจากหรือเท่ากับ :date.',
  18. 'alpha' => 'ช่องข้อมูลนี้อาจจะเป็นเพียงแค่จะบรรจุจดหมาย',
  19. 'alpha_dash' => 'ช่องข้อมูลนี้อาจจะเป็นเพียงแค่จะบรรจุจดหมายของตัวเลข dashes และ underscores.',
  20. 'alpha_num' => 'ช่องข้อมูลนี้อาจจะเป็นเพียงแค่จะบรรจุจดหมายและเบอร์โทรศัพท์',
  21. 'array' => 'ช่องข้อมูลนี้จะต้องเป็นอาเรย์.',
  22. 'attached' => 'ช่องข้อมูลนี้อยู่แล้วมาเกี่ยวข้อง',
  23. 'before' => 'นี่ต้องเป็นวันก่อนที่ :date.',
  24. 'before_or_equal' => 'นี่ต้องเป็นวันก่อนหรือเท่ากับ :date.',
  25. 'between' => [
  26. 'array' => 'This content must have between :min and :max items.',
  27. 'file' => 'This file must be between :min and :max kilobytes.',
  28. 'numeric' => 'This value must be between :min and :max.',
  29. 'string' => 'This string must be between :min and :max characters.',
  30. ],
  31. 'boolean' => 'ช่องข้อมูลนี้ต้องเป็นเรื่องจริงหรือเท็จ',
  32. 'confirmed' => 'ครับการยืนยันไม่ตรงกัน',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => 'นี่เป็นค่าวันที่ที่ไม่ถูกต้อง!',
  35. 'date_equals' => 'นี่ต้องเป็นวันเท่ากับ :date.',
  36. 'date_format' => 'นี่มันไม่ตรงกับรูปแบบ :format.',
  37. 'declined' => 'This value must be declined.',
  38. 'declined_if' => 'This value must be declined when :other is :value.',
  39. 'different' => 'ค่านี้จะต้องแตกต่างจาก :other.',
  40. 'digits' => 'นี่ต้องเป็น :digits อกเลขรหัสมา',
  41. 'digits_between' => 'นี่ต้องเป็นระหว่าง :min และ :max อกเลขรหัสมา',
  42. 'dimensions' => 'ภาพนี้มีไม่ถูกต้องมิติ',
  43. 'distinct' => 'ช่องข้อมูลนี้มีองปลค่า',
  44. 'email' => 'นี่ต้องเป็นที่อยู่อีเมลที่ถูกต้อง',
  45. 'ends_with' => 'นี่คงจบอย่างหนึ่งจากเกิดข้อผิดพลาดต่อไปนี้::values.',
  46. 'exists' => 'คอนที่เลือกไว้ออกค่าใช้ไม่ได้หรือไม่ถูกต้อง',
  47. 'file' => 'เนื้อหาต้องแฟ้ม',
  48. 'filled' => 'ช่องข้อมูลนี้คงมีมูลค่าอยู่',
  49. 'gt' => [
  50. 'array' => 'The content must have more than :value items.',
  51. 'file' => 'The file size must be greater than :value kilobytes.',
  52. 'numeric' => 'The value must be greater than :value.',
  53. 'string' => 'The string must be greater than :value characters.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'The content must have :value items or more.',
  57. 'file' => 'The file size must be greater than or equal :value kilobytes.',
  58. 'numeric' => 'The value must be greater than or equal :value.',
  59. 'string' => 'The string must be greater than or equal :value characters.',
  60. ],
  61. 'image' => 'นี่ต้องเป็นภาพได้ที่นี่',
  62. 'in' => 'คอนที่เลือกไว้ออกค่าใช้ไม่ได้หรือไม่ถูกต้อง',
  63. 'in_array' => 'ค่านี้ยังไม่มีอยู่ใน :other.',
  64. 'integer' => 'นี่ต้องเป็นการเป็นเลขจำนวนเต็ม',
  65. 'ip' => 'นี่ต้องเป็นที่ใช้งานได้โดยใช้ไอพีแอดเดรส.',
  66. 'ipv4' => 'นี่ต้องเป็นที่ถูกต้อ IPv4 อยู่แล้ว',
  67. 'ipv6' => 'นี่ต้องเป็นที่ถูกต้อ IPv6 อยู่แล้ว',
  68. 'json' => 'นี่ต้องเป็นที่ถูกต้อ LANGUAGE องข้อความ',
  69. 'lt' => [
  70. 'array' => 'The content must have less than :value items.',
  71. 'file' => 'The file size must be less than :value kilobytes.',
  72. 'numeric' => 'The value must be less than :value.',
  73. 'string' => 'The string must be less than :value characters.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'The content must not have more than :value items.',
  77. 'file' => 'The file size must be less than or equal :value kilobytes.',
  78. 'numeric' => 'The value must be less than or equal :value.',
  79. 'string' => 'The string must be less than or equal :value characters.',
  80. ],
  81. 'max' => [
  82. 'array' => 'The content may not have more than :max items.',
  83. 'file' => 'The file size may not be greater than :max kilobytes.',
  84. 'numeric' => 'The value may not be greater than :max.',
  85. 'string' => 'The string may not be greater than :max characters.',
  86. ],
  87. 'mimes' => 'นี่ต้องเป็นแฟ้มประเภท::values.',
  88. 'mimetypes' => 'นี่ต้องเป็นแฟ้มประเภท::values.',
  89. 'min' => [
  90. 'array' => 'The value must have at least :min items.',
  91. 'file' => 'The file size must be at least :min kilobytes.',
  92. 'numeric' => 'The value must be at least :min.',
  93. 'string' => 'The string must be at least :min characters.',
  94. ],
  95. 'multiple_of' => 'ค่าจะต้องเป็นหลายของ :value',
  96. 'not_in' => 'คอนที่เลือกไว้ออกค่าใช้ไม่ได้หรือไม่ถูกต้อง',
  97. 'not_regex' => 'นี่รูปแบบไม่ถูกต้อง',
  98. 'numeric' => 'นี่ต้องเป็นตัวเลข',
  99. 'password' => 'รหัสผ่านไม่ถูกต้อง',
  100. 'present' => 'ช่องข้อมูลนี้ต้องเป็นของขวัญ',
  101. 'prohibited' => 'ช่องข้อมูลนี้เป็น prohibited.',
  102. 'prohibited_if' => 'ช่องข้อมูลนี้เป็น prohibited ตอนที่ :other คือ :value.',
  103. 'prohibited_unless' => 'ช่องข้อมูลนี้เป็น prohibited นอกจาก :other อยู่ใน :values.',
  104. 'prohibits' => 'This field prohibits :other from being present.',
  105. 'regex' => 'นี่รูปแบบไม่ถูกต้อง',
  106. 'relatable' => 'ช่องข้อมูลนี้อาจจะไม่เกี่ยวข้องกับทรัพยากรนี้',
  107. 'required' => 'ช่องข้อมูลนี้เป็นต้องการ.',
  108. 'required_if' => 'ช่องข้อมูลนี้เป็นต้องการตอนที่ :other คือ :value.',
  109. 'required_unless' => 'ช่องข้อมูลนี้เป็นต้องการนอกจาก :other อยู่ใน :values.',
  110. 'required_with' => 'ช่องข้อมูลนี้เป็นต้องการตอนที่ :values เป็นของขวัญ',
  111. 'required_with_all' => 'ช่องข้อมูลนี้เป็นต้องการตอนที่ :values เป็นของขวัญ',
  112. 'required_without' => 'ช่องข้อมูลนี้เป็นต้องการตอนที่ :values ไม่ใช่ของขวัญ',
  113. 'required_without_all' => 'ช่องข้อมูลนี้เป็นต้องการตอนที่ไม่ใช่เรื่องของ :values เป็นของขวัญ',
  114. 'same' => 'ค่าของช่องข้อมูลนี้จะต้องตรงกับหนึ่งจาก :other.',
  115. 'size' => [
  116. 'array' => 'The content must contain :size items.',
  117. 'file' => 'The file size must be :size kilobytes.',
  118. 'numeric' => 'The value must be :size.',
  119. 'string' => 'The string must be :size characters.',
  120. ],
  121. 'starts_with' => 'นี่ต้องเริ่มต้นกับหนึ่งจากเกิดข้อผิดพลาดต่อไปนี้::values.',
  122. 'string' => 'นี่คงเป็นข้อความ',
  123. 'timezone' => 'นี่ต้องเป็นที่ใช้งานพื้นที่อันตราย',
  124. 'unique' => 'มันจะถูกจับตัวไป',
  125. 'uploaded' => 'นี่ล้มเหลวในการอัปโหลด',
  126. 'url' => 'นี่รูปแบบไม่ถูกต้อง',
  127. 'uuid' => 'นี่ต้องเป็นที่ถูกต้อ PHLUIDNAME.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];