Bugzilla – Attachment 16772 Details for
Bug 6209
Standardize on one javascript library for client-side form validation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 6209 follow-up, make strings translatable
PASSED-QA-Bug-6209-follow-up-make-strings-translat.patch (text/plain), 2.82 KB, created by
Paul Poulain
on 2013-03-22 11:15:33 UTC
(
hide
)
Description:
[PASSED QA] Bug 6209 follow-up, make strings translatable
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2013-03-22 11:15:33 UTC
Size:
2.82 KB
patch
obsolete
>From 9acd49af2b4c5321539bdcdd3820da50016ac169 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Fri, 22 Mar 2013 12:14:37 +0100 >Subject: [PATCH] [PASSED QA] Bug 6209 follow-up, make strings translatable > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > .../prog/en/includes/validator-strings.inc | 32 ++++++++++---------- > 1 file changed, 16 insertions(+), 16 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc >index 4c84cd6..2ca4430 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc >@@ -2,22 +2,22 @@ > //<![CDATA[ > $(document).ready(function(){ > jQuery.extend(jQuery.validator.messages, { >- required: "This field is required.", >- remote: "Please fix this field.", >- email: "Please enter a valid email address.", >- url: "Please enter a valid URL.", >- date: "Please enter a valid date.", >- dateISO: "Please enter a valid date (ISO).", >- number: "Please enter a valid number.", >- digits: "Please enter only digits.", >- equalTo: "Please enter the same value again.", >- maxlength: $.validator.format("Please enter no more than {0} characters."), >- minlength: $.validator.format("Please enter at least {0} characters."), >- rangelength: $.validator.format("Please enter a value between {0} and {1} characters long."), >- range: $.validator.format("Please enter a value between {0} and {1}."), >- max: $.validator.format("Please enter a value less than or equal to {0}."), >- min: $.validator.format("Please enter a value greater than or equal to {0}.") >+ required: _("This field is required."), >+ remote: _("Please fix this field."), >+ email: _("Please enter a valid email address."), >+ url: _("Please enter a valid URL."), >+ date: _("Please enter a valid date."), >+ dateISO: _("Please enter a valid date (ISO)."), >+ number: _("Please enter a valid number."), >+ digits: _("Please enter only digits."), >+ equalTo: _("Please enter the same value again."), >+ maxlength: $.validator.format(_("Please enter no more than {0} characters.")), >+ minlength: $.validator.format(_("Please enter at least {0} characters.")), >+ rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")), >+ range: $.validator.format(_("Please enter a value between {0} and {1}.")), >+ max: $.validator.format(_("Please enter a value less than or equal to {0}.")), >+ min: $.validator.format(_("Please enter a value greater than or equal to {0}.")) > }); > }); > //]]> >-</script> >\ No newline at end of file >+</script> >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6209
:
8474
|
8520
|
15017
|
15141
|
15802
|
15816
|
16701
|
16771
| 16772