* (bug 5432) Fix inconsistencies in cookie names when using table prefixes
[mediawiki.git] / languages / LanguageMs.php
blobb6fa47373bfef50e9d5a41496eb2e8f639b28f83
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
7 # This localisation is based on a file kindly donated by the folks at MIMOS
8 # http://www.asiaosc.org/enwiki/page/Knowledgebase_Home.html
10 /* private */ $wgNamespaceNamesMs = array(
11 NS_MEDIA => "Media",
12 NS_SPECIAL => "Istimewa", #Special
13 NS_MAIN => "",
14 NS_TALK => "Perbualan",#Talk
15 NS_USER => "Pengguna",#User
16 NS_USER_TALK => "Perbualan_Pengguna",#User_talk
17 NS_PROJECT => $wgMetaNamespace,#Wikipedia
18 NS_PROJECT_TALK => "Perbualan_" . $wgMetaNamespace,#Wikipedia_talk
19 NS_IMAGE => "Imej",#Image
20 NS_IMAGE_TALK => "Imej_Perbualan",#Image_talk
21 NS_MEDIAWIKI => "MediaWiki",#MediaWiki
22 NS_MEDIAWIKI_TALK => "MediaWiki_Perbualan",#MediaWiki_talk
23 NS_TEMPLATE => "Templat",#Template
24 NS_TEMPLATE_TALK => "Perbualan_Templat",#Template_talk
25 NS_CATEGORY => "Kategori",#Category
26 NS_CATEGORY_TALK => "Perbualan_Kategori",#Category_talk
27 NS_HELP => "Bantuan",#Help
28 NS_HELP_TALK => "Perbualan_Bantuan" #Help_talk
30 ) + $wgNamespaceNamesEn;
32 /* private */ $wgQuickbarSettingsMs = array(
33 "Tiada", "Tetap sebelah kiri", "Tetap sebelah kanan", "Berubah-ubah sebelah kiri"
36 /* private */ $wgDateFormatsMs = array(
37 # "Tiada pilihan", # "No preference",
40 if (!$wgCachedMessageArrays) {
41 require_once('MessagesMs.php');
44 require_once( "LanguageUtf8.php" );
46 class LanguageMs extends LanguageUtf8 {
48 function getNamespaces() {
49 global $wgNamespaceNamesMs;
50 return $wgNamespaceNamesMs;
53 function getQuickbarSettings() {
54 global $wgQuickbarSettingsMs;
55 return $wgQuickbarSettingsMs;
58 function getDateFormats() {
59 global $wgDateFormatsMs;
60 return $wgDateFormatsMs;
63 function getMessage( $key ) {
64 global $wgAllMessagesMs;
65 if( isset( $wgAllMessagesMs[$key] ) ) {
66 return $wgAllMessagesMs[$key];
67 } else {
68 return parent::getMessage( $key );