From 3d472f97883ac9e6cfd48c3601ca9a4d2dfc0330 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 13 Nov 2013 16:29:40 +0100 Subject: [PATCH] Bug 11245 - typo in modborrowers.tt javascript string 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" --- koha-tmpl/intranet-tmpl/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.8.3.2