<?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' => '????????????????????????????', // 'No rule sets specified in Validation configuration.'
'ruleNotFound' => '"{0}" ???????????????', // '"{0}" is not a valid rule.'
'groupNotFound' => '"{0}" ???????????????????????', // '"{0}" is not a validation rules group.'
'groupNotArray' => '"{0}" ?????????????????????', // '"{0}" rule group must be an array.'
'invalidTemplate' => '"{0}" ?????????????????????????', // '"{0}" is not a valid Validation template.'
// Rule Messages
'alpha' => '{field} ??????????????', // 'The {field} field may only contain alphabetical characters.'
'alpha_dash' => '{field} ????????????????????????????', // 'The {field} field may only contain alphanumeric, underscore, and dash characters.'
'alpha_numeric' => '{field} ??????????????', // 'The {field} field may only contain alphanumeric characters.'
'alpha_numeric_punct' => '{field} ???????????~ ! # $ % & * - _ + = | : .??????????', // 'The {field} field may contain only alphanumeric characters, spaces, and ~ ! # $ % & * - _ + = | : . characters.'
'alpha_numeric_space' => '{field} ??????????????????', // 'The {field} field may only contain alphanumeric and space characters.'
'alpha_space' => '{field} ??????????????????', // 'The {field} field may only contain alphabetical characters and spaces.'
'decimal' => '{field} ???????????????', // 'The {field} field must contain a decimal number.'
'differs' => '{field} ?? {param} ???????????????', // 'The {field} field must differ from the {param} field.'
'equals' => '{field} ? {param} ??????????????', // 'The {field} field must be exactly: {param}.'
'exact_length' => '{field} ??????{param}????????????', // 'The {field} field must be exactly {param} characters in length.'
'field_exists' => '{field} ????????', // 'The {field} field must exist.'
'greater_than' => '{field} ?? {param} ???????????????????', // 'The {field} field must contain a number greater than {param}.'
'greater_than_equal_to' => '{field} ?? {param} ?????????????????', // 'The {field} field must contain a number greater than or equal to {param}.'
'hex' => '{field} ?16????????????', // 'The {field} field may only contain hexadecimal characters.'
'in_list' => '{field} ???{param} ????????????????', // 'The {field} field must be one of: {param}.'
'integer' => '{field} ?????????????????', // 'The {field} field must contain an integer.'
'is_natural' => '{field} ???????????????????', // 'The {field} field must only contain digits.'
'is_natural_no_zero' => '{field} ????????0?????????????????', // 'The {field} field must only contain digits and must be greater than zero.'
'is_not_unique' => '{field} ??????????????????????????', // 'The {field} field must contain a previously existing value in the database.'
'is_unique' => '{field} ???????????????????', // 'The {field} field must contain a unique value.'
'less_than' => '{field} ? {param} ???????????????????', // 'The {field} field must contain a number less than {param}.'
'less_than_equal_to' => '{field} ? {param} ?????????????????', // 'The {field} field must contain a number less than or equal to {param}.'
'matches' => '{field} ? {param} ????????', // 'The {field} field does not match the {param} field.'
'max_length' => '{field} ? {param} ??????????????', // 'The {field} field cannot exceed {param} characters in length.'
'min_length' => '{field} ? {param} ??????????????', // 'The {field} field must be at least {param} characters in length.'
'not_equals' => '{field} ? {param} ????????????', // 'The {field} field cannot be: {param}.'
'not_in_list' => '{field} ? {param} ?????????????????', // 'The {field} field must not be one of: {param}.'
'numeric' => '{field} ??????????????????', // 'The {field} field must contain only numbers.'
'regex_match' => '{field} ??????????????????', // 'The {field} field is not in the correct format.'
'required' => '{field} ????????', // 'The {field} field is required.'
'required_with' => '{field} ? {param} ????????????????', // 'The {field} field is required when {param} is present.'
'required_without' => '{field} ? {param} ?????????????????', // 'The {field} field is required when {param} is not present.'
'string' => '{field} ???????????????????', // 'The {field} field must be a valid string.'
'timezone' => '{field} ??????????????????????', // 'The {field} field must be a valid timezone.'
'valid_base64' => '{field} ??????Base64?????????????', // 'The {field} field must be a valid base64 string.'
'valid_email' => '{field} ???????????????????????', // 'The {field} field must contain a valid email address.'
'valid_emails' => '{field} ??????????????????????????', // 'The {field} field must contain all valid email addresses.'
'valid_ip' => '{field} ??????IP??????????????', // 'The {field} field must contain a valid IP.'
'valid_url' => '{field} ??????URL??????????', // 'The {field} field must contain a valid URL.'
'valid_url_strict' => '{field} ??????URL??????????', // 'The {field} field must contain a valid URL.'
'valid_date' => '{field} ??????????????????', // 'The {field} field must contain a valid date.'
'valid_json' => '{field} ?????JSON??????????', // 'The {field} field must contain a valid json.'
// Credit Cards
'valid_cc_num' => '{field} ???????????????????????', // '{field} does not appear to be a valid credit card number.'
// Files
'uploaded' => '{field} ????????????????', // '{field} is not a valid uploaded file.'
'max_size' => '{field} ????????????????', // '{field} is too large of a file.'
'is_image' => '{field} ??????????????????', // '{field} is not a valid, uploaded image file.'
'mime_in' => '{field} ????MIME???????????', // '{field} does not have a valid mime type.'
'ext_in' => '{field} ???????????????????', // '{field} does not have a valid file extension.'
'max_dims' => '{field} ?????????????????????', // '{field} is either not an image, or it is too wide or tall.'
// Custom
'unique' => '????? {field} ?????????????',
'boolean' => '{field} ???????????????????????',
'currency' => '{field} ??????????????????????',
'valid_time' => '{field} ??????????????????????',
'valid_datetime' => '{field} ??????????????????????',
'valid_year' => '{field} ?????????????????????',
'valid_hex' => '{field} ??16???????????????????????',
'relation_checker' => '{field} ???????????????????'
];
|