/* This program is free software: you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public License
   as published by the Free Software Foundation, either version 3 of
   the License, or (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>. 
*/

otp.namespace("otp.locale");

/**
  * @class
  */
//á:\xE1, é:\xE9, í:\xED ó:\xF3, ú:\xFA, Á:\xC1, É:\xC9, Í:\xCD, Ó:\xD3, Ú:\xDA, ñ:\xF1, Ñ:\xD1
otp.locale.Spanish = {

    contextMenu : 
    {
        fromHere         : "Salir desde aqu\xED",
        toHere           : "Llegar hasta aqu\xED",

        centerHere       : "Centrar mapa aqu\xED",
        zoomInHere       : "Acercar",
        zoomOutHere      : "Alejar",
        previous         : "\xDAltimo encuadre",
        next             : "Siguiente encuadre"
    },

    service : 
    {
        weekdays:  "d\xEDas de la semana",
        saturday:  "S\xE1bado",
        sunday:    "Domingo",
        schedule:  "Horario"
    },

    indicators : 
    {
        ok         : "OK",
        date       : "Fecha",
        loading    : "Cargando",
        searching  : "Buscando...",
        qEmptyText : "Direcci\xF3n, intersecci\xF3n,  punto de inter\xE9s o Identificador de Parada..."
    },

    buttons: 
    {
        reverse       : "Cambiar",
        reverseTip    : "<b>Cambiar origen-destino</b><br/>Planifica el viaje de vuelta intercambiando origen y destino, y ajustando la hora de salida.",
        reverseMiniTip: "Cambiar origen-destino",

        edit          : "Editar",
        editTip       : "<b>Editar el viaje</b><br/>Vuelve a la pantalla principal para cambiar aspectos del viaje.",

        clear         : "Borrar",
        clearTip      : "<b>Clear</b><br/>Borra el mapa y todas las herramientas activas.",

        fullScreen    : "Pantalla completa",
        fullScreenTip : "<b>Pantalla completa</b><br/>Mostrar - ocultar paneles",

        print         : "Imprimir",
        printTip      : "<b>Imprimir</b><br/>Imprimir este plan de viaje junto con las paradas.",

        link          : "Link",
        linkTip      : "<b>Link</b><br/>Muestra distintas url para este viaje.",

        feedback      : "Feedback",
        feedbackTip   : "<b>Feedback</b><br/>Send your thoughts or experiences with the map",

        submit       : "Enviar",
        clearButton  : "Borrar",
        ok           : "OK",
        cancel       : "Cancelar",
        yes          : "S\xED",
        no           : "No"
    },

    // note: keep these lower case (and uppercase via template / code if needed)
    directions : 
    {
        southeast:      "sureste",
        southwest:      "sudoeste",
        northeast:      "nordeste",
        northwest:      "noroeste",
        north:          "norte",
        west:           "oeste",
        south:          "sur",
        east:           "este",
        bound:          "l\xEDmite",
        left:           "gira a la izquierda",
        right:          "gira a la derecha",
        slightly_left:  "gira ligeramente a la izquierda",
        slightly_right: "gira ligeramente a la derecha",
        hard_left:      "gira completamente a la izquierda",
        hard_right:     "gira completamente a la derecha",
        'continue':     "sigue recto por", 
        to_continue:    "para continuar en", 
        becomes:        "se hace", 
        at:             "en" 
    },
    
    modes : 
    {
    	WALK:			"A PIE",
    	BICYCLE:		"BICICLETA",
    	CAR:      		"COCHE",
    	TRAM:    		"TRANV\xCDA",
    	SUBWAY:      	"METRO",
    	RAIL:   	    "TREN",
    	BUS:            "AUTOB\xDAS",
    	FERRY:          "BOTE",
    	CABLE_CAR:      "PUENTE COLGANTE",
    	GONDOLA:        "GONDOLA",
    	FUNICULAR:      "FUNICULAR",
    	TRANSIT:        "TRANSIT",
    	TRAINISH:       "TRAINISH",
    	BUSISH:  		"BUSISH",
    	BOARDING:		"BOARDING",
    	ALIGHTING:      "ALIGHTING",
    	TRANSFER:  	    "TRANSFER"
    },

    time:
    {
        minute_abbrev:  "min",
        minutes_abbrev: "mins",
        second_abbrev: "sec",
        seconds_abbrev: "secs",
        months:         ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic']
    },
    
    systemmap :
    {
        labels :
        {
            panelTitle : "System Map"
        }
    },

    tripPlanner :
    {
        labels : 
        {
            panelTitle    : "Planificador multimodal",
            tabTitle      : "Planificar un viaje",
            inputTitle    : "Detalles del viaje",
            optTitle      : "Preferencias (opcional)",
            submitMsg     : "Planificando su viaje...",
            optionalTitle : "",
            date          : "Fecha",
            time          : "Hora",
            when          : "Tiempo",
            from          : "Desde",
            fromHere      : "Desde aqu\xED",
            to            : "Hasta",
            toHere        : "Hasta aqu\xED",
            minimize      : "Mostrar el",
            maxWalkDistance: "M\xE1xima distancia hasta la parada",
            arriveDepart  : "Llegada/Salida a",
            mode          : "Modo de viaje",
            wheelchair    : "Viaje con accesibilidad",
            go            : "Empezar",
            planTrip      : "Planificar el viaje",
            newTrip       : "Nuevo viaje"
        },

        error:
        {
            title        : 'Error del planificador',
            deadMsg      : "El planificador no responde. Por favor, int\xE9ntelo m\xE1s tarde",
            geoFromMsg   : "Por favor, elija la direcci\xF3n de salida del viaje: ",
            geoToMsg     : "Por favor, elija la direcci\xF3n de llegada del viaje: "
        },
        
        // default messages from server if a message was not returned
        msgcodes:
        {
            200: "Plan OK",
            500: "Server error",
            400: "Trip out of bounds",
            404: "Path not found",
            406: "No transit times",
            408: "Request timed out",
            413: "Invalid parameter",
            440: "From geocode not found",
            450: "To geocode not found",
            460: "Geocode from and to not found",
            409: "Too close",
            340: "Geocode from ambiguous",
            350: "Geocode to ambiguous",
            360: "Geocode from and to ambiguous"
        },

        options: 
        [
          ['TRANSFERS', 'M\xEDnimo n\xFAmero de transbordos'],
          ['QUICK',     'Viaje m\xE1s corto']//,
          //['SAFE',      'Viaje m\xE1s seguro']
        ],
    
        arriveDepart: 
        [
          ['false', 'Salida'], 
          ['true',  'Llegada']
        ],
    
        maxWalkDistance : 
        [
            ['500',   '500 metros'],
            ['1000',   '1 km'],
            ['5000',   '5 km'],
            ['10000',  '10 km'],
            ['20000',  '20 km']
        ],
    
        mode : 
        [
            ['TRANSIT,WALK', 'Transporte p\xFAblico'],
            ['BUSISH,TRAINISH,WALK', 'Bus y tren'],
            ['BUSISH,WALK', 'S\xF3lo bus'],
            ['TRAINISH,WALK', 'S\xF3lo tren'],
            ['WALK', 'S\xF3lo a pie'],
            ['BICYCLE', 'Bicicleta'],
            ['TRANSIT,BICYCLE', 'Transporte p\xFAblico y bicicleta'],
            ['CAR', 'Coche']
        ],

        wheelchair :
        [
            ['false', 'No se requiere un viaje con accesibilidad'],
            ['true', 'S\xED se requiere un viaje con accesibilidad']
        ]
    },

    CLASS_NAME : "otp.locale.Spanish"
};

