]> git.basschouten.com Git - openhab-addons.git/commitdiff
[powermax] Add few missing default translation properties (#11913)
authorlolodomo <lg.hc@free.fr>
Sat, 1 Jan 2022 10:33:08 +0000 (11:33 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Jan 2022 10:33:08 +0000 (11:33 +0100)
Also run mvn i18n:generate-default-translations

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.powermax/src/main/resources/OH-INF/i18n/powermax.properties
bundles/org.openhab.binding.powermax/src/main/resources/OH-INF/thing/ip.xml
bundles/org.openhab.binding.powermax/src/main/resources/OH-INF/thing/serial.xml

index bdd1c8527557c076ed439fa08942d718569e20ee..c1288779501430de32c16dbc14b06e20cef1cd4a 100644 (file)
@@ -27,21 +27,6 @@ thing-type.config.powermax.x10.deviceNumber.description = The device number.
 thing-type.config.powermax.zone.zoneNumber.label = Zone Number
 thing-type.config.powermax.zone.zoneNumber.description = The zone number.
 
-config.allowArming.label = Allow Arming
-config.allowArming.description = Enable or disable arming the alarm system from openHAB.
-config.allowDisarming.label = Allow Disarming
-config.allowDisarming.description = Enable or disable disarming the alarm system from openHAB.
-config.autoSyncTime.label = Sync Time
-config.autoSyncTime.description = Automatic sync time at openHAB startup.
-config.forceStandardMode.label = Force Standard Mode
-config.forceStandardMode.description = Force the standard mode rather than trying using the Powerlink mode.
-config.motionOffDelay.label = Motion Reset Delay
-config.motionOffDelay.description = The delay in minutes to reset a motion detection.
-config.panelType.label = Panel Type
-config.panelType.description = Define the panel type. Only required when forcing the standard mode.
-config.pinCode.label = PIN Code
-config.pinCode.description = The PIN code to use for arming/disarming the alarm system from openHAB. Not required except when Powerlink mode cannot be used.
-
 # channel types
 
 channel-type.powermax.active_alerts.label = Active Alarms and Alerts
@@ -77,8 +62,10 @@ channel-type.powermax.inactive.label = Zone Inactive
 channel-type.powermax.inactive.description = Whether or not the zone's sensor is inactive (loss of supervision)
 channel-type.powermax.last_message_time.label = Last Message Time
 channel-type.powermax.last_message_time.description = Timestamp when the most recent message of any kind was received from the panel
+channel-type.powermax.last_message_time.state.pattern = %1$tH:%1$tM
 channel-type.powermax.last_trip.label = Zone Last Trip
 channel-type.powermax.last_trip.description = Timestamp when the zone was last tripped
+channel-type.powermax.last_trip.state.pattern = %1$tH:%1$tM
 channel-type.powermax.locked.label = Zone Armed (Contact)
 channel-type.powermax.locked.description = Whether or not the zone is armed (CLOSED when armed)
 channel-type.powermax.mode.label = System Mode
@@ -116,8 +103,35 @@ channel-type.powermax.zone_last_message.label = Zone Last Status Message
 channel-type.powermax.zone_last_message.description = The most recent status message reported by the zone
 channel-type.powermax.zone_last_message_time.label = Zone Last Status Time
 channel-type.powermax.zone_last_message_time.description = Timestamp when Zone Last Status Message was received
+channel-type.powermax.zone_last_message_time.state.pattern = %1$tH:%1$tM
+
+# thing types config
+
+config.allowArming.label = Allow Arming
+config.allowArming.description = Enable or disable arming the alarm system from openHAB.
+config.allowDisarming.label = Allow Disarming
+config.allowDisarming.description = Enable or disable disarming the alarm system from openHAB.
+config.autoSyncTime.label = Sync Time
+config.autoSyncTime.description = Automatic sync time at openHAB startup.
+config.forceStandardMode.label = Force Standard Mode
+config.forceStandardMode.description = Force the standard mode rather than trying using the Powerlink mode.
+config.motionOffDelay.label = Motion Reset Delay
+config.motionOffDelay.description = The delay in minutes to reset a motion detection.
+config.panelType.label = Panel Type
+config.panelType.description = Define the panel type. Only required when forcing the standard mode.
+config.panelType.option.PowerMax = PowerMax
+config.panelType.option.PowerMaxPlus = PowerMax+
+config.panelType.option.PowerMaxPro = PowerMax Pro
+config.panelType.option.PowerMaxComplete = PowerMax Complete
+config.panelType.option.PowerMaxProPart = PowerMax Pro Part
+config.panelType.option.PowerMaxCompletePart = PowerMax Complete Part
+config.panelType.option.PowerMaxExpress = PowerMax Express
+config.panelType.option.PowerMaster10 = PowerMaster 10
+config.panelType.option.PowerMaster30 = PowerMaster 30
+config.pinCode.label = PIN Code
+config.pinCode.description = The PIN code to use for arming/disarming the alarm system from openHAB. Not required except when Powerlink mode cannot be used.
 
-# Thing status descriptions
+# thing status descriptions
 
 offline.config-error-mandatory-ip-port = ip and port settings must be defined in the thing configuration.
 offline.config-error-mandatory-serial-port = serialPort setting must be defined in the thing configuration.
index 632dae71e34b20db7e5cd56248615d49c8ba189a..6d1dc4963705d4ae5b8f0b68226a3f1349398779 100644 (file)
                                <description>@text/config.panelType.description</description>
                                <limitToOptions>true</limitToOptions>
                                <options>
-                                       <option value="PowerMax">PowerMax</option>
-                                       <option value="PowerMax+">PowerMax+</option>
-                                       <option value="PowerMaxPro">PowerMax Pro</option>
-                                       <option value="PowerMaxComplete">PowerMax Complete</option>
-                                       <option value="PowerMaxProPart">PowerMax Pro Part</option>
-                                       <option value="PowerMaxCompletePart">PowerMax Complete Part</option>
-                                       <option value="PowerMaxExpress">PowerMax Express</option>
-                                       <option value="PowerMaster10">PowerMaster 10</option>
-                                       <option value="PowerMaster30">PowerMaster 30</option>
+                                       <option value="PowerMax">@text/config.panelType.option.PowerMax</option>
+                                       <option value="PowerMax+">@text/config.panelType.option.PowerMaxPlus</option>
+                                       <option value="PowerMaxPro">@text/config.panelType.option.PowerMaxPro</option>
+                                       <option value="PowerMaxComplete">@text/config.panelType.option.PowerMaxComplete</option>
+                                       <option value="PowerMaxProPart">@text/config.panelType.option.PowerMaxProPart</option>
+                                       <option value="PowerMaxCompletePart">@text/config.panelType.option.PowerMaxCompletePart</option>
+                                       <option value="PowerMaxExpress">@text/config.panelType.option.PowerMaxExpress</option>
+                                       <option value="PowerMaster10">@text/config.panelType.option.PowerMaster10</option>
+                                       <option value="PowerMaster30">@text/config.panelType.option.PowerMaster30</option>
                                </options>
                                <default>PowerMaxPro</default>
                                <advanced>true</advanced>
index e9b9189922334e0ff4af0b8f73059f65e01ffd4f..1dc94b6c4a524dcd538daa0fc517c5a6768d7664 100644 (file)
                                <description>@text/config.panelType.description</description>
                                <limitToOptions>true</limitToOptions>
                                <options>
-                                       <option value="PowerMax">PowerMax</option>
-                                       <option value="PowerMax+">PowerMax+</option>
-                                       <option value="PowerMaxPro">PowerMax Pro</option>
-                                       <option value="PowerMaxComplete">PowerMax Complete</option>
-                                       <option value="PowerMaxProPart">PowerMax Pro Part</option>
-                                       <option value="PowerMaxCompletePart">PowerMax Complete Part</option>
-                                       <option value="PowerMaxExpress">PowerMax Express</option>
-                                       <option value="PowerMaster10">PowerMaster 10</option>
-                                       <option value="PowerMaster30">PowerMaster 30</option>
+                                       <option value="PowerMax">@text/config.panelType.option.PowerMax</option>
+                                       <option value="PowerMax+">@text/config.panelType.option.PowerMaxPlus</option>
+                                       <option value="PowerMaxPro">@text/config.panelType.option.PowerMaxPro</option>
+                                       <option value="PowerMaxComplete">@text/config.panelType.option.PowerMaxComplete</option>
+                                       <option value="PowerMaxProPart">@text/config.panelType.option.PowerMaxProPart</option>
+                                       <option value="PowerMaxCompletePart">@text/config.panelType.option.PowerMaxCompletePart</option>
+                                       <option value="PowerMaxExpress">@text/config.panelType.option.PowerMaxExpress</option>
+                                       <option value="PowerMaster10">@text/config.panelType.option.PowerMaster10</option>
+                                       <option value="PowerMaster30">@text/config.panelType.option.PowerMaster30</option>
                                </options>
                                <default>PowerMaxPro</default>
                                <advanced>true</advanced>