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

@@ -13,7 +13,7 @@
</parameter>
<parameter name="sourceFormat" type="text">
<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.JS.function.label = JavaScript Filename
profile.config.transform.JS.function.description = Filename of the JavaScript in the transform folder. The state will be available in the variable \"input\".
profile.config.transform.JS.sourceFormat.label = State Formatter
profile.config.transform.JS.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.JS.label = JS