From 2a4fa0a80307bf61a82a180220504c633000db7f Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 13 Nov 2013 16:29:40 +0100 Subject: [PATCH] Bug 11245: fix 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" Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- 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 af5040d2bb..1e767577f7 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 = ''; -- 2.39.5