From 48d4f39d6ea32d3411ca2980e4b6931371b597df Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Thu, 16 Jan 2014 16:08:17 +0100
Subject: [PATCH] Bug 11488 Untranslatable warning "Are you sure you want to
 write off ..."

Test plan:
- ./translate update LANG
- translate the string into your po file
- ./translate install LANG
- Verify the string is translated.
---
 koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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 f5e87c1..0cc6f1c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
@@ -16,8 +16,9 @@ function enableCheckboxActions(){
     $(document).ready(function(){
         $('#pay-fines-form').preventDoubleFormSubmit();
         $("#woall").click(function(event){
-            var msg = _("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!");
-            var answer = "confirm(msg);
+            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();
                 }
-- 
1.7.10.4