summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageLt.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageLt.php')
-rw-r--r--languages/classes/LanguageLt.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/languages/classes/LanguageLt.php b/languages/classes/LanguageLt.php
new file mode 100644
index 00000000..53729006
--- /dev/null
+++ b/languages/classes/LanguageLt.php
@@ -0,0 +1,22 @@
+<?php
+/** Lithuanian (Lietuvi┼│)
+ *
+ * @package MediaWiki
+ * @subpackage Language
+ *
+ */
+
+class LanguageLt extends Language {
+ /* Word forms (with examples):
+ 1 - vienas (1) lapas
+ 2 - trys (3) lapai
+ 3 - penkiolika (15) lap┼│
+ */
+ function convertPlural( $count, $wordform1, $wordform2, $wordform3) {
+ $count = str_replace (' ', '', $count);
+ if ($count%10==1 && $count%100!=11) return $wordform1;
+ if ($count%10>=2 && ($count%100<10 || $count%100>=20)) return $wordform2;
+ return $wordform3;
+ }
+}
+?>