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). */
|
2015-08-24 13:00:11 +00:00
|
|
|
( function( factory ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
2015-08-24 13:00:11 +00:00
|
|
|
}( function( datepicker ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +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",
|
2014-02-19 11:55:50 +00:00
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
2015-08-24 13:00:11 +00:00
|
|
|
yearSuffix: "" };
|
|
|
|
datepicker.setDefaults( datepicker.regional[ "fr-CH" ] );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
return datepicker.regional[ "fr-CH" ];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
} ) );
|