PHP Classes

File: aksara/Language/en/Validation.php

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Language/en/Validation.php   Download  
File: aksara/Language/en/Validation.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Fix translation of relation checker
Add time validation
Date: 7 months ago
Size: 1,173 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 is coming, those who don't believe at "that time"
 * have only two choices, commit suicide or become brutal.
 */

// Validation language settings
return [
   
// Custom
   
'unique' => 'The {field} you entered already registered.',
   
'boolean' => 'The {field} must be checked or rather ignored.',
   
'currency' => 'The {field} must be contain valid currency.',
   
'valid_date' => 'The {field} must be contain valid date.',
   
'valid_time' => 'The {field} must be contain valid time.',
   
'valid_datetime' => 'The {field} must be contain valid date and time.',
   
'valid_year' => 'The {field} must be contain valid year.',
   
'valid_hex' => 'The {field} must be contain only hex color code.',
   
'relation_checker' => 'The relation data of {field} is not found.'
];