| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | The following language lines contain the default error messages used by
- | the validator class. Some of these rules have multiple versions such
- | as the size rules. Feel free to tweak each of these messages here.
- |
- */
- 'accepted' => ':attribute ต้องได้รับการยอมรับ',
- 'accepted_if' => ':attribute ต้องได้รับการยอมรับเมื่อ :other เป็น :value',
- 'active_url' => ':attribute ไม่ใช่ URL ที่ถูกต้อง',
- 'after' => ':attribute ต้องเป็นวันที่หลังจาก :date',
- 'after_or_equal' => ':attribute ต้องเป็นวันที่หลังจากหรือเท่ากับ :date',
- 'alpha' => ':attribute ต้องประกอบด้วยตัวอักษรเท่านั้น',
- 'alpha_dash' => ':attribute ต้องประกอบด้วยตัวอักษร ตัวเลข ขีดกลาง และขีดล่างเท่านั้น',
- 'alpha_num' => ':attribute ต้องประกอบด้วยตัวอักษรและตัวเลขเท่านั้น',
- 'array' => ':attribute ต้องเป็นอาร์เรย์',
- 'before' => ':attribute ต้องเป็นวันที่ก่อน :date',
- 'before_or_equal' => ':attribute ต้องเป็นวันที่ก่อนหรือเท่ากับ :date',
- 'between' => [
- 'numeric' => ':attribute ต้องอยู่ระหว่าง :min ถึง :max',
- 'file' => ':attribute ต้องมีขนาดระหว่าง :min ถึง :max กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวระหว่าง :min ถึง :max ตัวอักษร',
- 'array' => ':attribute ต้องมีจำนวนรายการระหว่าง :min ถึง :max รายการ',
- ],
- 'boolean' => ':attribute ต้องเป็นค่า true หรือ false',
- 'confirmed' => 'การยืนยัน :attribute ไม่ตรงกัน',
- 'current_password' => 'รหัสผ่านไม่ถูกต้อง',
- 'date' => ':attribute ไม่ใช่วันที่ที่ถูกต้อง',
- 'date_equals' => ':attribute ต้องเป็นวันที่เท่ากับ :date',
- 'date_format' => ':attribute ไม่ตรงกับรูปแบบ :format',
- 'declined' => ':attribute ต้องถูกปฏิเสธ',
- 'declined_if' => ':attribute ต้องถูกปฏิเสธเมื่อ :other เป็น :value',
- 'different' => ':attribute และ :other ต้องแตกต่างกัน',
- 'digits' => ':attribute ต้องมี :digits หลัก',
- 'digits_between' => ':attribute ต้องมีจำนวนหลักระหว่าง :min ถึง :max',
- 'dimensions' => ':attribute มีขนาดรูปภาพไม่ถูกต้อง',
- 'distinct' => ':attribute มีค่าซ้ำกัน',
- 'email' => ':attribute ต้องเป็นที่อยู่อีเมลที่ถูกต้อง',
- 'ends_with' => ':attribute ต้องลงท้ายด้วยหนึ่งในค่าต่อไปนี้: :values',
- 'enum' => ':attribute ที่เลือกไม่ถูกต้อง',
- 'exists' => ':attribute ที่เลือกมีอยู่แล้ว',
- 'file' => ':attribute ต้องเป็นไฟล์',
- 'filled' => ':attribute ต้องมีค่า',
- 'gt' => [
- 'numeric' => ':attribute ต้องมากกว่า :value',
- 'file' => ':attribute ต้องมีขนาดมากกว่า :value กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวมากกว่า :value ตัวอักษร',
- 'array' => ':attribute ต้องมีมากกว่า :value รายการ',
- ],
- 'gte' => [
- 'numeric' => ':attribute ต้องมากกว่าหรือเท่ากับ :value',
- 'file' => ':attribute ต้องมีขนาดมากกว่าหรือเท่ากับ :value กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวมากกว่าหรือเท่ากับ :value ตัวอักษร',
- 'array' => ':attribute ต้องมี :value รายการหรือมากกว่า',
- ],
- 'image' => ':attribute ต้องเป็นรูปภาพ',
- 'in' => ':attribute ที่เลือกไม่ถูกต้อง',
- 'in_array' => ':attribute ไม่มีอยู่ใน :other',
- 'integer' => ':attribute ต้องเป็นจำนวนเต็ม',
- 'ip' => ':attribute ต้องเป็นที่อยู่ IP ที่ถูกต้อง',
- 'ipv4' => ':attribute ต้องเป็นที่อยู่ IPv4 ที่ถูกต้อง',
- 'ipv6' => ':attribute ต้องเป็นที่อยู่ IPv6 ที่ถูกต้อง',
- 'mac_address' => ':attribute ต้องเป็นที่อยู่ MAC ที่ถูกต้อง',
- 'json' => ':attribute ต้องเป็นสตริง JSON ที่ถูกต้อง',
- 'lt' => [
- 'numeric' => ':attribute ต้องน้อยกว่า :value',
- 'file' => ':attribute ต้องมีขนาดน้อยกว่า :value กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวน้อยกว่า :value ตัวอักษร',
- 'array' => ':attribute ต้องมีน้อยกว่า :value รายการ',
- ],
- 'lte' => [
- 'numeric' => ':attribute ต้องน้อยกว่าหรือเท่ากับ :value',
- 'file' => ':attribute ต้องมีขนาดน้อยกว่าหรือเท่ากับ :value กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวน้อยกว่าหรือเท่ากับ :value ตัวอักษร',
- 'array' => ':attribute ต้องมีไม่เกิน :value รายการ',
- ],
- 'max' => [
- 'numeric' => ':attribute ต้องไม่เกิน :max',
- 'file' => ':attribute ต้องมีขนาดไม่เกิน :max กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวไม่เกิน :max ตัวอักษร',
- 'array' => ':attribute ต้องมีไม่เกิน :max รายการ',
- ],
- 'mimes' => ':attribute ต้องเป็นไฟล์ประเภท: :values',
- 'mimetypes' => ':attribute ต้องเป็นไฟล์ประเภท: :values',
- 'min' => [
- 'numeric' => ':attribute ต้องมีค่าอย่างน้อย :min',
- 'file' => ':attribute ต้องมีขนาดอย่างน้อย :min กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาวอย่างน้อย :min ตัวอักษร',
- 'array' => ':attribute ต้องมีอย่างน้อย :min รายการ',
- ],
- 'multiple_of' => ':attribute ต้องเป็นผลคูณของ :value',
- 'not_in' => ':attribute ที่เลือกไม่ถูกต้อง',
- 'not_regex' => 'รูปแบบของ :attribute ไม่ถูกต้อง',
- 'numeric' => ':attribute ต้องเป็นตัวเลข',
- 'password' => 'รหัสผ่านไม่ถูกต้อง',
- 'present' => ':attribute ต้องมีอยู่',
- 'prohibited' => ':attribute ไม่อนุญาต',
- 'prohibited_if' => ':attribute ไม่อนุญาตเมื่อ :other เป็น :value',
- 'prohibited_unless' => ':attribute ไม่อนุญาต เว้นแต่ :other อยู่ใน :values',
- 'prohibits' => ':attribute ห้ามมี :other',
- 'regex' => 'รูปแบบของ :attribute ไม่ถูกต้อง',
- 'required' => ':attribute จำเป็นต้องกรอก',
- 'required_if' => ':attribute จำเป็นต้องกรอกเมื่อ :other เป็น :value',
- 'required_unless' => ':attribute จำเป็นต้องกรอก เว้นแต่ :other อยู่ใน :values',
- 'required_with' => ':attribute จำเป็นต้องกรอกเมื่อมี :values',
- 'required_with_all' => ':attribute จำเป็นต้องกรอกเมื่อมี :values ทั้งหมด',
- 'required_without' => ':attribute จำเป็นต้องกรอกเมื่อไม่มี :values',
- 'required_without_all' => ':attribute จำเป็นต้องกรอกเมื่อไม่มี :values ใดเลย',
- 'same' => ':attribute และ :other ต้องตรงกัน',
- 'size' => [
- 'numeric' => ':attribute ต้องมีขนาด :size',
- 'file' => ':attribute ต้องมีขนาด :size กิโลไบต์',
- 'string' => ':attribute ต้องมีความยาว :size ตัวอักษร',
- 'array' => ':attribute ต้องมี :size รายการ',
- ],
- 'starts_with' => ':attribute ต้องขึ้นต้นด้วยหนึ่งในค่าต่อไปนี้: :values',
- 'string' => ':attribute ต้องเป็นสตริง',
- 'timezone' => ':attribute ต้องเป็นเขตเวลาที่ถูกต้อง',
- 'unique' => ':attribute นี้ถูกใช้งานแล้ว',
- 'uploaded' => ':attribute อัปโหลดล้มเหลว',
- 'url' => ':attribute ต้องเป็น URL ที่ถูกต้อง',
- 'uuid' => ':attribute ต้องเป็น UUID ที่ถูกต้อง',
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | Here you may specify custom validation messages for attributes using the
- | convention "attribute.rule" to name the lines. This makes it quick to
- | specify a specific custom language line for a given attribute rule.
- |
- */
- 'custom' => [
- 'attribute-name' => [
- 'rule-name' => 'custom-message',
- ],
- ],
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Attributes
- |--------------------------------------------------------------------------
- |
- | The following language lines are used to swap our attribute placeholder
- | with something more reader friendly such as "E-Mail Address" instead
- | of "email". This simply helps us make our message more expressive.
- |
- */
- 'attributes' => [],
- ];
|