This commit is contained in:
Gregory Letellier
2023-11-28 12:13:50 +01:00
commit d5b3ccabd9
537 changed files with 32146 additions and 0 deletions

217
lang/th/validation.php Normal file
View File

@@ -0,0 +1,217 @@
<?php
declare(strict_types=1);
return [
'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 ต้องเป็น array เท่านั้น',
'ascii' => ':Attribute ต้องมีอักขระและสัญลักษณ์ที่เป็นตัวอักษรและตัวเลขคละกันแบบไบต์เดี่ยวเท่านั้น',
'before' => 'ข้อมูล :attribute ต้องเป็นวันที่ก่อน :date.',
'before_or_equal' => 'ข้อมูล :attribute ต้องเป็นวันที่ก่อนหรือเท่ากับวันที่ :date.',
'between' => [
'array' => 'ข้อมูล :attribute ต้องมีค่าระหว่าง :min - :max ค่า',
'file' => 'ข้อมูล :attribute ต้องมีขนาดระหว่าง :min - :max กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min - :max.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรระหว่าง :min - :max ตัวอักษร',
],
'boolean' => 'ข้อมูล :attribute ต้องเป็นจริงหรือเท็จเท่านั้น',
'can' => 'ฟิลด์ :attribute มีค่าที่ไม่ได้รับอนุญาต',
'confirmed' => 'ข้อมูล :attribute ไม่ตรงกัน',
'current_password' => 'รหัสผ่านไม่ถูกต้อง',
'date' => 'ข้อมูล :attribute ต้องเป็นวันที่',
'date_equals' => 'ข้อมูล :attribute ต้องเป็นวันที่ที่เท่ากับ :date',
'date_format' => 'ข้อมูล :attribute ไม่ตรงกับข้อมูล :format ที่กำหนด',
'decimal' => ':Attribute ต้องมีทศนิยม :decimal ตำแหน่ง',
'declined' => 'ข้อมูล :attribute ต้องถูกปฏิเสธ',
'declined_if' => 'ข้อมูล :attribute ต้องถูกปฏิเสธเมื่อ :other มีค่าเท่ากับ :value.',
'different' => 'ข้อมูล :attribute และ :other ต้องไม่เท่ากัน',
'digits' => 'ข้อมูล:attributeต้องเป็น:digits',
'digits_between' => 'ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min ถึง :max',
'dimensions' => 'ข้อมูล :attribute มีขนาดไม่ถูกต้อง.',
'distinct' => 'ข้อมูล :attribute มีค่าที่ซ้ำกัน',
'doesnt_end_with' => 'ข้อมูล :attribute ไม่ควรลงท้ายด้วยค่าดังต่อไปนี้: :values.',
'doesnt_start_with' => 'ข้อมูล :attribute ไม่ควรเริ่มต้นด้วยค่าดังต่อไปนี้: :values.',
'email' => 'ข้อมูล :attribute ต้องเป็นอีเมล์',
'ends_with' => 'ข้อมูล :attribute ต้องจบด้วยค่าดังต่อไปนี้: :values.',
'enum' => 'ข้อมูล :attribute ที่เลือกไม่ถูกต้อง',
'exists' => 'ข้อมูล :attribute ที่เลือกไม่ถูกต้อง',
'file' => 'ข้อมูล :attribute ต้องเป็นไฟล์',
'filled' => 'จำเป็นต้องกรอกข้อมูล :attribute',
'gt' => [
'array' => 'ข้อมูล :attribute ต้องมีค่ามากกว่า :value',
'file' => 'ข้อมูล :attribute ต้องมีขนาดมากกว่า :value กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องมีค่ามากกว่า :value',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรมากกว่า :value ตัวอักษร',
],
'gte' => [
'array' => 'ข้อมูล :attribute ต้องมีค่า :value หรือมากกว่า',
'file' => 'ข้อมูล :attribute ต้องมีขนาดมากกว่าหรือเท่ากับ :value กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องมีค่ามากกว่าหรือเท่ากับ :value',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรมากกว่าหรือเท่ากับ :value ตัวอักษร',
],
'image' => 'ข้อมูล :attribute ต้องเป็นรูปภาพ',
'in' => 'ข้อมูลที่ถูกเลือกใน :attribute ไม่ถูกต้อง',
'in_array' => 'ข้อมูล :attribute ไม่มีอยู่ภายในค่าของ :other',
'integer' => 'ข้อมูล :attribute ต้องเป็นตัวเลข',
'ip' => 'ข้อมูล :attribute ต้องเป็น IP',
'ipv4' => 'ข้อมูล :attribute ต้องตรงตามรูปแบบ IPv4 address.',
'ipv6' => 'ข้อมูล :attribute ต้องตรงตามรูปแบบ IPv6 address.',
'json' => 'ข้อมูล :attribute ต้องเป็นอักขระ JSON ที่สมบูรณ์',
'lowercase' => ':Attribute ต้องเป็นตัวพิมพ์เล็ก',
'lt' => [
'array' => 'ข้อมูล :attribute ต้องมีน้อยกว่า :value ค่า.',
'file' => 'ข้อมูล :attribute ต้องมีขนาดน้อยกว่า :value กิโลไบต์.',
'numeric' => 'ข้อมูล :attribute ต้องมีค่าน้อยกว่า :value.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรน้อยกว่า :value ตัวอักษร.',
],
'lte' => [
'array' => 'ข้อมูล :attribute ต้องมีไม่เกิน :value ค่า.',
'file' => 'ข้อมูล :attribute ต้องมีขนาดน้อยกว่าหรือเท่ากับ :value กิโลไบต์.',
'numeric' => 'ข้อมูล :attribute ต้องมีค่าน้อยกว่าหรือเท่ากับ :value.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรน้อยกว่าหรือเท่ากับ :value ตัวอักษร.',
],
'mac_address' => ':Attribute ต้องเป็นที่อยู่ MAC ที่ถูกต้อง',
'max' => [
'array' => 'ข้อมูล :attribute ต้องมีไม่เกิน :max ค่า',
'file' => 'ข้อมูล :attribute ต้องมีขนาดไม่เกิน :max กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องมีค่าไม่เกิน :max.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรไม่เกิน :max ตัวอักษร',
],
'max_digits' => ':Attribute ต้องไม่เกิน :max หลัก',
'mimes' => 'ข้อมูล :attribute ต้องเป็นชนิดไฟล์: :values.',
'mimetypes' => 'ข้อมูล :attribute ต้องเป็นชนิดไฟล์: :values.',
'min' => [
'array' => 'ข้อมูล :attribute ต้องมีอย่างน้อย :min ค่า',
'file' => 'ข้อมูล :attribute ต้องมีขนาดอย่างน้อย :min กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องมีค่าอย่างน้อย :min.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรอย่างน้อย :min ตัวอักษร',
],
'min_digits' => ':Attribute ต้องมีอย่างน้อย :min หลัก',
'missing' => 'ฟิลด์ :attribute จะต้องหายไป',
'missing_if' => 'ต้องขาดฟิลด์ :attribute เมื่อ :other เป็น :value',
'missing_unless' => 'ต้องขาดฟิลด์ :attribute เว้นแต่ว่า :other จะเป็น :value',
'missing_with' => 'ต้องขาดฟิลด์ :attribute เมื่อมี :values',
'missing_with_all' => 'ต้องขาดฟิลด์ :attribute เมื่อมี :values',
'multiple_of' => 'ที่ :attribute นต้องมีหลายของ :value',
'not_in' => 'ข้อมูล ที่เลือกจาก :attribute ไม่ถูกต้อง',
'not_regex' => 'ข้อมูล :attribute มีรูปแบบไม่ถูกต้อง.',
'numeric' => 'ข้อมูล :attribute ต้องเป็นตัวเลข',
'password' => [
'letters' => 'ข้อมูล :attribute ต้องประกอบด้วยตัวอักษรอย่างน้อย 1 ตัว',
'mixed' => 'ข้อมูล :attribute ต้องประกอบด้วยตัวอักษรพิมพ์ใหญ่อย่างน้อย 1 ตัว และตัวอักษรพิมพ์เล็กอย่างน้อย 1 ตัว',
'numbers' => 'ข้อมูล :attribute ต้องประกอบด้วยตัวเลขอย่าวน้อย 1 ตัว',
'symbols' => 'ข้อมูล :attribute ต้องประกอบด้วยสัญลักษณ์อย่างน้อย 1 ตัว',
'uncompromised' => 'ข้อมูล :attribute นี้ถูกพบในข้อมูลที่มีการรั่วไหล กรุณาเลือก :attribute ที่แตกต่าง',
],
'present' => 'ข้อมูล :attribute ต้องเป็นปัจจุบัน',
'prohibited' => 'ที่ :attribute ช่องข้อมูล prohibited.',
'prohibited_if' => 'ที่ :attribute ช่องข้อมูล prohibited ตอนที่ :other คือ :value.',
'prohibited_unless' => 'ที่ :attribute ช่องข้อมูล prohibited นอกจาก :other อยู่ใน :values.',
'prohibits' => 'ข้อมูล :attribute ป้องกัน :other จากการมีอยู่',
'regex' => 'ข้อมูล :attribute มีรูปแบบไม่ถูกต้อง',
'required' => 'ข้อมูล :attribute จำเป็นต้องกรอก',
'required_array_keys' => 'ฟิลด์ :attribute ต้องมีรายการสำหรับ: :values',
'required_if' => 'ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :other เป็น :value.',
'required_if_accepted' => 'ต้องกรอกฟิลด์ :attribute เมื่อยอมรับ :other',
'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' => [
'array' => 'ข้อมูล :attribute ต้องเท่ากับ :size ค่า',
'file' => 'ข้อมูล :attribute ต้องเท่ากับ :size กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องเท่ากับ :size',
'string' => 'ข้อมูล :attribute ต้องเท่ากับ :size ตัวอักษร',
],
'starts_with' => 'ข้อมูล :attribute ต้องเริ่มด้วยค่าใดค่าหนึ่งต่อไปนี้: :values',
'string' => 'ข้อมูล :attribute ต้องเป็นอักขระ',
'timezone' => 'ข้อมูล :attribute ต้องเป็นข้อมูลเขตเวลาที่ถูกต้อง',
'ulid' => ':Attribute ต้องเป็น ULID ที่ถูกต้อง',
'unique' => 'ข้อมูล :attribute ไม่สามารถใช้ได้',
'uploaded' => 'ข้อมูล :attribute ไม่สามารพอัพโหลดได้.',
'uppercase' => ':Attribute ต้องเป็นตัวพิมพ์ใหญ่',
'url' => 'ข้อมูล :attribute ไม่ถูกต้อง',
'uuid' => 'ข้อมูล :attribute ต้องเป็นค่า UUID ที่ถูกต้อง',
'attributes' => [
'address' => 'ที่อยู่',
'age' => 'อายุ',
'amount' => 'จำนวน',
'area' => 'พื้นที่',
'available' => 'มีอยู่',
'birthday' => 'วันเกิด',
'body' => 'ร่างกาย',
'city' => 'เมือง',
'content' => 'เนื้อหา',
'country' => 'ประเทศ',
'created_at' => 'สร้างเมื่อ',
'creator' => 'ผู้สร้าง',
'current_password' => 'รหัสผ่านปัจจุบัน',
'date' => 'วันที่',
'date_of_birth' => 'วันเกิด',
'day' => 'วัน',
'deleted_at' => 'ลบที่',
'description' => 'คำอธิบาย',
'district' => 'อำเภอ',
'duration' => 'ระยะเวลา',
'email' => 'อีเมล',
'excerpt' => 'ข้อความที่ตัดตอนมา',
'filter' => 'กรอง',
'first_name' => 'ชื่อจริง',
'gender' => 'เพศ',
'group' => 'กลุ่ม',
'hour' => 'ชั่วโมง',
'image' => 'ภาพ',
'last_name' => 'นามสกุล',
'lesson' => 'บทเรียนหรือสอนหรือการเรียนและเครื่องเตือนสติ',
'line_address_1' => 'ที่อยู่บรรทัดที่ 1',
'line_address_2' => 'ที่อยู่บรรทัดที่ 2',
'message' => 'ข้อความ',
'middle_name' => 'ชื่อกลาง',
'minute' => 'นาที',
'mobile' => 'มือถือ',
'month' => 'เดือน',
'name' => 'ชื่อ',
'national_code' => 'รหัสประจำชาติ',
'number' => 'ตัวเลข',
'password' => 'รหัสผ่าน',
'password_confirmation' => 'การยืนยันรหัสผ่าน',
'phone' => 'โทรศัพท์',
'photo' => 'รูปถ่าย',
'postal_code' => 'รหัสไปรษณีย์',
'price' => 'ราคา',
'province' => 'จังหวัด',
'recaptcha_response_field' => 'ช่องตอบกลับ recaptcha',
'remember' => 'จดจำ',
'restored_at' => 'บูรณะที่',
'result_text_under_image' => 'ข้อความผลลัพธ์ใต้ภาพ',
'role' => 'บทบาท',
'second' => 'ที่สอง',
'sex' => 'เพศ',
'short_text' => 'ข้อความสั้น',
'size' => 'ขนาด',
'state' => 'สถานะ',
'street' => 'ถนน',
'student' => 'นักเรียน',
'subject' => 'เรื่อง',
'teacher' => 'ครู',
'terms' => 'ข้อกำหนด',
'test_description' => 'คำอธิบายการทดสอบ',
'test_locale' => 'ทดสอบภาษา',
'test_name' => 'ชื่อการทดสอบ',
'text' => 'ข้อความ',
'time' => 'เวลา',
'title' => 'ชื่อ',
'updated_at' => 'อัพเดทได้ที่',
'username' => 'ชื่อผู้ใช้',
'year' => 'ปี',
],
];