]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker Added it-CH locale. Fixes #9175 - Datepicker: Add Italian in Switzerland...
authorScott González <scott.gonzalez@gmail.com>
Thu, 21 Mar 2013 21:11:59 +0000 (17:11 -0400)
committerScott González <scott.gonzalez@gmail.com>
Thu, 21 Mar 2013 21:11:59 +0000 (17:11 -0400)
ui/i18n/jquery.ui.datepicker-it-CH.js [new file with mode: 0644]

diff --git a/ui/i18n/jquery.ui.datepicker-it-CH.js b/ui/i18n/jquery.ui.datepicker-it-CH.js
new file mode 100644 (file)
index 0000000..f19a56d
--- /dev/null
@@ -0,0 +1,23 @@
+/* Italian initialisation for the jQuery UI date picker plugin. */
+/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
+jQuery(function($){
+       $.datepicker.regional['it-CH'] = {
+               closeText: 'Chiudi',
+               prevText: '&#x3C;Prec',
+               nextText: 'Succ&#x3E;',
+               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']);
+});