datepicker-lv.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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( [ "../widgets/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: [
  22. "svētdiena",
  23. "pirmdiena",
  24. "otrdiena",
  25. "trešdiena",
  26. "ceturtdiena",
  27. "piektdiena",
  28. "sestdiena"
  29. ],
  30. dayNamesShort: [ "svt","prm","otr","tre","ctr","pkt","sst" ],
  31. dayNamesMin: [ "Sv","Pr","Ot","Tr","Ct","Pk","Ss" ],
  32. weekHeader: "Ned.",
  33. dateFormat: "dd.mm.yy",
  34. firstDay: 1,
  35. isRTL: false,
  36. showMonthAfterYear: false,
  37. yearSuffix: "" };
  38. datepicker.setDefaults( datepicker.regional.lv );
  39. return datepicker.regional.lv;
  40. } ) );