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
/* Italian initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Antonello Pasella (antonello.pasella@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[ "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" ],
|
|
weekHeader: "Sm",
|
|
dateFormat: "dd.mm.yy",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional[ "it-CH" ] );
|
|
|
|
return datepicker.regional[ "it-CH" ];
|
|
|
|
} );
|