From 558a48e304f63ec46f7ddafdc4463ba6dab7d68a Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Sat, 17 Dec 2022 13:40:12 +0100 Subject: [PATCH] [jsscripting] Update add-on name in default translation (#13984) Leftover from #13764. Signed-off-by: Florian Hotze Signed-off-by: Andras Uhrin --- .../OH-INF/i18n/jsscripting.properties | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/bundles/org.openhab.automation.jsscripting/src/main/resources/OH-INF/i18n/jsscripting.properties b/bundles/org.openhab.automation.jsscripting/src/main/resources/OH-INF/i18n/jsscripting.properties index c4035c095b7f5..17580ae61c910 100644 --- a/bundles/org.openhab.automation.jsscripting/src/main/resources/OH-INF/i18n/jsscripting.properties +++ b/bundles/org.openhab.automation.jsscripting/src/main/resources/OH-INF/i18n/jsscripting.properties @@ -1,15 +1,8 @@ -# add-on - -addon.jsscripting.name = JavaScript Scripting -addon.jsscripting.description = This adds a JS (ECMAScript-2021) script engine. - -# add-on - -automation.config.jsscripting.injectionCachingEnabled.label = Cache openHAB JavaScript Library Injection -automation.config.jsscripting.injectionCachingEnabled.description = Cache the openHAB JavaScript library injection for optimal performance.
Disable this option to allow loading the library from the local user configuration directory "automation/js/node_modules". Disabling caching may increase script loading times, especially on less powerful systems. -automation.config.jsscripting.injectionCachingEnabled.option.true = Cache Library Injection -automation.config.jsscripting.injectionCachingEnabled.option.false = Do Not Cache Library Injection automation.config.jsscripting.injectionEnabled.label = Use Built-in Global Variables -automation.config.jsscripting.injectionEnabled.description = Import all variables from the openHAB JavaScript library into all rules for common services like items, things, actions, log, etc...
If disabled, the openHAB JavaScript library can be imported manually using "require('openhab')" +automation.config.jsscripting.injectionEnabled.description = Import all variables from the OH scripting library into all rules for common services like items, things, actions, log, etc...
If disabled, the OH scripting library can be imported manually using "require('openhab')" automation.config.jsscripting.injectionEnabled.option.true = Use Built-in Variables automation.config.jsscripting.injectionEnabled.option.false = Do Not Use Built-in Variables + +# service + +service.automation.jsscripting.label = JavaScript Scripting