feat: add routes, lang, tests, stubs, docs, and docker configurations

This commit is contained in:
2026-05-21 16:05:16 +07:00
parent fad70d096b
commit 28a06315b8
3385 changed files with 177070 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'เชื่อมโยง',
'modal' => [
'heading' => 'เชื่อมโยง :label',
'fields' => [
'record_id' => [
'label' => 'รายการ',
],
],
'actions' => [
'associate' => [
'label' => 'เชื่อมโยง',
],
'associate_another' => [
'label' => 'เชื่อมโยงและเชื่อมโยงรายการอื่น',
],
],
],
'notifications' => [
'associated' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
];
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'แนบ',
'modal' => [
'heading' => 'แนบ :label',
'fields' => [
'record_id' => [
'label' => 'รายการ',
],
],
'actions' => [
'attach' => [
'label' => 'แนบ',
],
'attach_another' => [
'label' => 'แนบและแนบรายการอื่น',
],
],
],
'notifications' => [
'attached' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'เพิ่ม:label',
'modal' => [
'heading' => 'เพิ่ม:label',
'actions' => [
'create' => [
'label' => 'บันทึก',
],
'create_another' => [
'label' => 'บันทึกและเพิ่มอีกรายการ',
],
],
],
'notifications' => [
'created' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'ลบ',
'modal' => [
'heading' => 'ลบ :label',
'actions' => [
'delete' => [
'label' => 'ลบ',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'ลบข้อมูลเรียบร้อย',
],
],
],
'multiple' => [
'label' => 'ลบที่เลือก',
'modal' => [
'heading' => 'ลบ :label ที่เลือก',
'actions' => [
'delete' => [
'label' => 'ลบ',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'ลบข้อมูลเรียบร้อย',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'แยกออก',
'modal' => [
'heading' => 'แยก:labelออก',
'actions' => [
'detach' => [
'label' => 'แยกออก',
],
],
],
'notifications' => [
'detached' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
'multiple' => [
'label' => 'แยกที่เลือกออก',
'modal' => [
'heading' => 'แยก:labelที่เลือกออก',
'actions' => [
'detach' => [
'label' => 'แยกออก',
],
],
],
'notifications' => [
'detached' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'ยกเลิกการเชื่อมโยง',
'modal' => [
'heading' => 'ยกเลิกการเชื่อมโยง :label',
'actions' => [
'dissociate' => [
'label' => 'ยกเลิกการเชื่อมโยง',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
'multiple' => [
'label' => 'ยกเลิกการเชื่อมโยงที่เลือก',
'modal' => [
'heading' => 'ยกเลิกการเชื่อมโยง :label ที่เลือก',
'actions' => [
'dissociate' => [
'label' => 'ยกเลิกการเชื่อมโยง',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'บันทึกเรียบร้อย',
],
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'แก้ไข',
'modal' => [
'heading' => 'แก้ไข:label',
'actions' => [
'save' => [
'label' => 'บันทึก',
],
],
],
'notifications' => [
'saved' => [
'title' => 'บันทึกข้อมูลเรียบร้อย',
],
],
],
];
+53
View File
@@ -0,0 +1,53 @@
<?php
return [
'label' => 'ส่งออก',
'modal' => [
'heading' => 'ส่งออก :label',
'form' => [
'columns' => [
'label' => 'คอลัมน์',
],
],
'actions' => [
'export' => [
'label' => 'ส่งออก',
],
],
],
'notifications' => [
'completed' => [
'title' => 'ส่งออกข้อมูลเรียบร้อยแล้ว',
'actions' => [
'download_csv' => 'ดาวน์โหลด .csv',
'download_xlsx' => 'ดาวน์โหลด .xlsx',
],
],
'max_rows' => [
'title' => 'ข้อมูลมีขนาดใหญ่เกินไป',
'body' => 'คุณไม่สามารถส่งออกข้อมูลมากกว่า :count แถวในครั้งเดียว',
],
'started' => [
'title' => 'เริ่มกระบวนการส่งออกแล้ว',
'body' => 'ข้อมูลจะถูกส่งออกในพื้นหลัง และคุณจะได้รับการแจ้งเตือนเมื่อเสร็จสิ้น',
],
],
'file_name' => 'export-:resource-:date',
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'บังคับลบ',
'modal' => [
'heading' => 'บังคับลบ :label',
'actions' => [
'delete' => [
'label' => 'ลบ',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'ลบข้อมูลเรียบร้อย',
],
],
],
'multiple' => [
'label' => 'บังคับลบที่เลือก',
'modal' => [
'heading' => 'บังคับลบ :label ที่เลือก',
'actions' => [
'delete' => [
'label' => 'ลบ',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'ลบข้อมูลเรียบร้อย',
],
],
],
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'การกระทำ',
],
];
+55
View File
@@ -0,0 +1,55 @@
<?php
return [
'label' => 'นำเข้า',
'modal' => [
'heading' => 'นำเข้า :label',
'form' => [
'file' => [
'label' => 'ไฟล์',
'placeholder' => 'อัปโหลดไฟล์ CSV',
],
'columns' => [
'label' => 'จับคู่คอลัมน์',
],
],
'actions' => [
'import' => [
'label' => 'นำเข้า',
],
],
],
'notifications' => [
'completed' => [
'title' => 'นำเข้าข้อมูลเรียบร้อยแล้ว',
'body' => 'นำเข้าข้อมูลสำเร็จ :count แถว',
],
'max_rows' => [
'title' => 'ไฟล์มีขนาดใหญ่เกินไป',
'body' => 'คุณไม่สามารถนำเข้าข้อมูลมากกว่า :count แถวในครั้งเดียว',
],
'started' => [
'title' => 'เริ่มกระบวนการนำเข้าแล้ว',
'body' => 'ข้อมูลจะถูกนำเข้าในพื้นหลัง และคุณจะได้รับการแจ้งเตือนเมื่อเสร็จสิ้น',
],
],
'example_csv_file_name' => 'import-:resource-example',
];
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'แน่ใจหรือไม่ว่าต้องการดำเนินการต่อ',
'actions' => [
'cancel' => [
'label' => 'ยกเลิก',
],
'confirm' => [
'label' => 'ยืนยัน',
],
'submit' => [
'label' => 'บันทึก',
],
],
];
+8
View File
@@ -0,0 +1,8 @@
<?php
return [
'throttled' => [
'title' => 'จำนวนครั้งในการพยายามดำเนินการได้ถึงขีดจำกัดแล้ว',
'body' => 'กรุณาลองใหม่อีก :seconds วินาที',
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'ทำซ้ำ',
'modal' => [
'heading' => 'ทำซ้ำ :label',
'actions' => [
'replicate' => [
'label' => 'ทำซ้ำ',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'ทำซ้ำเรียบร้อยแล้ว',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'คืนค่า',
'modal' => [
'heading' => 'คืนค่า :label',
'actions' => [
'restore' => [
'label' => 'คืนค่า',
],
],
],
'notifications' => [
'restored' => [
'title' => 'คืนค่าข้อมูลเรียบร้อย',
],
],
],
'multiple' => [
'label' => 'คืนค่าที่เลือก',
'modal' => [
'heading' => 'คืนค่า :label ที่เลือก',
'actions' => [
'restore' => [
'label' => 'คืนค่า',
],
],
],
'notifications' => [
'restored' => [
'title' => 'คืนค่าข้อมูลเรียบร้อย',
],
],
],
];
+25
View File
@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'ดู',
'modal' => [
'heading' => 'ดู :label',
'actions' => [
'close' => [
'label' => 'ปิด',
],
],
],
],
];