* Removed getNsText() decleration, redundant now that the parent defines it in
[lhc/web/wiklou.git] / languages / LanguageFur.php
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
6
7 require_once( 'LanguageUtf8.php' );
8
9 /* private */ $wgNamespaceNamesFur = array(
10 NS_MEDIA => 'Media',
11 NS_SPECIAL => 'Speciâl',
12 NS_MAIN => '',
13 NS_TALK => 'Discussion',
14 NS_USER => 'Utent',
15 NS_USER_TALK => 'Discussion_utent',
16 NS_PROJECT => $wgMetaNamespace,
17 NS_PROJECT_TALK => 'Discussion_'.$wgMetaNamespace,
18 NS_IMAGE => 'Figure',
19 NS_IMAGE_TALK => 'Discussion_figure',
20 NS_MEDIAWIKI => 'MediaWiki',
21 NS_MEDIAWIKI_TALK => 'Discussion_MediaWiki',
22 NS_TEMPLATE => 'Model',
23 NS_TEMPLATE_TALK => 'Discussion_model',
24 NS_HELP => 'Jutori',
25 NS_HELP_TALK => 'Discussion_jutori',
26 NS_CATEGORY => 'Categorie',
27 NS_CATEGORY_TALK => 'Discussion_categorie'
28 ) + $wgNamespaceNamesEn;
29
30 /* private */ $wgQuickbarSettingsFur = array(
31 'Nissune', 'Fis a Çampe', 'Fis a Drete', 'Flutant a çampe'
32 );
33
34 /* private */ $wgSkinNamesFur = array(
35 'nostalgia' => 'Nostalgie',
36 ) + $wgSkinNamesEn;
37
38 // will make them not show up on the "Special Pages" page, which
39 // is the right thing for some of them (such as the "targeted" ones).
40
41 /* private */ $wgValidSpecialPagesFur = array(
42 'Userlogin' => '',
43 'Userlogout' => '',
44 'Preferences' => 'Preferencis',
45 'Watchlist' => 'Tignûts di voli',
46 'Recentchanges' => 'Ultins cambiaments',
47 'Upload' => 'Cjame sù un file',
48 'Imagelist' => 'Liste des figuris',
49 'Listusers' => 'Liste dai utents',
50 'Statistics' => 'Statistichis',
51 'Randompage' => 'Une pagjine a câs',
52
53 'Lonelypages' => 'Pagjinis solitaris',
54 'Unusedimages' => 'Figuris no dopradis',
55 'Popularpages' => 'Lis plui popolârs',
56 'Wantedpages' => 'Lis plui desideradis',
57 'Shortpages' => 'Articui curts',
58 'Longpages' => 'Articui luncs',
59 'Newpages' => 'Pagjinis gnovis',
60 'Ancientpages' => 'Pagjinis vieris',
61 'Allpages' => 'Ducj i articui',
62
63 'Ipblocklist' => 'Recapits IP blocâts',
64 'Maintenance' => 'Pagjine di manutenzion',
65 'Specialpages' => '', // ces pages doivent rester vides !
66 'Contributions' => '',
67 'Emailuser' => '',
68 'Whatlinkshere' => '',
69 'Recentchangeslinked' => '',
70 'Movepage' => '',
71 'Booksources' => 'Libreriis in linee',
72 'Categories' => 'Pagjine des categoriis',
73 'Export' => 'Espuartâ in XML',
74 'Version' => 'Version',
75 'Allmessages' => 'Ducj i messaç di sistem'
76 );
77
78 /* private */ $wgSysopSpecialPagesFur = array(
79 'Blockip' => 'Bloche un recapit IP',
80 'Asksql' => 'Acès SQL',
81 'Makesysop' => 'Dâ i dirits di aministradôr',
82
83 'Undelete' => 'Recupere lis pagjinis eliminadis',
84 'Import' => 'Impuarte une pagjine cul storic'
85 );
86
87 /* private */ $wgDeveloperSpecialPagesFur = array(
88 'Lockdb' => 'Bloche la base di dâts',
89 'Unlockdb' => 'Gjave il bloc ae base di dâts',
90 );
91
92 $wgAllMessagesFur = array(
93 'about' => "Informazions",
94 'aboutsite' => "Informazions su la {{SITENAME}}",
95 'allarticles' => "Ducj i articui",
96 'allmessages' => "Ducj i messaç di sistem",
97 'allmessagescurrent' => "Test curint",
98 'allmessagesdefault' => "Test predeterminât",
99 'allmessagesname' => "Non",
100 'allpages' => "Dutis lis pagjinis",
101 'allpagessubmit' => "Va",
102 'apr' => "Avr",
103 'april' => "Avrîl",
104 'articlenamespace' => "(articui)",
105 'aug' => "Avo",
106 'august' => "Avost",
107 'bad_image_list' => "", #empty
108 'blocklink' => "bloche",
109 'cancel' => "Scancele",
110 'categories' => "Categoriis",
111 'category' => "categorie",
112 'category_header' => "Articui inte categorie \"$1\"",
113 'categoryarticlecount' => "In cheste categorie tu puedis cjatâ $1 articui.",
114 'categoryarticlecount1' => "In cheste categorie tu puedis cjatâ $1 articul.",
115 'confirm' => "Conferme",
116 'confirmdelete' => "Conferme eliminazion",
117 'confirmprotect' => "Conferme protezion",
118 'confirmprotecttext' => "Vuelistu pardabon protezi cheste pagjine?",
119 'confirmunprotect' => "Conferme par gjavâ la protezion",
120 'confirmunprotecttext' => "Vuelistu pardabon gjavâ la protezion a cheste pagjine?",
121 'contributions' => "Contribûts dal utent",
122 'copyright' => "Il contignût al è disponibil sot de $1",
123 'copyrightwarning' => "<!-- Perché i link non abbiano l'aspetto di link esterni: -->
124 <div class=\"plainlinks\">
125
126 <div style=\"margin-top:2em\">
127 <div style=\"font-weight: bold; font-size: 120%;\">I cambiaments che tu âs fat a saran visibii daurman.</div>
128 * Par plasê, dopre la [[Vichipedie:Sandbox|sandbox]] se tu vuelis fâ cualchi prove.
129 ----
130 <p style=\"background: red; color: white; font-weight: bold; text-align: center; padding: 2px;\">'''NO STÂ DOPRÂ MATERIÂL CUVIERT DAL DIRIT DI AUTÔR (COPYRIGHT - ©) SE NO TU ÂS UNE AUTORIZAZION ESPLICITE!!!'''</p></div>
131
132 * Sta atent, par plasê, che ducj i contribûts ae Vichipedie a son considerâts come dâts fûr sot di une licence GNU Free Documentation License (cjale $1 par altris detais).
133 * Se no tu vuelis che il to test al puedi jessi gambiât e tornât a jessi distribuît da cualsisei persone cence limits, no stâ mandâlu ae Vichipedie, al è miôr se tu ti fasis un to sît web personâl.
134 * Inviant chest test, tu stâs garantint che chest al è stât scrit di te in origjin, o che al è stât copiât di une sorzint di public domini, o alc di simil, opûr che tu âs vût une autorizazion esplicite pe publicazion e tu puedis dimostrâ chest fat.
135 </div>
136
137 </div>",
138 'createaccount' => "Cree une gnove identitât",
139 'currentevents' => "Lis gnovis",
140 'dec' => "Dic",
141 'december' => "Dicembar",
142 'delete' => "Elimine",
143 'deletethispage' => "Elimine cheste pagjine",
144 'edit' => "Modifiche",
145 'editing' => "Modifiche di $1",
146 'editsection' => "modifiche",
147 'editthispage' => "Modifiche cheste pagjine",
148 'emailuser' => "Messaç di pueste a chest utent",
149 'error' => "Erôr",
150 'errorpagetitle' => "Erôr",
151 'feb' => "Fev",
152 'february' => "Fevrâr",
153 'filedesc' => "Descrizion",
154 'filename' => "Non dal file",
155 'friday' => "Vinars",
156 'go' => "Va",
157 'help' => "Jutori",
158 'helppage' => "Jutori:Contignûts",
159 'hide' => "plate",
160 'hidetoc' => "plate",
161 'hist' => "stor",
162 'history' => "Storic de pagjine",
163 'history_short' => "Storic",
164 'ilsubmit' => "Cîr",
165 'importnotext' => "Vueit o cence test",
166 'ipbsubmit' => "Bloche chest utent",
167 'jan' => "Zen",
168 'january' => "Zenâr",
169 'jul' => "Lui",
170 'jun' => "Zug",
171 'june' => "Zugn",
172 'lastmodified' => "Modificât par l'ultime volte il $1",
173 'lastmodifiedby' => "Modificât par l'ultime volte il $1 di",
174 'link_sample' => "Titul dal leam",
175 'listadmins' => "Liste dai aministradôrs",
176 'listform' => "liste",
177 'listusers' => "Liste dai utents",
178 'login' => "Jentre",
179 'loginpagetitle' => "Jentrade dal utent",
180 'loginsuccesstitle' => "Jentrât cun sucès",
181 'logout' => "Jes",
182 'mainpage' => "Pagjine principâl",
183 'may' => "Mai",
184 'may_long' => "Mai",
185 'minoredit' => "Cheste e je une piçule modifiche",
186 'minoreditletter' => "p",
187 'monday' => "Lunis",
188 'move' => "Môf",
189 'movearticle' => "Môf l'articul",
190 'movedto' => "Movude in",
191 'movenologin' => "No tu sês jentrât",
192 'movepage' => "Môf pagjine",
193 'movepagebtn' => "Môf pagjine",
194 'movethispage' => "Môf cheste pagjine",
195 'mycontris' => "Gno contribûts",
196 'navigation' => "somari",
197 'newarticle' => "(Gnûf)",
198 'newarticletext' => "Tu âs seguît un leam a une pagjine che no esist ancjemò. Par creâ une pagjine, scomence a scrivi tal spazi ca sot (cjale il [[Jutori:Contignûts|jutori]] par altris informazions). Se tu sês ca par erôr, frache semplicementri il boton '''Indaûr''' dal to sgarfadôr.",
199 'newmessages' => "Tu âs $1.",
200 'newmessageslink' => "gnûf(s) messaç",
201 'newpage' => "Gnove pagjine",
202 'newpageletter' => "G",
203 'newpages' => "Gnovis pagjinis",
204 'newusersonly' => "(dome gnûfs utents)",
205 'newwindow' => "(al vierç un gnûf barcon)",
206 'nlinks' => "$1 leams",
207 'noarticletext' => "(Par cumò nol è nuie in cheste pagjine)",
208 'nolinkshere' => "Nissune pagjine e à leams a chest articul",
209 'nov' => "Nov",
210 'november' => "Novembar",
211 'nstab-category' => "Categorie",
212 'nstab-help' => "Jutori",
213 'nstab-image' => "Figure",
214 'nstab-main' => "Articul",
215 'nstab-mediawiki' => "Messaç",
216 'nstab-special' => "Speciâl",
217 'nstab-template' => "Model",
218 'nstab-user' => "Pagjine dal utent",
219 'nstab-wp' => "Informazions",
220 'oct' => "Otu",
221 'october' => "Otubar",
222 'otherlanguages' => "Altris lenghis",
223 'pagemovedtext' => "Pagjine \"[[$1]]\" movude in \"[[$2]]\".",
224 'portal' => "Ostarie",
225 'portal-url' => "Vichipedie:Ostarie",
226 'powersearch' => "Cîr",
227 'preferences' => "Preferencis",
228 'preview' => "Anteprime",
229 'previewnote' => "Visiti che cheste e je dome une anteprime, e no je stade ancjemò salvade!",
230 'printableversion' => "Version stampabil",
231 'printsubtitle' => "(Articul dal sît {{SERVER}})",
232 'protect' => "Protêç",
233 'protectcomment' => "Reson pe protezion",
234 'protectedarticle' => "$1 protezût",
235 'protectedpage' => "Pagjine protezude",
236 'protectmoveonly' => "Protêç dome dai spostaments",
237 'protectpage' => "Protêç pagjine",
238 'protectreason' => "(inseris une reson)",
239 'protectsub' => "(Protezint \"$1\")",
240 'protectthispage' => "Protêç cheste pagjine",
241 'qbbrowse' => "Sgarfe",
242 'qbedit' => "Modifiche",
243 'qbfind' => "Cjate",
244 'qbspecialpages' => "Pagjinis speciâls",
245 'randompage' => "Une pagjine a câs",
246 'rclinks' => "Mostre i ultins $1 cambiaments tes ultimis $2 zornadis<br />$3",
247 'rclistfrom' => "Mostre i ultins cambiaments dal $1",
248 'rcnote' => "Ca sot tu cjatis i ultins <strong>$1</strong> cambiaments te ultimis <strong>$2</strong> zornadis.",
249 'recentchanges' => "Ultins cambiaments",
250 'recentchangeslinked' => "Cambiaments leâts",
251 'recentchangestext' => "Cheste pagjine e mostre i plui recents cambiaments inte Vichipedie.",
252 'redirectedfrom' => "(Inviât ca di $1)",
253 'retrievedfrom' => "Cjapât fûr di $1",
254 'returnto' => "Torne a $1.",
255 'reupload' => "Torne a cjamâ sù",
256 'revhistory' => "Storic des revisions",
257 'saturday' => "Sabide",
258 'savearticle' => "Salve la pagjine",
259 'savedprefs' => "Lis preferencis a son stadis salvadis",
260 'saveprefs' => "Salve lis preferencis",
261 'search' => "Cîr",
262 'show' => "mostre",
263 'showhideminor' => "$1 piçulis modifichis | $2 bots | $3 utents jentrâts | $4 modifichis verificadis",
264 'showpreview' => "Mostre anteprime",
265 'showtoc' => "mostre",
266 'sitestats' => "Statistichis dal sît",
267 'sitesubtitle' => "L'enciclopedie libare",
268 'specialloguserlabel' => "Utent:",
269 'specialpage' => "Pagjine speciâl",
270 'specialpages' => "Pagjinis speciâls",
271 'statistics' => "Statistichis",
272 'summary' => "Somari",
273 'sunday' => "Domenie",
274 'tagline' => "De {{SITENAME}}, l'enciclopedie libare dute in marilenghe.",
275 'talkpage' => "Fevelin di cheste pagjine",
276 'textboxsize' => "Modifiche",
277 'thumbnail-more' => "Slargje",
278 'thursday' => "Joibe",
279 'toc' => "Indis",
280 'toolbox' => "imprescj",
281 'tuesday' => "Martars",
282 'userlogin' => "Regjistriti o jentre",
283 'userlogout' => "Jes",
284 'viewsource' => "Cjale risultive",
285 'watch' => "Ten di voli",
286 'watchlist' => "Tignûts di voli",
287 'watchlistcontains' => "Tu stâs tignint di voli $1 pagjinis.",
288 'watchthis' => "Ten di voli cheste pagjine",
289 'watchthispage' => "Ten di voli cheste pagjine",
290 'wednesday' => "Miercus",
291 'whatlinkshere' => "Leams a chest articul",
292 );
293
294 class LanguageFur extends LanguageUtf8 {
295
296 function getNamespaces() {
297 global $wgNamespaceNamesFur;
298 return $wgNamespaceNamesFur;
299 }
300
301
302 function getNsIndex( $text ) {
303 global $wgNamespaceNamesFur, $wgSitename;
304
305 foreach ( $wgNamespaceNamesFur as $i => $n ) {
306 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
307 }
308 return false;
309 }
310
311 function getQuickbarSettings() {
312 global $wgQuickbarSettingsFur;
313 return $wgQuickbarSettingsFur;
314 }
315
316 function getSkinNames() {
317 global $wgSkinNamesFur;
318 return $wgSkinNamesFur;
319 }
320
321
322 // Inherit userAdjust()
323
324 function date( $ts, $adj = false ) {
325 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
326
327 $d = (0 + substr( $ts, 6, 2 )) . " " .
328 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
329 " " . substr( $ts, 0, 4 );
330 return $d;
331 }
332
333 function timeanddate( $ts, $adj = false ) {
334 return $this->date( $ts, $adj ) . " à " . $this->time( $ts, $adj );
335 }
336
337 var $digitTransTable = array(
338 ',' => '&nbsp;',
339 '.' => ','
340 );
341
342 function formatNum( $number ) {
343 return strtr($number, $this->digitTransTable);
344 }
345
346
347 function getValidSpecialPages() {
348 global $wgValidSpecialPagesFur;
349 return $wgValidSpecialPagesFur;
350 }
351
352 function getSysopSpecialPages() {
353 global $wgSysopSpecialPagesFur;
354 return $wgSysopSpecialPagesFur;
355 }
356
357 function getDeveloperSpecialPages() {
358 global $wgDeveloperSpecialPagesFur;
359 return $wgDeveloperSpecialPagesFur;
360 }
361
362 function getMessage( $key ) {
363 global $wgAllMessagesFur;
364 if( isset( $wgAllMessagesFur[$key] ) ) {
365 return $wgAllMessagesFur[$key];
366 } else {
367 return parent::getMessage( $key );
368 }
369 }
370
371 }
372
373 ?>