From b506e09ab2b4c27481c3239aeeb624e95938ed6a Mon Sep 17 00:00:00 2001 From: g4b0 Date: Tue, 10 May 2016 15:04:28 +0200 Subject: [PATCH] Added italian localization to jqueryui datepicker --- .../i18n/jquery.ui.datepicker-it.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-it.js diff --git a/thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-it.js b/thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-it.js new file mode 100644 index 000000000..b67365db7 --- /dev/null +++ b/thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-it.js @@ -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']); +}); + +