From 1e435a8e5bdfd1b724aa1270ea46523b72931d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Tue, 9 Dec 2014 06:35:07 +0100 Subject: [PATCH] [PASSED QA] Bug 13422 - SCO: "Would you like to rpint a receipt" not translatable 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 Signed-off-by: Kyle M Hall --- .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 %]&print=qslip"); } [% END %] -- 1.7.2.5