diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 18:12:39 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 18:12:39 +0000 |
commit | 183851b06bd6c52f3cae5375f433da720d410447 (patch) | |
tree | a477257decbf3360127f6739c2f9d0ec57a03d39 /languages/LanguageSu.php |
MediaWiki 1.7.1 wiederhergestellt
Diffstat (limited to 'languages/LanguageSu.php')
-rw-r--r-- | languages/LanguageSu.php | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/languages/LanguageSu.php b/languages/LanguageSu.php new file mode 100644 index 00000000..515863d1 --- /dev/null +++ b/languages/LanguageSu.php @@ -0,0 +1,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 ); + } + } +} +?> |