Author: Ethaniel.Robotik
Description:
Hello !
Since there is no
http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/languages/LanguageFr.php
, the default english version
http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/languages/Language.php
is used, especially for the plural form:
function convertPlural( $count, $w1, $w2, $w3) {
return $count == '1' ? $w1 : $w2;
}
So, when $count == 0, the plural form $w2 is used.
But as said in the [[plural]] article:
Languages having only a singular and plural form may still differ in their
treatment of zero. For example, in English, German, Dutch, Italian, Spanish and
European Portuguese, the plural form is used for zero or more than one, and the
singular for one thing only. By contrast, in French and Brazilian Portuguese,
the singular form is used for zero.
Thus, the {{plural:}} fonction is false in French, and has to be, in LanguageFr.php:
function convertPlural( $count, $w1, $w2, $w3) {
return $count <= '1' ? $w1 : $w2;
}
Thank you.
Version: unspecified
Severity: normal