Skip to content

Commit

Permalink
Add Moon phases and planet name translations GH-264
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Jun 2, 2024
1 parent 8b1d2f2 commit 8006446
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -939,3 +939,4 @@ index 465d4ad..aa8bad6 100644
# Next

- Fixed gauge label decoding. GH-271
- Add Moon phases and planet name translations GH-264
4 changes: 4 additions & 0 deletions skins/weewx-wdc/lang/de.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions skins/weewx-wdc/lang/en.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions skins/weewx-wdc/lang/fi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions skins/weewx-wdc/lang/it.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions skins/weewx-wdc/lang/nl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -335,6 +339,8 @@
"Source" = "Bron"
#cmon
"Computer Monitor" = "Computer Monitor"
# Planet names
'Saturn' = 'Saturnus'
[[DWD]]
"Current Weather Conditions" = "Huidige Weersomstandigheden"
"Today" = "Vandaag"
Expand Down
4 changes: 4 additions & 0 deletions skins/weewx-wdc/skin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8006446

Please sign in to comment.