[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6073: string misses to be translatable
Frédéric Demians
f.demians at tamil.fr
Fri May 13 18:12:52 CEST 2011
From: Paul Poulain <paul.poulain at biblibre.com>
[2011.05.13] F. Demians. Rebased on HEAD.
Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
---
koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js
index bcfb7b8..ad573de 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) {
--
1.7.4
More information about the Koha-patches
mailing list