]> git.basschouten.com Git - openhab-addons.git/commitdiff
[urtsi] Fixed leading spaces in translations (#11757)
authorChristoph Weitkamp <github@christophweitkamp.de>
Sun, 12 Dec 2021 11:02:14 +0000 (12:02 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Dec 2021 11:02:14 +0000 (12:02 +0100)
* Fixed leading spaces in translations
* Add @text in binding.xml
* Added @text in urtsi.properties

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/binding/binding.xml
bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/i18n/urtsi.properties

index 15ca7f87fe40ccd57354407bf330f278d9420a3a..1c70499dc1286511c9ac046ab008f26ebfac482e 100644 (file)
@@ -3,7 +3,7 @@
        xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
        xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
 
-       <name>Somfy URTSI II Binding</name>
+       <name>@text/bindingLabel</name>
        <description>@text/bindingDescription</description>
 
 </binding:binding>
index 16168b0a3118b010dfd845ace4ef8b9be942bb68..50fe6c51ce8ee0c7371e4ac1dcab204016839eae 100644 (file)
@@ -1,18 +1,19 @@
 # binding
+
 bindingDescription = This is the binding for Somfy Universal RTS Interface II (URTSI II).
+bindingLabel = Somfy URTSI II Binding
 
 # thing types
+
+positionChannelLabel = RTS Device position
+positionChannelDescription = Change the position of your device
+rtsDeviceLabel = Somfy RTS Device
+rtsDeviceDescription = This is the RTS device (e.g. a rollershutter).
+rtsDeviceChannelLabel = Channel
+rtsDeviceChannelDescription = The URTSI II channel the RTS device is assigned to at URTSI II.
 urtsiDeviceLabel = Somfy URTSI II Device
 urtsiDeviceDescription = This is the Somfy URTSI II box.
 urtsiDevicePortLabel = Port
 urtsiDevicePortDescription = The port which is used to access the device (e.g. /dev/ttyUSB0)
 urtsiDeviceCommandIntervalLabel = Command execution interval
 urtsiDeviceCommandIntervalDescription = The time (in ms) the binding should wait between sending commands to the device
-
-rtsDeviceLabel = Somfy RTS Device
-rtsDeviceDescription =  This is the RTS device (e.g. a rollershutter).
-rtsDeviceChannelLabel = Channel
-rtsDeviceChannelDescription =  The URTSI II channel the RTS device is assigned to at URTSI II.
-
-positionChannelLabel = RTS Device position
-positionChannelDescription = Change the position of your device