<?php

/**
 * This file is part of Aksara CMS, both framework and publishing
 * platform.
 *
 * @author     Aby Dahana <abydahana@gmail.com>
 * @copyright  (c) Aksara Laboratory <https://aksaracms.com>
 * @license    MIT License
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the LICENSE.txt file.
 *
 * When the signs come, those who don't believe at "that time"
 * will have only two choices, commit suicide or become brutal.
 */

declare(strict_types=1);

/**
 * This file is part of CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <admin@codeigniter.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

// Database language settings
return [
    'invalidEvent' => '{0} ไม่ใช่การเรียกกลับของอีเวนต์โมเดลที่ถูกต้อง',
    'invalidArgument' => 'คุณต้องระบุ {0} ที่ถูกต้อง',
    'invalidAllowedFields' => 'ต้องระบุฟิลด์ที่อนุญาตสำหรับโมเดล: {0}',
    'emptyDataset' => 'ไม่มีข้อมูลสำหรับ {0}',
    'emptyPrimaryKey' => 'ไม่มีคีย์หลักที่กำหนดไว้เมื่อพยายามสร้าง {0}',
    'failGetFieldData' => 'ไม่สามารถรับข้อมูลฟิลด์จากฐานข้อมูล',
    'failGetIndexData' => 'ไม่สามารถรับข้อมูลดัชนี (index) จากฐานข้อมูล',
    'failGetForeignKeyData' => 'ไม่สามารถรับข้อมูลคีย์นอก (foreign key) จากฐานข้อมูล',
    'parseStringFail' => 'การแยกสตริงคีย์ล้มเหลว',
    'featureUnavailable' => 'คุณสมบัตินี้ไม่พร้อมใช้งานสำหรับฐานข้อมูลที่คุณกำลังใช้',
    'tableNotFound' => 'ไม่พบตาราง `{0}` ในฐานข้อมูลปัจจุบัน',
    'noPrimaryKey' => 'คลาสโมเดล `{0}` ไม่ได้ระบุคีย์หลัก',
    'noDateFormat' => 'คลาสโมเดล `{0}` ไม่มี dateFormat ที่ถูกต้อง',
    'fieldNotExists' => 'ไม่พบฟิลด์ `{0}`',
    'forEmptyInputGiven' => 'มีการระบุคำสั่งที่ว่างเปล่าสำหรับฟิลด์ `{0}`',
    'forFindColumnHaveMultipleColumns' => 'อนุญาตให้ระบุเพียงคอลัมน์เดียวในชื่อคอลัมน์',
];
