mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
70dae67b73
Fixes #15393 Closes gh-1958
43 lines
1.3 KiB
JavaScript
43 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 ) {
|
|
"use strict";
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
} )( function( datepicker ) {
|
|
"use strict";
|
|
|
|
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", "avr.", "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;
|
|
|
|
} );
|