mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
23 lines
893 B
JavaScript
23 lines
893 B
JavaScript
|
/* Swiss-French initialisation for the jQuery UI date picker plugin. */
|
|||
|
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
|
|||
|
jQuery(function($){
|
|||
|
$.datepicker.regional['fr-CH'] = {
|
|||
|
closeText: 'Fermer',
|
|||
|
prevText: '<Pr<50>c',
|
|||
|
nextText: 'Suiv>',
|
|||
|
currentText: 'Courant',
|
|||
|
monthNames: ['Janvier','F<>vrier','Mars','Avril','Mai','Juin',
|
|||
|
'Juillet','Ao<41>t','Septembre','Octobre','Novembre','D<>cembre'],
|
|||
|
monthNamesShort: ['Jan','F<>v','Mar','Avr','Mai','Jun',
|
|||
|
'Jul','Ao<41>','Sep','Oct','Nov','D<>c'],
|
|||
|
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
|
|||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
|
|||
|
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
|
|||
|
weekHeader: 'Sm',
|
|||
|
dateFormat: 'dd.mm.yy',
|
|||
|
firstDay: 1,
|
|||
|
isRTL: false,
|
|||
|
showMonthAfterYear: false,
|
|||
|
yearSuffix: ''};
|
|||
|
$.datepicker.setDefaults($.datepicker.regional['fr-CH']);
|
|||
|
});
|