The plural text shows up in the 'Translate Interface', but is no longer shown on pages with more than 1 search result.
I know this for sure, because disabling this module fixes the plural text problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | plural-translations-1728496-5.patch | 5.29 KB | cpliakas |
| #3 | 1728496-3.patch | 1.06 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedbetter title
Comment #2
Anonymous (not verified) commentedProblem is actually in
CurrentSearchItemTextwhere it has a hardcoded singular text:Comment #3
Anonymous (not verified) commentedPatch attached to allow plural translations to actually be shown to frontend.
Comment #4
cpliakas commentedGreat catch! I was able to reproduce the bug, and I can confirm the patch in #1728496-3: Plural text translatable, but no longer shown fixes it.
Comment #5
cpliakas commentedRefactored slightly to only execute the
($count != 1)condition once, and added some tests.Comment #6
cpliakas commentedCommitted to all branches of Facet API.