Join GitHub today
Pluralization issue when 1 < n < 2 (CTCP PING) #137
Actually, it depends on the language. My own native language has different rules than English.
Since WeeChat uses gettext for localisation, I feel it's worth linking to this: http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
Hmm... I tried and just read again the gettext doc, and I noticed the count argument for ngettext is an unsigned long int. So it's not possible to deal with float numbers :(
By the way, I don't agree with that. In French, "0 secondes" is wrong, but "0 seconde" is correct.