Skip to content

Commit ae4753b

Browse files
committed
Datepicker Added it-CH locale. Fixes #9175 - Datepicker: Add Italian in Switzerland locale.
1 parent ff11b69 commit ae4753b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* Italian initialisation for the jQuery UI date picker plugin. */
2+
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
3+
jQuery(function($){
4+
$.datepicker.regional['it-CH'] = {
5+
closeText: 'Chiudi',
6+
prevText: '<Prec',
7+
nextText: 'Succ>',
8+
currentText: 'Oggi',
9+
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
10+
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
11+
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
12+
'Lug','Ago','Set','Ott','Nov','Dic'],
13+
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
14+
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
15+
dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
16+
weekHeader: 'Sm',
17+
dateFormat: 'dd.mm.yy',
18+
firstDay: 1,
19+
isRTL: false,
20+
showMonthAfterYear: false,
21+
yearSuffix: ''};
22+
$.datepicker.setDefaults($.datepicker.regional['it-CH']);
23+
});

0 commit comments

Comments
 (0)