]> git.basschouten.com Git - openhab-addons.git/commitdiff
[sonyprojector] Fix typo in translation keys (#11374)
authorlolodomo <lg.hc@free.fr>
Tue, 12 Oct 2021 16:59:11 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 16:59:11 +0000 (18:59 +0200)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.sonyprojector/src/main/java/org/openhab/binding/sonyprojector/internal/handler/SonyProjectorHandler.java
bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/i18n/sonyprojector.properties
bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/i18n/sonyprojector_fr.properties

index 52fb9c5ffca65899e80530774a25bd7f1652f243..d4d5f7996002e0ec64adca91e93d70c065bf08f8 100644 (file)
@@ -325,10 +325,10 @@ public class SonyProjectorHandler extends BaseThingHandler {
             logger.debug("Serial config model {}", configModel);
             if (config.port == null || config.port.isEmpty()) {
                 updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
-                        "@text/ofline.config-error-unknown-port");
+                        "@text/offline.config-error-unknown-port");
             } else if (config.port.toLowerCase().startsWith("rfc2217")) {
                 updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
-                        "@text/ofline.config-error-invalid-thing-type");
+                        "@text/offline.config-error-invalid-thing-type");
             } else if (configModel == null || configModel.isEmpty()) {
                 updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
                         "@text/offline.config-error-unknown-model");
@@ -353,10 +353,10 @@ public class SonyProjectorHandler extends BaseThingHandler {
                         "@text/offline.config-error-unknown-host");
             } else if (config.port == null) {
                 updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
-                        "@text/ofline.config-error-unknown-port");
+                        "@text/offline.config-error-unknown-port");
             } else if (config.port <= 0) {
                 updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
-                        "@text/ofline.config-error-invalid-port");
+                        "@text/offline.config-error-invalid-port");
             } else if (configModel == null || configModel.isEmpty()) {
                 updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
                         "@text/offline.config-error-unknown-model");
index adab7ef19711bd055c2d23e7280a14ecf7e0a93c..1f6e51989db6dcb75e4119660883578a7a65bc71 100644 (file)
@@ -1,4 +1,5 @@
 # binding
+
 binding.sonyprojector.name = SonyProjector Binding
 binding.sonyprojector.description = The SonyProjector binding controls a Sony projector through Ethernet (PJ Talk) or serial.
 
@@ -14,6 +15,7 @@ thing-type.sonyprojector.serialoveripconnection.label = Sony Serial over IP Conn
 thing-type.sonyprojector.serialoveripconnection.description = Serial over IP connection to the Sony projector
 
 # thing type configuration
+
 thing-type.config.sonyprojector.ethernetconnection.host.label = Address
 thing-type.config.sonyprojector.ethernetconnection.host.description = Host name or IP address of the projector.
 
@@ -42,7 +44,7 @@ thing-type.config.sonyprojector.serialoveripconnection.port.description = Commun
 thing-type.config.sonyprojector.serialoveripconnection.model.label = Model
 thing-type.config.sonyprojector.serialoveripconnection.model.description = Projector model to be controlled.
 
-# channel type
+# channel types
 
 channel-type.sonyprojector.power.label = Power State
 channel-type.sonyprojector.power.description = Current detailed power state of the projector
@@ -288,8 +290,9 @@ channel-type.sonyprojector.lampusetime.label = Lamp Use Time
 channel-type.sonyprojector.lampusetime.description = Indicate how long the lamp has been turned on in hours
 
 # Thing status descriptions
+
 offline.config-error-unknown-host = Undefined host configuration setting
-ofline.config-error-unknown-port = Undefined port configuration setting
-ofline.config-error-invalid-port = Invalid port configuration setting
+offline.config-error-unknown-port = Undefined port configuration setting
+offline.config-error-invalid-port = Invalid port configuration setting
 offline.config-error-unknown-model = Undefined model configuration setting
-ofline.config-error-invalid-thing-type = Use serial over IP connection thing type
+offline.config-error-invalid-thing-type = Use serial over IP connection thing type
index 5da31c8636965b55d840964c42c03250735a4dac..c41a02a8393083e45403db9d316501690861503a 100644 (file)
@@ -1,8 +1,10 @@
 # binding
+
 binding.sonyprojector.name = Extension Projecteur Sony
 binding.sonyprojector.description = L'extension Projecteur Sony permet de contrôler un projecteur Sony par connexion Ethernet (PJ Talk) ou série.
 
 # thing types
+
 thing-type.sonyprojector.ethernetconnection.label = Connexion Ethernet Sony
 thing-type.sonyprojector.ethernetconnection.description = Connexion Ethernet au projecteur Sony en utilisant PJ Talk.
 
@@ -13,6 +15,7 @@ thing-type.sonyprojector.serialoveripconnection.label = Connexion série sur IP
 thing-type.sonyprojector.serialoveripconnection.description = Connexion série sur IP au projecteur Sony.
 
 # thing type configuration
+
 thing-type.config.sonyprojector.ethernetconnection.host.label = Hôte
 thing-type.config.sonyprojector.ethernetconnection.host.description = Nom d'hôte ou adresse IP du projecteur.
 
@@ -42,6 +45,7 @@ thing-type.config.sonyprojector.serialoveripconnection.model.label = Modèle
 thing-type.config.sonyprojector.serialoveripconnection.model.description = Modèle du projecteur à contrôler.
 
 # channel types
+
 channel-type.sonyprojector.power.label = Mise sous tension
 channel-type.sonyprojector.power.description = Allume ou éteint le projecteur.
 
@@ -286,8 +290,9 @@ channel-type.sonyprojector.lampusetime.label = Durée de lampe
 channel-type.sonyprojector.lampusetime.description = Indique la durée en heures pendant laquelle la lampe a été allumée (temps total d'utilisation).
 
 # Thing status descriptions
+
 offline.config-error-unknown-host = Paramètre d''hôte indéfini
-ofline.config-error-unknown-port = Paramètre de port indéfini
-ofline.config-error-invalid-port = Paramètre de port invalide
+offline.config-error-unknown-port = Paramètre de port indéfini
+offline.config-error-invalid-port = Paramètre de port invalide
 offline.config-error-unknown-model = Paramètre de modèle indéfini
-ofline.config-error-invalid-thing-type = Utiliser le type connexion série sur IP
+offline.config-error-invalid-thing-type = Utiliser le type connexion série sur IP