From 16bcc74aa3c847c0923d4030766ce2a677743615 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 16 Apr 2005 00:58:15 +0000 Subject: [PATCH] Stub Georgian language file; category namespace name only. --- languages/LanguageKa.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 languages/LanguageKa.php diff --git a/languages/LanguageKa.php b/languages/LanguageKa.php new file mode 100644 index 0000000000..cc8a49f731 --- /dev/null +++ b/languages/LanguageKa.php @@ -0,0 +1,37 @@ + "კატეგორია", +) + $wgNamespaceNamesEn; + +class LanguageKa extends LanguageUtf8 { + function getNamespaces() { + global $wgNamespaceNamesKa; + return $wgNamespaceNamesKa; + } + + function getNsText( $index ) { + global $wgNamespaceNamesKa; + return $wgNamespaceNamesKa[$index]; + } + + function getNsIndex( $text ) { + global $wgNamespaceNamesKa; + + foreach ( $wgNamespaceNamesKa as $i => $n ) { + if ( 0 == strcasecmp( $n, $text ) ) { + return $i; + } + } + return false; + } +} + +?> -- 2.20.1