Clarify the script profile config description (#3506)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/3511/head
jimtng 2023-03-29 16:41:38 +10:00 committed by GitHub
parent b6c8aeaf10
commit 30bbc95506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -10,12 +10,14 @@
<description>MIME-type ("application/vnd.openhab.dsl.rule") of the scripting language</description>
</parameter>
<parameter name="toItemScript" type="text">
<label>To Item Script</label>
<description>The Script for transforming states and commands from handler to item.</description>
<label>Thing To Item Transformation</label>
<description>The Script for transforming state updates and commands from the Thing handler to the item. The script
may return null to discard the updates/commands and not pass them through.</description>
</parameter>
<parameter name="toHandlerScript" type="text">
<label>To Handler Script</label>
<description>The Script for transforming states and commands from item to handler.</description>
<label>Item To Thing Transformation</label>
<description>The Script for transforming commands from the item to the Thing handler. The script may return null to
discard the commands and not pass them through.</description>
</parameter>
</config-description>

View File

@ -1,6 +1,6 @@
profile.system.script.scriptLanguage.label = Script Language
profile.system.script.scriptLanguage.description = MIME-type ("application/vnd.openhab.dsl.rule") of the scripting language
profile.system.script.toItemScript.label = To Item Script
profile.system.script.toItemScript.description = The Script for transforming states and commands from handler to item.
profile.system.script.toHandlerScript.label = To Handler Script
profile.system.script.toHandlerScript.description = The Script for transforming states and commands from item to handler.
profile.system.script.toItemScript.label = Thing To Item Transformation
profile.system.script.toItemScript.description = The Script for transforming state updates and commands from the Thing handler to the item. The script may return null to discard the updates/commands and not pass them through.
profile.system.script.toHandlerScript.label = Item To Thing Transformation
profile.system.script.toHandlerScript.description = The Script for transforming commands from the item to the Thing handler. The script may return null to discard the commands and not pass them through.