PHP Classes

File: aksara/Language/th/Validation.php

Recommend this page to a friend!
  Packages of Aby Dahana   Aksara   aksara/Language/th/Validation.php   Download  
File: aksara/Language/th/Validation.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change:
Date: 1 month ago
Size: 8,536 bytes
 

Contents

Class file image Download
<?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.
 */

// Validation language settings
return [
   
// Core Messages
   
'noRuleSets' => '??????????????????????????????????????????????????????',
   
'ruleNotFound' => '{0}??????????????????',
   
'groupNotFound' => '{0}??????????????????????????????????',
   
'groupNotArray' => '{0}??????????????????',
   
'invalidTemplate' => '{0}???????????????????????????????????????????',

   
// Rule Messages
   
'alpha' => '????? {field} ??????????????????????????',
   
'alpha_dash' => '????? {field} ?????????????????????????????????????????????? ??????? ??????????',
   
'alpha_numeric' => '????? {field} ??????????????????????????????????????????????',
   
'alpha_numeric_punct' => '????? {field} ???????????????????????????????????????????????????? ????????? ??? ~ ! # $% & * - _ + = | : .',
   
'alpha_numeric_space' => '????? {field} ????????????????????????????????????????????????????????????',
   
'alpha_space' => '????? {field} ??????????????????????????????????????',
   
'decimal' => '????? {field} ??????????????????',
   
'differs' => '????? {field} ??????????????????? {param}',
   
'equals' => '????? {field} ???????????????????: {param}',
   
'exact_length' => '????? {field} ????????????? {param} ????????',
   
'greater_than' => '????? {field} ??????????????????????????? {param}',
   
'greater_than_equal_to' => '????? {field} ?????????????????????????????????????? {param}',
   
'hex' => '????? {field} ????????????????????????',
   
'in_list' => '????? {field} ???????????????: {param}',
   
'integer' => '????? {field} ???????????????',
   
'is_natural' => '????? {field} ????????????????????',
   
'is_natural_no_zero' => '????? {field} ????????????????????????????????????',
   
'is_not_unique' => '????? {field} ????????????????????????????????????????',
   
'is_unique' => '????? {field} ??????????????????',
   
'less_than' => '????? {field} ???????????????????? {param}',
   
'less_than_equal_to' => '????? {field} ??????????????????????????????? {param}',
   
'matches' => '????? {field} ?????????????? {param}',
   
'max_length' => '????? {field} ???????????????????? {param} ??????',
   
'min_length' => '????? {field} ?????????????????????? {param} ??????',
   
'not_equals' => '????? {field} ?????????????: {param}',
   
'not_in_list' => '????? {field} ??????????????????: {param}',
   
'numeric' => '????? {field} ?????????????????????????',
   
'regex_match' => '????? {field} ?????????????????????????',
   
'required' => '????????????? {field}',
   
'required_with' => '????????????? {field} ??????? {param}',
   
'required_without' => '????????????? {field} ?????????? {param}',
   
'string' => '????? {field} ???????????????????????',
   
'timezone' => '????? {field} ?????????????????????????',
   
'valid_base64' => '????? {field} ????????????? base64 ??????????',
   
'valid_email' => '????? {field} ????????????????????????????',
   
'valid_emails' => '????? {field} ???????????????????????????????????',
   
'valid_ip' => '????? {field} ?????? IP ??????????',
   
'valid_url' => '????? {field} ?????? URL ??????????',
   
'valid_url_strict' => '????? {field} ?????? URL ??????????',
   
'valid_date' => '????? {field} ??????????????????????',

   
// Credit Cards
   
'valid_cc_num' => '{field} ???????????????????????????????????????????',

   
// Files
   
'uploaded' => '{field} ??????????????????????????????',
   
'max_size' => '{field} ????????????????????',
   
'is_image' => '{field} ??????????, ?????????????????',
   
'mime_in' => '{field} ??????????? mime type ?????????????',
   
'ext_in' => '{field} ?????????????????????????????',
   
'max_dims' => '{field} ???????????? ??????????????????????',

   
// Custom
   
'unique' => '{field} ????????????????????????????????',
   
'boolean' => '{field} ??????????????????????????????',
   
'currency' => '{field} ????????????????????????',
   
'valid_time' => '{field} ????????????????????',
   
'valid_datetime' => '{field} ?????????????????????????????',
   
'valid_year' => '{field} ??????????????????',
   
'valid_hex' => '{field} ?????????????????????????',
   
'relation_checker' => '?????????????????????????? {field}'
];