Files
dafuweng/resource/translations/en/validator.php
2026-03-02 13:44:38 +08:00

35 lines
1.4 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Created by PhpStorm.
* User: rocky
* Date: 2022-02-26
* Time: 00:44
*/
return [
'required' => '{{name}}can not be null',
'email' => 'Email format does not match',
'idCard' => 'The email address format is incorrect',
'url' => 'Not a valid URL address',
'number' => 'Must be number',
'integer' => 'Must be integer',
'float' => 'It must be floating point number',
'mobile' => 'Incorrect format',
'leng' => 'The length does not meet the requirements ',
'alpha' => 'Can only be letters',
'alphaNum' => 'It can only be alphanumeric',
'alnum' => 'It can only be alphanumeric',
'alphaDash' => 'The value can contain only letters, digits, _ and -',
'chs' => 'Can only be Chinese characters',
'chsAlpha' => 'Only Chinese characters, letters',
'chsAlphaNum' => 'Only Chinese characters, letters and numbers',
'chsDash' => 'Only Chinese characters, letters, numbers, _ and - can be used',
'in' => '{{name}}Value error',
'equals' => '{{name}}Must be the same as the password',
'image' => 'Must be a picture',
'length' => '{{name}} The length must be between {{minValue}} and {{maxValue}} ',
'creditCard' => 'Must be a valid credit card number',
'digit' => '{{name}}Contain only numbers0-9',
'base64' => '{{name}}The format must be base64',
'arrayVal' => '{{name}} must be in array format',
'is_channel' => '{{name}} must be in array bool format',
];