mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
30 lines
1.0 KiB
PHP
30 lines
1.0 KiB
PHP
<?php
|
|
return array(
|
|
'required' => "Required",
|
|
'equals' => "Must be the same as '%s'",
|
|
'different' => "Must be different than '%s'",
|
|
'accepted' => "Must be accepted",
|
|
'numeric' => "Must be numeric",
|
|
'integer' => "Must be an integer (0-9)",
|
|
'length' => "Must be longer than %d",
|
|
'min' => "Must be greater than %s",
|
|
'max' => "Must be less than %s",
|
|
'in' => "Invalid value",
|
|
'notIn' => "Invalid value",
|
|
'ip' => "Invalid IP address",
|
|
'email' => "Invalid email address",
|
|
'url' => "Invalid URL",
|
|
'urlActive' => "Must be active domain",
|
|
'alpha' => "Must contain only letters a-z",
|
|
'alphaNum' => "Must contain only letters a-z and/or numbers 0-9",
|
|
'slug' => "Must contain only letters a-z, numbers 0-9, dashes and underscores",
|
|
'regex' => "Invalid format",
|
|
'date' => "Invalid date",
|
|
'dateFormat' => "Must be date with format '%s'",
|
|
'dateBefore' => "Must be date before '%s'",
|
|
'dateAfter' => "Must be date after '%s'",
|
|
'contains' => "Must contain %s"
|
|
);
|
|
|
|
|