From c4d4742a2562fbc45c752b9fc9c291d0f993f3cb Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sat, 11 Dec 2021 16:38:24 +0100 Subject: [PATCH 1/3] Fixed leading spaces in translations Signed-off-by: Christoph Weitkamp --- .../resources/OH-INF/i18n/urtsi.properties | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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 16168b0a3118..e5d573a02266 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,22 @@ # binding + +binding.urtsi.name = Somfy URTSI II Binding + +# binding + bindingDescription = This is the binding for Somfy Universal RTS Interface II (URTSI II). # 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 From e7952762e9d9784a69e0005370625e7ada206139 Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sun, 12 Dec 2021 11:40:36 +0100 Subject: [PATCH 2/3] Add @text in binding.xml Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/binding/binding.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 15ca7f87fe40..1c70499dc128 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 From 2082ba468c1a2f08922cdcc4640b0b33b82dfc3f Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sun, 12 Dec 2021 11:42:33 +0100 Subject: [PATCH 3/3] Added @text in urtsi.properties Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/i18n/urtsi.properties | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 e5d573a02266..50fe6c51ce8e 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,10 +1,7 @@ # binding -binding.urtsi.name = Somfy URTSI II Binding - -# binding - bindingDescription = This is the binding for Somfy Universal RTS Interface II (URTSI II). +bindingLabel = Somfy URTSI II Binding # thing types