From 16a837798204bf497ae6ddb3806379f1dee96c93 Mon Sep 17 00:00:00 2001 From: Cachet Bot <40326150+CachetBot@users.noreply.github.com> Date: Thu, 12 Jul 2018 08:41:48 +0100 Subject: [PATCH] New translations validation.php (Thai) --- resources/lang/th-TH/validation.php | 118 ++++++++++++++-------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/resources/lang/th-TH/validation.php b/resources/lang/th-TH/validation.php index e4eb0281..7d196d98 100644 --- a/resources/lang/th-TH/validation.php +++ b/resources/lang/th-TH/validation.php @@ -22,72 +22,72 @@ return [ | */ - 'accepted' => 'คุณต้องยอมรับ :attribute', - 'active_url' => ':attribute ไม่ใช่รูปแบบ URL ที่ถูกต้อง', - 'after' => ':attribute ต้องเป็นวันหลังจาก :date เท่านั้น', - 'alpha' => ':attribute ต้องมีเฉพาะตัวอักษรเท่านั้น', - 'alpha_dash' => ':attribute ต้องประกอบด้วยตัวอักษร ตัวเลข และเครื่องหมายลบเท่านั้น', - 'alpha_num' => ':attribute ต้องประกอบด้วยตัวอักษรและตัวเลขเท่านั้น', - 'array' => ':attribute ต้องเป็นอาร์เรย์เท่านั้น', - 'before' => ':attribute ต้องอยู่ในรูปแบบวันก่อนวันที่ :date เท่านั้น', + 'accepted' => 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', 'between' => [ - 'numeric' => ':attribute ต้องอยู่ระหว่าง :min ถึง :max', - 'file' => ':attribute ต้องมีขนาดระหว่าง :min ถึง :max กิโลไบต์', - 'string' => ':attribute ต้องมีความยาวระหว่าง :min ถึง :max ตัวอักษร', - 'array' => ':attribute ต้องมีตั้งแต่ :min ถึง :max รายการ', + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', ], - 'boolean' => ':attribute ต้องเป็น true หรือ false เท่านั้น', - 'confirmed' => ':attribute ที่ใช่ยืนยันไม่ตรงกัน', - 'date' => ':attribute เป็นรูปแบบวันที่ที่ไม่ถูกต้อง', - 'date_format' => ':attribute ไม่ตรงตามรูปแบบ :format', - 'different' => ':attribute และ :other ต้องไม่เหมือนกัน', - 'digits' => ':attribute ต้องมี :digits หลัก', - 'digits_between' => ':attribute ต้องยาวระหว่าง :min ถึง :max หลัก', - 'email' => ':attribute ต้องเป็นรูปแบบอีเมลที่ถูกต้อง', - 'exists' => ':attribute ที่เลือกไม่ถูกต้อง', - 'distinct' => ':attribute มีค่าซ้ำกัน', - 'filled' => 'กรุณากรอกข้อมูลในฟิลด์ :attribute', - 'image' => ':attribute ต้องเป็นรูปภาพเท่านั้น', - 'in' => ':attribute ที่เลือกไม่ถูกต้อง', - 'in_array' => 'ฟิลด์ :attribute ไม่มีอยู่ใน :other', - 'integer' => ':attribute ต้องเป็นจำนวนเต็มเท่านั้น', - 'ip' => ':attribute ต้องเป็นรูปแบบไอพีแอดเดรสเท่านั้น', - 'json' => ':attribute ต้องเป็นรูปแบบ JSON เท่านั้น', + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'distinct' => 'The :attribute field has a duplicate value.', + 'filled' => 'The :attribute field is required.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'in_array' => 'The :attribute field does not exist in :other.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'json' => 'The :attribute must be a valid JSON string.', 'max' => [ - 'numeric' => ':attribute ต้องมีค่าไม่มากกว่า :max', - 'file' => ':attribute ต้องไม่ใหญ่กว่า :max กิโลไบต์', - 'string' => ':attribute ต้องไม่ยาวกว่า :max ตัวอักษร', - 'array' => ':attribute ต้องมีไม่เกิน :max รายการ', + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', ], - 'mimes' => ':attribute ต้องเป็นไฟล์ :values เท่านั้น', + 'mimes' => 'The :attribute must be a file of type: :values.', 'min' => [ - 'numeric' => ':attribute ต้องมีค่าอย่างน้อย :min', - 'file' => ':attribute ต้องมีขนาดอย่างน้อย :min กิโลไบต์', - 'string' => ':attribute ต้องยาวอย่างน้อย :min ตัวอักษร', - 'array' => ':attribute ต้องมีอย่างน้อย :min รายการ', + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', ], - 'not_in' => ':attribute ที่เลือกไม่ถูกต้อง', - 'numeric' => ':attribute ต้องเป็นตัวเลขเท่านั้น', - 'present' => 'ฟิลด์ :attribute ต้องมีอยู่จริง', - 'regex' => 'รูปแบบของ :attribute ไม่ถูกต้อง', - 'required' => 'กรุณากรอกข้อมูลในฟิลด์ :attribute', - 'required_if' => 'ฟิลด์ :attribute จำเป็นต้องกรอก เมื่อ :other เป็น :value', - 'required_unless' => 'ฟิลด์ :attribute จำเป็นต้องกรอก นอกจาก :other อยู่ใน :value', - 'required_with' => 'ฟิลด์ :attribute จำเป็นต้องกรอก เมื่อ :value มีข้อมูล', - 'required_with_all' => 'ฟิลด์ :attribute จำเป็นต้องกรอก เมื่อ :value มีข้อมูล', - 'required_without' => 'ฟิลด์ :attribute จำเป็นต้องกรอก เมื่อ :value ไม่มีข้อมูล', - 'required_without_all' => 'ฟิลด์ :attribute จำเป็นต้องกรอก เมื่อ :value ไม่มีข้อมูล', - 'same' => ':attribute และ :other ต้องตรงกัน', + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'present' => 'The :attribute field must be present.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_unless' => 'The :attribute field is required unless :other is in :values.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', 'size' => [ - 'numeric' => ':attribute ต้องมีขนาด :size', - 'file' => ':attribute ต้องมีขนาด :size กิโลไบต์', - 'string' => ':attribute ต้องมีจำนวน :size ตัวอักษร', - 'array' => ':attribute ต้องมีอยู่ :size รายการ', + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', ], - 'string' => ':attribute ต้องเป็นข้อความเท่านั้น', - 'timezone' => ':attribute ต้องเป็นเขตเวลาที่ถูกต้อง', - 'unique' => ':attribute ถูกใช้ไปแล้ว', - 'url' => 'รูปแบบของ :attribute ไม่ถูกต้อง', + 'string' => 'The :attribute must be a string.', + 'timezone' => 'The :attribute must be a valid zone.', + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', /* |-------------------------------------------------------------------------- @@ -102,7 +102,7 @@ return [ 'custom' => [ 'attribute-name' => [ - 'rule-name' => 'ข้อความที่กำหนดเอง', + 'rule-name' => 'custom-message', ], ],