snipe-it/resources/lang/th/validation.php

150 lines
12 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php
return [
2016-03-25 01:18:05 -07:00
/*
|--------------------------------------------------------------------------
| 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
| such as the size rules. Feel free to tweak each of these messages.
|
*/
2017-09-06 18:05:32 -07:00
'accepted' => ':attribute ต้องได้รับการยอมรับ',
'active_url' => ':attribute ไม่ใช่ URL ที่ถูกต้อง',
'after' => ':attribute ต้องเป็นวันที่หลังจาก :date',
2017-10-17 18:52:20 -07:00
'after_or_equal' => 'แอตทริบิวต์: ต้องเป็นวันที่หลังจากหรือเท่ากับ: date',
2017-09-06 18:05:32 -07:00
'alpha' => ':attribute ต้องมีเฉพาะตัวอักษรเท่านั้น',
'alpha_dash' => ':attribute ต้องมีเฉพาะตัวอักษร ตัวเลข หรือเครื่องหมายลบเท่านั้น',
'alpha_num' => ':attribute ต้องมีเฉพาะตัวอักษรและตัวเลขเท่านั้น',
2017-10-17 18:52:20 -07:00
'array' => 'แอตทริบิวต์: ต้องเป็นอาร์เรย์',
2017-09-06 18:05:32 -07:00
'before' => ':attribute ต้องเป็นวันที่ก่อน :date',
2017-10-17 18:52:20 -07:00
'before_or_equal' => 'แอตทริบิวต์: ต้องเป็นวันที่ก่อนหรือเท่ากับ: date',
2017-09-06 18:05:32 -07:00
'between' => [
'numeric' => ':attribute ต้องอยู่ระหว่าง :min - :max',
'file' => ':attribute ต้องมีขนาดระหว่าง :min - :max กิโลไบต์',
'string' => ':attribute ต้องมีจำนวนระหว่าง :min - :max ตัวอักษร',
2017-10-17 18:52:20 -07:00
'array' => 'แอตทริบิวต์: ต้องมีระหว่าง: min และ: max items',
2017-09-06 18:05:32 -07:00
],
2017-10-17 18:52:20 -07:00
'boolean' => 'ฟิลด์แอ็ตทริบิวต์: ต้องเป็น true หรือ false',
2017-09-06 18:05:32 -07:00
'confirmed' => ':attribute ไม่ตรงกัน',
'date' => ':attribute เป็นรูปแบบวันที่ที่ไม่ถูกต้อง',
'date_format' => ':attribute ไม่ตรงตามรูปแบบ :format',
'different' => ':attribute และ :other ต้องไม่เหมือนกัน',
'digits' => ':attribute ต้องเป็น :digits ตัวเลข',
'digits_between' => ':attribute ต้องเป็นตัวเลขระหว่าง :min และ :max',
2017-10-17 18:52:20 -07:00
'dimensions' => 'แอตทริบิวต์: มีมิติข้อมูลภาพที่ไม่ถูกต้อง',
'distinct' => 'ฟิลด์แอ็ตทริบิวต์: มีค่าซ้ำกัน',
2017-09-06 18:05:32 -07:00
'email' => 'รูปแบบของ :attribute ไม่ถูกต้อง',
'exists' => ':attribute ที่เลือกไม่ถูกต้อง',
2017-10-17 18:52:20 -07:00
'file' => 'แอตทริบิวต์: ต้องเป็นไฟล์',
'filled' => 'ฟิลด์แอ็ตทริบิวต์ต้องมีค่า',
2017-09-06 18:05:32 -07:00
'image' => ':attribute ต้องเป็นรูปภาพเท่านั้น',
'import_field_empty' => 'The value for :fieldname cannot be null.',
2017-09-06 18:05:32 -07:00
'in' => ':attribute ที่เลือกไม่ถูกต้อง',
2017-10-17 18:52:20 -07:00
'in_array' => 'ฟิลด์แอ็ตทริบิวต์: ไม่มีใน: other',
2017-09-06 18:05:32 -07:00
'integer' => ':attribute ต้องเป็นจำนวนเต็มเท่านั้น',
'ip' => ':attribute ต้องเป็นรูปแบบไอพีแอดเดรสเท่านั้น',
2017-10-17 18:52:20 -07:00
'ipv4' => 'แอตทริบิวต์: ต้องเป็นที่อยู่ IPv4 ที่ถูกต้อง',
'ipv6' => 'แอตทริบิวต์: ต้องเป็นที่อยู่ IPv6 ที่ถูกต้อง',
'is_unique_department' => 'The :attribute must be unique to this Company Location',
2017-10-17 18:52:20 -07:00
'json' => 'แอตทริบิวต์: ต้องเป็นสตริง JSON ที่ถูกต้อง',
2017-09-06 18:05:32 -07:00
'max' => [
'numeric' => ':attribute ต้องไม่มากกว่า :max',
'file' => ':attribute ต้องไม่มีขนาดมากกว่า :max กิโลไบต์',
'string' => ':attribute ต้องไม่มีจำนวนตัวอักษรมากกว่า :max ตัวอักษร',
2017-10-17 18:52:20 -07:00
'array' => 'แอตทริบิวต์: ไม่สามารถมีได้มากกว่า: รายการสูงสุด',
2017-09-06 18:05:32 -07:00
],
'mimes' => ':attribute ต้องเป็นรูปแบบไฟล์ดังนี้: :values',
2017-10-17 18:52:20 -07:00
'mimetypes' => 'แอตทริบิวต์: ต้องเป็นไฟล์ประเภท:: values',
2017-09-06 18:05:32 -07:00
'min' => [
'numeric' => ':attribute ต้องมีอย่างน้อย :min',
'file' => ':attribute ต้องมีขนาดอย่างน้อย :min กิโลไบต์',
'string' => ':attribute ต้องมีจำนวนอย่างน้อย :min ตัวอักษร',
2017-10-17 18:52:20 -07:00
'array' => 'แอตทริบิวต์: ต้องมีอย่างน้อย: รายการต่ำสุด',
2017-09-06 18:05:32 -07:00
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
2017-09-06 18:05:32 -07:00
'not_in' => ':attribute ที่เลือกไม่ถูกต้อง',
'numeric' => ':attribute ต้องเป็นตัวเลขเท่านั้น',
2017-10-17 18:52:20 -07:00
'present' => 'ฟิลด์แอ็ตทริบิวต์: ต้องมีอยู่',
2018-09-28 11:54:52 -07:00
'valid_regex' => 'นั่นไม่ใช่ regex ที่ถูกต้อง ',
2017-09-06 18:05:32 -07:00
'regex' => 'รูปแบบของ :attribute ไม่ถูกต้อง',
'required' => 'กรุณากรอกข้อมูลในฟิลด์ :attribute',
'required_if' => 'ฟิลด์ :attribute จำเป็นต้องมีข้อมูล เมื่อ :other เป็น :value',
2017-10-17 18:52:20 -07:00
'required_unless' => 'ฟิลด์แอ็ตทริบิวต์: ต้องใช้เว้นแต่กรณี: อื่น ๆ อยู่ใน: values',
2017-09-06 18:05:32 -07:00
'required_with' => 'ฟิลด์ :attribute จำเป็นต้องมีข้อมูล เมื่อ :value มีข้อมูลอยู่ด้วย',
2017-10-17 18:52:20 -07:00
'required_with_all' => 'ฟิลด์แอ็ตทริบิวต์: ต้องระบุเมื่อ: มีค่าอยู่',
2017-09-06 18:05:32 -07:00
'required_without' => 'ฟิลด์ :attribute จำเป็นต้องมีข้อมูล เมื่อ :value ไม่มีข้อมูล',
2017-10-17 18:52:20 -07:00
'required_without_all' => 'ฟิลด์แอ็ตทริบิวต์: ต้องระบุเมื่อไม่มี: มีค่าอยู่',
2017-09-06 18:05:32 -07:00
'same' => ':attribute และ :other ต้องตรงกัน',
'size' => [
'numeric' => ':attribute ต้องมีขนาด :size',
'file' => ':attribute ต้องมีขนาด :size กิโลไบต์',
'string' => ':attribute ต้องมีจำนวน :size ตัวอักษร',
2017-10-17 18:52:20 -07:00
'array' => 'แอตทริบิวต์ต้องมี: รายการขนาด',
2017-09-06 18:05:32 -07:00
],
2017-10-17 18:52:20 -07:00
'string' => 'แอตทริบิวต์: ต้องเป็นสตริง',
'timezone' => 'แอตทริบิวต์: ต้องเป็นโซนที่ถูกต้อง',
2017-09-06 18:05:32 -07:00
'unique' => ':attribute กำลังใช้งานอยู่',
2017-10-17 18:52:20 -07:00
'uploaded' => 'แอตทริบิวต์: ล้มเหลวในการอัปโหลด',
2017-09-06 18:05:32 -07:00
'url' => 'รูปแบบของ :attribute ไม่ถูกต้อง',
'unique_undeleted' => 'แอตทริบิวต์ต้องไม่ซ้ำกัน',
'non_circular' => 'The :attribute must not create a circular reference.',
'disallow_same_pwd_as_user_fields' => 'Password cannot be the same as the username.',
'letters' => 'Password must contain at least one letter.',
'numbers' => 'Password must contain at least one number.',
'case_diff' => 'Password must use mixed case.',
'symbols' => 'Password must contain symbols.',
'gte' => [
'numeric' => 'Value cannot be negative'
],
2017-09-06 18:05:32 -07:00
/*
|--------------------------------------------------------------------------
| 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.
|
*/
2016-03-25 01:18:05 -07:00
/*
|--------------------------------------------------------------------------
| 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.
|
*/
2017-09-06 18:05:32 -07:00
'custom' => [
'alpha_space' => 'ฟิลด์แอ็ตทริบิวต์: มีอักขระที่ไม่ได้รับอนุญาต',
'email_array' => 'ที่อยู่อีเมลไม่ถูกต้อง',
'hashed_pass' => 'รหัสผ่านปัจจุบันของคุณไม่ถูกต้อง',
2017-10-17 18:52:20 -07:00
'dumbpwd' => 'รหัสผ่านที่ใช้กันอยู่ทั่วไป',
'statuslabel_type' => 'คุณต้องเลือกประเภทป้ายสถานะที่ถูกต้อง',
2017-09-06 18:05:32 -07:00
],
2016-03-25 01:18:05 -07:00
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
2017-09-06 18:05:32 -07:00
'attributes' => [],
2016-03-25 01:18:05 -07:00
];