Comment 10 for bug 453269

Revision history for this message
Numérigraphe (numerigraphe) wrote :

Maybe the 'dollar' parameter's type could be checked:
- if it's a string us it as-is,
- if its a list use the first for 1, the second for 2
That won't fix it for polish, romanian and others - they appear to have more complex plural rules.
GNU gettext has an interesting approach to this problem with "plural forms": http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html
Lionel.