| 1 |
[ |
| 2 |
{ |
| 3 |
'Field' => { |
| 4 |
'error_occurred' => 'error occurred', |
| 5 |
'range_incorrect' => 'Value must be between [_1] and [_2]', |
| 6 |
'required' => '[_1] field is required', |
| 7 |
'range_too_high' => 'Value must be less than or equal to [_1]', |
| 8 |
'range_too_low' => 'Value must be greater than or equal to [_1]', |
| 9 |
'unique' => 'Duplicate value for [_1]', |
| 10 |
'wrong_value' => 'Wrong value', |
| 11 |
'no_match' => '[_1] does not match', |
| 12 |
'not_allowed' => '[_1] not allowed', |
| 13 |
'field_invalid' => 'field is invalid' |
| 14 |
} |
| 15 |
}, |
| 16 |
{ |
| 17 |
'Types' => { |
| 18 |
'SimpleStr' => 'Must be a single line of no more than 255 chars', |
| 19 |
'NegativeNum' => 'Must be a negative number', |
| 20 |
'Zip' => 'Zip is not valid', |
| 21 |
'Email' => 'Email is not valid', |
| 22 |
'Password' => 'Must be between 4 and 255 chars', |
| 23 |
'NotAllDigits' => 'Must not be all digits', |
| 24 |
'IPAddress' => 'Not a valid IP address', |
| 25 |
'PositiveInt' => 'Must be a positive integer', |
| 26 |
'NonEmptyStr' => 'Must not be empty', |
| 27 |
'State' => 'Not a valid state', |
| 28 |
'StrongPassword' => 'Must be between 8 and 255 chars, and contain a non-alpha char', |
| 29 |
'NoSpaces' => 'Must not contain spaces', |
| 30 |
'NegativeInt' => 'Must be a negative integer', |
| 31 |
'SingleDigit' => 'Must be a single digit', |
| 32 |
'SingleWord' => 'Field must contain a single word', |
| 33 |
'PrintableAndNewline' => 'Field contains non-printable characters', |
| 34 |
'NonEmptySimpleStr' => 'Must be a non-empty single line of no more than 255 chars', |
| 35 |
'Printable' => 'Field contains non-printable characters', |
| 36 |
'WordChars' => 'Must be made up of letters, digits, and underscores', |
| 37 |
'PositiveNum' => 'Must be a positive number' |
| 38 |
} |
| 39 |
}, |
| 40 |
{ |
| 41 |
'Date' => { |
| 42 |
'date_late' => 'Date is too late', |
| 43 |
'date_early' => 'Date is too early' |
| 44 |
} |
| 45 |
}, |
| 46 |
{ |
| 47 |
'DateTime' => { |
| 48 |
'datetime_invalid' => 'Not a valid DateTime' |
| 49 |
} |
| 50 |
}, |
| 51 |
{ |
| 52 |
'Duration' => { |
| 53 |
'duration_invalid' => 'Invalid value for [_1]: [_2]' |
| 54 |
} |
| 55 |
}, |
| 56 |
{ |
| 57 |
'Email' => { |
| 58 |
'email_format' => 'Email should be of the format [_1]' |
| 59 |
} |
| 60 |
}, |
| 61 |
{ |
| 62 |
'Float' => { |
| 63 |
'float_precision' => 'May have a maximum of [quant,_1,digit] after the decimal point, but has [_2]', |
| 64 |
'float_needed' => 'Must be a number. May contain numbers, +, - and decimal separator \'[_1]\'', |
| 65 |
'float_size' => 'Total size of number must be less than or equal to [_1], but is [_2]' |
| 66 |
} |
| 67 |
}, |
| 68 |
{ |
| 69 |
'Integer' => { |
| 70 |
'integer_needed' => 'Value must be an integer' |
| 71 |
} |
| 72 |
}, |
| 73 |
{ |
| 74 |
'Money' => { |
| 75 |
'money_convert' => 'Value cannot be converted to money', |
| 76 |
'money_real' => 'Value must be a real number' |
| 77 |
} |
| 78 |
}, |
| 79 |
{ |
| 80 |
'Password' => { |
| 81 |
'password_ne_username' => 'Password must not match [_1]', |
| 82 |
'required' => 'Please enter a password in this field' |
| 83 |
} |
| 84 |
}, |
| 85 |
{ |
| 86 |
'PasswordConf' => { |
| 87 |
'required' => 'Please enter a password confirmation', |
| 88 |
'pass_conf_not_matched' => 'The password confirmation does not match the password' |
| 89 |
} |
| 90 |
}, |
| 91 |
{ |
| 92 |
'PosInteger' => { |
| 93 |
'integer_positive' => 'Value must be a positive integer' |
| 94 |
} |
| 95 |
}, |
| 96 |
{ |
| 97 |
'Select' => { |
| 98 |
'select_invalid_value' => '\'[_1]\' is not a valid value', |
| 99 |
'select_not_multiple' => 'This field does not take multiple values' |
| 100 |
} |
| 101 |
}, |
| 102 |
{ |
| 103 |
'Text' => { |
| 104 |
'text_minlength' => 'Field must be at least [quant,_1,character]. You entered [_2]', |
| 105 |
'multiple_values_disallowed' => 'Field must contain a single value', |
| 106 |
'text_maxlength' => 'Field should not exceed [quant,_1,character]. You entered [_2]' |
| 107 |
} |
| 108 |
}, |
| 109 |
{ |
| 110 |
'Upload' => { |
| 111 |
'upload_file_too_big' => 'File is too big (> [_1] bytes)', |
| 112 |
'upload_file_too_small' => 'File is too small (< [_1] bytes)', |
| 113 |
'upload_file_not_found' => 'File not found for upload field', |
| 114 |
'upload_file_empty' => 'File uploaded is empty' |
| 115 |
} |
| 116 |
} |
| 117 |
] |