48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
/* French initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Keith Wood (kbwood{at}iinet.com.au),
|
|
Stéphane Nahmani (sholby@sholby.net),
|
|
Stéphane Raimbault <stephane.raimbault@gmail.com> */
|
|
jQuery(function($){
|
|
$.datepicker.regional['fr'] = {
|
|
closeText: 'Fermer',
|
|
prevText: 'Précédent',
|
|
nextText: 'Suivant',
|
|
currentText: 'Aujourd\'hui',
|
|
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: 'Sem.',
|
|
dateFormat: 'dd/mm/yy',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
$.datepicker.setDefaults($.datepicker.regional['fr']);
|
|
});
|
|
|
|
|
|
/* French translation for the jQuery Timepicker Addon */
|
|
/* Written by Thomas Lété */
|
|
(function($) {
|
|
$.timepicker.regional['fr'] = {
|
|
timeOnlyTitle: 'Choisir une heure',
|
|
timeText: 'Heure',
|
|
hourText: 'Heures',
|
|
minuteText: 'Minutes',
|
|
secondText: 'Secondes',
|
|
millisecText: 'Millisecondes',
|
|
timezoneText: 'Fuseau horaire',
|
|
currentText: 'Maintenant',
|
|
closeText: 'Terminé',
|
|
timeFormat: 'hh:mm',
|
|
amNames: ['AM', 'A'],
|
|
pmNames: ['PM', 'P'],
|
|
ampm: false
|
|
};
|
|
$.timepicker.setDefaults($.timepicker.regional['fr']);
|
|
})(jQuery);
|