LanguageFr.php 336 B

123456789101112131415161718
  1. <?php
  2. /** French (Français)
  3. *
  4. * @ingroup Language
  5. */
  6. class LanguageFr extends Language {
  7. /**
  8. * Use singular form for zero (see bug 7309)
  9. */
  10. function convertPlural( $count, $forms ) {
  11. if ( !count($forms) ) { return ''; }
  12. $forms = $this->preConvertPlural( $forms, 2 );
  13. return ($count <= 1) ? $forms[0] : $forms[1];
  14. }
  15. }