| 1 | 32 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package HTML::FormFu::I18N::en; | ||
| 4 | # ABSTRACT: English | ||
| 5 | 32 | $HTML::FormFu::I18N::en::VERSION = '2.09'; | |
| 6 | 32 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 32 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 32 | extends 'HTML::FormFu::I18N'; | |
| 10 | |||
| 11 | 32 | our %Lexicon = ( | |
| 12 | form_error_message => | ||
| 13 | 'There were errors with your submission, see below for details', | ||
| 14 | form_constraint_allornone => 'Error', | ||
| 15 | form_constraint_ascii => 'Field contains non-ASCII characters', | ||
| 16 | form_constraint_autoset => 'Field contains an invalid choice', | ||
| 17 | form_constraint_bool => 'Field must be a boolean value', | ||
| 18 | form_constraint_callback => 'Invalid input', | ||
| 19 | form_constraint_datetime => 'Invalid date', | ||
| 20 | form_constraint_dbic_unique => 'Value already exists in database', | ||
| 21 | form_constraint_dependon => | ||
| 22 | "This field is required if field '[_1]' is filled in", | ||
| 23 | form_constraint_email => 'This field must contain an email address', | ||
| 24 | form_constraint_equal => "Does not match '[_1]' value", | ||
| 25 | form_constraint_file => 'Not a file', | ||
| 26 | form_constraint_file_mime => 'Invalid file-type', | ||
| 27 | form_constraint_file_maxsize => 'File-size must be no more than [_1] bytes', | ||
| 28 | form_constraint_file_minsize => 'File-size must be at least [_1] bytes', | ||
| 29 | form_constraint_file_size => | ||
| 30 | 'File-size must be between [_1] and [_2] bytes', | ||
| 31 | form_constraint_integer => 'This field must be an integer', | ||
| 32 | form_constraint_json => 'This field must be a valid JSON string', | ||
| 33 | form_constraint_length => 'Must be between [_1] and [_2] characters long', | ||
| 34 | form_constraint_minlength => 'Must be at least [_1] characters long', | ||
| 35 | form_constraint_minrange => 'Must be at least [_1]', | ||
| 36 | form_constraint_minmaxfields => 'Invalid input', | ||
| 37 | form_constraint_maxlength => 'Must not be longer than [_1] characters long', | ||
| 38 | form_constraint_maxrange => 'Must be no more than [_1]', | ||
| 39 | form_constraint_number => 'This field must be a number', | ||
| 40 | form_constraint_printable => 'Field contains non-printable characters', | ||
| 41 | form_constraint_range => 'Must be between [_1] and [_2]', | ||
| 42 | form_constraint_recaptcha => 'reCAPTCHA error', | ||
| 43 | form_constraint_regex => 'Invalid input', | ||
| 44 | form_constraint_repeatable_any => | ||
| 45 | "At least one of the '[_1]' fields is required", | ||
| 46 | form_constraint_required => 'This field is required', | ||
| 47 | form_constraint_set => 'Field contains an invalid choice', | ||
| 48 | form_constraint_singlevalue => 'This field only accepts a single value', | ||
| 49 | form_constraint_word => 'Field contains non-word characters', | ||
| 50 | form_inflator_compounddatetime => 'Invalid date', | ||
| 51 | form_inflator_datetime => 'Invalid date', | ||
| 52 | form_validator_callback => 'Validator error', | ||
| 53 | form_transformer_callback => 'Transformer error', | ||
| 54 | |||
| 55 | form_inflator_imager => 'Error opening image file', | ||
| 56 | form_validator_imager_size => 'Image upload too large', | ||
| 57 | form_transformer_imager => 'Error processing image file', | ||
| 58 | ); | ||
| 59 | |||
| 60 | 32 | __PACKAGE__->meta->make_immutable( inline_constructor => 0 ); | |
| 61 | |||
| 62 | 32 | 1; | |
| 63 | |||
| 64 | __END__ | ||