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.EXEC.function.label = Command
profile.config.transform.EXEC.function.description = Command to be executed on the command line. It should contain %s which will be substituted with the state.
profile.config.transform.EXEC.sourceFormat.label = State Formatter
profile.config.transform.EXEC.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.EXEC.label = EXEC