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:
parent
cb4933ce1c
commit
30bbf8b888
|
|
@ -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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue