1
0

datepicker-fo.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Faroese initialisation for the jQuery UI date picker plugin */
  2. /* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
  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['fo'] = {
  13. closeText: 'Lat aftur',
  14. prevText: '<Fyrra',
  15. nextText: 'Næsta>',
  16. currentText: 'Í dag',
  17. monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
  18. 'Juli','August','September','Oktober','November','Desember'],
  19. monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
  20. 'Jul','Aug','Sep','Okt','Nov','Des'],
  21. dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
  22. dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
  23. dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
  24. weekHeader: 'Vk',
  25. dateFormat: 'dd-mm-yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['fo']);
  31. return datepicker.regional['fo'];
  32. }));