From 3e7e90f6881ac13d59d63140ebbb6c609ce695a5 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 13 Nov 2013 16:29:40 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 11245 - typo in modborrowers.tt javascript string Content-Type: text/plain; charset="utf-8" In modborrowers.tt, Bug 8986 made the javascript strings translatable : _("This attribute will be only applied to the patron\'s category") In this case, the backslash is useless. Test plan : - Create a borrower attribute with a "Category" defined - Go to Tools / Batch patrons modification - Enter a cardnumber and submit - Next to "Attribute", select the borrower attribute you created => You see a grey text at the right : This attribute will be only applied to the patron's category "XXX" Signed-off-by: Owen Leonard --- .../prog/en/modules/tools/modborrowers.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index af5040d..1e76757 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -64,7 +64,7 @@ var information_category_node = $(select_attr).parent().parent().find('span.information_category'); information_category_node.html(""); if ( category.length > 0 ) { - information_category_node.html(_("This attribute will be only applied to the patron\'s category") +' "' + category + '"'); + information_category_node.html(_("This attribute will be only applied to the patron's category") +' "' + category + '"'); } if ( type == 'select' ) { var options = ''; -- 1.7.9.5