From 841a8f8b24a8365efd31c6af9db007e3e2dbe4c0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Jul 2008 20:04:10 -0500 Subject: [PATCH] Extra comma caused js error in IE6; _() function allows translation script to pick up strings in Javascript. Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/js/tags.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/js/tags.js b/koha-tmpl/opac-tmpl/prog/en/js/tags.js index 95f3d19537..e27447de35 100644 --- a/koha-tmpl/opac-tmpl/prog/en/js/tags.js +++ b/koha-tmpl/opac-tmpl/prog/en/js/tags.js @@ -65,12 +65,12 @@ KOHA.Tags = { }, tag_message: { - tagsdisabled : function(arg) {return ("Sorry, tags are not enabled on this system.");}, - scrubbed_all_bad : function(arg) {return ("Error! Your tag was entirely markup code. It was NOT added. Please try again with plain text.");}, - badparam : function(arg) {return ("Error! Illegal parameter '" +arg+ "'.");}, - scrubbed : function(arg) {return ("Note: your tag contained markup code that was removed. The tag was added as '" +arg+ "'.");}, - failed_add_tag : function(arg) {return ("Error! The add_tag operation failed on '" +arg+ "'. Note: you can only tag an item with a given term once. Check 'My Tags' to see your current tags.");}, - failed_delete : function(arg) {return ("Error! You cannot delete the tag '" +arg+ "'. Note: you can only delete your own tags.");}, - }, + tagsdisabled : function(arg) {return (_("Sorry, tags are not enabled on this system."));}, + scrubbed_all_bad : function(arg) {return (_("Error! Your tag was entirely markup code. It was NOT added. Please try again with plain text."));}, + badparam : function(arg) {return (_("Error! Illegal parameter '" +arg+ "'."));}, + scrubbed : function(arg) {return (_("Note: your tag contained markup code that was removed. The tag was added as '" +arg+ "'."));}, + failed_add_tag : function(arg) {return (_("Error! The add_tag operation failed on '" +arg+ "'. Note: you can only tag an item with a given term once. Check 'My Tags' to see your current tags."));}, + failed_delete : function(arg) {return (_("Error! You cannot delete the tag '" +arg+ "'. Note: you can only delete your own tags."));} + } }; -- 2.20.1