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