From d6f1bdbe633a6c04c0f2c05b73ebdddc92788217 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 2 Jun 2026 06:47:53 +0000 Subject: [PATCH] Bug 42741: Fix plural form in lists Test plan: 1. Go to Lists 2. Create three lists called: - Test 0 items - Test 1 item - Test 2 items 3. Add one item in the "Test 1 item" list and add two items in the "Test 2 items" list 4. Go to lists and view the list of lists --> In the Contents column, "Test 0 items" should be "0 items" --> "Test 1 item" should be "1 item" --> "Test 2 items" should be "2 items" Signed-off-by: Jonathan Druart Signed-off-by: Pedro Amorim --- .../prog/en/modules/virtualshelves/tables/shelves_results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt index ce022539b8..00fe9f50cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt @@ -15,7 +15,7 @@ "dt_shelfname": "[% d.shelfname | html | $To %]", "dt_count": - "[% tnx('{count} item', '{count} items', count, { count = d.count }) | $raw %]", + "[% tnx('{count} item', '{count} items', d.count, { count = d.count }) | $raw %]", "dt_is_shared": "[% IF d.public %]Public[% ELSIF d.is_shared %]Shared[% ELSE %]Private[% END %]", "dt_owner":