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:
@@ -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>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
profile.config.transform.REGEX.function.label = Regular Expression
|
||||
profile.config.transform.REGEX.function.description = Regular expression to be applied on the state. Should contain a capture group whose outcome will be the result. For example: .*=(\\d*.\\d*).* extracts the 23.5 from temp=23.5°C
|
||||
profile.config.transform.REGEX.sourceFormat.label = State Formatter
|
||||
profile.config.transform.REGEX.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.REGEX.label = REGEX
|
||||
Reference in New Issue
Block a user