File Coverage

blib/lib/HTML/FormFu/I18N/en.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1 31     31   24606 use strict;
  31         80  
  31         1649  
2              
3             package HTML::FormFu::I18N::en;
4             # ABSTRACT: English
5             $HTML::FormFu::I18N::en::VERSION = '2.07';
6 31     31   243 use utf8;
  31         69  
  31         187  
7              
8 31     31   759 use Moose;
  31         66  
  31         200  
9             extends 'HTML::FormFu::I18N';
10              
11             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             __PACKAGE__->meta->make_immutable( inline_constructor => 0 );
61              
62             1;
63              
64             __END__
65              
66             =pod
67              
68             =encoding UTF-8
69              
70             =head1 NAME
71              
72             HTML::FormFu::I18N::en - English
73              
74             =head1 VERSION
75              
76             version 2.07
77              
78             =head1 AUTHOR
79              
80             Carl Franks <cpan@fireartist.com>
81              
82             =head1 COPYRIGHT AND LICENSE
83              
84             This software is copyright (c) 2018 by Carl Franks.
85              
86             This is free software; you can redistribute it and/or modify it under
87             the same terms as the Perl 5 programming language system itself.
88              
89             =cut