Bug 11488: make string "Are you sure you want to write off ..." translatable
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> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
133746136c
commit
f5ac575cf7
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue