From 6eb4a7f5831ca63ebee8b9756b8db8e7137051af Mon Sep 17 00:00:00 2001 From: Maxime Pelletier Date: Wed, 19 Oct 2011 15:28:16 -0400 Subject: [PATCH] Bug 7069: Put strings in "" instead of '' to fix the javascript not working when the translated string has a ' in it. http://bugs.koha-community.org/show_bug.cgi?id=7069 Signed-off-by: Katrin Fischer Patch changes '' to "" to make it work for strings which contain '. Patch does NOT add new strings to the po files. Signed-off-by: Paul Poulain (cherry picked from commit 7ff9d9d03cc0efd07a8667b093927af4a9c3fb29) Signed-off-by: Chris Nighswonger --- koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index 5dfe91ac3f..5d025af6d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -51,22 +51,22 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; } // window.alert(_('AJAX approved tag: ') + tag); }; var failure_approve = function(tag){ - window.alert(_('AJAX failed to approve tag: ') + tag); + window.alert(_("AJAX failed to approve tag: ") + tag); }; var success_reject = function(tag){ // window.alert(_('AJAX rejected tag: ') + tag); }; var failure_reject = function(tag){ - window.alert(_('AJAX failed to reject tag: ') + tag); + window.alert(_("AJAX failed to reject tag: ") + tag); }; var success_test = function(tag){ - $('#verdict').html(tag + _(' is permitted!')); + $('#verdict').html(tag + _(" is permitted!")); }; var failure_test = function(tag){ - $('#verdict').html(tag + _(' is prohibited!')); + $('#verdict').html(tag + _(" is prohibited!")); }; var indeterminate_test = function(tag){ - $('#verdict').html(tag + _(' is neither permitted nor prohibited!')); + $('#verdict').html(tag + _(" is neither permitted nor prohibited!")); }; var success_test_call = function() { -- 2.39.5