[增添]添加了datasource的setting数据库以及默认值

This commit is contained in:
makotocc0107
2024-08-27 09:57:44 +08:00
parent d111dfaea4
commit 72eb990970
10955 changed files with 978898 additions and 0 deletions

View File

@@ -0,0 +1,482 @@
<?php
return [
'label' => 'สร้างคำค้น',
'form' => [
'operator' => [
'label' => 'ดำเนินการ',
],
'or_groups' => [
'label' => 'กลุ่ม',
'block' => [
'label' => 'แยกเงื่อนไข (หรือ)',
'or' => 'หรือ',
],
],
'rules' => [
'label' => 'เงื่อนไข',
'item' => [
'and' => 'และ',
],
],
],
'no_rules' => '(ไม่มีเงื่อนไข)',
'item_separators' => [
'and' => 'และ',
'or' => 'หรือ',
],
'operators' => [
'is_filled' => [
'label' => [
'direct' => 'มีข้อมูล',
'inverse' => 'ว่าง',
],
'summary' => [
'direct' => ':attribute มีข้อมูล',
'inverse' => ':attribute ว่าง',
],
],
'boolean' => [
'is_true' => [
'label' => [
'direct' => 'เป็นจริง',
'inverse' => 'เป็นเท็จ',
],
'summary' => [
'direct' => ':attribute เป็นจริง',
'inverse' => ':attribute เป็นเท็จ',
],
],
],
'date' => [
'is_after' => [
'label' => [
'direct' => 'หลังจาก',
'inverse' => 'ไม่เกิน',
],
'summary' => [
'direct' => ':attribute หลังจาก :date',
'inverse' => ':attribute ไม่เกิน :date',
],
],
'is_before' => [
'label' => [
'direct' => 'ก่อน',
'inverse' => 'ตั้งแต่',
],
'summary' => [
'direct' => ':attribute ก่อน :date',
'inverse' => ':attribute ตั้งแต่ :date',
],
],
'is_date' => [
'label' => [
'direct' => 'วันที่',
'inverse' => 'ไม่ใช่วันที่',
],
'summary' => [
'direct' => ':attribute เป็น :date',
'inverse' => ':attribute ไม่ใช่ :date',
],
],
'is_month' => [
'label' => [
'direct' => 'เดือน',
'inverse' => 'ไม่ใช่เดือน',
],
'summary' => [
'direct' => ':attribute is :month',
'inverse' => ':attribute is not :month',
],
],
'is_year' => [
'label' => [
'direct' => 'ปี',
'inverse' => 'ไม่ใช่ปี',
],
'summary' => [
'direct' => ':attribute ปี :year',
'inverse' => ':attribute ไม่ใช่ปี :year',
],
],
'form' => [
'date' => [
'label' => 'วัน',
],
'month' => [
'label' => 'เดือน',
],
'year' => [
'label' => 'ปี',
],
],
],
'number' => [
'equals' => [
'label' => [
'direct' => 'เท่ากับ',
'inverse' => 'ไม่เท่ากับ',
],
'summary' => [
'direct' => ':attribute เท่ากับ :number',
'inverse' => ':attribute ไม่เท่ากับ :number',
],
],
'is_max' => [
'label' => [
'direct' => 'ไม่เกิน',
'inverse' => 'มากกว่า',
],
'summary' => [
'direct' => ':attribute ไม่เกิน :number',
'inverse' => ':attribute มากกว่า :number',
],
],
'is_min' => [
'label' => [
'direct' => 'อย่างน้อย',
'inverse' => 'น้อยกว่า',
],
'summary' => [
'direct' => ':attribute อย่างน้อย :number',
'inverse' => ':attribute น้อยกว่า :number',
],
],
'aggregates' => [
'average' => [
'label' => 'ค่าเฉลี่ย',
'summary' => ':attribute เฉลี่ย',
],
'max' => [
'label' => 'สูงสุด',
'summary' => ':attribute สูงสุด',
],
'min' => [
'label' => 'ต่ำสุด',
'summary' => ':attribute ต่ำสุด',
],
'sum' => [
'label' => 'รวม',
'summary' => ':attribute รวม',
],
],
'form' => [
'aggregate' => [
'label' => 'ผลรวม',
],
'number' => [
'label' => 'ตัวเลข',
],
],
],
'relationship' => [
'equals' => [
'label' => [
'direct' => 'มี',
'inverse' => 'ไม่มี',
],
'summary' => [
'direct' => 'มี :count :relationship',
'inverse' => 'ไม่มี :count :relationship',
],
],
'has_max' => [
'label' => [
'direct' => 'มีสูงสุด',
'inverse' => 'มีมากกว่า',
],
'summary' => [
'direct' => 'มีสูงสุด :count :relationship',
'inverse' => 'มีมากกว่า :count :relationship',
],
],
'has_min' => [
'label' => [
'direct' => 'มีขั้นต่ำ',
'inverse' => 'มีน้อยกว่า',
],
'summary' => [
'direct' => 'มีขั้นต่ำ :count :relationship',
'inverse' => 'มีน้อยกว่า :count :relationship',
],
],
'is_empty' => [
'label' => [
'direct' => 'ว่าง',
'inverse' => 'ไม่ว่าง',
],
'summary' => [
'direct' => ':relationship ว่าง',
'inverse' => ':relationship ไม่ว่าง',
],
],
'is_related_to' => [
'label' => [
'single' => [
'direct' => 'เกี่ยวกับ',
'inverse' => 'ไม่เกี่ยวกับ',
],
'multiple' => [
'direct' => 'มี',
'inverse' => 'ไม่มี',
],
],
'summary' => [
'single' => [
'direct' => ':relationship คือ :values',
'inverse' => ':relationship ไม่ใช่ :values',
],
'multiple' => [
'direct' => ':relationship มี :values',
'inverse' => ':relationship ไม่มี :values',
],
'values_glue' => [
0 => ', ',
'final' => ' หรือ ',
],
],
'form' => [
'value' => [
'label' => 'ค่า',
],
'values' => [
'label' => 'ค่า',
],
],
],
'form' => [
'count' => [
'label' => 'จำนวน',
],
],
],
'select' => [
'is' => [
'label' => [
'direct' => 'คือ',
'inverse' => 'ไม่ใช่',
],
'summary' => [
'direct' => ':attribute :values',
'inverse' => ':attribute ไม่ใช่ :values',
'values_glue' => [
', ',
'final' => ' or ',
],
],
'form' => [
'value' => [
'label' => 'ค่า',
],
'values' => [
'label' => 'ค่า',
],
],
],
],
'text' => [
'contains' => [
'label' => [
'direct' => 'มีคำว่า',
'inverse' => 'ไม่มีคำว่า',
],
'summary' => [
'direct' => ':attribute มีคำว่า :text',
'inverse' => ':attribute ไม่มีคำว่า :text',
],
],
'ends_with' => [
'label' => [
'direct' => 'ลงท้ายด้วย',
'inverse' => 'ไม่ลงท้ายด้วย',
],
'summary' => [
'direct' => ':attribute ลงท้ายด้วย :text',
'inverse' => ':attribute ไม่ลงท้ายด้วย :text',
],
],
'equals' => [
'label' => [
'direct' => 'เท่ากับ',
'inverse' => 'ไม่เท่ากับ',
],
'summary' => [
'direct' => ':attribute เท่ากับ :text',
'inverse' => ':attribute ไม่เท่ากับ :text',
],
],
'starts_with' => [
'label' => [
'direct' => 'ขึ้นต้นด้วย',
'inverse' => 'ไม่ขึ้นต้นด้วย',
],
'summary' => [
'direct' => ':attribute ขึ้นต้นด้วย :text',
'inverse' => ':attribute ไม่ขึ้นต้นด้วย :text',
],
],
'form' => [
'text' => [
'label' => 'ข้อความ',
],
],
],
],
'actions' => [
'add_rule' => [
'label' => 'เพิ่มเงื่อนไข',
],
'add_rule_group' => [
'label' => 'เพิ่มกลุ่มเงื่อนไข',
],
],
];

