From a326e59c99bbdfbe7de16b099c86979373c01535 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch>
Date: Tue, 9 Dec 2014 06:35:07 +0100
Subject: [PATCH] [SIGNED-OFF] Bug 13422 - SCO: "Would you like to rpint a
 receipt" not translatable
Content-Type: text/plain; charset="utf-8"

To test:

Set syspref SelfCheckReceiptPrompt to "Show"
Select non English language
Go to Self Checkout and check out an item
Hit "Finish"
Make sure that confirm dialog "Would you like to print a receipt" still
appears

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
---
 .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
index e4c40aa..cb0b752 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
@@ -358,7 +358,7 @@
             $("#logout_form").submit(function(){
                 clearTimeout(mainTimeout);
                 [% IF Koha.Preference('SelfCheckReceiptPrompt') %]
-                    if(confirm("Would you like to print a receipt?")){
+                    if(confirm(_("Would you like to print a receipt?"))){
                         window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&amp;print=qslip");
                     }
                 [% END %]
-- 
1.7.9.5