summaryrefslogtreecommitdiff
path: root/languages/LanguageCsb.php
blob: 890394f98201657ac300f79c4dba86be93e6cf71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
 * @package MediaWiki
 * @subpackage Language
 */

$wgNamespaceNamesCsb = array(
	NS_MEDIA            => 'Media',
	NS_SPECIAL          => 'Specjalnô',
	NS_MAIN             => '',
	NS_TALK             => 'Diskùsëjô',
	NS_USER             => 'Brëkòwnik',
	NS_USER_TALK        => 'Diskùsëjô_brëkòwnika',
	NS_PROJECT          => $wgMetaNamespace,
	NS_PROJECT_TALK     => 'Diskùsëjô_' . $wgMetaNamespace,
	NS_IMAGE            => 'Òbrôzk',
	NS_IMAGE_TALK       => 'Diskùsëjô_òbrôzków',
	NS_MEDIAWIKI        => 'MediaWiki',
	NS_MEDIAWIKI_TALK   => 'Diskùsëjô_MediaWiki',
	NS_TEMPLATE         => 'Szablóna',
	NS_TEMPLATE_TALK    => 'Diskùsëjô_Szablónë',
	NS_HELP             => 'Pòmòc',
	NS_HELP_TALK        => 'Diskùsëjô_Pòmòcë',
	NS_CATEGORY         => 'Kategòrëjô',
	NS_CATEGORY_TALK    => 'Diskùsëjô_Kategòrëji'
);

if (!$wgCachedMessageArrays) {
	require_once('MessagesCsb.php');
}

require_once( 'LanguageUtf8.php' );
class LanguageCsb extends LanguageUtf8 {
	function getNamespaces() {
		global $wgNamespaceNamesCsb;
		return $wgNamespaceNamesCsb;
	}

	function getMessage( $key ) {
		global $wgAllMessagesCsb;
		if( isset( $wgAllMessagesCsb[$key] ) ) {
			return $wgAllMessagesCsb[$key];
		} else {
			return parent::getMessage( $key );
		}
	}
}
?>