datepicker-hr.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Croatian i18n for the jQuery UI date picker plugin. */
  2. /* Written by Vjekoslav Nesek. */
  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['hr'] = {
  13. closeText: 'Zatvori',
  14. prevText: '<',
  15. nextText: '>',
  16. currentText: 'Danas',
  17. monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
  18. 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
  19. monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
  20. 'Srp','Kol','Ruj','Lis','Stu','Pro'],
  21. dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
  22. dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
  23. dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
  24. weekHeader: 'Tje',
  25. dateFormat: 'dd.mm.yy.',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['hr']);
  31. return datepicker.regional['hr'];
  32. }));