Lines 1-24
Link Here
|
1 |
<script type="text/javascript"> |
1 |
<script> |
2 |
//<![CDATA[ |
2 |
$(document).ready(function(){ |
3 |
$(document).ready(function(){ |
3 |
jQuery.extend(jQuery.validator.messages, { |
4 |
jQuery.extend(jQuery.validator.messages, { |
4 |
required: _("This field is required."), |
5 |
required: _("This field is required."), |
5 |
remote: _("Please fix this field."), |
6 |
remote: _("Please fix this field."), |
6 |
email: _("Please enter a valid email address."), |
7 |
email: _("Please enter a valid email address."), |
7 |
url: _("Please enter a valid URL."), |
8 |
url: _("Please enter a valid URL."), |
8 |
date: _("Please enter a valid date."), |
9 |
date: _("Please enter a valid date."), |
9 |
dateISO: _("Please enter a valid date (ISO)."), |
10 |
dateISO: _("Please enter a valid date (ISO)."), |
10 |
number: _("Please enter a valid number."), |
11 |
number: _("Please enter a valid number."), |
11 |
digits: _("Please enter only digits."), |
12 |
digits: _("Please enter only digits."), |
12 |
equalTo: _("Please enter the same value again."), |
13 |
equalTo: _("Please enter the same value again."), |
13 |
maxlength: $.validator.format(_("Please enter no more than {0} characters.")), |
14 |
maxlength: $.validator.format(_("Please enter no more than {0} characters.")), |
14 |
minlength: $.validator.format(_("Please enter at least {0} characters.")), |
15 |
minlength: $.validator.format(_("Please enter at least {0} characters.")), |
15 |
rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")), |
16 |
rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")), |
16 |
range: $.validator.format(_("Please enter a value between {0} and {1}.")), |
17 |
range: $.validator.format(_("Please enter a value between {0} and {1}.")), |
17 |
max: $.validator.format(_("Please enter a value less than or equal to {0}.")), |
18 |
max: $.validator.format(_("Please enter a value less than or equal to {0}.")), |
18 |
min: $.validator.format(_("Please enter a value greater than or equal to {0}.")), |
19 |
min: $.validator.format(_("Please enter a value greater than or equal to {0}.")), |
19 |
phone: $.validator.format(_("Please enter a valid phone number.")) |
20 |
phone: $.validator.format(_("Please enter a valid phone number.")) |
20 |
}); |
21 |
}); |
21 |
}); |
22 |
}); |
|
|
23 |
//]]> |
24 |
</script> |
22 |
</script> |