Add seek method to ResultWrapper
[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 NS_MEDIA => 'Media',
12 NS_SPECIAL => 'Specialis',
13 NS_MAIN => '',
14 NS_TALK => 'Disputatio',
15 NS_USER => 'Usor',
16 NS_USER_TALK => 'Disputatio_Usoris',
17 NS_PROJECT => 'Wikipedia',
18 NS_PROJECT_TALK => 'Disputatio_Wikipedia',
19 NS_IMAGE => 'Imago',
20 NS_IMAGE_TALK => 'Disputatio_Imaginis',
21 NS_MEDIAWIKI => 'MediaWiki',
22 NS_MEDIAWIKI_TALK => 'Disputatio_MediaWiki',
23 NS_TEMPLATE => 'Template',
24 NS_TEMPLATE_TALK => '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 'special_version_prefix' => '',
108 'special_version_postfix' => '',
109
110 # User Toggles
111
112 "tog-underline" => "Subscribere nexi",
113 "tog-highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).",
114 "tog-justify" => "Saepire capites",
115 "tog-hideminor" => "Celare mutationes recentes minores",
116 "tog-usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)",
117 "tog-numberheadings" => "Numerare indices necessario",
118 "tog-rememberpassword" => "Recordari tesserae inter conventa (uti cookies)",
119 "tog-editwidth" => "Capsa recensitorum totam latitudinem habet",
120 "tog-editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)",
121 "tog-watchdefault" => "Custodire res novas et mutatas",
122 "tog-minordefault" => "Notare totas mutations ut minor",
123 "tog-previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam",
124
125 # Dates
126
127 'sunday' => 'dies Solis',
128 'monday' => 'dies Lunae',
129 'tuesday' => 'dies Martis',
130 'wednesday' => 'dies Mercuri',
131 'thursday' => 'dies Iovis',
132 'friday' => 'dies Veneris',
133 'saturday' => 'dies Saturni',
134 'january' => 'Ianuarii',
135 'february' => 'Februarii',
136 'march' => 'Martii',
137 'april' => 'Aprilis',
138 'may_long' => 'Maii',
139 'june' => 'Iunii',
140 'july' => 'Iulii',
141 'august' => 'Augusti',
142 'september' => 'Septembri',
143 'october' => 'Octobri',
144 'november' => 'Novembri',
145 'december' => 'Decembri',
146 'jan' => 'ian',
147 'feb' => 'feb',
148 'mar' => 'mar',
149 'apr' => 'apr',
150 'may' => 'mai',
151 'jun' => 'iun',
152 'jul' => 'iul',
153 'aug' => 'aug',
154 'sep' => 'sep',
155 'oct' => 'oct',
156 'nov' => 'nov',
157 'dec' => 'dec',
158
159 # Math
160 'mw_math_png' => "Semper vertere PNG",
161 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG",
162 'mw_math_html' => "HTML si fieri potest, alioqui PNG",
163 'mw_math_source' => "Stet ut TeX (pro navigatri texti)",
164 'mw_math_modern' => "Commendatum pro navigatri recentes",
165 'mw_math_mathml' => 'MathML',
166 );
167
168 require_once( "LanguageUtf8.php" );
169
170 class LanguageLa extends LanguageUtf8 {
171
172 function getNamespaces() {
173 global $wgNamespaceNamesLa;
174 return $wgNamespaceNamesLa;
175 }
176
177 function getNsText( $index ) {
178 global $wgNamespaceNamesLa;
179 return $wgNamespaceNamesLa[$index];
180 }
181
182 function getNsIndex( $text ) {
183 global $wgNamespaceNamesLa;
184
185 foreach ( $wgNamespaceNamesLa as $i => $n ) {
186 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
187 }
188 return false;
189 }
190
191 function getQuickbarSettings() {
192 global $wgQuickbarSettingsLa;
193 return $wgQuickbarSettingsLa;
194 }
195
196 function getSkinNames() {
197 global $wgSkinNamesLa;
198 return $wgSkinNamesLa;
199 }
200
201 function date( $ts, $adj = false )
202 {
203 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
204
205 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
206 " " . (0 + substr( $ts, 6, 2 )) . ", " .
207 substr( $ts, 0, 4 );
208 return $d;
209 }
210
211 function timeanddate( $ts, $adj = false )
212 {
213 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
214 }
215
216 function getValidSpecialPages()
217 {
218 global $wgValidSpecialPagesLa;
219 return $wgValidSpecialPagesLa;
220 }
221
222 function getSysopSpecialPages()
223 {
224 global $wgSysopSpecialPagesLa;
225 return $wgSysopSpecialPagesLa;
226 }
227
228 function getDeveloperSpecialPages()
229 {
230 global $wgDeveloperSpecialPagesLa;
231 return $wgDeveloperSpecialPagesLa;
232 }
233
234 function getMessage( $key )
235 {
236 global $wgAllMessagesLa, $wgAllMessagesEn;
237 $m = $wgAllMessagesLa[$key];
238
239 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
240 else return $m;
241 }
242
243 }
244
245
246 ?>