diff options
author | Niklas Laxström <nikerabbit@users.mediawiki.org> | 2005-08-18 16:01:17 +0000 |
---|---|---|
committer | Niklas Laxström <nikerabbit@users.mediawiki.org> | 2005-08-18 16:01:17 +0000 |
commit | d1beb34db1b93597aa03bec46b6161c010e664b7 (patch) | |
tree | dbd53121f5e4738f306657e31599b0cdd1d6719e /languages/LanguageLa.php | |
parent | 7b33296df220229f288557bafec151163d5eb148 (diff) | |
download | mediawikicore-d1beb34db1b93597aa03bec46b6161c010e664b7.tar.gz mediawikicore-d1beb34db1b93597aa03bec46b6161c010e664b7.zip |
Language file cleanup backported
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/10609
Diffstat (limited to 'languages/LanguageLa.php')
-rw-r--r-- | languages/LanguageLa.php | 100 |
1 files changed, 11 insertions, 89 deletions
diff --git a/languages/LanguageLa.php b/languages/LanguageLa.php index c858933047cc..3dbf45aa0227 100644 --- a/languages/LanguageLa.php +++ b/languages/LanguageLa.php @@ -32,66 +32,9 @@ /* private */ $wgSkinNamesLa = array( 'standard' => 'Norma', 'nostalgia' => 'Nostalgia', - 'cologneblue' => 'Caerulus Colonia', - 'smarty' => 'Paddington', - 'montparnasse' => 'Montparnasse', - 'davinci' => 'DaVinci', - 'mono' => 'Mono', - 'monobook' => 'MonoBook', - 'myskin' => 'MySkin' -); - -# All special pages have to be listed here: a description of "" -# will make them not show up on the "Special Pages" page, which -# is the right thing for some of them (such as the "targeted" ones). -# -/* private */ $wgValidSpecialPagesLa = array( - 'Userlogin' => '', - 'Userlogout' => '', - 'Preferences' => 'Praeferentiae usoris', - 'Watchlist' => 'Paginae custoditae', - 'Recentchanges' => 'Mutationes recentes', - 'Upload' => 'Onerare fascicula', - 'Imagelist' => 'Index imaginum', - 'Listusers' => 'Usores perscripti', - 'Statistics' => 'Statisticas', - 'Randompage' => 'Pagina fortuita', - - 'Lonelypages' => 'Paginae orbatae', - 'Unusedimages' => 'Imagines orbatae', - 'Popularpages' => 'Res populares', - 'Wantedpages' => 'Res desideratissimae', - 'Shortpages' => 'Res breves', - 'Longpages' => 'Res longae', - 'Newpages' => 'Res novae', -# "Intl" => "Interlanguage Links", - "Allpages" => "Totae paginae (ex indice)", - - "Ipblocklist" => "Loci IP obstructi", - "Maintenance" => "Pagina alimentori", - "Specialpages" => "", # "Paginae specialiae", - "Contributions" => "", # "Conlationes", - "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)", - "Whatlinkshere" => "", # "Nexi ad hanc paginam", - "Recentchangeslinked" => "", # "Mutationes conlata (?)", - "Movepage" => "", # "Motare hanc paginam", - "Booksources" => "Fontes externi (libri)", -# "Categories" => "Page categories", - "Export" => "Exportare in XML", - "Version" => "Version", -); - -/* private */ $wgSysopSpecialPagesLa = array( - 'Blockip' => 'Obstruere locum IP', - 'Asksql' => 'Quaerere basem dati', - 'Undelete' => 'Videre et restituere paginas deletas' -); + 'cologneblue' => 'Caerulus Colonia' +) + $wgSkinNamesEn; -/* private */ $wgDeveloperSpecialPagesLa = array( - 'Lockdb' => 'Suspendere mutationes', - 'Unlockdb' => 'Permittere mutationes', - 'Debug' => 'Nuntii de refectis' -); $wgAllMessagesLa = array( @@ -145,12 +88,12 @@ $wgAllMessagesLa = array( 'dec' => 'dec', # Math - 'mw_math_png' => "Semper vertere PNG", - 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG", - 'mw_math_html' => "HTML si fieri potest, alioqui PNG", - 'mw_math_source' => "Stet ut TeX (pro navigatri texti)", - 'mw_math_modern' => "Commendatum pro navigatri recentes", - 'mw_math_mathml' => 'MathML', +'mw_math_png' => "Semper vertere PNG", +'mw_math_simple' => "HTML si admodum simplex, alioqui PNG", +'mw_math_html' => "HTML si fieri potest, alioqui PNG", +'mw_math_source' => "Stet ut TeX (pro navigatri texti)", +'mw_math_modern' => "Commendatum pro navigatri recentes", +'mw_math_mathml' => 'MathML', ); require_once( "LanguageUtf8.php" ); @@ -168,7 +111,6 @@ class LanguageLa extends LanguageUtf8 { return $wgNamespaceNamesLa; } - function getNsIndex( $text ) { global $wgNamespaceNamesLa; global $wgMetaNamespace; @@ -176,7 +118,7 @@ class LanguageLa extends LanguageUtf8 { foreach ( $wgNamespaceNamesLa as $i => $n ) { if ( 0 == strcasecmp( $n, $text ) ) { return $i; } } - + # Backwards compatibility hacks if( $wgMetaNamespace == 'Vicipaedia' || $wgMetaNamespace == 'Victionarium' ) { if( 0 == strcasecmp( 'Wikipedia', $text ) ) return NS_PROJECT; @@ -195,8 +137,7 @@ class LanguageLa extends LanguageUtf8 { return $wgSkinNamesLa; } - function date( $ts, $adj = false ) - { + function date( $ts, $adj = false ) { if ( $adj ) { $ts = $this->userAdjust( $ts ); } $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . @@ -205,29 +146,10 @@ class LanguageLa extends LanguageUtf8 { return $d; } - function timeanddate( $ts, $adj = false ) - { + function timeanddate( $ts, $adj = false ) { return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj ); } - function getValidSpecialPages() - { - global $wgValidSpecialPagesLa; - return $wgValidSpecialPagesLa; - } - - function getSysopSpecialPages() - { - global $wgSysopSpecialPagesLa; - return $wgSysopSpecialPagesLa; - } - - function getDeveloperSpecialPages() - { - global $wgDeveloperSpecialPagesLa; - return $wgDeveloperSpecialPagesLa; - } - function getMessage( $key ) { global $wgAllMessagesLa; if( isset( $wgAllMessagesLa[$key] ) ) { |