mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
3126e12869
Fixes gh-2048 Closes gh-2050 Ref gh-2067
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
|
|
/* Traducido por Vester (xvester@gmail.com). */
|
|
( function( factory ) {
|
|
"use strict";
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
} )( function( datepicker ) {
|
|
"use strict";
|
|
|
|
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;
|
|
|
|
} );
|