datepicker-rm.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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([ "../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: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'],
  18. monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'],
  19. dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
  20. dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
  21. dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
  22. weekHeader: 'emna',
  23. dateFormat: 'dd/mm/yy',
  24. firstDay: 1,
  25. isRTL: false,
  26. showMonthAfterYear: false,
  27. yearSuffix: ''};
  28. datepicker.setDefaults(datepicker.regional['rm']);
  29. return datepicker.regional['rm'];
  30. }));