datepicker-fi.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Finnish initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Harri Kilpiö (harrikilpio@gmail.com). */
  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.fi = {
  13. closeText: "Sulje",
  14. prevText: "«Edellinen",
  15. nextText: "Seuraava»",
  16. currentText: "Tänään",
  17. monthNames: [ "Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu",
  18. "Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu" ],
  19. monthNamesShort: [ "Tammi","Helmi","Maalis","Huhti","Touko","Kesä",
  20. "Heinä","Elo","Syys","Loka","Marras","Joulu" ],
  21. dayNamesShort: [ "Su","Ma","Ti","Ke","To","Pe","La" ],
  22. dayNames: [ "Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai" ],
  23. dayNamesMin: [ "Su","Ma","Ti","Ke","To","Pe","La" ],
  24. weekHeader: "Vk",
  25. dateFormat: "d.m.yy",
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: "" };
  30. datepicker.setDefaults( datepicker.regional.fi );
  31. return datepicker.regional.fi;
  32. } ) );