diff --git a/index.html b/index.html index a0ae7c7..15063bc 100644 --- a/index.html +++ b/index.html @@ -1042,7 +1042,7 @@ var effect = (VANTA.CLOUDS2 || VANTA.CLOUDS)({ // Sun zenith (solar noon) - find next occurrence var sunZenith = sunTimes.solarNoon; - var sunZenithWhen = sunZenith > now ? 'heute' : 'morgen'; + var sunZenithWhen = sunZenith > now ? t('heute') : t('morgen'); if (sunZenith <= now) { var tomorrow = new Date(now); tomorrow.setDate(tomorrow.getDate() + 1); @@ -1350,10 +1350,6 @@ window.weatherThemes = { window.CONFIG.units = units; } - function setDebugLanguage(lang) { - window.CONFIG.language = lang; - } - function updateDebug(t, palette, vantaColors, themeName, realDayProgress) { var now = new Date(); var hh = now.getHours(), mm = now.getMinutes(), ss = now.getSeconds(); @@ -1596,7 +1592,6 @@ window.weatherThemes = { // Forecast var forecastHtml = ''; - var dayNames = ['Heute', 'Morgen']; for (var d = 0; d < 4; d++) { var dayDate = new Date(daily.time[d]); var dayLabel = d === 0 ? t('heute') : t('morgen');