You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
5 years ago
|
/* Canadian-French initialisation for the jQuery UI date picker plugin. */
|
||
|
( function( factory ) {
|
||
|
if ( typeof define === "function" && define.amd ) {
|
||
|
|
||
|
// AMD. Register as an anonymous module.
|
||
|
define( [ "../widgets/datepicker" ], factory );
|
||
|
} else {
|
||
|
|
||
|
// Browser globals
|
||
|
factory( jQuery.datepicker );
|
||
|
}
|
||
|
}( function( datepicker ) {
|
||
|
|
||
|
datepicker.regional[ "fr-CA" ] = {
|
||
|
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: "yy-mm-dd",
|
||
|
firstDay: 0,
|
||
|
isRTL: false,
|
||
|
showMonthAfterYear: false,
|
||
|
yearSuffix: ""
|
||
|
};
|
||
|
datepicker.setDefaults( datepicker.regional[ "fr-CA" ] );
|
||
|
|
||
|
return datepicker.regional[ "fr-CA" ];
|
||
|
|
||
|
} ) );
|