da02e00d25a345b2bf792ba390c16062272d9ffb
[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 /* private */ $wgWeekdayNamesLa = array(
70 "dies Solis", "dies Lunae", "dies Martis", "dies Mercuri", "dies Iovis",
71 "dies Veneris", "dies Saturni"
72 );
73
74 /* private */ $wgMonthNamesLa = array(
75 "Ianuarii", "Februarii", "Martii", "Aprilis", "Maii", "Iunii",
76 "Iulii", "Augusti", "Septembri", "Octobri", "Novembri",
77 "Decembri"
78 );
79
80 /* private */ $wgMonthAbbreviationsLa = array(
81 "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug",
82 "sep", "oct", "nov", "dec"
83 );
84
85 # All special pages have to be listed here: a description of ""
86 # will make them not show up on the "Special Pages" page, which
87 # is the right thing for some of them (such as the "targeted" ones).
88 #
89 /* private */ $wgValidSpecialPagesLa = array(
90 "Userlogin" => "",
91 "Userlogout" => "",
92 "Preferences" => "Praeferentiae usoris",
93 "Watchlist" => "Paginae custoditae",
94 "Recentchanges" => "Mutationes recentes",
95 "Upload" => "Onerare fascicula",
96 "Imagelist" => "Index imaginum",
97 "Listusers" => "Usores perscripti",
98 "Statistics" => "Statisticas",
99 "Randompage" => "Pagina fortuita",
100
101 "Lonelypages" => "Paginae orbatae",
102 "Unusedimages" => "Imagines orbatae",
103 "Popularpages" => "Res populares",
104 "Wantedpages" => "Res desideratissimae",
105 "Shortpages" => "Res breves",
106 "Longpages" => "Res longae",
107 "Newpages" => "Res novae",
108 # "Intl" => "Interlanguage Links",
109 "Allpages" => "Totae paginae (ex indice)",
110
111 "Ipblocklist" => "Loci IP obstructi",
112 "Maintenance" => "Pagina alimentori",
113 "Specialpages" => "", # "Paginae specialiae",
114 "Contributions" => "", # "Conlationes",
115 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)",
116 "Whatlinkshere" => "", # "Nexi ad hanc paginam",
117 "Recentchangeslinked" => "", # "Mutationes conlata (?)",
118 "Movepage" => "", # "Motare hanc paginam",
119 "Booksources" => "Fontes externi (libri)",
120 # "Categories" => "Page categories",
121 "Export" => "Exportare in XML",
122 "Version" => "Version",
123 );
124
125 /* private */ $wgSysopSpecialPagesLa = array(
126 "Blockip" => "Obstruere locum IP",
127 "Asksql" => "Quaerere basem dati",
128 "Undelete" => "Videre et restituere paginas deletas"
129 );
130
131 /* private */ $wgDeveloperSpecialPagesLa = array(
132 "Lockdb" => "Suspendere mutationes",
133 "Unlockdb" => "Permittere mutationes",
134 "Debug" => "Nuntii de refectis"
135 );
136
137 $wgAllMessagesLa = array(
138 # Math
139 'mw_math_png' => "Semper vertere PNG",
140 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG",
141 'mw_math_html' => "HTML si fieri potest, alioqui PNG",
142 'mw_math_source' => "Stet ut TeX (pro navigatri texti)",
143 'mw_math_modern' => "Commendatum pro navigatri recentes",
144 'mw_math_mathml' => 'MathML',
145 );
146
147 require_once( "LanguageUtf8.php" );
148
149 class LanguageLa extends LanguageUtf8 {
150
151 function getNamespaces() {
152 global $wgNamespaceNamesLa;
153 return $wgNamespaceNamesLa;
154 }
155
156 function getNsText( $index ) {
157 global $wgNamespaceNamesLa;
158 return $wgNamespaceNamesLa[$index];
159 }
160
161 function getNsIndex( $text ) {
162 global $wgNamespaceNamesLa;
163
164 foreach ( $wgNamespaceNamesLa as $i => $n ) {
165 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
166 }
167 return false;
168 }
169
170 function getQuickbarSettings() {
171 global $wgQuickbarSettingsLa;
172 return $wgQuickbarSettingsLa;
173 }
174
175 function getSkinNames() {
176 global $wgSkinNamesLa;
177 return $wgSkinNamesLa;
178 }
179
180 function getUserToggles() {
181 global $wgUserTogglesLa;
182 return $wgUserTogglesLa;
183 }
184
185 function getMonthName( $key )
186 {
187 global $wgMonthNamesLa;
188 return $wgMonthNamesLa[$key-1];
189 }
190
191 function getMonthAbbreviation( $key )
192 {
193 global $wgMonthAbbreviationsLa;
194 return $wgMonthAbbreviationsLa[$key-1];
195 }
196
197 function getWeekdayName( $key )
198 {
199 global $wgWeekdayNamesLa;
200 return $wgWeekdayNamesLa[$key-1];
201 }
202
203 function date( $ts, $adj = false )
204 {
205 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
206
207 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
208 " " . (0 + substr( $ts, 6, 2 )) . ", " .
209 substr( $ts, 0, 4 );
210 return $d;
211 }
212
213 function timeanddate( $ts, $adj = false )
214 {
215 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
216 }
217
218 function getValidSpecialPages()
219 {
220 global $wgValidSpecialPagesLa;
221 return $wgValidSpecialPagesLa;
222 }
223
224 function getSysopSpecialPages()
225 {
226 global $wgSysopSpecialPagesLa;
227 return $wgSysopSpecialPagesLa;
228 }
229
230 function getDeveloperSpecialPages()
231 {
232 global $wgDeveloperSpecialPagesLa;
233 return $wgDeveloperSpecialPagesLa;
234 }
235
236 function getMessage( $key )
237 {
238 global $wgAllMessagesLa, $wgAllMessagesEn;
239 $m = $wgAllMessagesLa[$key];
240
241 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
242 else return $m;
243 }
244
245 }
246
247
248 ?>