From 8006446396fa5c2f0eaf69608d35bb9f991451f1 Mon Sep 17 00:00:00 2001 From: David Baetge Date: Sun, 2 Jun 2024 02:16:12 +0200 Subject: [PATCH] Add Moon phases and planet name translations GH-264 --- changelog.md | 1 + skins/weewx-wdc/lang/de.conf | 4 ++++ skins/weewx-wdc/lang/en.conf | 4 ++++ skins/weewx-wdc/lang/fi.conf | 4 ++++ skins/weewx-wdc/lang/it.conf | 9 +++++++++ skins/weewx-wdc/lang/nl.conf | 6 ++++++ skins/weewx-wdc/skin.conf | 4 ++++ 7 files changed, 32 insertions(+) diff --git a/changelog.md b/changelog.md index e43e127..591d76c 100644 --- a/changelog.md +++ b/changelog.md @@ -939,3 +939,4 @@ index 465d4ad..aa8bad6 100644 # Next - Fixed gauge label decoding. GH-271 +- Add Moon phases and planet name translations GH-264 diff --git a/skins/weewx-wdc/lang/de.conf b/skins/weewx-wdc/lang/de.conf index 55e10f8..44dc6fd 100644 --- a/skins/weewx-wdc/lang/de.conf +++ b/skins/weewx-wdc/lang/de.conf @@ -7,6 +7,10 @@ minute = " Minute", " Minuten" second = " Sekunde", " Sekunden" +[Almanac] + # The labels to be used for the phases of the moon: + moon_phases = Neumond, zunehmend, Halbmond, zunehmend, Vollmond, abnehmend, Halbmond, abnehmend + [Labels] [[Generic]] altimeter = Luftdruck (QNH) # QNH diff --git a/skins/weewx-wdc/lang/en.conf b/skins/weewx-wdc/lang/en.conf index 8267bb7..9bb36fa 100644 --- a/skins/weewx-wdc/lang/en.conf +++ b/skins/weewx-wdc/lang/en.conf @@ -7,6 +7,10 @@ minute = " minute", " minutes" second = " second", " seconds" +[Almanac] + # The labels to be used for the phases of the moon: + moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent + [Labels] [[Generic]] altimeter = Altimeter # QNH diff --git a/skins/weewx-wdc/lang/fi.conf b/skins/weewx-wdc/lang/fi.conf index 39e202a..bb4fd9c 100644 --- a/skins/weewx-wdc/lang/fi.conf +++ b/skins/weewx-wdc/lang/fi.conf @@ -7,6 +7,10 @@ minute = " minuutti", " minuuttia" second = " sekuntti", " sekunttia" +[Almanac] + # The labels to be used for the phases of the moon: + moon_phases = Uusikuu, Kasvava Sirppi, Ensimmäinen Neljännes, Kasvava Kuu, Täysikuu, Laskeva Kuu, Viimeinen Neljännes, Laskeva Sirppi + [Labels] [[Generic]] altimeter = Korkeus # QNH diff --git a/skins/weewx-wdc/lang/it.conf b/skins/weewx-wdc/lang/it.conf index d6f4184..f22f9e6 100644 --- a/skins/weewx-wdc/lang/it.conf +++ b/skins/weewx-wdc/lang/it.conf @@ -7,6 +7,10 @@ minute = " minuto", " minuti" second = " secondo", " secondi" +[Almanac] + # The labels to be used for the phases of the moon: + moon_phases = Nuova, Crescente, Primo quarto, Gibbosa crescente, Piena, Gibbosa calante, Ultimo quarto, Calante + [Labels] [[Generic]] altimeter = Altimetro # QNH @@ -331,6 +335,11 @@ "Source" = "Source" #cmon "Computer Monitor" = "Computer Monitor" + # Planet names + "Mars" = "Marte" + "Jupiter" = "Giove" + "Saturn" = "Saturno" + "Venus" = "Venere" [[DWD]] "Current Weather Conditions" = "Current Weather Conditions" "Today" = "Today" diff --git a/skins/weewx-wdc/lang/nl.conf b/skins/weewx-wdc/lang/nl.conf index 3bcba10..4692189 100644 --- a/skins/weewx-wdc/lang/nl.conf +++ b/skins/weewx-wdc/lang/nl.conf @@ -7,6 +7,10 @@ minute = " minuut", " minuten" second = " seconde", " seconden" +[Almanac] + # The labels to be used for the phases of the moon: + moon_phases = Nieuw, Jonge Maansikkel, Eerste Kwartier, Wassende Maan, Vol, Afnemende Maan, Laatste Kwartier, Asgrauwe Maan + [Labels] [[Generic]] altimeter = Hoogtemeter # QNH @@ -335,6 +339,8 @@ "Source" = "Bron" #cmon "Computer Monitor" = "Computer Monitor" + # Planet names + 'Saturn' = 'Saturnus' [[DWD]] "Current Weather Conditions" = "Huidige Weersomstandigheden" "Today" = "Vandaag" diff --git a/skins/weewx-wdc/skin.conf b/skins/weewx-wdc/skin.conf index 6f47072..ec966a3 100644 --- a/skins/weewx-wdc/skin.conf +++ b/skins/weewx-wdc/skin.conf @@ -675,6 +675,10 @@ SKIN_VERSION = 3.5.1 #template = dwd.html.tmpl #title = Vorhersage vom DWD +[Almanac] + # The labels to be used for the phases of the moon: + moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent + [Units] [[TimeFormats]] # @see https://weewx.com/docs/customizing.htm#Units_TimeFormats