2009-07-05 05:15:33 +00:00
|
|
|
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
|
2008-06-04 02:34:33 +00:00
|
|
|
/* Traducido por Vester (xvester@gmail.com). */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
datepicker.regional['es'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: 'Cerrar',
|
2011-02-19 14:54:15 +00:00
|
|
|
prevText: '<Ant',
|
|
|
|
nextText: 'Sig>',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'Hoy',
|
2013-05-16 16:14:05 +00:00
|
|
|
monthNames: ['enero','febrero','marzo','abril','mayo','junio',
|
|
|
|
'julio','agosto','septiembre','octubre','noviembre','diciembre'],
|
|
|
|
monthNamesShort: ['ene','feb','mar','abr','may','jun',
|
2014-01-10 15:51:10 +00:00
|
|
|
'jul','ago','sep','oct','nov','dic'],
|
2013-05-16 16:14:05 +00:00
|
|
|
dayNames: ['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],
|
2014-01-10 15:51:10 +00:00
|
|
|
dayNamesShort: ['dom','lun','mar','mié','jue','vie','sáb'],
|
2013-05-16 16:14:05 +00:00
|
|
|
dayNamesMin: ['D','L','M','X','J','V','S'],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: 'Sm',
|
2009-04-01 10:34:16 +00:00
|
|
|
dateFormat: 'dd/mm/yy',
|
2009-07-05 05:15:33 +00:00
|
|
|
firstDay: 1,
|
2009-04-01 10:34:16 +00:00
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
datepicker.setDefaults(datepicker.regional['es']);
|
|
|
|
|
|
|
|
return datepicker.regional['es'];
|
|
|
|
|
|
|
|
}));
|