1
0

datepicker-tr.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Turkish initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Izzet Emre Erkan (kara@karalamalar.net). */
  3. (function( factory ) {
  4. if ( typeof define === "function" && define.amd ) {
  5. // AMD. Register as an anonymous module.
  6. define([ "../datepicker" ], factory );
  7. } else {
  8. // Browser globals
  9. factory( jQuery.datepicker );
  10. }
  11. }(function( datepicker ) {
  12. datepicker.regional['tr'] = {
  13. closeText: 'kapat',
  14. prevText: '<geri',
  15. nextText: 'ileri&#x3e',
  16. currentText: 'bugün',
  17. monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
  18. 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
  19. monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
  20. 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
  21. dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
  22. dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
  23. dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
  24. weekHeader: 'Hf',
  25. dateFormat: 'dd.mm.yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['tr']);
  31. return datepicker.regional['tr'];
  32. }));