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.
|
2015-07-15 01:58:04 +00:00
|
|
|
define([ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
2014-02-19 11:55:50 +00:00
|
|
|
datepicker.regional['es'] = {
|
|
|
|
closeText: 'Cerrar',
|
|
|
|
prevText: '<Ant',
|
|
|
|
nextText: 'Sig>',
|
|
|
|
currentText: 'Hoy',
|
|
|
|
monthNames: ['enero','febrero','marzo','abril','mayo','junio',
|
|
|
|
'julio','agosto','septiembre','octubre','noviembre','diciembre'],
|
|
|
|
monthNamesShort: ['ene','feb','mar','abr','may','jun',
|
|
|
|
'jul','ago','sep','oct','nov','dic'],
|
|
|
|
dayNames: ['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],
|
|
|
|
dayNamesShort: ['dom','lun','mar','mié','jue','vie','sáb'],
|
|
|
|
dayNamesMin: ['D','L','M','X','J','V','S'],
|
|
|
|
weekHeader: 'Sm',
|
|
|
|
dateFormat: 'dd/mm/yy',
|
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
|
|
|
datepicker.setDefaults(datepicker.regional['es']);
|
|
|
|
|
|
|
|
return datepicker.regional['es'];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
|
|
}));
|