Display something nicer looking when the wiki hasn't been configured.
[mediawiki.git] / languages / LanguageLa.php
blobfc978dcdb82ffb25d2159dbcad25cf2928e69234
1 <?php
3 # NOTE: To turn off "Current Events" in the sidebar,
4 # set "currentevents" => "-"
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.
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'
27 ) + $wgNamespaceNamesEn;
29 /* private */ $wgQuickbarSettingsLa = array(
30 "Nullus", "Constituere a sinistra", "Constituere a dextra", "Innens a sinistra"
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'
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'
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).
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',
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)",
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",
94 /* private */ $wgSysopSpecialPagesLa = array(
95 'Blockip' => 'Obstruere locum IP',
96 'Asksql' => 'Quaerere basem dati',
97 'Undelete' => 'Videre et restituere paginas deletas'
100 /* private */ $wgDeveloperSpecialPagesLa = array(
101 'Lockdb' => 'Suspendere mutationes',
102 'Unlockdb' => 'Permittere mutationes',
103 'Debug' => 'Nuntii de refectis'
106 $wgAllMessagesLa = array(
107 'special_version_prefix' => '',
108 'special_version_postfix' => '',
110 # User Toggles
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",
125 # Dates
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',
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',
168 require_once( "LanguageUtf8.php" );
170 class LanguageLa extends LanguageUtf8 {
172 function getNamespaces() {
173 global $wgNamespaceNamesLa;
174 return $wgNamespaceNamesLa;
177 function getNsText( $index ) {
178 global $wgNamespaceNamesLa;
179 return $wgNamespaceNamesLa[$index];
182 function getNsIndex( $text ) {
183 global $wgNamespaceNamesLa;
185 foreach ( $wgNamespaceNamesLa as $i => $n ) {
186 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
188 return false;
191 function getQuickbarSettings() {
192 global $wgQuickbarSettingsLa;
193 return $wgQuickbarSettingsLa;
196 function getSkinNames() {
197 global $wgSkinNamesLa;
198 return $wgSkinNamesLa;
201 function date( $ts, $adj = false )
203 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
205 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
206 " " . (0 + substr( $ts, 6, 2 )) . ", " .
207 substr( $ts, 0, 4 );
208 return $d;
211 function timeanddate( $ts, $adj = false )
213 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
216 function getValidSpecialPages()
218 global $wgValidSpecialPagesLa;
219 return $wgValidSpecialPagesLa;
222 function getSysopSpecialPages()
224 global $wgSysopSpecialPagesLa;
225 return $wgSysopSpecialPagesLa;
228 function getDeveloperSpecialPages()
230 global $wgDeveloperSpecialPagesLa;
231 return $wgDeveloperSpecialPagesLa;
234 function getMessage( $key )
236 global $wgAllMessagesLa, $wgAllMessagesEn;
237 $m = $wgAllMessagesLa[$key];
239 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
240 else return $m;