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