Bug 13422 - SCO: "Would you like to print 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 <oleonard@myacpl.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit dd6fbe04d1)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Marc Véron 2014-12-09 06:35:07 +01:00 committed by Chris Cormack
parent cb4933ce1c
commit 30bbf8b888
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]