datepicker-rm.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* Romansh initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */
  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.rm = {
  13. closeText: "Serrar",
  14. prevText: "<Suandant",
  15. nextText: "Precedent>",
  16. currentText: "Actual",
  17. monthNames: [
  18. "Schaner",
  19. "Favrer",
  20. "Mars",
  21. "Avrigl",
  22. "Matg",
  23. "Zercladur",
  24. "Fanadur",
  25. "Avust",
  26. "Settember",
  27. "October",
  28. "November",
  29. "December"
  30. ],
  31. monthNamesShort: [
  32. "Scha",
  33. "Fev",
  34. "Mar",
  35. "Avr",
  36. "Matg",
  37. "Zer",
  38. "Fan",
  39. "Avu",
  40. "Sett",
  41. "Oct",
  42. "Nov",
  43. "Dec"
  44. ],
  45. dayNames: [ "Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda" ],
  46. dayNamesShort: [ "Dum","Gli","Mar","Mes","Gie","Ven","Som" ],
  47. dayNamesMin: [ "Du","Gl","Ma","Me","Gi","Ve","So" ],
  48. weekHeader: "emna",
  49. dateFormat: "dd/mm/yy",
  50. firstDay: 1,
  51. isRTL: false,
  52. showMonthAfterYear: false,
  53. yearSuffix: "" };
  54. datepicker.setDefaults( datepicker.regional.rm );
  55. return datepicker.regional.rm;
  56. } ) );