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