Files
einundzwanzig-portal/lang/th/validation.php
2022-12-12 19:17:09 +01:00

211 lines
19 KiB
PHP

<?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 เท่านั้น',
'attached' => 'ข้อมูล :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 ต้องเป็นจริงหรือเท็จเท่านั้น',
'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 มีค่าที่ซ้ำกัน',
'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' => 'The :attribute must be lowercase.',
'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' => 'The :attribute must be a valid MAC address.',
'max' => [
'array' => 'ข้อมูล :attribute ต้องมีไม่เกิน :max ค่า',
'file' => 'ข้อมูล :attribute ต้องมีขนาดไม่เกิน :max กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องมีค่าไม่เกิน :max.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรไม่เกิน :max ตัวอักษร',
],
'max_digits' => 'The :attribute must not have more than :max digits.',
'mimes' => 'ข้อมูล :attribute ต้องเป็นชนิดไฟล์: :values.',
'mimetypes' => 'ข้อมูล :attribute ต้องเป็นชนิดไฟล์: :values.',
'min' => [
'array' => 'ข้อมูล :attribute ต้องมีอย่างน้อย :min ค่า',
'file' => 'ข้อมูล :attribute ต้องมีขนาดอย่างน้อย :min กิโลไบต์',
'numeric' => 'ข้อมูล :attribute ต้องมีค่าอย่างน้อย :min.',
'string' => 'ข้อมูล :attribute ต้องมีความยาวตัวอักษรอย่างน้อย :min ตัวอักษร',
],
'min_digits' => 'The :attribute must have at least :min digits.',
'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 มีรูปแบบไม่ถูกต้อง',
'relatable' => 'ข้อมูล :attribute นี้ อาจจะไม่เกี่ยวข้องกับทรัพยากรนี้',
'required' => 'ข้อมูล :attribute จำเป็นต้องกรอก',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :other เป็น :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'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 ต้องเป็นข้อมูลเขตเวลาที่ถูกต้อง',
'unique' => 'ข้อมูล :attribute ไม่สามารถใช้ได้',
'uploaded' => 'ข้อมูล :attribute ไม่สามารพอัพโหลดได้.',
'uppercase' => 'The :attribute must be uppercase.',
'url' => 'ข้อมูล :attribute ไม่ถูกต้อง',
'uuid' => 'ข้อมูล :attribute ต้องเป็นค่า UUID ที่ถูกต้อง',
'attributes' => [
'address' => 'address',
'age' => 'age',
'amount' => 'amount',
'area' => 'area',
'available' => 'available',
'birthday' => 'birthday',
'body' => 'body',
'city' => 'city',
'content' => 'content',
'country' => 'country',
'created_at' => 'created at',
'creator' => 'creator',
'current_password' => 'current password',
'date' => 'date',
'date_of_birth' => 'date of birth',
'day' => 'day',
'deleted_at' => 'deleted at',
'description' => 'description',
'district' => 'district',
'duration' => 'duration',
'email' => 'email',
'excerpt' => 'excerpt',
'filter' => 'filter',
'first_name' => 'first name',
'gender' => 'gender',
'group' => 'group',
'hour' => 'hour',
'image' => 'image',
'last_name' => 'last name',
'lesson' => 'lesson',
'line_address_1' => 'line address 1',
'line_address_2' => 'line address 2',
'message' => 'message',
'middle_name' => 'middle name',
'minute' => 'minute',
'mobile' => 'mobile',
'month' => 'month',
'name' => 'name',
'national_code' => 'national code',
'number' => 'number',
'password' => 'password',
'password_confirmation' => 'password confirmation',
'phone' => 'phone',
'photo' => 'photo',
'postal_code' => 'postal code',
'price' => 'price',
'province' => 'province',
'recaptcha_response_field' => 'recaptcha response field',
'remember' => 'remember',
'restored_at' => 'restored at',
'result_text_under_image' => 'result text under image',
'role' => 'role',
'second' => 'second',
'sex' => 'sex',
'short_text' => 'short text',
'size' => 'size',
'state' => 'state',
'street' => 'street',
'student' => 'student',
'subject' => 'subject',
'teacher' => 'teacher',
'terms' => 'terms',
'test_description' => 'test description',
'test_locale' => 'test locale',
'test_name' => 'test name',
'text' => 'text',
'time' => 'time',
'title' => 'title',
'updated_at' => 'updated at',
'username' => 'username',
'year' => 'year',
],
];