048bb057c36282b7bdc6efcbc74273398628ea12
[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 );
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 );
43
44 /* private */ $wgMathNamesLa = array(
45 "Semper vertere PNG",
46 "HTML si admodum simplex, alioqui PNG",
47 "HTML si fieri potest, alioqui PNG",
48 "Stet ut TeX (pro navigatri texti)",
49 "Commendatum pro navigatri recentes"
50 );
51
52 /* private */ $wgUserTogglesLa = array(
53 "hover" => "Monstrare capsam impensam super wikinexos",
54 "underline" => "Subscribere nexi",
55 "highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).",
56 "justify" => "Saepire capites",
57 "hideminor" => "Celare mutationes recentes minores",
58 "usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)",
59 "numberheadings" => "Numerare indices necessario",
60 "rememberpassword" => "Recordari tesserae inter conventa (uti cookies)",
61 "editwidth" => "Capsa recensitorum totam latitudinem habet",
62 "editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)",
63 "watchdefault" => "Custodire res novas et mutatas",
64 "minordefault" => "Notare totas mutations ut minor",
65 "previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam"
66
67 );
68
69 /* private */ $wgBookstoreListLa = array(
70 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
71 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
72 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
73 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
74 );
75
76 /* private */ $wgWeekdayNamesLa = array(
77 "dies Solis", "dies Lunae", "dies Martis", "dies Mercuri", "dies Iovis",
78 "dies Veneris", "dies Saturni"
79 );
80
81 /* private */ $wgMonthNamesLa = array(
82 "Ianuarii", "Februarii", "Martii", "Aprilis", "Maii", "Iunii",
83 "Iulii", "Augusti", "Septembri", "Octobri", "Novembri",
84 "Decembri"
85 );
86
87 /* private */ $wgMonthAbbreviationsLa = array(
88 "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug",
89 "sep", "oct", "nov", "dec"
90 );
91
92 # All special pages have to be listed here: a description of ""
93 # will make them not show up on the "Special Pages" page, which
94 # is the right thing for some of them (such as the "targeted" ones).
95 #
96 /* private */ $wgValidSpecialPagesLa = array(
97 "Userlogin" => "",
98 "Userlogout" => "",
99 "Preferences" => "Praeferentiae usoris",
100 "Watchlist" => "Paginae custoditae",
101 "Recentchanges" => "Mutationes recentes",
102 "Upload" => "Onerare fascicula",
103 "Imagelist" => "Index imaginum",
104 "Listusers" => "Usores perscripti",
105 "Statistics" => "Statisticas",
106 "Randompage" => "Pagina fortuita",
107
108 "Lonelypages" => "Paginae orbatae",
109 "Unusedimages" => "Imagines orbatae",
110 "Popularpages" => "Res populares",
111 "Wantedpages" => "Res desideratissimae",
112 "Shortpages" => "Res breves",
113 "Longpages" => "Res longae",
114 "Newpages" => "Res novae",
115 # "Intl" => "Interlanguage Links",
116 "Allpages" => "Totae paginae (ex indice)",
117
118 "Ipblocklist" => "Loci IP obstructi",
119 "Maintenance" => "Pagina alimentori",
120 "Specialpages" => "", # "Paginae specialiae",
121 "Contributions" => "", # "Conlationes",
122 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)",
123 "Whatlinkshere" => "", # "Nexi ad hanc paginam",
124 "Recentchangeslinked" => "", # "Mutationes conlata (?)",
125 "Movepage" => "", # "Motare hanc paginam",
126 "Booksources" => "Fontes externi (libri)",
127 # "Categories" => "Page categories",
128 "Export" => "Exportare in XML",
129 "Version" => "Version",
130 );
131
132 /* private */ $wgSysopSpecialPagesLa = array(
133 "Blockip" => "Obstruere locum IP",
134 "Asksql" => "Quaerere basem dati",
135 "Undelete" => "Videre et restituere paginas deletas"
136 );
137
138 /* private */ $wgDeveloperSpecialPagesLa = array(
139 "Lockdb" => "Suspendere mutationes",
140 "Unlockdb" => "Permittere mutationes",
141 "Debug" => "Nuntii de refectis"
142 );
143
144
145 include_once( "LanguageUtf8.php" );
146
147 class LanguageLa extends LanguageUtf8 {
148
149 function getNamespaces() {
150 global $wgNamespaceNamesLa;
151 return $wgNamespaceNamesLa;
152 }
153
154 function getNsText( $index ) {
155 global $wgNamespaceNamesLa;
156 return $wgNamespaceNamesLa[$index];
157 }
158
159 function getNsIndex( $text ) {
160 global $wgNamespaceNamesLa;
161
162 foreach ( $wgNamespaceNamesLa as $i => $n ) {
163 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
164 }
165 return false;
166 }
167
168 function getQuickbarSettings() {
169 global $wgQuickbarSettingsLa;
170 return $wgQuickbarSettingsLa;
171 }
172
173 function getSkinNames() {
174 global $wgSkinNamesLa;
175 return $wgSkinNamesLa;
176 }
177
178 function getMathNames() {
179 global $wgMathNamesLa;
180 return $wgMathNamesLa;
181 }
182
183 function getUserToggles() {
184 global $wgUserTogglesLa;
185 return $wgUserTogglesLa;
186 }
187
188 function getMonthName( $key )
189 {
190 global $wgMonthNamesLa;
191 return $wgMonthNamesLa[$key-1];
192 }
193
194 function getMonthAbbreviation( $key )
195 {
196 global $wgMonthAbbreviationsLa;
197 return $wgMonthAbbreviationsLa[$key-1];
198 }
199
200 function getWeekdayName( $key )
201 {
202 global $wgWeekdayNamesLa;
203 return $wgWeekdayNamesLa[$key-1];
204 }
205
206 function date( $ts, $adj = false )
207 {
208 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
209
210 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
211 " " . (0 + substr( $ts, 6, 2 )) . ", " .
212 substr( $ts, 0, 4 );
213 return $d;
214 }
215
216 function timeanddate( $ts, $adj = false )
217 {
218 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
219 }
220
221 function getValidSpecialPages()
222 {
223 global $wgValidSpecialPagesLa;
224 return $wgValidSpecialPagesLa;
225 }
226
227 function getSysopSpecialPages()
228 {
229 global $wgSysopSpecialPagesLa;
230 return $wgSysopSpecialPagesLa;
231 }
232
233 function getDeveloperSpecialPages()
234 {
235 global $wgDeveloperSpecialPagesLa;
236 return $wgDeveloperSpecialPagesLa;
237 }
238
239 function getMessage( $key )
240 {
241 global $wgAllMessagesLa, $wgAllMessagesEn;
242 $m = $wgAllMessagesLa[$key];
243
244 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
245 else return $m;
246 }
247
248 }
249
250
251 ?>