From b70ad8fadf185b83959e7856c44e1cbf6bb02051 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: Mason James --- 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 518fceeb15..e4006d302a 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