From: Brion Vibber Date: Sat, 16 Apr 2005 00:58:15 +0000 (+0000) Subject: Stub Georgian language file; category namespace name only. X-Git-Tag: 1.5.0alpha1~256 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E//%22%22?a=commitdiff_plain;h=16bcc74aa3c847c0923d4030766ce2a677743615;p=lhc%2Fweb%2Fwiklou.git Stub Georgian language file; category namespace name only. --- 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; + } +} + +?>