Bugzilla – Attachment 34247 Details for
Bug 13422
SCO: "Would you like to print a receipt" not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13422 - SCO: "Would you like to rpint a receipt" not translatable
Bug-13422---SCO-Would-you-like-to-rpint-a-receipt-.patch (text/plain), 1.36 KB, created by
Marc Véron
on 2014-12-09 17:54:58 UTC
(
hide
)
Description:
Bug 13422 - SCO: "Would you like to rpint a receipt" not translatable
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-12-09 17:54:58 UTC
Size:
1.36 KB
patch
obsolete
>From 772e255d17c3d8b3af85d1cd63e544652ea37f87 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >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 >--- > 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 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.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13422
:
34247
|
34277
|
34340