summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageHi.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageHi.php')
-rw-r--r--languages/classes/LanguageHi.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/languages/classes/LanguageHi.php b/languages/classes/LanguageHi.php
new file mode 100644
index 00000000..705c73bc
--- /dev/null
+++ b/languages/classes/LanguageHi.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ *
+ * @ingroup Language
+ */
+class LanguageHi 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];
+ }
+}