[Koha-patches] [PATCH] BZ6073: string misses to be translatable
paul.poulain at biblibre.com
paul.poulain at biblibre.com
Tue Apr 5 18:04:17 CEST 2011
From: Paul Poulain <paul.poulain at biblibre.com>
---
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
More information about the Koha-patches
mailing list