From 470dc1d37c457b9919200c61e369a4fb6207dbc1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 18 Nov 2010 19:37:16 -0500 Subject: [PATCH] Further fixes for Bug 5142 - Untranslatable strings in tag review template Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- .../prog/en/modules/tags/review.tmpl | 16 ++++++++-------- 1 file 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 a1d6dc2791..ad2f36098c 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')}, -- 2.39.5