Overlay logo with "Set $wgLogo to the URL path to your own logo image."
[lhc/web/wiklou.git] / languages / LanguageLa.php
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
6
7 # NOTE: To turn off "Current Events" in the sidebar,
8 # set "currentevents" => "-"
9
10 # The names of the namespaces can be set here, but the numbers
11 # are magical, so don't change or move them! The Namespace class
12 # encapsulates some of the magic-ness.
13 #
14 /* private */ $wgNamespaceNamesLa = array(
15 NS_MEDIA => 'Media',
16 NS_SPECIAL => 'Specialis',
17 NS_MAIN => '',
18 NS_TALK => 'Disputatio',
19 NS_USER => 'Usor',
20 NS_USER_TALK => 'Disputatio_Usoris',
21 NS_PROJECT => 'Wikipedia',
22 NS_PROJECT_TALK => 'Disputatio_Wikipedia',
23 NS_IMAGE => 'Imago',
24 NS_IMAGE_TALK => 'Disputatio_Imaginis',
25 NS_MEDIAWIKI => 'MediaWiki',
26 NS_MEDIAWIKI_TALK => 'Disputatio_MediaWiki',
27 NS_TEMPLATE => 'Template',
28 NS_TEMPLATE_TALK => 'Template_talk'
29
30
31 ) + $wgNamespaceNamesEn;
32
33 /* private */ $wgQuickbarSettingsLa = array(
34 "Nullus", "Constituere a sinistra", "Constituere a dextra", "Innens a sinistra"
35 );
36
37 /* private */ $wgSkinNamesLa = array(
38 'standard' => 'Norma',
39 'nostalgia' => 'Nostalgia',
40 'cologneblue' => 'Caerulus Colonia',
41 'smarty' => 'Paddington',
42 'montparnasse' => 'Montparnasse',
43 'davinci' => 'DaVinci',
44 'mono' => 'Mono',
45 'monobook' => 'MonoBook',
46 'myskin' => 'MySkin'
47 );
48
49
50 /* private */ $wgBookstoreListLa = array(
51 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
52 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
53 'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
54 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1'
55 );
56
57
58 # All special pages have to be listed here: a description of ""
59 # will make them not show up on the "Special Pages" page, which
60 # is the right thing for some of them (such as the "targeted" ones).
61 #
62 /* private */ $wgValidSpecialPagesLa = array(
63 'Userlogin' => '',
64 'Userlogout' => '',
65 'Preferences' => 'Praeferentiae usoris',
66 'Watchlist' => 'Paginae custoditae',
67 'Recentchanges' => 'Mutationes recentes',
68 'Upload' => 'Onerare fascicula',
69 'Imagelist' => 'Index imaginum',
70 'Listusers' => 'Usores perscripti',
71 'Statistics' => 'Statisticas',
72 'Randompage' => 'Pagina fortuita',
73
74 'Lonelypages' => 'Paginae orbatae',
75 'Unusedimages' => 'Imagines orbatae',
76 'Popularpages' => 'Res populares',
77 'Wantedpages' => 'Res desideratissimae',
78 'Shortpages' => 'Res breves',
79 'Longpages' => 'Res longae',
80 'Newpages' => 'Res novae',
81 # "Intl" => "Interlanguage Links",
82 "Allpages" => "Totae paginae (ex indice)",
83
84 "Ipblocklist" => "Loci IP obstructi",
85 "Maintenance" => "Pagina alimentori",
86 "Specialpages" => "", # "Paginae specialiae",
87 "Contributions" => "", # "Conlationes",
88 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)",
89 "Whatlinkshere" => "", # "Nexi ad hanc paginam",
90 "Recentchangeslinked" => "", # "Mutationes conlata (?)",
91 "Movepage" => "", # "Motare hanc paginam",
92 "Booksources" => "Fontes externi (libri)",
93 # "Categories" => "Page categories",
94 "Export" => "Exportare in XML",
95 "Version" => "Version",
96 );
97
98 /* private */ $wgSysopSpecialPagesLa = array(
99 'Blockip' => 'Obstruere locum IP',
100 'Asksql' => 'Quaerere basem dati',
101 'Undelete' => 'Videre et restituere paginas deletas'
102 );
103
104 /* private */ $wgDeveloperSpecialPagesLa = array(
105 'Lockdb' => 'Suspendere mutationes',
106 'Unlockdb' => 'Permittere mutationes',
107 'Debug' => 'Nuntii de refectis'
108 );
109
110 $wgAllMessagesLa = array(
111 'special_version_prefix' => '',
112 'special_version_postfix' => '',
113
114 # User Toggles
115
116 "tog-underline" => "Subscribere nexi",
117 "tog-highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).",
118 "tog-justify" => "Saepire capites",
119 "tog-hideminor" => "Celare mutationes recentes minores",
120 "tog-usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)",
121 "tog-numberheadings" => "Numerare indices necessario",
122 "tog-rememberpassword" => "Recordari tesserae inter conventa (uti cookies)",
123 "tog-editwidth" => "Capsa recensitorum totam latitudinem habet",
124 "tog-editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)",
125 "tog-watchdefault" => "Custodire res novas et mutatas",
126 "tog-minordefault" => "Notare totas mutations ut minor",
127 "tog-previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam",
128
129 # Dates
130
131 'sunday' => 'dies Solis',
132 'monday' => 'dies Lunae',
133 'tuesday' => 'dies Martis',
134 'wednesday' => 'dies Mercuri',
135 'thursday' => 'dies Iovis',
136 'friday' => 'dies Veneris',
137 'saturday' => 'dies Saturni',
138 'january' => 'Ianuarii',
139 'february' => 'Februarii',
140 'march' => 'Martii',
141 'april' => 'Aprilis',
142 'may_long' => 'Maii',
143 'june' => 'Iunii',
144 'july' => 'Iulii',
145 'august' => 'Augusti',
146 'september' => 'Septembri',
147 'october' => 'Octobri',
148 'november' => 'Novembri',
149 'december' => 'Decembri',
150 'jan' => 'ian',
151 'feb' => 'feb',
152 'mar' => 'mar',
153 'apr' => 'apr',
154 'may' => 'mai',
155 'jun' => 'iun',
156 'jul' => 'iul',
157 'aug' => 'aug',
158 'sep' => 'sep',
159 'oct' => 'oct',
160 'nov' => 'nov',
161 'dec' => 'dec',
162
163 # Math
164 'mw_math_png' => "Semper vertere PNG",
165 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG",
166 'mw_math_html' => "HTML si fieri potest, alioqui PNG",
167 'mw_math_source' => "Stet ut TeX (pro navigatri texti)",
168 'mw_math_modern' => "Commendatum pro navigatri recentes",
169 'mw_math_mathml' => 'MathML',
170 );
171
172 require_once( "LanguageUtf8.php" );
173
174 class LanguageLa extends LanguageUtf8 {
175
176 function getNamespaces() {
177 global $wgNamespaceNamesLa;
178 return $wgNamespaceNamesLa;
179 }
180
181 function getNsText( $index ) {
182 global $wgNamespaceNamesLa;
183 return $wgNamespaceNamesLa[$index];
184 }
185
186 function getNsIndex( $text ) {
187 global $wgNamespaceNamesLa;
188
189 foreach ( $wgNamespaceNamesLa as $i => $n ) {
190 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
191 }
192 return false;
193 }
194
195 function getQuickbarSettings() {
196 global $wgQuickbarSettingsLa;
197 return $wgQuickbarSettingsLa;
198 }
199
200 function getSkinNames() {
201 global $wgSkinNamesLa;
202 return $wgSkinNamesLa;
203 }
204
205 function date( $ts, $adj = false )
206 {
207 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
208
209 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
210 " " . (0 + substr( $ts, 6, 2 )) . ", " .
211 substr( $ts, 0, 4 );
212 return $d;
213 }
214
215 function timeanddate( $ts, $adj = false )
216 {
217 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
218 }
219
220 function getValidSpecialPages()
221 {
222 global $wgValidSpecialPagesLa;
223 return $wgValidSpecialPagesLa;
224 }
225
226 function getSysopSpecialPages()
227 {
228 global $wgSysopSpecialPagesLa;
229 return $wgSysopSpecialPagesLa;
230 }
231
232 function getDeveloperSpecialPages()
233 {
234 global $wgDeveloperSpecialPagesLa;
235 return $wgDeveloperSpecialPagesLa;
236 }
237
238 function getMessage( $key )
239 {
240 global $wgAllMessagesLa, $wgAllMessagesEn;
241 $m = $wgAllMessagesLa[$key];
242
243 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
244 else return $m;
245 }
246
247 }
248
249
250 ?>