https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42741 Bug ID: 42741 Summary: Plural strings don't apply in list content column Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: caroline.cyr-la-rose@inlibro.com, f.demians@tamil.fr, jonathan.druart@gmail.com, julian.maurice@biblibre.com I'm not sure if this is a translation problem or simply a code problem... I noticed my plural strings in the lists content display weren't applying. But it seems there is a problem in English as well. To recreate: 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" has "0 items" (items plural -- OK?) --> "Test 1 item" has "1 items" (items plural -- NOT OK) --> "Test 2 items" has "2 items" (items plural -- OK) Optionally test translations 5. In the terminal, run gulp po:update --lang fr-CA ./misc/translator/translate install fr-CA (or other language code that uses plurals) 6. Enable the language in the StaffInterfaceLanguages syspref 7. Check the fr-CA-message.po file (or other language code), the strings should be different for single or plural #: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt:777 #: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt:795 #: koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt:18 #, perl-brace-format msgid "{count} item" msgid_plural "{count} items" msgstr[0] "{count} exemplaire" msgstr[1] "{count} exemplaires" I don't get why in English it's always items. In French Canada, it seems to be always exemplaire (singular). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.