Fix toolbar scrolling bug in Mozilla, toolbar can now be safely and fully
[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 "Norma", "Nostalgia", "Caerulus Colonia"
35 );
36
37 /* private */ $wgMathNamesLa = array(
38 "Semper vertere PNG",
39 "HTML si admodum simplex, alioqui PNG",
40 "HTML si fieri potest, alioqui PNG",
41 "Stet ut TeX (pro navigatri texti)",
42 "Commendatum pro navigatri recentes"
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
138 include( "LanguageUtf8.php" );
139
140 class LanguageLa extends LanguageUtf8 {
141
142 function getNamespaces() {
143 global $wgNamespaceNamesLa;
144 return $wgNamespaceNamesLa;
145 }
146
147 function getNsText( $index ) {
148 global $wgNamespaceNamesLa;
149 return $wgNamespaceNamesLa[$index];
150 }
151
152 function getNsIndex( $text ) {
153 global $wgNamespaceNamesLa;
154
155 foreach ( $wgNamespaceNamesLa as $i => $n ) {
156 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
157 }
158 return false;
159 }
160
161 function getQuickbarSettings() {
162 global $wgQuickbarSettingsLa;
163 return $wgQuickbarSettingsLa;
164 }
165
166 function getSkinNames() {
167 global $wgSkinNamesLa;
168 return $wgSkinNamesLa;
169 }
170
171 function getMathNames() {
172 global $wgMathNamesLa;
173 return $wgMathNamesLa;
174 }
175
176 function getUserToggles() {
177 global $wgUserTogglesLa;
178 return $wgUserTogglesLa;
179 }
180
181 function getMonthName( $key )
182 {
183 global $wgMonthNamesLa;
184 return $wgMonthNamesLa[$key-1];
185 }
186
187 function getMonthAbbreviation( $key )
188 {
189 global $wgMonthAbbreviationsLa;
190 return $wgMonthAbbreviationsLa[$key-1];
191 }
192
193 function getWeekdayName( $key )
194 {
195 global $wgWeekdayNamesLa;
196 return $wgWeekdayNamesLa[$key-1];
197 }
198
199 function date( $ts, $adj = false )
200 {
201 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
202
203 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
204 " " . (0 + substr( $ts, 6, 2 )) . ", " .
205 substr( $ts, 0, 4 );
206 return $d;
207 }
208
209 function timeanddate( $ts, $adj = false )
210 {
211 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
212 }
213
214 function getValidSpecialPages()
215 {
216 global $wgValidSpecialPagesLa;
217 return $wgValidSpecialPagesLa;
218 }
219
220 function getSysopSpecialPages()
221 {
222 global $wgSysopSpecialPagesLa;
223 return $wgSysopSpecialPagesLa;
224 }
225
226 function getDeveloperSpecialPages()
227 {
228 global $wgDeveloperSpecialPagesLa;
229 return $wgDeveloperSpecialPagesLa;
230 }
231
232 function getMessage( $key )
233 {
234 global $wgAllMessagesLa, $wgAllMessagesEn;
235 $m = $wgAllMessagesLa[$key];
236
237 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
238 else return $m;
239 }
240
241 }
242
243
244 ?>