summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageFr.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageFr.php')
-rw-r--r--languages/classes/LanguageFr.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/languages/classes/LanguageFr.php b/languages/classes/LanguageFr.php
new file mode 100644
index 00000000..61cd91c6
--- /dev/null
+++ b/languages/classes/LanguageFr.php
@@ -0,0 +1,17 @@
+<?php
+/** French (Fran├žais)
+ *
+ * @package MediaWiki
+ * @subpackage Language
+ *
+ */
+
+class LanguageFr extends Language {
+ /**
+ * Use singular form for zero (see bug 7309)
+ */
+ function convertPlural( $count, $w1, $w2, $w3) {
+ return $count <= '1' ? $w1 : $w2;
+ }
+}
+?>