]> git.basschouten.com Git - openhab-addons.git/commitdiff
[luxom] Add missing default translations (#12883)
authorlolodomo <lg.hc@free.fr>
Sat, 4 Jun 2022 21:45:52 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jun 2022 21:45:52 +0000 (23:45 +0200)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.luxom/src/main/resources/OH-INF/i18n/luxom.properties
bundles/org.openhab.binding.luxom/src/main/resources/OH-INF/thing/thing-types.xml

index 0b7aa475c72992d5d84fd2aa4756c723a3ed7f6e..4c8a8c1895b6b2fbd050e4587e014e30578a35d2 100644 (file)
@@ -5,15 +5,21 @@ binding.luxom.description = This is the binding for Luxom bus system (https://ww
 
 # thing types
 
-thing-type.luxom.switch.label = Switch
-thing-type.luxom.switch.description = Switch type action in Luxom
+thing-type.luxom.bridge.label = Luxom Bridge
+thing-type.luxom.bridge.description = This bridge represents a Luxom IP-interface (for example a DS-65L).
 thing-type.luxom.dimmer.label = Dimmer
 thing-type.luxom.dimmer.description = Dimmer type action in Luxom
+thing-type.luxom.switch.label = Switch
+thing-type.luxom.switch.description = Switch type action in Luxom
 
 # thing types config
 
-thing-type.config.luxom.switch.address.label = Address
-thing-type.config.luxom.switch.address.description = Luxom bus address
+thing-type.config.luxom.bridge.ipAddress.label = IP or Host Name
+thing-type.config.luxom.bridge.ipAddress.description = The IP or host name of the Luxom IP-interface.
+thing-type.config.luxom.bridge.port.label = Bridge Port
+thing-type.config.luxom.bridge.port.description = Port to communicate with Luxom IP-interface, default 2300.
+thing-type.config.luxom.bridge.reconnectInterval.label = Reconnect Interval
+thing-type.config.luxom.bridge.reconnectInterval.description = The period in minutes that the handler will wait between connection attempts after disconnect.
 thing-type.config.luxom.dimmer.address.label = Address
 thing-type.config.luxom.dimmer.address.description = Luxom bus address
 thing-type.config.luxom.dimmer.onLevel.label = On Level
@@ -22,13 +28,16 @@ thing-type.config.luxom.dimmer.onToLast.label = Turn On To Last Level
 thing-type.config.luxom.dimmer.onToLast.description = If set to true, dimmer will go to the last non-zero level set when an ON command is received. If the last level cannot be determined, the value of onLevel will be used instead.
 thing-type.config.luxom.dimmer.stepPercentage.label = Step Value
 thing-type.config.luxom.dimmer.stepPercentage.description = Step value used for increase/decrease of dimmer brightness, default 5%
+thing-type.config.luxom.switch.address.label = Address
+thing-type.config.luxom.switch.address.description = Luxom bus address
 
 # channel types
 
-channel-type.luxom.button.label = Button
-channel-type.luxom.button.description = Pushbutton control for action in Luxom
+channel-type.luxom.switchState.label = Switch
+channel-type.luxom.switchState.description = Switch control for action in Luxom.
 
 # messages
+
 status.awaiting-initial-response = Awaiting initial response
 status.bridge-configuration-missing = Bridge configuration missing
 status.connecting = Connecting
index 58060d25ea562d4d59ed404f8e8d510ebd931357..84e63fcfdb36ec96974855ec00e171bd3c8d61b6 100644 (file)
@@ -6,22 +6,22 @@
 
        <bridge-type id="bridge">
                <label>Luxom Bridge</label>
-               <description>This bridge represents a Luxom IP-interface (for example a DS-65L)</description>
+               <description>This bridge represents a Luxom IP-interface (for example a DS-65L).</description>
                <config-description>
                        <parameter name="ipAddress" type="text" required="true">
                                <context>network-address</context>
                                <label>IP or Host Name</label>
-                               <description>The IP or host name of the Luxom IP-interface</description>
+                               <description>The IP or host name of the Luxom IP-interface.</description>
                        </parameter>
                        <parameter name="port" type="integer" required="true">
                                <label>Bridge Port</label>
-                               <description>Port to communicate with Luxom IP-interface, default 2300</description>
+                               <description>Port to communicate with Luxom IP-interface, default 2300.</description>
                                <default>2300</default>
                                <advanced>true</advanced>
                        </parameter>
                        <parameter name="reconnectInterval" type="integer" min="1" max="60" unit="min">
                                <label>Reconnect Interval</label>
-                               <description>The period in minutes that the handler will wait between connection attempts after disconnect</description>
+                               <description>The period in minutes that the handler will wait between connection attempts after disconnect.</description>
                                <unitLabel>minutes</unitLabel>
                                <default>1</default>
                                <advanced>true</advanced>
@@ -33,8 +33,8 @@
                <supported-bridge-type-refs>
                        <bridge-type-ref id="bridge"/>
                </supported-bridge-type-refs>
-               <label>switch</label>
-               <description>Luxom Switch</description>
+               <label>Switch</label>
+               <description>Switch type action in Luxom</description>
                <channels>
                        <channel id="switch" typeId="switchState"/>
                </channels>
                        </parameter>
                </config-description>
        </thing-type>
+
        <thing-type id="dimmer">
                <supported-bridge-type-refs>
                        <bridge-type-ref id="bridge"/>
                </supported-bridge-type-refs>
                <label>Dimmer</label>
-               <description>Luxom Dimmer</description>
+               <description>Dimmer type action in Luxom</description>
                <channels>
                        <channel id="brightness" typeId="system.brightness"/>
                </channels>
@@ -89,7 +90,7 @@
        <channel-type id="switchState">
                <item-type>Switch</item-type>
                <label>Switch</label>
-               <description>Switch control for action in Luxom</description>
+               <description>Switch control for action in Luxom.</description>
                <category>Switch</category>
                <autoUpdatePolicy>veto</autoUpdatePolicy>
        </channel-type>