made setSquidMaxage an accessor, default mSquidMaxage = 0
[mediawiki.git] / languages / LanguageLa.php
blob482584b3da696b38e7c0f0206759bde6e5a70043
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"
26 /* private */ $wgQuickbarSettingsLa = array(
27 "Nullus", "Constituere a sinistra", "Constituere a dextra", "Innens a sinistra"
30 /* private */ $wgSkinNamesLa = array(
31 "Norma", "Nostalgia", "Caerulus Colonia"
34 /* private */ $wgMathNamesLa = array(
35 "Semper vertere PNG",
36 "HTML si admodum simplex, alioqui PNG",
37 "HTML si fieri potest, alioqui PNG",
38 "Stet ut TeX (pro navigatri texti)",
39 "Commendatum pro navigatri recentes"
42 /* private */ $wgUserTogglesLa = array(
43 "hover" => "Monstrare capsam impensam super wikinexos",
44 "underline" => "Subscribere nexi",
45 "highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).",
46 "justify" => "Saepire capites",
47 "hideminor" => "Celare mutationes recentes minores",
48 "usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)",
49 "numberheadings" => "Numerare indices necessario",
50 "rememberpassword" => "Recordari tesserae inter conventa (uti cookies)",
51 "editwidth" => "Capsa recensitorum totam latitudinem habet",
52 "editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)",
53 "watchdefault" => "Custodire res novas et mutatas",
54 "minordefault" => "Notare totas mutations ut minor",
55 "previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam"
59 /* private */ $wgBookstoreListLa = array(
60 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
61 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
62 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
63 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
66 /* private */ $wgWeekdayNamesLa = array(
67 "dies Solis", "dies Lunae", "dies Martis", "dies Mercuri", "dies Iovis",
68 "dies Veneris", "dies Saturni"
71 /* private */ $wgMonthNamesLa = array(
72 "Ianuarii", "Februarii", "Martii", "Aprilis", "Maii", "Iunii",
73 "Iulii", "Augusti", "Septembri", "Octobri", "Novembri",
74 "Decembri"
77 /* private */ $wgMonthAbbreviationsLa = array(
78 "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug",
79 "sep", "oct", "nov", "dec"
82 # All special pages have to be listed here: a description of ""
83 # will make them not show up on the "Special Pages" page, which
84 # is the right thing for some of them (such as the "targeted" ones).
86 /* private */ $wgValidSpecialPagesLa = array(
87 "Userlogin" => "",
88 "Userlogout" => "",
89 "Preferences" => "Praeferentiae usoris",
90 "Watchlist" => "Paginae custoditae",
91 "Recentchanges" => "Mutationes recentes",
92 "Upload" => "Onerare fascicula",
93 "Imagelist" => "Index imaginum",
94 "Listusers" => "Usores perscripti",
95 "Statistics" => "Statisticas",
96 "Randompage" => "Pagina fortuita",
98 "Lonelypages" => "Paginae orbatae",
99 "Unusedimages" => "Imagines orbatae",
100 "Popularpages" => "Res populares",
101 "Wantedpages" => "Res desideratissimae",
102 "Shortpages" => "Res breves",
103 "Longpages" => "Res longae",
104 "Newpages" => "Res novae",
105 # "Intl" => "Interlanguage Links",
106 "Allpages" => "Totae paginae (ex indice)",
108 "Ipblocklist" => "Loci IP obstructi",
109 "Maintenance" => "Pagina alimentori",
110 "Specialpages" => "", # "Paginae specialiae",
111 "Contributions" => "", # "Conlationes",
112 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)",
113 "Whatlinkshere" => "", # "Nexi ad hanc paginam",
114 "Recentchangeslinked" => "", # "Mutationes conlata (?)",
115 "Movepage" => "", # "Motare hanc paginam",
116 "Booksources" => "Fontes externi (libri)",
117 # "Categories" => "Page categories",
118 "Export" => "Exportare in XML",
119 "Version" => "Version",
122 /* private */ $wgSysopSpecialPagesLa = array(
123 "Blockip" => "Obstruere locum IP",
124 "Asksql" => "Quaerere basem dati",
125 "Undelete" => "Videre et restituere paginas deletas"
128 /* private */ $wgDeveloperSpecialPagesLa = array(
129 "Lockdb" => "Suspendere mutationes",
130 "Unlockdb" => "Permittere mutationes",
131 "Debug" => "Nuntii de refectis"
135 include( "LanguageUtf8.php" );
137 class LanguageLa extends LanguageUtf8 {
139 function getNamespaces() {
140 global $wgNamespaceNamesLa;
141 return $wgNamespaceNamesLa;
144 function getNsText( $index ) {
145 global $wgNamespaceNamesLa;
146 return $wgNamespaceNamesLa[$index];
149 function getNsIndex( $text ) {
150 global $wgNamespaceNamesLa;
152 foreach ( $wgNamespaceNamesLa as $i => $n ) {
153 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
155 return false;
158 function getQuickbarSettings() {
159 global $wgQuickbarSettingsLa;
160 return $wgQuickbarSettingsLa;
163 function getSkinNames() {
164 global $wgSkinNamesLa;
165 return $wgSkinNamesLa;
168 function getMathNames() {
169 global $wgMathNamesLa;
170 return $wgMathNamesLa;
173 function getUserToggles() {
174 global $wgUserTogglesLa;
175 return $wgUserTogglesLa;
178 function getMonthName( $key )
180 global $wgMonthNamesLa;
181 return $wgMonthNamesLa[$key-1];
184 function getMonthAbbreviation( $key )
186 global $wgMonthAbbreviationsLa;
187 return $wgMonthAbbreviationsLa[$key-1];
190 function getWeekdayName( $key )
192 global $wgWeekdayNamesLa;
193 return $wgWeekdayNamesLa[$key-1];
196 function date( $ts, $adj = false )
198 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
200 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
201 " " . (0 + substr( $ts, 6, 2 )) . ", " .
202 substr( $ts, 0, 4 );
203 return $d;
206 function timeanddate( $ts, $adj = false )
208 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
211 function getValidSpecialPages()
213 global $wgValidSpecialPagesLa;
214 return $wgValidSpecialPagesLa;
217 function getSysopSpecialPages()
219 global $wgSysopSpecialPagesLa;
220 return $wgSysopSpecialPagesLa;
223 function getDeveloperSpecialPages()
225 global $wgDeveloperSpecialPagesLa;
226 return $wgDeveloperSpecialPagesLa;
229 function getMessage( $key )
231 global $wgAllMessagesLa, $wgAllMessagesEn;
232 $m = $wgAllMessagesLa[$key];
234 if ( "" == $m ) { return $wgAllMessagesEn[$key]; }
235 else return $m;