Bugzilla – Attachment 24922 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.56 KB, created by
Marcel de Rooy
on 2014-01-31 09:58:41 UTC
(
hide
)
Description:
Bug 11488 Untranslatable warning "Are you sure you want to write off ..."
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-01-31 09:58:41 UTC
Size:
1.56 KB
patch
obsolete
>From 4169b61c097a0afc5bd3162028fb466853fbcc39 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 ..." >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> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../intranet-tmpl/prog/en/modules/members/pay.tt | 4 +++- > 1 files changed, 3 insertions(+), 1 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 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.7.6
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