summaryrefslogtreecommitdiff
path: root/languages/LanguageSu.php
blob: 515863d11cf0a8102162eccac1ccabbe4c207bf2 (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
49
50
51
52
53
<?php
/** Sundanese language file (Basa Sunda)
  *
  * Source: http://su.wikipedia.org/
  *
  * @package MediaWiki
  * @subpackage Language
  */

require_once( 'LanguageUtf8.php' );

/* private */ $wgNamespaceNamesSu = array(
	NS_MEDIA			=> 'Média',
	NS_SPECIAL			=> 'Husus',
	NS_MAIN				=> '',
	NS_TALK				=> 'Obrolan',
	NS_USER				=> 'Pamaké',
	NS_USER_TALK		=> 'Obrolan_pamaké',
	NS_PROJECT			=> $wgMetaNamespace,
	NS_PROJECT_TALK		=> 'Obrolan_' . $wgMetaNamespace,
	NS_IMAGE			=> 'Gambar',
	NS_IMAGE_TALK		=> 'Obrolan_gambar',
	NS_MEDIAWIKI		=> 'MediaWiki',
	NS_MEDIAWIKI_TALK	=> 'Obrolan_MediaWiki',
	NS_TEMPLATE			=> 'Citakan',
	NS_TEMPLATE_TALK	=> 'Obrolan_citakan',
	NS_HELP				=> 'Pitulung',
	NS_HELP_TALK		=> 'Obrolan_pitulung',
	NS_CATEGORY			=> 'Kategori',
	NS_CATEGORY_TALK	=> 'Obrolan_kategori',
);

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

class LanguageSu extends LanguageUtf8 {

	function getNamespaces() {
		global $wgNamespaceNamesSu;
		return $wgNamespaceNamesSu;
	}

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