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:
@@ -11,7 +11,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.JSONPATH.function.label = JSONPath Expression
|
||||
profile.config.transform.JSONPATH.function.description = Expression to be applied on the state. For example: $.device.status.temperature
|
||||
profile.config.transform.JSONPATH.sourceFormat.label = State Formatter
|
||||
profile.config.transform.JSONPATH.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.JSONPATH.label = JSONPATH
|
||||
Reference in New Issue
Block a user