From e9ac2be397837f0cfddb281350709d95a7298a2d Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sun, 12 Dec 2021 12:02:14 +0100 Subject: [PATCH] [urtsi] Fixed leading spaces in translations (#11757) * Fixed leading spaces in translations * Add @text in binding.xml * Added @text in urtsi.properties Signed-off-by: Christoph Weitkamp --- .../main/resources/OH-INF/binding/binding.xml | 2 +- .../main/resources/OH-INF/i18n/urtsi.properties | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/binding/binding.xml b/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/binding/binding.xml index 15ca7f87f..1c70499dc 100644 --- a/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/binding/binding.xml +++ b/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/binding/binding.xml @@ -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"> - Somfy URTSI II Binding + @text/bindingLabel @text/bindingDescription diff --git a/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/i18n/urtsi.properties b/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/i18n/urtsi.properties index 16168b0a3..50fe6c51c 100644 --- a/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/i18n/urtsi.properties +++ b/bundles/org.openhab.binding.urtsi/src/main/resources/OH-INF/i18n/urtsi.properties @@ -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