Better wording (IMHO).
[lhc/web/wiklou.git] / languages / LanguageLa.php
1 <?php
2
3 # NOTE: To turn off "Current Events" in the sidebar,
4 # set "currentevents" => "-"
5
6 # The names of the namespaces can be set here, but the numbers
7 # are magical, so don't change or move them! The Namespace class
8 # encapsulates some of the magic-ness.
9 #
10 /* private */ $wgNamespaceNamesLa = array(
11 -2 => "Media",
12 -1 => "Specialis",
13 0 => "",
14 1 => "Disputatio",
15 2 => "Usor",
16 3 => "Disputatio_Usoris",
17 4 => "Wikipedia",
18 5 => "Disputatio_Wikipedia",
19 6 => "Imago",
20 7 => "Disputatio_Imaginis",
21 8 => "MediaWiki",
22 9 => "Disputatio_MediaWiki",
23 10 => "Template",
24 11 => "Template_talk"
25
26
27 ) + $wgNamespaceNamesEn;
28
29 /* private */ $wgQuickbarSettingsLa = array(
30 "Nullus", "Constituere a sinistra", "Constituere a dextra", "Innens a sinistra"
31 );
32
33 /* private */ $wgSkinNamesLa = array(
34 'standard' => "Norma",
35 'nostalgia' => "Nostalgia",
36 'cologneblue' => "Caerulus Colonia",
37 'smarty' => "Paddington",
38 'montparnasse' => "Montparnasse",
39 'davinci' => "DaVinci",
40 'mono' => "Mono",
41 'monobook' => "MonoBook",
42 "myskin" => "MySkin"
43 );
44
45 /* private */ $wgUserTogglesLa = array(
46 "hover" => "Monstrare capsam impensam super wikinexos",
47 "underline" => "Subscribere nexi",
48 "highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).",
49 "justify" => "Saepire capites",
50 "hideminor" => "Celare mutationes recentes minores",
51 "usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)",
52 "numberheadings" => "Numerare indices necessario",
53 "rememberpassword" => "Recordari tesserae inter conventa (uti cookies)",
54 "editwidth" => "Capsa recensitorum totam latitudinem habet",
55 "editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)",
56 "watchdefault" => "Custodire res novas et mutatas",
57 "minordefault" => "Notare totas mutations ut minor",
58 "previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam"
59
60 );
61
62 /* private */ $wgBookstoreListLa = array(
63 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
64 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
65 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
66 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
67 );
68
69
70 # All special pages have to be listed here: a description of ""
71 # will make them not show up on the "Special Pages" page, which
72 # is the right thing for some of them (such as the "targeted" ones).
73 #
74 /* private */ $wgValidSpecialPagesLa = array(
75 "Userlogin" => "",
76 "Userlogout" => "",
77 "Preferences" => "Praeferentiae usoris",
78 "Watchlist" => "Paginae custoditae",
79 "Recentchanges" => "Mutationes recentes",
80 "Upload" => "Onerare fascicula",
81 "Imagelist" => "Index imaginum",
82 "Listusers" => "Usores perscripti",
83 "Statistics" => "Statisticas",
84 "Randompage" => "Pagina fortuita",
85
86 "Lonelypages" => "Paginae orbatae",
87 "Unusedimages" => "Imagines orbatae",
88 "Popularpages" => "Res populares",
89 "Wantedpages" => "Res desideratissimae",
90 "Shortpages" => "Res breves",
91 "Longpages" => "Res longae",
92 "Newpages" => "Res novae",
93 # "Intl" => "Interlanguage Links",
94 "Allpages" => "Totae paginae (ex indice)",
95
96 "Ipblocklist" => "Loci IP obstructi",
97 "Maintenance" => "Pagina alimentori",
98 "Specialpages" => "", # "Paginae specialiae",
99 "Contributions" => "", # "Conlationes",
100 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)",
101 "Whatlinkshere" => "", # "Nexi ad hanc paginam",
102 "Recentchangeslinked" => "", # "Mutationes conlata (?)",
103 "Movepage" => "", # "Motare hanc paginam",
104 "Booksources" => "Fontes externi (libri)",
105 # "Categories" => "Page categories",
106 "Export" => "Exportare in XML",
107 "Version" => "Version",
108 );
109
110 /* private */ $wgSysopSpecialPagesLa = array(
111 "Blockip" => "Obstruere locum IP",
112 "Asksql" => "Quaerere basem dati",
113 "Undelete" => "Videre et restituere paginas deletas"
114 );
115
116 /* private */ $wgDeveloperSpecialPagesLa = array(
117 "Lockdb" => "Suspendere mutationes",
118 "Unlockdb" => "Permittere mutationes",
119 "Debug" => "Nuntii de refectis"
120 );
121
122 $wgAllMessagesLa = array(
123 # Dates
124
125 'sunday' => 'dies Solis',
126 'monday' => 'dies Lunae',
127 'tuesday' => 'dies Martis',
128 'wednesday' => 'dies Mercuri',
129 'thursday' => 'dies Iovis',
130 'friday' => 'dies Veneris',
131 'saturday' => 'dies Saturni',
132 'january' => 'Ianuarii',
133 'february' => 'Februarii',
134 'march' => 'Martii',
135 'april' => 'Aprilis',
136 'may_long' => 'Maii',
137 'june' => 'Iunii',
138 'july' => 'Iulii',
139 'august' => 'Augusti',
140 'september' => 'Septembri',
141 'october' => 'Octobri',
142 'november' => 'Novembri',
143 'december' => 'Decembri',
144 'jan' => 'ian',
145 'feb' => 'feb',
146 'mar' => 'mar',
147 'apr' => 'apr',
148 'may' => 'mai',
149 'jun' => 'iun',
150 'jul' => 'iul',
151 'aug' => 'aug',
152 'sep' => 'sep',
153 'oct' => 'oct',
154 'nov' => 'nov',
155 'dec' => 'dec',
156
157 # Math
158 'mw_math_png' => "Semper vertere PNG",
159 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG",
160 'mw_math_html' => "HTML si fieri potest, alioqui PNG",
161 'mw_math_source' => "Stet ut TeX (pro navigatri texti)",
162 'mw_math_modern' => "Commendatum pro navigatri recentes",
163 'mw_math_mathml' => 'MathML',
164 );
165
166 require_once( "LanguageUtf8.php" );
167
168 class LanguageLa extends LanguageUtf8 {
169
170 function getNamespaces() {
171 global $wgNamespaceNamesLa;
172 return $wgNamespaceNamesLa;
173 }
174
175 function getNsText( $index ) {
176 global $wgNamespaceNamesLa;
177 return $wgNamespaceNamesLa[$index];
178 }
179
180 function getNsIndex( $text ) {
181 global $wgNamespaceNamesLa;
182
183 foreach ( $wgNamespaceNamesLa as $i => $n ) {
184 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
185 }
186 return false;
187 }
188
189 function getQuickbarSettings() {
190 global $wgQuickbarSettingsLa;
191 return $wgQuickbarSettingsLa;
192 }
193
194 function getSkinNames() {
195 global $wgSkinNamesLa;
196 return $wgSkinNamesLa;
197 }
198
199 function getUserToggles() {
200 global $wgUserTogglesLa;
201 return $wgUserTogglesLa;
202 }
203
204 function date( $ts, $adj = false )
205 {
206 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
207
208 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
209 " " . (0 + substr( $ts, 6, 2 )) . ", " .
210 substr( $ts, 0, 4 );
211 return $d;
212 }
213
214 function timeanddate( $ts, $adj = false )
215 {
216 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
217 }
218
219 function getValidSpecialPages()
220 {
221 global $wgValidSpecialPagesLa;
222 return $wgValidSpecialPagesLa;
223 }
224
225 function getSysopSpecialPages()
226 {
227 global $wgSysopSpecialPagesLa;
228 return $wgSysopSpecialPagesLa;
229 }
230
231 function getDeveloperSpecialPages()
232 {
233 global $wgDeveloperSpecialPagesLa;
234 return $wgDeveloperSpecialPagesLa;
235 }
236
237 function getMessage( $key )
238 {
239 global $wgAllMessagesLa, $wgAllMessagesEn;
240 $m = $wgAllMessagesLa[$key];
241
242 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
243 else return $m;
244 }
245
246 }
247
248
249 ?>