Bump version to 3.3.6
[kohana-core.git] / messages / validation.php
blob236c2abc625f250f856bd970a80fd1a8ac90f219
1 <?php defined('SYSPATH') OR die('No direct script access.');
3 return array(
5 'alpha' => ':field must contain only letters',
6 'alpha_dash' => ':field must contain only numbers, letters and dashes',
7 'alpha_numeric' => ':field must contain only letters and numbers',
8 'color' => ':field must be a color',
9 'credit_card' => ':field must be a credit card number',
10 'date' => ':field must be a date',
11 'decimal' => ':field must be a decimal with :param2 places',
12 'digit' => ':field must be a digit',
13 'email' => ':field must be an email address',
14 'email_domain' => ':field must contain a valid email domain',
15 'equals' => ':field must equal :param2',
16 'exact_length' => ':field must be exactly :param2 characters long',
17 'in_array' => ':field must be one of the available options',
18 'ip' => ':field must be an ip address',
19 'matches' => ':field must be the same as :param3',
20 'min_length' => ':field must be at least :param2 characters long',
21 'max_length' => ':field must not exceed :param2 characters long',
22 'not_empty' => ':field must not be empty',
23 'numeric' => ':field must be numeric',
24 'phone' => ':field must be a phone number',
25 'range' => ':field must be within the range of :param2 to :param3',
26 'regex' => ':field does not match the required format',
27 'url' => ':field must be a url',