Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added datepicker localization for Swiss Italien and Romansh.

  • Loading branch information...
commit 928d6d7b36c2245434ded60ce067e4b9efcf708f 1 parent 21df5c2
Pablo Hess pablohess authored
23 ui/i18n/jquery.ui.datepicker-it-CH.js
... ... @@ -0,0 +1,23 @@
  1 +/* Swiss Italian initialisation for the jQuery UI date picker plugin. */
  2 +/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
  3 +jQuery(function($){
  4 + $.datepicker.regional['it-CH'] = {
  5 + closeText: 'Chiudi',
  6 + prevText: '<Prec',
  7 + nextText: 'Succ>',
  8 + currentText: 'Oggi',
  9 + monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
  10 + 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
  11 + monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
  12 + 'Lug','Ago','Set','Ott','Nov','Dic'],
  13 + dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
  14 + dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
  15 + dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
  16 + weekHeader: 'Sm',
  17 + dateFormat: 'dd.mm.yy',
  18 + firstDay: 1,
  19 + isRTL: false,
  20 + showMonthAfterYear: false,
  21 + yearSuffix: ''};
  22 + $.datepicker.setDefaults($.datepicker.regional['it-CH']);
  23 +});
21 ui/i18n/jquery.ui.datepicker-rm-CH.js
... ... @@ -0,0 +1,21 @@
  1 +/* Swiss Romansh initialisation for the jQuery UI date picker plugin. */
  2 +/* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */
  3 +jQuery(function($){
  4 + $.datepicker.regional['rm-CH'] = {
  5 + closeText: 'Serrar',
  6 + prevText: '<Suandant',
  7 + nextText: 'Precedent>',
  8 + currentText: 'Actual',
  9 + monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'],
  10 + monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'],
  11 + dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
  12 + dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
  13 + dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
  14 + weekHeader: 'emna',
  15 + dateFormat: 'dd.mm.yy',
  16 + firstDay: 1,
  17 + isRTL: false,
  18 + showMonthAfterYear: false,
  19 + yearSuffix: ''};
  20 + $.datepicker.setDefaults($.datepicker.regional['rm-CH']);
  21 +});

0 comments on commit 928d6d7

Please sign in to comment.
Something went wrong with that request. Please try again.