From f21d277b7f912eca2213852831e656f0666b559e Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Fri, 21 Mar 2014 15:51:29 +0100 Subject: added german translations to datepicker 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('/'); -- cgit v0.10.2