I'm trying to fix translations on my forum and it is impossible to translate these tooltips correctly. In Polish we have 3 forms for pluralization:
1 głos
2 głosy
5 głosów
Using concatenation with only 2 forms (and weird condition - why item.votes() >= 1?) is extremely inflexible. It would be great to have real pluralization support for these labels: https://flarum.org/docs/extend/i18n.html#including-variables
https://github.com/ReFlar/polls/blob/aac68b252405b7b04f3867bfd5ff3c8f4d99a161/js/src/forum/components/PollVote.js#L105
I'm trying to fix translations on my forum and it is impossible to translate these tooltips correctly. In Polish we have 3 forms for pluralization:
Using concatenation with only 2 forms (and weird condition - why
item.votes() >= 1
?) is extremely inflexible. It would be great to have real pluralization support for these labels: https://flarum.org/docs/extend/i18n.html#including-variables