Add default translations for transform add-ons (#11755)

This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-12-11 18:01:29 +01:00
committed by GitHub
parent 13ca0d5500
commit 1b3818c329
16 changed files with 72 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
</parameter>
<parameter name="sourceFormat" type="text" required="false">
<label>State Formatter</label>
<description>How to format the state on the channel before transforming it, i.e. %s or %.1f °C (default is %s)</description>
<description>How to format the state on the channel before transforming it, i.e. %s or %.1f °C (default is %s).</description>
<advanced>true</advanced>
</parameter>
</config-description>

View File

@@ -0,0 +1,8 @@
profile.config.transform.XPATH.function.label = XPath Expression
profile.config.transform.XPATH.function.description = XPath expression to be applied on the state: For example: /*[name()='PTZStatus']/*[name()='AbsoluteHigh']/*[name()='azimuth']/
profile.config.transform.XPATH.sourceFormat.label = State Formatter
profile.config.transform.XPATH.sourceFormat.description = How to format the state on the channel before transforming it, i.e. %s or %.1f °C (default is %s).
# profile type
profile-type.transform.XPATH.label = XPATH