2008-06-04 02:34:33 +00:00
|
|
|
/* Italian initialisation for the jQuery UI date picker plugin. */
|
2009-06-13 12:52:48 +00:00
|
|
|
/* Written by Antonello Pasella (antonello.pasella@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['it'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: 'Chiudi',
|
2011-02-19 14:54:15 +00:00
|
|
|
prevText: '<Prec',
|
|
|
|
nextText: 'Succ>',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'Oggi',
|
2008-06-04 02:34:33 +00:00
|
|
|
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
|
2009-06-13 12:52:48 +00:00
|
|
|
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
|
2008-06-04 02:34:33 +00:00
|
|
|
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
|
2009-06-13 12:52:48 +00:00
|
|
|
'Lug','Ago','Set','Ott','Nov','Dic'],
|
2012-08-24 01:25:00 +00:00
|
|
|
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
|
2008-06-04 02:34:33 +00:00
|
|
|
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
|
2009-06-13 12:52:48 +00:00
|
|
|
dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: 'Sm',
|
2009-04-01 10:34:16 +00:00
|
|
|
dateFormat: 'dd/mm/yy',
|
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
datepicker.setDefaults(datepicker.regional['it']);
|
|
|
|
|
|
|
|
return datepicker.regional['it'];
|
|
|
|
|
|
|
|
}));
|