datepicker-sr-SR.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Serbian i18n for the jQuery UI date picker plugin. */
  2. /* Written by Dejan Dimić. */
  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['sr-SR'] = {
  13. closeText: 'Zatvori',
  14. prevText: '<',
  15. nextText: '>',
  16. currentText: 'Danas',
  17. monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
  18. 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
  19. monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
  20. 'Jul','Avg','Sep','Okt','Nov','Dec'],
  21. dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
  22. dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
  23. dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
  24. weekHeader: 'Sed',
  25. dateFormat: 'dd.mm.yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['sr-SR']);
  31. return datepicker.regional['sr-SR'];
  32. }));