Added italian localization to jqueryui datepicker

This commit is contained in:
g4b0 2016-05-10 15:04:28 +02:00
parent 71a4f1e605
commit b506e09ab2
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
/*
* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin.
* Adapted to match the Zend Data localization for SilverStripe CMS
* See: README
*/
jQuery(function($){
$.datepicker.regional['it'] = {
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']);
});