BZ6073: string misses to be translatable github/bug_6073 origin/new/bug_6073
authorPaul Poulain <paul.poulain@biblibre.com>
Tue, 5 Apr 2011 16:03:19 +0000 (18:03 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 10 Aug 2011 01:02:05 +0000 (13:02 +1200)
Signed-off-by: Frederic Demians <frederic@tamil.fr>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/js/acq.js

index bcfb7b8..97feefc 100644 (file)
@@ -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) {