forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.calendars-tr.js
24 lines (24 loc) · 983 Bytes
/
jquery.calendars-tr.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* http://keith-wood.name/calendars.html
Turkish localisation for Gregorian/Julian calendars for jQuery.
Written by Izzet Emre Erkan ([email protected]). */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['tr'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
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'],
digits: null,
dateFormat: 'dd.mm.yyyy',
firstDay: 1,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions['tr'] =
$.calendars.calendars.gregorian.prototype.regionalOptions['tr'];
}
})(jQuery);