| 1 | 31 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package HTML::FormFu::I18N::en; | ||
| 4 | 31 | $HTML::FormFu::I18N::en::VERSION = '2.06'; | |
| 5 | 31 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 31 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 31 | extends 'HTML::FormFu::I18N'; | |
| 9 | |||
| 10 | 31 | our %Lexicon = ( | |
| 11 | form_error_message => | ||
| 12 | 'There were errors with your submission, see below for details', | ||
| 13 | form_constraint_allornone => 'Error', | ||
| 14 | form_constraint_ascii => 'Field contains non-ASCII characters', | ||
| 15 | form_constraint_autoset => 'Field contains an invalid choice', | ||
| 16 | form_constraint_bool => 'Field must be a boolean value', | ||
| 17 | form_constraint_callback => 'Invalid input', | ||
| 18 | form_constraint_datetime => 'Invalid date', | ||
| 19 | form_constraint_dbic_unique => 'Value already exists in database', | ||
| 20 | form_constraint_dependon => | ||
| 21 | "This field is required if field '[_1]' is filled in", | ||
| 22 | form_constraint_email => 'This field must contain an email address', | ||
| 23 | form_constraint_equal => "Does not match '[_1]' value", | ||
| 24 | form_constraint_file => 'Not a file', | ||
| 25 | form_constraint_file_mime => 'Invalid file-type', | ||
| 26 | form_constraint_file_maxsize => 'File-size must be no more than [_1] bytes', | ||
| 27 | form_constraint_file_minsize => 'File-size must be at least [_1] bytes', | ||
| 28 | form_constraint_file_size => | ||
| 29 | 'File-size must be between [_1] and [_2] bytes', | ||
| 30 | form_constraint_integer => 'This field must be an integer', | ||
| 31 | form_constraint_json => 'This field must be a valid JSON string', | ||
| 32 | form_constraint_length => 'Must be between [_1] and [_2] characters long', | ||
| 33 | form_constraint_minlength => 'Must be at least [_1] characters long', | ||
| 34 | form_constraint_minrange => 'Must be at least [_1]', | ||
| 35 | form_constraint_minmaxfields => 'Invalid input', | ||
| 36 | form_constraint_maxlength => 'Must not be longer than [_1] characters long', | ||
| 37 | form_constraint_maxrange => 'Must be no more than [_1]', | ||
| 38 | form_constraint_number => 'This field must be a number', | ||
| 39 | form_constraint_printable => 'Field contains non-printable characters', | ||
| 40 | form_constraint_range => 'Must be between [_1] and [_2]', | ||
| 41 | form_constraint_recaptcha => 'reCAPTCHA error', | ||
| 42 | form_constraint_regex => 'Invalid input', | ||
| 43 | form_constraint_repeatable_any => | ||
| 44 | "At least one of the '[_1]' fields is required", | ||
| 45 | form_constraint_required => 'This field is required', | ||
| 46 | form_constraint_set => 'Field contains an invalid choice', | ||
| 47 | form_constraint_singlevalue => 'This field only accepts a single value', | ||
| 48 | form_constraint_word => 'Field contains non-word characters', | ||
| 49 | form_inflator_compounddatetime => 'Invalid date', | ||
| 50 | form_inflator_datetime => 'Invalid date', | ||
| 51 | form_validator_callback => 'Validator error', | ||
| 52 | form_transformer_callback => 'Transformer error', | ||
| 53 | |||
| 54 | form_inflator_imager => 'Error opening image file', | ||
| 55 | form_validator_imager_size => 'Image upload too large', | ||
| 56 | form_transformer_imager => 'Error processing image file', | ||
| 57 | ); | ||
| 58 | |||
| 59 | 31 | __PACKAGE__->meta->make_immutable( inline_constructor => 0 ); | |
| 60 | |||
| 61 | 31 | 1; | |
| 62 | |||
| 63 | __END__ | ||
| 64 | |||
| 65 | =pod | ||
| 66 | |||
| 67 | =encoding UTF-8 | ||
| 68 | |||
| 69 | =head1 NAME | ||
| 70 | |||
| 71 | HTML::FormFu::I18N::en | ||
| 72 | |||
| 73 | =head1 VERSION | ||
| 74 | |||
| 75 | version 2.06 | ||
| 76 | |||
| 77 | =head1 AUTHOR | ||
| 78 | |||
| 79 | Carl Franks <cpan@fireartist.com> | ||
| 80 | |||
| 81 | =head1 COPYRIGHT AND LICENSE | ||
| 82 | |||
| 83 | This software is copyright (c) 2018 by Carl Franks. | ||
| 84 | |||
| 85 | This is free software; you can redistribute it and/or modify it under | ||
| 86 | the same terms as the Perl 5 programming language system itself. | ||
| 87 | |||
| 88 | =cut | ||