2
# Copyright (c) 2005 Nate Wiger <nate@wiger.org>. All Rights Reserved.
3
# Use "perldoc CGI::FormBuilder::Messages" to read full documentation.
5
package CGI::FormBuilder::Messages::locale;
9
CGI::FormBuilder::Messages::en_US - English (default) messages for FormBuilder
15
my $form = CGI::FormBuilder->new(messages => 'auto');
21
our $VERSION = '3.03';
23
# Simply create a hash of messages for this language
26
charset => 'iso-8859-1',
28
js_invalid_start => '%s error(s) were encountered with your submission:',
29
js_invalid_end => 'Please correct these fields and try again.',
31
js_invalid_input => '- Invalid entry for the "%s" field',
32
js_invalid_select => '- Select an option from the "%s" list',
33
js_invalid_multiple => '- Select one or more options from the "%s" list',
34
js_invalid_checkbox => '- Check one or more of the "%s" options',
35
js_invalid_radio => '- Choose one of the "%s" options',
36
js_invalid_password => '- Invalid entry for the "%s" field',
37
js_invalid_textarea => '- Please fill in the "%s" field',
38
js_invalid_file => '- Invalid filename for the "%s" field',
39
js_invalid_default => '- Invalid entry for the "%s" field',
41
js_noscript => 'Please enable Javascript or use a newer browser.',
43
form_required_text => 'Fields that are %shighlighted%s are required.',
45
form_invalid_text => '%s error(s) were encountered with your submission. '
46
. 'Please correct the fields %shighlighted%s below.',
48
form_invalid_input => 'Invalid entry',
49
form_invalid_hidden => 'Invalid entry',
50
form_invalid_select => 'Select an option from this list',
51
form_invalid_checkbox => 'Check one or more options',
52
form_invalid_radio => 'Choose an option',
53
form_invalid_password => 'Invalid entry',
54
form_invalid_textarea => 'Please fill this in',
55
form_invalid_file => 'Invalid filename',
56
form_invalid_default => 'Invalid entry',
58
form_grow_default => 'Additional %s',
59
form_select_default => '-select-',
60
form_other_default => 'Other:',
61
form_submit_default => 'Submit',
62
form_reset_default => 'Reset',
64
form_confirm_text => 'Success! Your submission has been received %s.',
66
mail_confirm_subject => '%s Submission Confirmation',
67
mail_confirm_text => <<EOT,
68
Your submission has been received %s,
69
and will be processed shortly.
71
If you have any questions, please contact our staff by replying
74
mail_results_subject => '%s Submission Results',
77
# This method should remain unchanged
79
return wantarray ? %MESSAGES : \%MESSAGES;
87
This module contains English (default) messages for FormBuilder.
89
If the C<messages> option is set to "auto" (the recommended
90
but NOT default setting), these messages will automatically
91
be displayed to English clients, or clients for which no
94
my $form = CGI::FormBuilder->new(messages => 'auto');
96
To force display of these messages, use the following
99
my $form = CGI::FormBuilder->new(messages => ':en_US');
103
$Id: en_US.pm,v 1.11 2006/02/24 01:42:29 nwiger Exp $
107
Copyright (c) 2005-2006 Nate Wiger <nate@wiger.org>. All Rights Reserved.
109
This module is free software; you may copy this under the terms of
110
the GNU General Public License, or the Artistic License, copies of
111
which should have accompanied your Perl kit.