#69 Translations: 0 should be singular, not plural

closed-fixed
Common (150)
5
2010-08-06
2010-08-05
vlakoff
No

Translation files let us use arrays for values, [0] being for the singular form (>=0) and [1] for the plural form (>1)
However, 0 is currently treated as plural...
in lang.inc.php, function lang(), $pos should be set to 0 if $number is defined and == 0

Discussion

  • Jakub Vrána

    Jakub Vrána - 2010-08-06

    Most languages treat zero as plural, French is an exception: http://en.wikipedia.org/wiki/Plural#Zero

    I've added a rule for French in Git.

     
  • Jakub Vrána

    Jakub Vrána - 2010-08-06
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks