From 2ebda231378f5261aa6c24a3e7f504ea0fc664fa Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 18 Nov 2010 08:58:41 -0500 Subject: [PATCH] Further fixes for Bug 5142 - Untranslatable strings in tag review template --- .../intranet-tmpl/prog/en/modules/tags/review.tmpl | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tmpl index a1d6dc2..ad2f360 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tmpl @@ -48,25 +48,25 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; } } } var success_approve = function(tag){ - // window.alert('AJAX approved tag: ' + tag); + // window.alert(_('AJAX approved tag: ') + tag); }; var failure_approve = function(tag){ - window.alert('AJAX failed to approve tag: ' + tag); + window.alert(_('AJAX failed to approve tag: ') + tag); }; var success_reject = function(tag){ - // window.alert('AJAX rejected tag: ' + tag); + // window.alert(_('AJAX rejected tag: ') + tag); }; var failure_reject = function(tag){ - window.alert('AJAX failed to reject tag: ' + tag); + window.alert(_('AJAX failed to reject tag: ') + tag); }; var success_test = function(tag){ - $('#verdict').html(tag + ' is permitted!'); + $('#verdict').html(tag + _(' is permitted!')); }; var failure_test = function(tag){ - $('#verdict').html(tag + ' is prohibited!'); + $('#verdict').html(tag + _(' is prohibited!')); }; var indeterminate_test = function(tag){ - $('#verdict').html(tag + ' is neither permitted nor prohibited!'); + $('#verdict').html(tag + _(' is neither permitted nor prohibited!')); }; var success_test_call = function() { @@ -100,7 +100,7 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; } }); $('body').click(function(event) { pull_counts(); - // window.alert("Click detected on " + event.target + ": " + $(event.target).html); + // window.alert(_("Click detected on ") + event.target + ": " + $(event.target).html); if ($(event.target).is('.ok')) { $.ajax({ "data": {ok: $(event.target).attr("title"), CGISESSID: readCookie('CGISESSID')}, -- 1.7.1