mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
21154cfa2e
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
39 lines
1.3 KiB
JavaScript
39 lines
1.3 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> */
|
|
(function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define([ "../datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
}(function( datepicker ) {
|
|
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']);
|
|
|
|
return datepicker.regional['fr'];
|
|
|
|
}));
|