From 2cfeafb4459bffaf9a970e0962954d52d8d1d936 Mon Sep 17 00:00:00 2001 From: Ace Date: Sun, 12 May 2019 13:15:59 +0200 Subject: [PATCH] Added support for more languages It is now possible to choose the language for the month and weekday names from a larger selection of languages. Unfortunately, support for chinese/taiwanese has been temporarily dropped. --- Calendar/Settings-Web-UI.html | 91 ++++++++++++++++++++++++++++++++--- 1 file changed, 84 insertions(+), 7 deletions(-) diff --git a/Calendar/Settings-Web-UI.html b/Calendar/Settings-Web-UI.html index bf0e443..d4fbca8 100644 --- a/Calendar/Settings-Web-UI.html +++ b/Calendar/Settings-Web-UI.html @@ -107,7 +107,14 @@ body{
- + +
+ + Info + +
+

Calibration refers to the process of flushing the display with a single colour to prevent 'ghosting' (an effect specific to E-Paper displays where the remnants of the previous image can be seen on the current one). It takes several minutes to finish the calibration(around 10 mins for the 2-colour displays and around 20 mins for the 3-colour displays) so please choose hours where you are less likely to need the display. It is recommended to calibrate at least thrice a day.

+
@@ -132,14 +139,54 @@ body{ -
- - -
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
@@ -304,8 +351,38 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI if ($('#language_de').is(':checked')){ language = "de"; } - if ($('#language_zh_tw').is(':checked')){ - language = "zh_tw"; + if ($('#language_ru').is(':checked')){ + language = "ru"; + } + if ($('#language_it').is(':checked')){ + language = "it"; + } + if ($('#language_es').is(':checked')){ + language = "es"; + } + if ($('#language_fr').is(':checked')){ + language = "fr"; + } + if ($('#language_el').is(':checked')){ + language = "el"; + } + if ($('#language_sv').is(':checked')){ + language = "sv"; + } + if ($('#language_nl').is(':checked')){ + language = "nl"; + } + if ($('#language_pl').is(':checked')){ + language = "pl"; + } + if ($('#language_ua').is(':checked')){ + language = "ua"; + } + if ($('#language_nb').is(':checked')){ + language = "nb"; + } + if ($('#language_vi').is(':checked')){ + language = "vi"; } var units = "metric";