datepicker-is.js 1.2 KB
Newer Older
1 2
/* Icelandic initialisation for the jQuery UI date picker plugin. */
/* Written by Haukur H. Thorsson (haukur@eskill.is). */
3
( function( factory ) {
4 5 6
	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
7
		define( [ "../widgets/datepicker" ], factory );
8 9 10 11 12
	} else {

		// Browser globals
		factory( jQuery.datepicker );
	}
13
}( function( datepicker ) {
14

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
datepicker.regional.is = {
	closeText: "Loka",
	prevText: "< Fyrri",
	nextText: "Næsti >",
	currentText: "Í dag",
	monthNames: [ "Janúar","Febrúar","Mars","Apríl","Maí","Júní",
	"Júlí","Ágúst","September","Október","Nóvember","Desember" ],
	monthNamesShort: [ "Jan","Feb","Mar","Apr","Maí","Jún",
	"Júl","Ágú","Sep","Okt","Nóv","Des" ],
	dayNames: [
		"Sunnudagur",
		"Mánudagur",
		"Þriðjudagur",
		"Miðvikudagur",
		"Fimmtudagur",
		"Föstudagur",
		"Laugardagur"
	],
	dayNamesShort: [ "Sun","Mán","Þri","Mið","Fim","Fös","Lau" ],
	dayNamesMin: [ "Su","","Þr","Mi","Fi","","La" ],
	weekHeader: "Vika",
	dateFormat: "dd.mm.yy",
37 38 39
	firstDay: 0,
	isRTL: false,
	showMonthAfterYear: false,
40 41
	yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.is );
42

43
return datepicker.regional.is;
44

45
} ) );