jquery-ui/ui/i18n/datepicker-it-CH.js

41 lines
1.2 KiB
JavaScript
Raw Normal View History

/* Italian initialisation for the jQuery UI date picker plugin. */
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
2015-08-24 13:00:11 +00:00
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
2015-08-24 13:00:11 +00:00
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
} )( function( datepicker ) {
"use strict";
2015-08-24 13:00:11 +00:00
datepicker.regional[ "it-CH" ] = {
closeText: "Chiudi",
prevText: "<Prec",
nextText: "Succ>",
currentText: "Oggi",
monthNames: [ "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno",
"Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre" ],
monthNamesShort: [ "Gen", "Feb", "Mar", "Apr", "Mag", "Giu",
"Lug", "Ago", "Set", "Ott", "Nov", "Dic" ],
dayNames: [ "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato" ],
dayNamesShort: [ "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab" ],
dayNamesMin: [ "Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa" ],
2015-08-24 13:00:11 +00:00
weekHeader: "Sm",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
2015-08-24 13:00:11 +00:00
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional[ "it-CH" ] );
2015-08-24 13:00:11 +00:00
return datepicker.regional[ "it-CH" ];
} );