datepicker-tr.js 1.12 KB
Newer Older
1 2
/* Turkish initialisation for the jQuery UI date picker plugin. */
/* Written by Izzet Emre Erkan (kara@karalamalar.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
datepicker.regional.tr = {
	closeText: "kapat",
	prevText: "<geri",
	nextText: "ileri&#x3e",
	currentText: "bugün",
	monthNames: [ "Ocak","Şubat","Mart","Nisan","Mayıs","Haziran",
	"Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık" ],
	monthNamesShort: [ "Oca","Şub","Mar","Nis","May","Haz",
	"Tem","Ağu","Eyl","Eki","Kas","Ara" ],
	dayNames: [ "Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi" ],
	dayNamesShort: [ "Pz","Pt","Sa","Ça","Pe","Cu","Ct" ],
	dayNamesMin: [ "Pz","Pt","Sa","Ça","Pe","Cu","Ct" ],
	weekHeader: "Hf",
	dateFormat: "dd.mm.yy",
29 30 31
	firstDay: 1,
	isRTL: false,
	showMonthAfterYear: false,
32 33
	yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.tr );
34

35
return datepicker.regional.tr;
36

37
} ) );