Bugzilla – Attachment 24867 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]
[SIGNED-OFF] Bug 11488 Untranslatable warning "Are you sure you want to write off ..."
SIGNED-OFF-Bug-11488-Untranslatable-warning-Are-yo.patch (text/plain), 1.52 KB, created by
Owen Leonard
on 2014-01-29 16:02:57 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11488 Untranslatable warning "Are you sure you want to write off ..."
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-01-29 16:02:57 UTC
Size:
1.52 KB
patch
obsolete
>From 2086791412800511ad8f382013e03a526c9f14fb 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] [SIGNED-OFF] Bug 11488 Untranslatable warning "Are you sure > you want to write off ..." >Content-Type: text/plain; charset="utf-8" > >Test plan: >- ./translate update LANG >- translate the string into your po file >- ./translate install LANG >- Verify the string is translated. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../intranet-tmpl/prog/en/modules/members/pay.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >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 0ba9cf3..e584588 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -16,7 +16,9 @@ function enableCheckboxActions(){ > $(document).ready(function(){ > $('#pay-fines-form').preventDoubleFormSubmit(); > $("#woall").click(function(event){ >- var answer = confirm(_("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!")); >+ 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.9.5
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