diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-03-21 14:51:29 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-03-21 14:51:29 (GMT) |
commit | f21d277b7f912eca2213852831e656f0666b559e (patch) | |
tree | f9da3fac846235831ad06863fe7bbe6a89dc6168 /program | |
parent | 9ec8672d21ed3305aabb183908c762c169cd94a7 (diff) |
added german translations to datepicker
Diffstat (limited to 'program')
-rw-r--r-- | program/templates/day_schedule.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/program/templates/day_schedule.html b/program/templates/day_schedule.html index f8d517c..f338940 100644 --- a/program/templates/day_schedule.html +++ b/program/templates/day_schedule.html @@ -10,6 +10,14 @@ jQuery(document).ready(function() { jQuery("#calendar").datepicker({ dateFormat: "yy.mm.dd", + monthNames: [ "Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" ], + monthNamesShort: [ "Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ], + dayNames: [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ], + dayNamesMin: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ], + dayNamesShort: [ "Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam" ], + firstDay: 1, + nextText: "Weiter", + prevText: "Zurück", defaultDate: location.href.split('/').slice(4, 7).join('.'), onSelect: function(dateText, inst) { location = '/programm/' + dateText.split('.').join('/'); |