Skip to content

Commit

Permalink
[astro] Added missing German translations for config params (#8270)
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Weitkamp <[email protected]>
  • Loading branch information
cweitkamp authored Aug 9, 2020
1 parent df983d1 commit eef067f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
https://openhab.org/schemas/config-description-1.0.0.xsd">

<config-description uri="thing-type:astro:config">
<config-description uri="thing-type:astro:moonconfig">
<parameter name="geolocation" type="text" required="true">
<context>location</context>
<label>Location</label>
Expand All @@ -17,15 +17,15 @@
<default>300</default>
</parameter>
</config-description>

<config-description uri="thing-type:astro:sunconfig">
<parameter name="geolocation" type="text" required="true">
<context>location</context>
<label>Location</label>
<description>The latitude, longitude and altitude separated with a comma (lat,long,[alt]).</description>
</parameter>
<parameter name="useMeteorologicalSeason" type="boolean" required="true">
<label>Meteo Season</label>
<label>Meteorological Season</label>
<description>Uses meteorological season calculation method instead of equinox method.</description>
<advanced>true</advanced>
<default>false</default>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@ thing-type.astro.moon.group.apogee.label = Apog
thing-type.astro.moon.group.apogee.description = Das Apogäum des Mondes
thing-type.astro.moon.group.position.description = Die Position des Mondes

# thing types config
thing-type.config.astro.sunconfig.geolocation.label = Ort der Sonnendaten
thing-type.config.astro.sunconfig.geolocation.description = Ort der Sonnendaten in geographischen Koordinaten (Breitengrad/Längengrad/Höhe).

thing-type.config.astro.sunconfig.useMeteorologicalSeason.label = Meteorologische Jahreszeit
thing-type.config.astro.sunconfig.useMeteorologicalSeason.description = Verwendung der meteorologischen Berechnungsmethode für die Jahreszeiten anstelle der astronomischen.

thing-type.config.astro.sunconfig.interval.label = Aktualisierungsintervall
thing-type.config.astro.sunconfig.interval.description = Intervall zur Aktualisierung der Positionsdaten (in s).

thing-type.config.astro.moonconfig.geolocation.label = Ort der Monddaten
thing-type.config.astro.moonconfig.geolocation.description = Ort der Monddaten in geographischen Koordinaten (Breitengrad/Längengrad/Höhe).

thing-type.config.astro.moonconfig.interval.label = Aktualisierungsintervall
thing-type.config.astro.moonconfig.interval.description = Intervall zur Aktualisierung der Positionsdaten (in s).

# channel group types
channel-group-type.astro.position.label = Position
channel-group-type.astro.position.description = Die Position des Himmelskörpers
Expand Down Expand Up @@ -157,6 +173,16 @@ channel-type.astro.distanceDate.description = Zeitpunkt wenn der Abstand erreich
channel-type.astro.distance.label = Entfernung
channel-type.astro.distance.description = Die Entfernung des Objekts

# channel types config
channel-type.config.astro.config.offset.label = Verschiebung
channel-type.config.astro.config.offset.description = Verschiebt den Zeitpunkt eines Triggers vor oder zurück (in Minuten).

channel-type.config.astro.config.earliest.label = Frühester Zeitpunkt
channel-type.config.astro.config.earliest.description = Frühester Zeitpunkt eines Triggers am aktuellen Tag (in hh:mm).

channel-type.config.astro.config.latest.label = Spätester Zeitpunkt
channel-type.config.astro.config.latest.description = Spätester Zeitpunkt eines Triggers am aktuellen Tag (in hh:mm).

# Discovery result
discovery.astro.sun.local.label = Lokale Sonnendaten
discovery.astro.moon.local.label = Lokale Monddaten
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<label>Moonset</label>
<description>The moonset event range</description>
</channel-group>
<channel-group id="phase" typeId="moonPhase"/>
<channel-group id="eclipse" typeId="moonEclipse"/>
<channel-group id="phase" typeId="moonPhase" />
<channel-group id="eclipse" typeId="moonEclipse" />
<channel-group id="distance" typeId="distance">
<description>The distance to the moon</description>
</channel-group>
Expand All @@ -33,12 +33,12 @@
<channel-group id="position" typeId="position">
<description>The position of the moon</description>
</channel-group>
<channel-group id="zodiac" typeId="moonZodiac"/>
<channel-group id="zodiac" typeId="moonZodiac" />
</channel-groups>

<representation-property>geolocation</representation-property>

<config-description-ref uri="thing-type:astro:config"/>
<config-description-ref uri="thing-type:astro:moonconfig" />
</thing-type>

</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@
<channel-group id="position" typeId="position">
<description>The position of the sun</description>
</channel-group>
<channel-group id="radiation" typeId="radiation"/>
<channel-group id="zodiac" typeId="sunZodiac"/>
<channel-group id="season" typeId="season"/>
<channel-group id="eclipse" typeId="sunEclipse"/>
<channel-group id="phase" typeId="sunPhase"/>
<channel-group id="radiation" typeId="radiation" />
<channel-group id="zodiac" typeId="sunZodiac" />
<channel-group id="season" typeId="season" />
<channel-group id="eclipse" typeId="sunEclipse" />
<channel-group id="phase" typeId="sunPhase" />
</channel-groups>

<representation-property>geolocation</representation-property>

<config-description-ref uri="thing-type:astro:sunconfig"/>
<config-description-ref uri="thing-type:astro:sunconfig" />
</thing-type>

</thing:thing-descriptions>

0 comments on commit eef067f

Please sign in to comment.