Compare commits

...
2 Commits
Author SHA1 Message Date
Fred Delrieu 71983fd028 Merge pull request #366 from chotikarn/patch-5
Update validation.php
2015-05-19 20:26:50 +02:00
Chotikarn Rungviboon 2373179138 Update validation.php
Translate new string,
Remove unnecessary period,
Correct "กิโลไบร์ท" to "กิโลไบต์".
2015-04-19 12:34:47 +07:00
+7 -7
View File
@@ -23,7 +23,7 @@ return [
"before" => "ข้อมูล :attribute ต้องเป็นวันที่ก่อน :date.",
"between" => [
"numeric" => "ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min - :max.",
"file" => "ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min - :max กิโลไบร์ท",
"file" => "ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min - :max กิโลไบต์",
"string" => "ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min - :max ตัวอักษร",
"array" => "ข้อมูล :attribute ต้องอยู่ในช่วงระหว่าง :min - :max ค่า",
],
@@ -43,14 +43,14 @@ return [
"ip" => "ข้อมูล :attribute ต้องเป็น IP",
"max" => [
"numeric" => "ข้อมูล :attribute ต้องมีจำนวนไม่เกิน :max.",
"file" => "ข้อมูล :attribute ต้องมีจำนวนไม่เกิน :max กิโลไบร์ท",
"file" => "ข้อมูล :attribute ต้องมีจำนวนไม่เกิน :max กิโลไบต์",
"string" => "ข้อมูล :attribute ต้องมีจำนวนไม่เกิน :max ตัวอักษร",
"array" => "ข้อมูล :attribute ต้องมีจำนวนไม่เกิน :max ค่า",
],
"mimes" => "ข้อมูล :attribute ต้องเป็นชนิดไฟล์: :values.",
"min" => [
"numeric" => "ข้อมูล :attribute ต้องมีจำนวนอย่างน้อย :min.",
"file" => "ข้อมูล :attribute ต้องมีจำนวนอย่างน้อย :min กิโลไบร์ท",
"file" => "ข้อมูล :attribute ต้องมีจำนวนอย่างน้อย :min กิโลไบต์",
"string" => "ข้อมูล :attribute ต้องมีจำนวนอย่างน้อย :min ตัวอักษร",
"array" => "ข้อมูล :attribute ต้องมีจำนวนอย่างน้อย :min ค่า",
],
@@ -60,13 +60,13 @@ return [
"required" => "ข้อมูล :attribute จำเป็นต้องกรอก",
"required_if" => "ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :other เป็น :value.",
"required_with" => "ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :values มีค่า",
"required_with_all" => "The :attribute field is required when :values is present.",
"required_with_all" => "ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :values มีค่าทั้งหมด",
"required_without" => "ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :values ไม่มีค่า",
"required_without_all" => "The :attribute field is required when none of :values are present.",
"required_without_all" => "ข้อมูล :attribute จำเป็นต้องกรอกเมื่อ :values ไม่มีค่าทั้งหมด",
"same" => "ข้อมูล :attribute และ :other ต้องถูกต้อง",
"size" => [
"numeric" => "ข้อมูล :attribute ต้องเท่ากับ :size.",
"file" => "ข้อมูล :attribute ต้องเท่ากับ :size กิโลไบร์ท",
"numeric" => "ข้อมูล :attribute ต้องเท่ากับ :size",
"file" => "ข้อมูล :attribute ต้องเท่ากับ :size กิโลไบต์",
"string" => "ข้อมูล :attribute ต้องเท่ากับ :size ตัวอักษร",
"array" => "ข้อมูล :attribute ต้องเท่ากับ :size ค่า",
],