2011-05-04 20:29:13 +00:00
|
|
|
/* Swiss-French initialisation for the jQuery UI date picker plugin. */
|
2010-01-07 03:19:50 +00:00
|
|
|
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-07-15 01:58:04 +00:00
|
|
|
define([ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
2014-02-19 11:55:50 +00:00
|
|
|
datepicker.regional['fr-CH'] = {
|
|
|
|
closeText: 'Fermer',
|
|
|
|
prevText: '<Préc',
|
|
|
|
nextText: 'Suiv>',
|
|
|
|
currentText: 'Courant',
|
|
|
|
monthNames: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
|
|
|
|
'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
|
|
|
|
monthNamesShort: ['janv.', 'févr.', 'mars', 'avril', 'mai', 'juin',
|
|
|
|
'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
|
|
|
|
dayNames: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
|
|
|
|
dayNamesShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
|
|
|
|
dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
|
|
|
|
weekHeader: 'Sm',
|
|
|
|
dateFormat: 'dd.mm.yy',
|
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
|
|
|
datepicker.setDefaults(datepicker.regional['fr-CH']);
|
|
|
|
|
|
|
|
return datepicker.regional['fr-CH'];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
|
|
}));
|