[powermax] Add default translations to properties file (#11430)

Allows translating the powermax binding strings with Crowdin.

This is not a 100% internationalization of the binding, rather 95%.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo
2021-10-25 08:06:02 +02:00
committed by GitHub
parent 1767e133ab
commit 92c50ad69b
5 changed files with 170 additions and 43 deletions

View File

@@ -51,36 +51,35 @@
<description>The TCP port to use for connecting to the Ethernet interface of the alarm system.</description>
</parameter>
<parameter name="motionOffDelay" type="integer" min="1" unit="min" required="false">
<label>Motion Reset Delay</label>
<description>The delay in minutes to reset a motion detection.</description>
<label>@text/config.motionOffDelay.label</label>
<description>@text/config.motionOffDelay.description</description>
<default>3</default>
</parameter>
<parameter name="allowArming" type="boolean" required="false">
<label>Allow Arming</label>
<description>Enable or disable arming the alarm system from openHAB.</description>
<label>@text/config.allowArming.label</label>
<description>@text/config.allowArming.description</description>
<default>false</default>
</parameter>
<parameter name="allowDisarming" type="boolean" required="false">
<label>Allow Disarming</label>
<description>Enable or disable disarming the alarm system from openHAB.</description>
<label>@text/config.allowDisarming.label</label>
<description>@text/config.allowDisarming.description</description>
<default>false</default>
</parameter>
<parameter name="pinCode" type="text" required="false">
<context>password</context>
<label>PIN Code</label>
<description>The PIN code to use for arming/disarming the alarm system from openHAB. Not required except when
Powerlink mode cannot be used.</description>
<label>@text/config.pinCode.label</label>
<description>@text/config.pinCode.description</description>
<advanced>true</advanced>
</parameter>
<parameter name="forceStandardMode" type="boolean" required="false">
<label>Force Standard Mode</label>
<description>Force the standard mode rather than trying using the Powerlink mode.</description>
<label>@text/config.forceStandardMode.label</label>
<description>@text/config.forceStandardMode.description</description>
<default>false</default>
<advanced>true</advanced>
</parameter>
<parameter name="panelType" type="text" required="false">
<label>Panel Type</label>
<description>Define the panel type. Only required when forcing the standard mode.</description>
<label>@text/config.panelType.label</label>
<description>@text/config.panelType.description</description>
<limitToOptions>true</limitToOptions>
<options>
<option value="PowerMax">PowerMax</option>
@@ -97,8 +96,8 @@
<advanced>true</advanced>
</parameter>
<parameter name="autoSyncTime" type="boolean" required="false">
<label>Sync Time</label>
<description>Automatic sync time at openHAB startup.</description>
<label>@text/config.autoSyncTime.label</label>
<description>@text/config.autoSyncTime.description</description>
<default>false</default>
<advanced>true</advanced>
</parameter>

View File

@@ -49,36 +49,35 @@
and /dev/ttyS0 or /dev/ttyUSB0 for Linux.</description>
</parameter>
<parameter name="motionOffDelay" type="integer" min="1" unit="min" required="false">
<label>Motion Reset Delay</label>
<description>The delay in minutes to reset a motion detection.</description>
<label>@text/config.motionOffDelay.label</label>
<description>@text/config.motionOffDelay.description</description>
<default>3</default>
</parameter>
<parameter name="allowArming" type="boolean" required="false">
<label>Allow Arming</label>
<description>Enable or disable arming the alarm system from openHAB.</description>
<label>@text/config.allowArming.label</label>
<description>@text/config.allowArming.description</description>
<default>false</default>
</parameter>
<parameter name="allowDisarming" type="boolean" required="false">
<label>Allow Disarming</label>
<description>Enable or disable disarming the alarm system from openHAB.</description>
<label>@text/config.allowDisarming.label</label>
<description>@text/config.allowDisarming.description</description>
<default>false</default>
</parameter>
<parameter name="pinCode" type="text" required="false">
<context>password</context>
<label>PIN Code</label>
<description>The PIN code to use for arming/disarming the alarm system from openHAB. Not required except when
Powerlink mode cannot be used.</description>
<label>@text/config.pinCode.label</label>
<description>@text/config.pinCode.description</description>
<advanced>true</advanced>
</parameter>
<parameter name="forceStandardMode" type="boolean" required="false">
<label>Force Standard Mode</label>
<description>Force the standard mode rather than trying using the Powerlink mode.</description>
<label>@text/config.forceStandardMode.label</label>
<description>@text/config.forceStandardMode.description</description>
<default>false</default>
<advanced>true</advanced>
</parameter>
<parameter name="panelType" type="text" required="false">
<label>Panel Type</label>
<description>Define the panel type. Only required when forcing the standard mode.</description>
<label>@text/config.panelType.label</label>
<description>@text/config.panelType.description</description>
<limitToOptions>true</limitToOptions>
<options>
<option value="PowerMax">PowerMax</option>
@@ -95,8 +94,8 @@
<advanced>true</advanced>
</parameter>
<parameter name="autoSyncTime" type="boolean" required="false">
<label>Sync Time</label>
<description>Automatic sync time at openHAB startup.</description>
<label>@text/config.autoSyncTime.label</label>
<description>@text/config.autoSyncTime.description</description>
<default>false</default>
<advanced>true</advanced>
</parameter>