Further fixes for Bug 5142 - Untranslatable strings in tag review template
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / tags / review.tmpl
index a1d6dc2..ad2f360 100644 (file)
@@ -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')},