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 <jonathan.druart@bugs.koha-community.org> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
8798f1a7a7
commit
d6f1bdbe63
|
|
@ -15,7 +15,7 @@
|
|||
"dt_shelfname":
|
||||
"<a href='/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% d.shelfnumber | html %]'>[% d.shelfname | html | $To %]</a>",
|
||||
"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 %]<span>Public</span>[% ELSIF d.is_shared %]<span>Shared</span>[% ELSE %]<span>Private</span>[% END %]",
|
||||
"dt_owner":
|
||||
|
|
|
|||
Loading…
Reference in New Issue