From dd6fbe04d12a50523c8d950422ef8182cdd1ba82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Tue, 9 Dec 2014 06:35:07 +0100 Subject: [PATCH] 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 Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/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 e4c40aa45a..cb0b7529a6 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 %] -- 2.39.5