Bugzilla – Attachment 24460 Details for
Bug 11488
Untranslatable warning "Are you sure you want to write off ..."
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11488 Untranslatable warning "Are you sure you want to write off ..."
Bug-11488-Untranslatable-warning-Are-you-sure-you-.patch (text/plain), 1.46 KB, created by
Jonathan Druart
on 2014-01-16 15:09:59 UTC
(
hide
)
Description:
Bug 11488 Untranslatable warning "Are you sure you want to write off ..."
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-16 15:09:59 UTC
Size:
1.46 KB
patch
obsolete
>From 48d4f39d6ea32d3411ca2980e4b6931371b597df Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 16 Jan 2014 16:08:17 +0100 >Subject: [PATCH] Bug 11488 Untranslatable warning "Are you sure you want to > write off ..." > >Test plan: >- ./translate update LANG >- translate the string into your po file >- ./translate install LANG >- Verify the string is translated. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >index f5e87c1..0cc6f1c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -16,8 +16,9 @@ function enableCheckboxActions(){ > $(document).ready(function(){ > $('#pay-fines-form').preventDoubleFormSubmit(); > $("#woall").click(function(event){ >- var msg = _("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!"); >- var answer = "confirm(msg); >+ var msg = _("Are you sure you want to write off %s in outstanding fines? This cannot be undone!"); >+ msg = msg.replace( "%s", "[% total | format('%.2f') %]" ); >+ var answer = confirm(msg); > if (!answer){ > event.preventDefault(); > } >-- >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 11488
:
24320
|
24460
|
24867
|
24922