jquery.ui.datepicker.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Norwegian initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
  3. ( function( factory ) {
  4. "use strict";
  5. if ( typeof define === "function" && define.amd ) {
  6. // AMD. Register as an anonymous module.
  7. define( [ "../widgets/datepicker" ], factory );
  8. } else {
  9. // Browser globals
  10. factory( jQuery.datepicker );
  11. }
  12. } )( function( datepicker ) {
  13. "use strict";
  14. datepicker.regional.no = {
  15. closeText: "Lukk",
  16. prevText: "Forrige",
  17. nextText: "Neste",
  18. currentText: "I dag",
  19. monthNames: [
  20. "januar",
  21. "februar",
  22. "mars",
  23. "april",
  24. "mai",
  25. "juni",
  26. "juli",
  27. "august",
  28. "september",
  29. "oktober",
  30. "november",
  31. "desember"
  32. ],
  33. monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ],
  34. dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ],
  35. dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ],
  36. dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ],
  37. weekHeader: "Uke",
  38. dateFormat: "dd.mm.yy",
  39. firstDay: 1,
  40. isRTL: false,
  41. showMonthAfterYear: false,
  42. yearSuffix: ""
  43. };
  44. datepicker.setDefaults( datepicker.regional.no );
  45. return datepicker.regional.no;
  46. } );