From 2a01a9625c98ff3e0c2c5b60655a9c47db5aa7fb Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 19 Feb 2018 13:54:04 +0100 Subject: [PATCH] Bug 15395: Improve TT plugin example Include the number in the translatable string --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index f9d74fb119..93b80f1ad2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -479,7 +479,7 @@ [% END %] - [% SEARCH_RESULT.items_count %] [% tn('item', 'items', SEARCH_RESULT.item_count) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %] + [% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %] [% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] -- 2.14.2