let getVariants() returns the content language by default. this makes sure messages...
[lhc/web/wiklou.git] / languages / LanguageNv.php
1 <?php
2
3 # Navajo language file
4 # No messages at the moment, just all the other stuff
5
6 require_once( "LanguageUtf8.php" );
7
8 if($wgMetaNamespace === FALSE)
9 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
10
11 /* private */ $wgNamespaceNamesNv = array(
12 NS_MEDIA => 'Media',
13 NS_SPECIAL => 'Special',
14 NS_MAIN => '',
15 NS_TALK => 'Naaltsoos_baa_yinísht\'į́',
16 NS_USER => 'Choinish\'įįhí',
17 NS_USER_TALK => 'Choinish\'įįhí_baa_yinísht\'į́',
18 NS_WIKIPEDIA => 'Wikiibíídiiya',
19 NS_WIKIPEDIA_TALK => 'Wikiibíídiiya_baa_yinísht\'į́',
20 NS_IMAGE => 'E\'elyaaígíí',
21 NS_IMAGE_TALK => 'E\'elyaaígíí_baa_yinísht\'į́',
22 NS_MEDIAWIKI => 'MediaWiki',
23 NS_MEDIAWIKI_TALK => 'MediaWiki_baa_yinísht\'į́',
24 NS_TEMPLATE => 'Template',
25 NS_TEMPLATE_TALK => 'Template_talk',
26 NS_HELP => 'Aná\'álwo\'',
27 NS_HELP_TALK => 'Aná\'álwo\'_baa_yinísht\'į́',
28 NS_CATEGORY => 'T\'ááłáhági_át\'éego',
29 NS_CATEGORY_TALK => 'T\'ááłáhági_át\'éego_baa_yinísht\'į́'
30 );
31
32 /* private */ $wgDefaultUserOptionsNv = array(
33 'quickbar' => 1, 'underline' => 1, 'hover' => 1,
34 'cols' => 80, 'rows' => 25, 'searchlimit' => 20,
35 'contextlines' => 5, 'contextchars' => 50,
36 'skin' => $wgDefaultSkin, 'math' => 1, 'rcdays' => 7, 'rclimit' => 50,
37 'highlightbroken' => 1, 'stubthreshold' => 0,
38 'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1,
39 'showtoolbar' =>1,
40 'date' => 0
41 );
42
43 /* private */ $wgQuickbarSettingsNv = array(
44 'None', 'Fixed left', 'Fixed right', 'Floating left'
45 );
46
47 /* private */ $wgSkinNamesNv = array(
48 'standard' => 'Standard',
49 'nostalgia' => 'Nostalgia',
50 'cologneblue' => 'Cologne Blue',
51 'davinci' => 'DaVinci',
52 'mono' => 'Łáa\'ígíí',
53 'monobook' => 'NaaltsoosŁáa\'ígíí',
54 'myskin' => 'MySkin'
55 );
56
57 /* private */ $wgMathNamesNv = array(
58 MW_MATH_PNG => 'Always render PNG',
59 MW_MATH_SIMPLE => 'HTML if very simple or else PNG',
60 MW_MATH_HTML => 'HTML if possible or else PNG',
61 MW_MATH_SOURCE => 'Leave it as TeX (for text browsers)',
62 MW_MATH_MODERN => 'Recommended for modern browsers',
63 MW_MATH_MATHML => 'MathML if possible (experimental)',
64 );
65
66 /* private */ $wgDateFormatsNv = array(
67 'No preference',
68 'Yas Niłt\'ees 15, 2001',
69 '15 Yas Niłt\'ees 2001',
70 '2001 Yas Niłt\'ees 15',
71 '2001-01-15'
72 );
73
74 /* private */ $wgUserTogglesNv = array(
75 'hover' => 'Show hoverbox over wiki links',
76 'underline' => 'Biyaadi iissoh',
77 'highlightbroken' => 'Format broken links <a href="" class="new">like
78 this</a> (alternative: like this<a href="" class="internal">?</a>).',
79 'justify' => 'Justify paragraphs',
80 'hideminor' => 'Hide minor edits in recent changes',
81 'usenewrc' => 'Enhanced recent changes (not for all browsers)',
82 'numberheadings' => 'Auto-number headings',
83 'showtoolbar'=>'Show edit toolbar',
84 'editondblclick' => 'Edit pages on double click (JavaScript)',
85 'editsection'=>'Enable section editing via [edit] links',
86 'editsectiononrightclick'=>'Enable section editing by right clicking<br /> on section titles (JavaScript)',
87 'showtoc'=>'Hián-sī bo̍k-lo̍k<br />(3 ê piau-tê í-siōng ê ia̍h)',
88 'rememberpassword' => 'Kì tiâu góa ê bi̍t-bé (across sessions)',
89 'editwidth' => 'Pian-chi̍p keh-á thián hō· khui',
90 'watchdefault' => 'Kā lí pian-chi̍p ê ia̍h ka-ji̍p kàm-sī-toaⁿ',
91 'minordefault' => 'Siat-sú só·-ū ê pian-chi̍p lóng sió siu-kái',
92 'previewontop' => 'Show preview before edit box and not after it',
93 'nocache' => 'Naaltsoos doo nooh yishchí da'
94 );
95
96 /* private */ $wgBookstoreListNv = array(
97 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
98 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
99 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
100 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1",
101 //"ISBN" => "$1"
102 );
103
104 /* private */ $wgWeekdayNamesNv = array(
105 'Damóogo', 'Damóo biiskání', 'Damóodóó naakiską́o', 'Damóodóó tágí jį́', 'Damóodóó dį́į́\' yiską́o',
106 'Nda\'iiníísh', 'Yiską́ damóo'
107 );
108
109 /* private */ $wgMonthNamesNv = array(
110 'Yas Niłt\'ees', 'Atsá Biyáázh', 'Wóózhch\'į́į́d', 'T\'ą́ą́chil', 'T\'ą́ą́tsoh', 'Ya\'iishjááshchilí',
111 'Ya\'iishjáástsoh', 'Bini\'ant\'ą́ą́ts\'ózí', 'Bini\'ant\'ą́ą́tsoh', 'Ghąąjį', 'Níłch\'its\'ósí',
112 'Níłch\'itsoh'
113 );
114
115 /* private */ $wgMonthAbbreviationsNv = array(
116 'Ynts', 'Atsb', 'Wozh', 'Tchi', 'Ttso', 'Yjsh', 'Yjts', 'Btsz',
117 'Btsx', 'Ghąj', 'Ntss', 'Ntsx'
118 );
119
120 # Note to translators:
121 # Please include the English words as synonyms. This allows people
122 # from other wikis to contribute more easily.
123 #
124 /* private */ $wgMagicWordsNv = array(
125 # ID CASE SYNONYMS
126 MAG_REDIRECT => array( 0, '#redirect' ),
127 MAG_NOTOC => array( 0, '__NOTOC__' ),
128 MAG_FORCETOC => array( 0, '__FORCETOC__' ),
129 MAG_NOEDITSECTION => array( 0, '__NOEDITSECTION__' ),
130 MAG_START => array( 0, '__START__' ),
131 MAG_CURRENTMONTH => array( 1, 'CURRENTMONTH' ),
132 MAG_CURRENTMONTHNAME => array( 1, 'CURRENTMONTHNAME' ),
133 MAG_CURRENTDAY => array( 1, 'CURRENTDAY' ),
134 MAG_CURRENTDAYNAME => array( 1, 'CURRENTDAYNAME' ),
135 MAG_CURRENTYEAR => array( 1, 'CURRENTYEAR' ),
136 MAG_CURRENTTIME => array( 1, 'CURRENTTIME' ),
137 MAG_NUMBEROFARTICLES => array( 1, 'NUMBEROFARTICLES' ),
138 MAG_CURRENTMONTHNAMEGEN => array( 1, 'CURRENTMONTHNAMEGEN' ),
139 MAG_PAGENAME => array( 1, 'PAGENAME' ),
140 MAG_NAMESPACE => array( 1, 'NAMESPACE' ),
141 MAG_MSG => array( 0, 'MSG:' ),
142 MAG_SUBST => array( 0, 'SUBST:' ),
143 MAG_MSGNW => array( 0, 'MSGNW:' ),
144 MAG_END => array( 0, '__END__' ),
145 MAG_IMG_THUMBNAIL => array( 1, 'thumbnail', 'thumb' ),
146 MAG_IMG_RIGHT => array( 1, 'right' ),
147 MAG_IMG_LEFT => array( 1, 'left' ),
148 MAG_IMG_NONE => array( 1, 'none' ),
149 MAG_IMG_WIDTH => array( 1, '$1px' ),
150 MAG_IMG_CENTER => array( 1, 'center', 'centre' ),
151 MAG_IMG_FRAMED => array( 1, 'framed', 'enframed', 'frame' ),
152 MAG_INT => array( 0, 'INT:' ),
153 MAG_SITENAME => array( 1, 'SITENAME' ),
154 MAG_NS => array( 0, 'NS:' ),
155 MAG_LOCALURL => array( 0, 'LOCALURL:' ),
156 MAG_LOCALURLE => array( 0, 'LOCALURLE:' ),
157 MAG_SERVER => array( 0, 'SERVER' )
158 );
159
160 #-------------------------------------------------------------------
161 # Default messages
162 #-------------------------------------------------------------------
163 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
164 # hyphen (-). If you need more characters, you may be able to change
165 # the regex in MagicWord::initRegex
166
167 # NOTE: To turn off "Current Events" in the sidebar,
168 # set "currentevents" => ""
169
170 # NOTE: To turn off "Disclaimers" in the title links,
171 # set "disclaimers" => ""
172
173 # NOTE: To turn off "Community portal" in the title links,
174 # set "portal" => ""
175
176 #--------------------------------------------------------------------------
177 # Internationalisation code
178 #--------------------------------------------------------------------------
179
180 class LanguageNv extends LanguageUtf8 {
181
182 function getDefaultUserOptions () {
183 global $wgDefaultUserOptionsNv ;
184 return $wgDefaultUserOptionsNv ;
185 }
186
187 function getBookstoreList () {
188 global $wgBookstoreListNv ;
189 return $wgBookstoreListNv ;
190 }
191
192 function getNamespaces() {
193 global $wgNamespaceNamesNv;
194 return $wgNamespaceNamesNv;
195 }
196
197 function getNsText( $index ) {
198 global $wgNamespaceNamesNv;
199 return $wgNamespaceNamesNv[$index];
200 }
201
202 function getNsIndex( $text ) {
203 global $wgNamespaceNamesNv;
204
205 foreach ( $wgNamespaceNamesNv as $i => $n ) {
206 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
207 }
208 return false;
209 }
210
211 function getQuickbarSettings() {
212 global $wgQuickbarSettingsNv;
213 return $wgQuickbarSettingsNv;
214 }
215
216 function getSkinNames() {
217 global $wgSkinNamesNv;
218 return $wgSkinNamesNv;
219 }
220
221 function getMathNames() {
222 global $wgMathNamesNv;
223 return $wgMathNamesNv;
224 }
225
226 function getDateFormats() {
227 global $wgDateFormatsNv;
228 return $wgDateFormatsNv;
229 }
230
231 function getUserToggles() {
232 global $wgUserTogglesNv;
233 return $wgUserTogglesNv;
234 }
235
236 function getUserToggle( $tog ) {
237 $togs =& $this->getUserToggles();
238 return $togs[$tog];
239 }
240
241 function getMonthName( $key )
242 {
243 global $wgMonthNamesNv;
244 return $wgMonthNamesNv[$key-1];
245 }
246
247 /* by default we just return base form */
248 function getMonthNameGen( $key )
249 {
250 return $this->getMonthName( $key );
251 }
252
253 function getMonthAbbreviation( $key )
254 {
255 global $wgMonthAbbreviationsNv;
256 return @$wgMonthAbbreviationsNv[$key-1];
257 }
258
259 function getWeekdayName( $key )
260 {
261 global $wgWeekdayNamesNv;
262 return $wgWeekdayNamesNv[$key-1];
263 }
264
265 function getValidSpecialPages()
266 {
267 global $wgValidSpecialPagesNv;
268 return $wgValidSpecialPagesNv;
269 }
270
271 function getSysopSpecialPages()
272 {
273 global $wgSysopSpecialPagesNv;
274 return $wgSysopSpecialPagesNv;
275 }
276
277 function getDeveloperSpecialPages()
278 {
279 global $wgDeveloperSpecialPagesNv;
280 return $wgDeveloperSpecialPagesNv;
281 }
282
283 /*
284 function getMessage( $key )
285 {
286 global $wgAllMessagesNv;
287 return @$wgAllMessagesNv[$key];
288 }
289
290 function getAllMessages()
291 {
292 global $wgAllMessagesNv;
293 return $wgAllMessagesNv;
294 }
295 */
296
297 function &getMagicWords()
298 {
299 global $wgMagicWordsNv;
300 return $wgMagicWordsNv;
301 }
302 }
303
304 ?>