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             package HTML::FormFu::I18N::en;
2              
3 30     30   17952 use utf8;
  30         48  
  30         145  
4              
5 30     30   779 use strict;
  30         38  
  30         1015  
6             our $VERSION = '2.05'; # VERSION
7              
8 30     30   121 use Moose;
  30         36  
  30         170  
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_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 => "At least one of the '[_1]' fields is required",
44             form_constraint_required => 'This field is required',
45             form_constraint_set => 'Field contains an invalid choice',
46             form_constraint_singlevalue => 'This field only accepts a single value',
47             form_constraint_word => 'Field contains non-word characters',
48             form_inflator_compounddatetime => 'Invalid date',
49             form_inflator_datetime => 'Invalid date',
50             form_validator_callback => 'Validator error',
51             form_transformer_callback => 'Transformer error',
52              
53             form_inflator_imager => 'Error opening image file',
54             form_validator_imager_size => 'Image upload too large',
55             form_transformer_imager => 'Error processing image file',
56             );
57              
58             __PACKAGE__->meta->make_immutable( inline_constructor => 0 );
59              
60             1;