1 | /* Swiss-French initialisation for the jQuery UI date picker plugin. */ |
---|
2 | /* Written Martin Voelkle (martin.voelkle@e-tc.ch). */ |
---|
3 | jQuery(function($){ |
---|
4 | $.datepicker.regional['fr-CH'] = { |
---|
5 | closeText: 'Fermer', |
---|
6 | prevText: '<Préc', |
---|
7 | nextText: 'Suiv>', |
---|
8 | currentText: 'Courant', |
---|
9 | monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', |
---|
10 | 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], |
---|
11 | monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', |
---|
12 | 'Jul','Aoû','Sep','Oct','Nov','Déc'], |
---|
13 | dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], |
---|
14 | dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], |
---|
15 | dayNamesMin: ['Di','Lu','Ma','Me','Je','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['fr-CH']); |
---|
23 | }); |
---|