datepicker-is.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Icelandic initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Haukur H. Thorsson (haukur@eskill.is). */
  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['is'] = {
  13. closeText: 'Loka',
  14. prevText: '< Fyrri',
  15. nextText: 'Næsti >',
  16. currentText: 'Í dag',
  17. monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní',
  18. 'Júlí','Ágúst','September','Október','Nóvember','Desember'],
  19. monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún',
  20. 'Júl','Ágú','Sep','Okt','Nóv','Des'],
  21. dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
  22. dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
  23. dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
  24. weekHeader: 'Vika',
  25. dateFormat: 'dd.mm.yy',
  26. firstDay: 0,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['is']);
  31. return datepicker.regional['is'];
  32. }));