41 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
/* Swiss-French initialisation for the jQuery UI date picker plugin. */
 | 
						|
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
 | 
						|
( 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-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",
 | 
						|
	firstDay: 1,
 | 
						|
	isRTL: false,
 | 
						|
	showMonthAfterYear: false,
 | 
						|
	yearSuffix: "" };
 | 
						|
datepicker.setDefaults( datepicker.regional[ "fr-CH" ] );
 | 
						|
 | 
						|
return datepicker.regional[ "fr-CH" ];
 | 
						|
 | 
						|
} );
 |