summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageWa.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageWa.php')
-rw-r--r--languages/classes/LanguageWa.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/languages/classes/LanguageWa.php b/languages/classes/LanguageWa.php
index d97b2026..4a4296ca 100644
--- a/languages/classes/LanguageWa.php
+++ b/languages/classes/LanguageWa.php
@@ -9,14 +9,22 @@
# k' i gn a.
class LanguageWa extends Language {
+ /**
+ * Use singular form for zero
+ */
+ function convertPlural( $count, $forms ) {
+ if ( !count($forms) ) { return ''; }
+ $forms = $this->preConvertPlural( $forms, 2 );
+
+ return ($count <= 1) ? $forms[0] : $forms[1];
+ }
+
###
### Dates in Walloon are "1î d' <monthname>" for 1st of the month,
### "<day> di <monthname>" for months starting by a consoun, and
### "<day> d' <monthname>" for months starting with a vowel
###
function date( $ts, $adj = false, $format = true, $tc = false ) {
- global $wgUser;
-
if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); }
$datePreference = $this->dateFormat( $format );