Blame view

resources/lang/th-TH/validation.php 9.64 KB
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
  <?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 ต้องผ่านการยอมรับก่อน',
      'active_url'           => 'ข้อมูล :attribute ต้องเป็น URL เท่านั้น',
      'after'                => 'ข้อมูล :attribute ต้องเป็นวันที่หลังจาก :date.',
      'after_or_equal'       => ':attribute ต้องเป็นวันที่หลังจากหรือเท่ากับ :date',
      'alpha'                => 'ข้อมูล :attribute ต้องเป็นตัวอักษรภาษาอังกฤษเท่านั้น',
      'alpha_dash'           => 'ข้อมูล :attribute ต้องเป็นตัวอักษรภาษาอังกฤษ ตัวเลข และ _ เท่านั้น',
      'alpha_num'            => 'ข้อมูล :attribute ต้องเป็นตัวอักษรภาษาอังกฤษ ตัวเลข เท่านั้น',
      'array'                => 'ข้อมูล :attribute ต้องเป็น array เท่านั้น',
      '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 ต้องเป็นจริง หรือเท็จ เท่านั้น',
      'confirmed'            => 'ข้อมูล :attribute ไม่ตรงกัน',
      'date'                 => 'ข้อมูล :attribute ต้องเป็นวันที่',
      'date_format'          => 'ข้อมูล :attribute ไม่ตรงกับข้อมูลกำหนด :format.',
      'different'            => 'ข้อมูล :attribute และ :other ต้องไม่เท่ากัน',
      'digits'               => 'ข้อมูล :attribute ต้องเป็น :digits',
      'digits_between'       => 'ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min ถึง :max',
      'dimensions'           => ':attribute มีขนาดภาพที่ไม่ถูกต้อง',
      'distinct'             => 'ข้อมูล :attribute มีค่าที่ซ้ำกัน',
      'email'                => 'ข้อมูล :attribute ต้องเป็นอีเมล์',
      'exists'               => 'ข้อมูล ที่ถูกเลือกจาก :attribute ไม่ถูกต้อง',
      'file'                 => ':attribute ต้องเป็นไฟล์',
      'filled'               => 'ข้อมูล :attribute จำเป็นต้องกรอก',
      'image'                => 'ข้อมูล :attribute ต้องเป็นรูปภาพ',
      'in'                   => 'ข้อมูล ที่ถูกเลือกใน :attribute ไม่ถูกต้อง',
      'in_array'             => 'ข้อมูล :attribute ไม่มีอยู่ภายในค่าของ :other',
      'integer'              => 'ข้อมูล :attribute ต้องเป็นตัวเลข',
      'ip'                   => 'ข้อมูล :attribute ต้องเป็น IP',
      'json'                 => 'ข้อมูล :attribute ต้องเป็นอักขระ JSON ที่สมบูรณ์',
      '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 ค่า',
      ],
      'not_in'               => 'ข้อมูล ที่เลือกจาก :attribute ไม่ถูกต้อง',
      'numeric'              => 'ข้อมูล :attribute ต้องเป็นตัวเลข',
      'present'              => 'ข้อมูล :attribute ต้องเป็นปัจจุบัน',
      '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 ค่า',
      ],
      'string'               => 'ข้อมูล :attribute ต้องเป็นอักขระ',
      'timezone'             => 'ข้อมูล :attribute ต้องเป็นข้อมูลเขตเวลาที่ถูกต้อง',
      'unique'               => 'ข้อมูล :attribute ไม่สามารถใช้ได้',
      'uploaded'             => 'ไม่สามารถอัปโหลด :attribute ได้',
      'url'                  => 'ข้อมูล :attribute ไม่ถูกต้อง',
  
      /*
      |--------------------------------------------------------------------------
      | 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 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.
      |
      */
  
      'attributes' => [],
  
  ];