* Misc cleanup
[lhc/web/wiklou.git] / languages / LanguageEs.php
index 0518645..c306534 100644 (file)
@@ -1,11 +1,9 @@
 <?php
-#
-# Spanish localisation for MediaWiki
-#
-# This file is encoded in UTF-8, no byte order mark.
-# For compatibility with Latin-1 installations, please
-# don't add literal characters above U+00ff.
-#
+/** Spanish (Español)
+  *
+  * @package MediaWiki
+  * @subpackage Language
+  */
 
 require_once( "LanguageUtf8.php" );
 
@@ -34,38 +32,15 @@ require_once( "LanguageUtf8.php" );
        NS_CATEGORY_TALK  => "Categoría_Discusión",
 ) + $wgNamespaceNamesEn;
 
-/* private */ $wgQuickbarSettingsEs = array(
-
-       "None", "Fixed left", "Fixed right", "Floating left"
-);
 /* private */ $wgQuickbarSettingsEs = array(
        "Ninguna", "Fija a la izquierda", "Fija a la derecha", "Flotante a la izquierda"
 );
 
 /* private */ $wgSkinNamesEs = array(
        'standard' => "Estándar",
-       'nostalgia' => "Nostalgia",
-       'cologneblue' => "Cologne Blue",
-       'smarty' => "Paddington",
-       'montparnasse' => "Montparnasse",
-       'davinci' => "DaVinci",
-       'mono' => "Mono",
-       'monobook' => "MonoBook",
- "myskin" => "MySkin" 
-);
+) +  $wgSkinNamesEn;
 
-/* private */ $wgDateFormatsEs = array(
-#      "Sin preferencia",
-);
-
-/* Please customize this with some Spanish-language bookshops
-   and/or reference sites that can look up by ISBN number */
-/* private */ $wgBookstoreListEs = array(
-       "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
-       "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
-       "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
-       "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
-);
+/* private */ $wgDateFormatsEs = array();
 
 
 # All special pages have to be listed here: a description of ""
@@ -658,7 +633,6 @@ creado y por quién, y cualquier otra cosa que puedas saber al respecto.",
 
 "ilsubmit"             => "Búsqueda",
 "showlast"             => "Mostrar las últimas $1 imágenes ordenadas  $2.",
-"all"                  => "todas",
 "byname"               => "por nombre",
 "bydate"               => "por fecha",
 "bysize"               => "por tamaño",
@@ -1044,12 +1018,10 @@ Por favor, elige otro nombre.",
 # Special:Allpages
 'nextpage'          => 'Next page ($1)',
 'articlenamespace'  => '(artículos)',
-'allpagesformtext1' => 'Mostrar páginas que comiencen por: $1',
-'allpagesformtext2' => 'Elige espacio de nombres: $1 $2',
 'allarticles'       => 'Todos los artículos',
 'allpagesprev'      => 'Anterior',
 'allpagesnext'      => 'Siguiente',
-'allpagesnamespace' => 'Todas las páginas (espacio $1)',
+'allinnamespace' => 'Todas las páginas (espacio $1)',
 'allpagessubmit'    => 'Mostrar',
 
 # Patrolling
@@ -1206,9 +1178,6 @@ class LanguageEs extends LanguageUtf8 {
        }
 
 
-
-       # Inherit userAdjust()
-        
        function shortdate( $ts, $adj = false ) {
                if ( $adj ) { $ts = $this->userAdjust( $ts ); }
 
@@ -1256,7 +1225,7 @@ class LanguageEs extends LanguageUtf8 {
                if( isset( $wgAllMessagesEs[$key] ) ) {
                        return $wgAllMessagesEs[$key];
                } else {
-                       return Language::getMessage( $key );
+                       return parent::getMessage( $key );
                }
        }
 }