diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index aa052ca7d9..32af227d02 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -230,22 +230,6 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } [% INCLUDE 'calendar.inc' %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] [% Asset.js("js/pages/tags-review.js") | $raw %] - [% END %] [% INCLUDE 'intranet-bottom.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js b/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js index 7130d2f93f..842ffb9acf 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js +++ b/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js @@ -35,22 +35,22 @@ var success_approve = function(tag){ // window.alert(_("AJAX approved tag: ") + tag); }; var failure_approve = function(tag){ - window.alert(MSG_AJAX_APPROVE_FAILED.format(decodeURIComponent( tag ))); + window.alert( __("AJAX failed to approve tag: %s").format(decodeURIComponent(tag)) ); }; var success_reject = function(tag){ // window.alert(_("AJAX rejected tag: ") + tag); }; var failure_reject = function(tag){ - window.alert(MSG_AJAX_REJECTION_FAILED.format(decodeURIComponent( tag ))); + window.alert( __("AJAX failed to reject tag: %s").format(decodeURIComponent(tag)) ); }; var success_test = function(tag){ - $('#verdict').html(MSG_AJAX_TAG_PERMITTED.format( decodeURIComponent( tag ) )); + $('#verdict').html( __("%s is permitted!").format(decodeURIComponent(tag)) ); }; var failure_test = function(tag){ - $('#verdict').html(MSG_AJAX_TAG_PROHIBITED.format( decodeURIComponent( tag ) )); + $('#verdict').html( __("%s is prohibited!").format(decodeURIComponent(tag)) ); }; var indeterminate_test = function(tag){ - $('#verdict').html(MSG_AJAX_TAG_UNCLASSIFIED.format( decodeURIComponent( tag ) )); + $('#verdict').html( __("%s is neither permitted nor prohibited!").format(decodeURIComponent(tag)) ); }; var success_test_call = function() { @@ -69,7 +69,7 @@ $(document).ready(function() { "sPaginationType": "full" })); $('.ajax_buttons' ).css({visibility:"visible"}); - $("p.check").html("