datepicker-lv.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
  2. /* @author Arturas Paleicikas <arturas.paleicikas@metasite.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['lv'] = {
  13. closeText: 'Aizvērt',
  14. prevText: 'Iepr.',
  15. nextText: 'Nāk.',
  16. currentText: 'Šodien',
  17. monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
  18. 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
  19. monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
  20. 'Jūl','Aug','Sep','Okt','Nov','Dec'],
  21. dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
  22. dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
  23. dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
  24. weekHeader: 'Ned.',
  25. dateFormat: 'dd.mm.yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['lv']);
  31. return datepicker.regional['lv'];
  32. }));