View File

@@ -0,0 +1,228 @@
<?php
return [
'column_toggle' => [
'heading' => 'คอลัมน์',
],
'columns' => [
'text' => [
'actions' => [
'collapse_list' => 'แสดงน้อยกว่านี้ :count รายการ',
'expand_list' => 'แสดงอีก :count รายการ',
],
'more_list_items' => 'และอีก :count รายการ',
],
],
'fields' => [
'bulk_select_page' => [
'label' => 'เลือก/ไม่เลือกรายการทั้งหมดสำหรับการดำเนินการเป็นกลุ่ม',
],
'bulk_select_record' => [
'label' => 'เลือก/ไม่เลือกรายการ :key สำหรับการดำเนินการเป็นกลุ่ม',
],
'bulk_select_group' => [
'label' => 'เลือก/ไม่เลือกกลุ่ม :title สำหรับการดำเนินการเป็นกลุ่ม',
],
'search' => [
'label' => 'ค้นหา',
'placeholder' => 'ค้นหา',
'indicator' => 'ค้นหา',
],
],
'summary' => [
'heading' => 'สรุป',
'subheadings' => [
'all' => ':label ทุกรายการ',
'group' => 'สรุป :group',
'page' => 'หน้านี้',
],
'summarizers' => [
'average' => [
'label' => 'เฉลี่ย',
],
'count' => [
'label' => 'จำนวน',
],
'sum' => [
'label' => 'รวม',
],
],
],
'actions' => [
'disable_reordering' => [
'label' => 'เลิกการจัดลำดับรายการ',
],
'enable_reordering' => [
'label' => 'จัดลำดับรายการ',
],
'filter' => [
'label' => 'ตัวกรอง',
],
'group' => [
'label' => 'จัดกลุ่ม',
],
'open_bulk_actions' => [
'label' => 'การดำเนินการเป็นกลุ่ม',
],
'toggle_columns' => [
'label' => 'สลับคอลัมน์',
],
],
'empty' => [
'heading' => 'ไม่มี:model',
'description' => 'เพิ่ม:modelเพื่อเริ่มต้น',
],
'filters' => [
'actions' => [
'apply' => [
'label' => 'ใช้ตัวกรอง',
],
'remove' => [
'label' => 'ลบตัวกรอง',
],
'remove_all' => [
'label' => 'ลบตัวกรองทั้งหมด',
'tooltip' => 'ลบตัวกรองทั้งหมด',
],
'reset' => [
'label' => 'รีเซ็ต',
],
],
'heading' => 'ตัวกรอง',
'indicator' => 'ตัวกรองที่ใช้งานอยู่',
'multi_select' => [
'placeholder' => 'ทั้งหมด',
],
'select' => [
'placeholder' => 'ทั้งหมด',
],
'trashed' => [
'label' => 'รายการที่ถูกลบ',
'only_trashed' => 'รายการที่ถูกลบเท่านั้น',
'with_trashed' => 'พร้อมรายการที่ถูกลบ',
'without_trashed' => 'โดยไม่รวมรายการที่ถูกลบ',
],
],
'grouping' => [
'fields' => [
'group' => [
'label' => 'จัดกลุ่มตาม',
'placeholder' => 'จัดกลุ่มตาม',
],
'direction' => [
'label' => 'เรียงลำดับกลุ่ม',
'options' => [
'asc' => 'เรียงจากน้อยไปมาก',
'desc' => 'เรียงจากมากไปน้อย',
],
],
],
],
'reorder_indicator' => 'ลากรายการและวางในลำดับ',
'selection_indicator' => [
'selected_count' => 'เลือก 1 รายการ|เลือก :count รายการ',
'actions' => [
'select_all' => [
'label' => 'เลือกทั้ง :count รายการ',
],
'deselect_all' => [
'label' => 'ยกเลิกการเลือกทั้งหมด',
],
],
],
'sorting' => [
'fields' => [
'column' => [
'label' => 'เรียงลำดับโดย',
],
'direction' => [
'label' => 'ทิศทางการเรียงลำดับ',
'options' => [
'asc' => 'เรียงจากน้อยไปมาก',
'desc' => 'เรียงจากมากไปน้อย',
],
],
],
],
];