Bugzilla – Attachment 3713 Details for
Bug 6073
string missing for translation in acq.js
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-BZ6073-string-misses-to-be-translatable.patch (text/plain), 1.29 KB, created by
Paul Poulain
on 2011-04-05 16:04:02 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-04-05 16:04:02 UTC
Size:
1.29 KB
patch
obsolete
>From 4004afafcc03d3bd41d7526f6dae935a71556ef1 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 5 Apr 2011 18:03:19 +0200 >Subject: [PATCH] BZ6073: string misses to be translatable > >--- > koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >index 5936359..97feefc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >@@ -4,7 +4,7 @@ > function uncheckbox(form, field) { > var price = new Number(form.elements['price' + field].value); > var tmpprice = ""; >- var errmsg = "ERROR: Price is not a valid number, please check the price and try again!" >+ var errmsg = _("ERROR: Price is not a valid number, please check the price and try again!") > if (isNaN(price)) { > alert(errmsg); > for(var i=0; i<form.elements['price' + field].value.length; ++i) { >@@ -384,7 +384,7 @@ function closeandprint(bg){ > if(document.location = '/cgi-bin/koha/acqui/basketgroup.pl?op=closeandprint&basketgroupid=' + bg ){ > setTimeout("window.location.reload();",3000); > }else{ >- alert('Error downloading the file'); >+ alert(_('Error downloading the file')); > } > } > >-- >1.7.1 >
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 6073
: 3713