2008-06-04 02:34:33 +00:00
|
|
|
|
/* Turkish initialisation for the jQuery UI date picker plugin. */
|
|
|
|
|
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
|
2013-07-17 15:10:30 +00:00
|
|
|
|
(function( factory ) {
|
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-07-15 01:58:04 +00:00
|
|
|
|
define([ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
|
}
|
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
|
2014-02-19 11:55:50 +00:00
|
|
|
|
datepicker.regional['tr'] = {
|
|
|
|
|
closeText: 'kapat',
|
|
|
|
|
prevText: '<geri',
|
|
|
|
|
nextText: 'ileri>',
|
|
|
|
|
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',
|
|
|
|
|
firstDay: 1,
|
|
|
|
|
isRTL: false,
|
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
|
yearSuffix: ''};
|
|
|
|
|
datepicker.setDefaults(datepicker.regional['tr']);
|
|
|
|
|
|
|
|
|
|
return datepicker.regional['tr'];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
|
|
|
|
}));
|