[Synopanalyzer] Adding French localization, correction on overcast channel (#10113)
* Adding French localization of the binding * Correction on overcast channel * Correcting nullable issues Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# binding
|
||||
binding.synopanalyzer.name = Extension Synop Analyzer
|
||||
binding.synopanalyzer.description = Synop Analyzer permet de télécharger et interpréter les messages SYNOP.
|
||||
|
||||
# thing type
|
||||
thing-type.synopanalyzer.synopanalyzer.label = Message Synop
|
||||
thing-type.synopanalyzer.synopanalyzer.description = Décodage du dernier message d'une station Synop.
|
||||
|
||||
# channel types
|
||||
channel-type.synopanalyzer.wind-speed-beaufort.label = Beaufort
|
||||
channel-type.synopanalyzer.wind-speed-beaufort.description = Force du vent sur l'échelle Beaufort.
|
||||
|
||||
channel-type.synopanalyzer.wind-direction.label = Direction du vent
|
||||
channel-type.synopanalyzer.wind-direction.description = Equivalent cardinal de la direction du vent.
|
||||
# Only translating those that needs a french adaptation (containing "W")
|
||||
channel-type.synopanalyzer.wind-direction.state.option.SSW = SSO
|
||||
channel-type.synopanalyzer.wind-direction.state.option.SW = SO
|
||||
channel-type.synopanalyzer.wind-direction.state.option.WSW = OSO
|
||||
channel-type.synopanalyzer.wind-direction.state.option.W = O
|
||||
channel-type.synopanalyzer.wind-direction.state.option.WNW = ONO
|
||||
channel-type.synopanalyzer.wind-direction.state.option.NW = NO
|
||||
channel-type.synopanalyzer.wind-direction.state.option.NNW = NNO
|
||||
|
||||
channel-type.synopanalyzer.octa.label = Octa
|
||||
channel-type.synopanalyzer.octa.description = Evaluation de la couverture nuageuse.
|
||||
|
||||
channel-type.synopanalyzer.attenuation-factor.label = Coefficient d'atténuation
|
||||
channel-type.synopanalyzer.attenuation-factor.description = Atténuation générée par la couverture nuageuse.
|
||||
|
||||
channel-type.synopanalyzer.overcast.label = Couverture nuageuse
|
||||
channel-type.synopanalyzer.overcast.description = Appréciation de la couverture nuageuse.
|
||||
channel-type.synopanalyzer.overcast.state.option.CLEAR_SKY = Ciel dégagé
|
||||
channel-type.synopanalyzer.overcast.state.option.CLOUDY = Nuageux
|
||||
channel-type.synopanalyzer.overcast.state.option.SKY_NOT_VISIBLE = Ciel non visible
|
||||
|
||||
channel-type.synopanalyzer.horizontal-visibility.label = Visibilité horizontale
|
||||
channel-type.synopanalyzer.horizontal-visibility.description = Ordre de grandeur de la visibilité horizontale.
|
||||
channel-type.synopanalyzer.horizontal-visibility.state.option.LESS_THAN_1 = Moins de 1 km
|
||||
channel-type.synopanalyzer.horizontal-visibility.state.option.LESS_THAN_10 = Entre 1 et 10 km
|
||||
channel-type.synopanalyzer.horizontal-visibility.state.option.LESS_THAN_50 = Entre 10 et 50 km
|
||||
channel-type.synopanalyzer.horizontal-visibility.state.option.MORE_THAN_50 = Plus de 50 km
|
||||
|
||||
channel-type.synopanalyzer.time-utc.label = Horodatage
|
||||
channel-type.synopanalyzer.time-utc.description = Heure d'observation des mesures relevées
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
<thing-type id="synopanalyzer">
|
||||
<label>Synop Message</label>
|
||||
<description>The Synop Analyzer binding decodes Synop messages</description>
|
||||
<description>This is the interpretation of the last message of a given station.</description>
|
||||
|
||||
<channels>
|
||||
<channel id="temperature" typeId="system.outdoor-temperature"/>
|
||||
<channel id="pressure" typeId="system.barometric-pressure"/>
|
||||
<channel id="wind-angle" typeId="system.wind-direction"/>
|
||||
<channel id="wind-direction" typeId="wind-direction"/>
|
||||
<channel id="wind-speed" typeId="system.wind-speed"/>
|
||||
<channel id="wind-direction" typeId="wind-direction"/>
|
||||
<channel id="wind-speed-beaufort" typeId="wind-speed-beaufort"/>
|
||||
<channel id="overcast" typeId="overcast"/>
|
||||
<channel id="octa" typeId="octa"/>
|
||||
@@ -75,14 +75,16 @@
|
||||
<channel-type id="octa">
|
||||
<item-type>Number</item-type>
|
||||
<label>Octa</label>
|
||||
<description>Octa</description>
|
||||
<description>Cloud cover estimation.</description>
|
||||
<category>sun_clouds</category>
|
||||
<state readOnly="true" pattern="%d/8" min="0" max="8"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="attenuation-factor">
|
||||
<channel-type id="attenuation-factor" advanced="true">
|
||||
<item-type>Number</item-type>
|
||||
<label>Mitigation Factor</label>
|
||||
<description>Cloud layer mitigation factor</description>
|
||||
<category>sun_clouds</category>
|
||||
<state readOnly="true" pattern="%.1f" max="1" min="0"/>
|
||||
</channel-type>
|
||||
|
||||
@@ -90,6 +92,7 @@
|
||||
<item-type>String</item-type>
|
||||
<label>Overcast</label>
|
||||
<description>Overcast</description>
|
||||
<category>sun_clouds</category>
|
||||
<state readOnly="true" pattern="%s">
|
||||
<options>
|
||||
<option value="CLEAR_SKY">Clear sky</option>
|
||||
@@ -117,6 +120,7 @@
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Observation Time</label>
|
||||
<description>Timestamp when data was observed</description>
|
||||
<category>time</category>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user