2013-02-19 09:17:15 -08:00
/ * *
* Select2 Spanish translation
* /
( function ( $ ) {
"use strict" ;
2014-04-15 09:20:22 +02:00
$ . fn . select2 . locales [ 'es' ] = {
2014-09-11 13:03:19 +02:00
formatMatches : function ( matches ) { if ( matches === 1 ) { return "Un resultado disponible, presione enter para seleccionarlo." ; } return matches + " resultados disponibles, use las teclas de dirección para navegar." ; } ,
2013-02-19 09:17:15 -08:00
formatNoMatches : function ( ) { return "No se encontraron resultados" ; } ,
2014-01-07 17:37:24 +06:00
formatInputTooShort : function ( input , min ) { var n = min - input . length ; return "Por favor, introduzca " + n + " car" + ( n == 1 ? "ácter" : "acteres" ) ; } ,
formatInputTooLong : function ( input , max ) { var n = input . length - max ; return "Por favor, elimine " + n + " car" + ( n == 1 ? "ácter" : "acteres" ) ; } ,
2013-08-04 19:00:32 -04:30
formatSelectionTooBig : function ( limit ) { return "Sólo puede seleccionar " + limit + " elemento" + ( limit == 1 ? "" : "s" ) ; } ,
2014-01-08 15:35:47 +06:00
formatLoadMore : function ( pageNumber ) { return "Cargando más resultados…" ; } ,
2014-09-11 13:10:17 +02:00
formatSearching : function ( ) { return "Buscando…" ; } ,
formatAjaxError : function ( ) { return "La carga falló" ; }
2014-05-16 10:55:03 +02:00
} ;
2014-05-15 12:55:44 +02:00
2014-05-16 11:02:10 +02:00
$ . extend ( $ . fn . select2 . defaults , $ . fn . select2 . locales [ 'es' ] ) ;
2013-08-04 19:00:32 -04:30
} ) ( jQuery ) ;