8 # No messages at the moment, just all the other stuff
10 require_once( "LanguageUtf8.php" );
12 if($wgMetaNamespace === FALSE)
13 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
15 /* private */ $wgNamespaceNamesNv = array(
17 NS_SPECIAL
=> 'Special',
19 NS_TALK
=> 'Naaltsoos_baa_yinísht\'į́',
20 NS_USER
=> 'Choinish\'įįhí',
21 NS_USER_TALK
=> 'Choinish\'įįhí_baa_yinísht\'į́',
22 NS_PROJECT
=> 'Wikiibíídiiya',
23 NS_PROJECT_TALK
=> 'Wikiibíídiiya_baa_yinísht\'į́',
24 NS_IMAGE
=> 'E\'elyaaígíí',
25 NS_IMAGE_TALK
=> 'E\'elyaaígíí_baa_yinísht\'į́',
26 NS_MEDIAWIKI
=> 'MediaWiki',
27 NS_MEDIAWIKI_TALK
=> 'MediaWiki_baa_yinísht\'į́',
28 NS_TEMPLATE
=> 'Template',
29 NS_TEMPLATE_TALK
=> 'Template_talk',
30 NS_HELP
=> 'Aná\'álwo\'',
31 NS_HELP_TALK
=> 'Aná\'álwo\'_baa_yinísht\'į́',
32 NS_CATEGORY
=> 'T\'ááłáhági_át\'éego',
33 NS_CATEGORY_TALK
=> 'T\'ááłáhági_át\'éego_baa_yinísht\'į́'
36 /* private */ $wgQuickbarSettingsNv = array(
37 'None', 'Fixed left', 'Fixed right', 'Floating left'
40 /* private */ $wgSkinNamesNv = array(
41 'standard' => 'Standard',
42 'nostalgia' => 'Nostalgia',
43 'cologneblue' => 'Cologne Blue',
44 'davinci' => 'DaVinci',
45 'mono' => 'Łáa\'ígíí',
46 'monobook' => 'NaaltsoosŁáa\'ígíí',
50 /* private */ $wgMathNamesNv = array(
51 MW_MATH_PNG
=> 'Always render PNG',
52 MW_MATH_SIMPLE
=> 'HTML if very simple or else PNG',
53 MW_MATH_HTML
=> 'HTML if possible or else PNG',
54 MW_MATH_SOURCE
=> 'Leave it as TeX (for text browsers)',
55 MW_MATH_MODERN
=> 'Recommended for modern browsers',
56 MW_MATH_MATHML
=> 'MathML if possible (experimental)',
59 /* private */ $wgDateFormatsNv = array(
63 /* private */ $wgUserTogglesNv = array(
64 'underline' => 'Biyaadi iissoh',
65 'highlightbroken' => 'Format broken links <a href="" class="new">like
66 this</a> (alternative: like this<a href="" class="internal">?</a>).',
67 'justify' => 'Justify paragraphs',
68 'hideminor' => 'Hide minor edits in recent changes',
69 'usenewrc' => 'Enhanced recent changes (not for all browsers)',
70 'numberheadings' => 'Auto-number headings',
71 'showtoolbar'=>'Show edit toolbar',
72 'editondblclick' => 'Edit pages on double click (JavaScript)',
73 'editsection'=>'Enable section editing via [edit] links',
74 'editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)',
75 'showtoc'=>'Hián-sī bo̍k-lo̍k<br />(3 ê piau-tê í-siōng ê ia̍h)',
76 'rememberpassword' => 'Kì tiâu góa ê bi̍t-bé (across sessions)',
77 'editwidth' => 'Pian-chi̍p keh-á thián hō· khui',
78 'watchdefault' => 'Kā lí pian-chi̍p ê ia̍h ka-ji̍p kàm-sī-toaⁿ',
79 'minordefault' => 'Siat-sú só·-ū ê pian-chi̍p lóng sió siu-kái',
80 'previewontop' => 'Show preview before edit box and not after it',
81 'nocache' => 'Naaltsoos doo nooh yishchí da'
84 /* private */ $wgBookstoreListNv = array(
85 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
86 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
87 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
88 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1",
92 /* private */ $wgWeekdayNamesNv = array(
93 'Damóogo', 'Damóo biiskání', 'Damóodóó naakiską́o', 'Damóodóó tágí jį́', 'Damóodóó dį́į́\' yiską́o',
94 'Nda\'iiníísh', 'Yiską́ damóo'
97 /* private */ $wgMonthNamesNv = array(
98 'Yas Niłt\'ees', 'Atsá Biyáázh', 'Wóózhch\'į́į́d', 'T\'ą́ą́chil', 'T\'ą́ą́tsoh', 'Ya\'iishjááshchilí',
99 'Ya\'iishjáástsoh', 'Bini\'ant\'ą́ą́ts\'ózí', 'Bini\'ant\'ą́ą́tsoh', 'Ghąąjį', 'Níłch\'its\'ósí',
103 /* private */ $wgMonthAbbreviationsNv = array(
104 'Ynts', 'Atsb', 'Wozh', 'Tchi', 'Ttso', 'Yjsh', 'Yjts', 'Btsz',
105 'Btsx', 'Ghąj', 'Ntss', 'Ntsx'
108 # Note to translators:
109 # Please include the English words as synonyms. This allows people
110 # from other wikis to contribute more easily.
112 /* private */ $wgMagicWordsNv = array(
114 MAG_REDIRECT
=> array( 0, '#redirect' ),
115 MAG_NOTOC
=> array( 0, '__NOTOC__' ),
116 MAG_FORCETOC
=> array( 0, '__FORCETOC__' ),
117 MAG_NOEDITSECTION
=> array( 0, '__NOEDITSECTION__' ),
118 MAG_START
=> array( 0, '__START__' ),
119 MAG_CURRENTMONTH
=> array( 1, 'CURRENTMONTH' ),
120 MAG_CURRENTMONTHNAME
=> array( 1, 'CURRENTMONTHNAME' ),
121 MAG_CURRENTDAY
=> array( 1, 'CURRENTDAY' ),
122 MAG_CURRENTDAYNAME
=> array( 1, 'CURRENTDAYNAME' ),
123 MAG_CURRENTYEAR
=> array( 1, 'CURRENTYEAR' ),
124 MAG_CURRENTTIME
=> array( 1, 'CURRENTTIME' ),
125 MAG_NUMBEROFARTICLES
=> array( 1, 'NUMBEROFARTICLES' ),
126 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'CURRENTMONTHNAMEGEN' ),
127 MAG_PAGENAME
=> array( 1, 'PAGENAME' ),
128 MAG_NAMESPACE
=> array( 1, 'NAMESPACE' ),
129 MAG_SUBST
=> array( 0, 'SUBST:' ),
130 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
131 MAG_END
=> array( 0, '__END__' ),
132 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
133 MAG_IMG_RIGHT
=> array( 1, 'right' ),
134 MAG_IMG_LEFT
=> array( 1, 'left' ),
135 MAG_IMG_NONE
=> array( 1, 'none' ),
136 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
137 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
138 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
139 MAG_INT
=> array( 0, 'INT:' ),
140 MAG_SITENAME
=> array( 1, 'SITENAME' ),
141 MAG_NS
=> array( 0, 'NS:' ),
142 MAG_LOCALURL
=> array( 0, 'LOCALURL:' ),
143 MAG_LOCALURLE
=> array( 0, 'LOCALURLE:' ),
144 MAG_SERVER
=> array( 0, 'SERVER' )
147 #-------------------------------------------------------------------
149 #-------------------------------------------------------------------
150 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
151 # hyphen (-). If you need more characters, you may be able to change
152 # the regex in MagicWord::initRegex
154 # NOTE: To turn off "Current Events" in the sidebar,
155 # set "currentevents" => ""
157 # NOTE: To turn off "Disclaimers" in the title links,
158 # set "disclaimers" => ""
160 # NOTE: To turn off "Community portal" in the title links,
163 #--------------------------------------------------------------------------
164 # Internationalisation code
165 #--------------------------------------------------------------------------
167 class LanguageNv
extends LanguageUtf8
{
169 function getBookstoreList () {
170 global $wgBookstoreListNv ;
171 return $wgBookstoreListNv ;
174 function getNamespaces() {
175 global $wgNamespaceNamesNv;
176 return $wgNamespaceNamesNv;
179 function getQuickbarSettings() {
180 global $wgQuickbarSettingsNv;
181 return $wgQuickbarSettingsNv;
184 function getSkinNames() {
185 global $wgSkinNamesNv;
186 return $wgSkinNamesNv;
189 function getMathNames() {
190 global $wgMathNamesNv;
191 return $wgMathNamesNv;
194 function getDateFormats() {
195 global $wgDateFormatsNv;
196 return $wgDateFormatsNv;
199 function getUserToggles() {
200 global $wgUserTogglesNv;
201 return $wgUserTogglesNv;
204 function getUserToggle( $tog ) {
205 $togs =& $this->getUserToggles();
209 function getMonthName( $key )
211 global $wgMonthNamesNv;
212 return $wgMonthNamesNv[$key-1];
215 /* by default we just return base form */
216 function getMonthNameGen( $key ) {
217 return $this->getMonthName( $key );
220 function getMonthAbbreviation( $key ) {
221 global $wgMonthAbbreviationsNv;
222 return @$wgMonthAbbreviationsNv[$key-1];
225 function getWeekdayName( $key ) {
226 global $wgWeekdayNamesNv;
227 return $wgWeekdayNamesNv[$key-1];
230 function getValidSpecialPages() {
231 global $wgValidSpecialPagesNv;
232 return $wgValidSpecialPagesNv;
235 function getSysopSpecialPages()
237 global $wgSysopSpecialPagesNv;
238 return $wgSysopSpecialPagesNv;
241 function getDeveloperSpecialPages()
243 global $wgDeveloperSpecialPagesNv;
244 return $wgDeveloperSpecialPagesNv;
248 function getMessage( $key )
250 global $wgAllMessagesNv;
251 return @$wgAllMessagesNv[$key];
254 function getAllMessages()
256 global $wgAllMessagesNv;
257 return $wgAllMessagesNv;
261 function &getMagicWords()
263 global $wgMagicWordsNv;
264 return $wgMagicWordsNv;