diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt index 0ba9cf3461..e5845880d1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -16,7 +16,9 @@ function enableCheckboxActions(){ $(document).ready(function(){ $('#pay-fines-form').preventDoubleFormSubmit(); $("#woall").click(function(event){ - var answer = confirm(_("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!")); + var msg = _("Are you sure you want to write off %s in outstanding fines? This cannot be undone!"); + msg = msg.replace( "%s", "[% total | format('%.2f') %]" ); + var answer = confirm(msg); if (!answer){ event.preventDefault(); }