datepicker-lv.js 1.2 KB
Newer Older
1 2
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
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.lv = {
	closeText: "Aizvērt",
	prevText: "Iepr.",
	nextText: "Nāk.",
	currentText: "Šodien",
	monthNames: [ "Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs",
	"Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris" ],
	monthNamesShort: [ "Jan","Feb","Mar","Apr","Mai","Jūn",
	"Jūl","Aug","Sep","Okt","Nov","Dec" ],
	dayNames: [
		"svētdiena",
		"pirmdiena",
		"otrdiena",
		"trešdiena",
		"ceturtdiena",
		"piektdiena",
		"sestdiena"
	],
	dayNamesShort: [ "svt","prm","otr","tre","ctr","pkt","sst" ],
	dayNamesMin: [ "Sv","Pr","Ot","Tr","Ct","Pk","Ss" ],
	weekHeader: "Ned.",
	dateFormat: "dd.mm.yy",
37 38 39
	firstDay: 1,
	isRTL: false,
	showMonthAfterYear: false,
40 41
	yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.lv );
42

43
return datepicker.regional.lv;
44

45
} ) );