datepicker-it-CH.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Italian initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Antonello Pasella (antonello.pasella@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['it-CH'] = {
  13. closeText: 'Chiudi',
  14. prevText: '<Prec',
  15. nextText: 'Succ>',
  16. currentText: 'Oggi',
  17. monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
  18. 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
  19. monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
  20. 'Lug','Ago','Set','Ott','Nov','Dic'],
  21. dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
  22. dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
  23. dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
  24. weekHeader: 'Sm',
  25. dateFormat: 'dd.mm.yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['it-CH']);
  31. return datepicker.regional['it-CH'];
  32. }));