diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 2e5156ed8f..43c4a912e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -830,7 +830,7 @@ "[% message.message | html %]" [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] - Delete + Delete [% END %] [% END %] @@ -1055,9 +1055,6 @@ [% FOREACH b IN relatives_borrowernumbers %] relatives_borrowernumbers.push("[% b | html %]"); [% END %] - - var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); - var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone."); var SuspendHoldsIntranet = [% ( Koha.Preference('SuspendHoldsIntranet') ) ? 1 : 0 | html %]; [% Asset.js("js/pages/circulation.js") | $raw %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index e06e5cfe12..e390393351 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -98,7 +98,7 @@ "[% patron_message.message | html %]" [% IF patron_message.branchcode == patron.branchcode OR Koha.Preference('AllowAllMessageDeletion') %] - Delete + Delete [% END %] [% END %] @@ -893,9 +893,6 @@ [% FOREACH b IN relatives_borrowernumbers %] relatives_borrowernumbers.push("[% b | html %]"); [% END %] - - var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); - var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone."); var SuspendHoldsIntranet = [% ( Koha.Preference('SuspendHoldsIntranet') ) ? 1 : 0 | html %]; [% Asset.js("js/pages/circulation.js") | $raw %] diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js b/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js index 84c7f77fe9..d282e4b22a 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js +++ b/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js @@ -87,7 +87,7 @@ $(document).ready(function() { // Debarments $("div#reldebarments .remove_restriction").on("click",function(){ - return confirm(_("Remove restriction?")); + return confirm( __("Remove restriction?") ); }); var mrform = $("#manual_restriction_form"); var mrlink = $("#add_manual_restriction"); @@ -113,7 +113,7 @@ $(document).ready(function() { function export_checkouts(format) { if ($("input:checkbox[name='biblionumbers']:checked").length < 1){ - alert(MSG_EXPORT_SELECT_CHECKOUTS); + alert( __("You must select checkout(s) to export") ); return; }