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