Skip to content

Commit 5aec1c8

Browse files
authoredJul 21, 2024
[jrubyscripting] Generate proper i18n file (openhab#17063)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
1 parent 5fdb9fd commit 5aec1c8

File tree

5 files changed

+36
-129
lines changed

5 files changed

+36
-129
lines changed
 

‎bundles/org.openhab.automation.jrubyscripting/src/main/resources/OH-INF/i18n/jruby.properties

-33
This file was deleted.

‎bundles/org.openhab.automation.jrubyscripting/src/main/resources/OH-INF/i18n/jruby_de.properties

-33
This file was deleted.

‎bundles/org.openhab.automation.jrubyscripting/src/main/resources/OH-INF/i18n/jruby_hu.properties

-30
This file was deleted.

‎bundles/org.openhab.automation.jrubyscripting/src/main/resources/OH-INF/i18n/jruby_it.properties

-33
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# add-on
2+
3+
addon.jrubyscripting.name = JRuby Scripting
4+
addon.jrubyscripting.description = This adds a JRuby script engine.
5+
6+
# add-on
7+
8+
automation.config.jrubyscripting.check_update.label = Check for Gem Updates
9+
automation.config.jrubyscripting.check_update.description = Check RubyGems for updates to the above gems when OpenHAB starts or JRuby settings are changed. Otherwise it will try to fulfill the requirements with locally installed gems, and you can manage them yourself with an external Ruby by setting the same GEM_HOME.
10+
automation.config.jrubyscripting.dependency_tracking.label = Enable Dependency Tracking
11+
automation.config.jrubyscripting.dependency_tracking.description = Dependency tracking allows your scripts to automatically reload when one of its dependencies is updated. You may want to disable dependency tracking if you plan on editing or updating a shared library, but don't want all your scripts to reload until you can test it.
12+
automation.config.jrubyscripting.gem_home.label = GEM_HOME
13+
automation.config.jrubyscripting.gem_home.description = Location Ruby Gems will be installed to and loaded from. Directory will be created if necessary. You can use <tt>{RUBY_ENGINE_VERSION}</tt>, <tt>{RUBY_ENGINE}</tt> and/or <tt>{RUBY_VERSION}</tt> replacements in this value to automatically point to a new directory when the addon is updated with a new version of JRuby. Defaults to "<tt>OPENHAB_CONF/automation/ruby/.gem/{RUBY_ENGINE_VERSION}</tt>" when not specified.
14+
automation.config.jrubyscripting.gems.label = Ruby Gems
15+
automation.config.jrubyscripting.gems.description = A comma separated list of Ruby Gems to install. Versions may be constrained by separating with an <tt>=</tt> and then the standard RubyGems version constraint, such as "<tt>openhab-scripting=~>5.0</tt>".
16+
automation.config.jrubyscripting.group.environment.label = Ruby Environment
17+
automation.config.jrubyscripting.group.environment.description = This group defines Ruby's environment.
18+
automation.config.jrubyscripting.group.gems.label = Ruby Gems
19+
automation.config.jrubyscripting.group.gems.description = This group defines the list of Ruby Gems to install.
20+
automation.config.jrubyscripting.group.system.label = System Properties
21+
automation.config.jrubyscripting.group.system.description = This group defines JRuby system properties.
22+
automation.config.jrubyscripting.local_context.label = Context Instance Type
23+
automation.config.jrubyscripting.local_context.description = The local context holds Ruby runtime, name-value pairs for sharing variables between Java and Ruby. See <a href="https://github.com/jruby/jruby/wiki/RedBridge#Context_Instance_Type">the documentation</a> for options and details.
24+
automation.config.jrubyscripting.local_context.option.singleton = Singleton
25+
automation.config.jrubyscripting.local_context.option.threadsafe = ThreadSafe
26+
automation.config.jrubyscripting.local_context.option.singlethread = SingleThread
27+
automation.config.jrubyscripting.local_context.option.concurrent = Concurrent
28+
automation.config.jrubyscripting.local_variable.label = Local Variable Behavior
29+
automation.config.jrubyscripting.local_variable.description = Defines how variables are shared between Ruby and Java. See <a href="https://github.com/jruby/jruby/wiki/RedBridge#local-variable-behavior-options">the documentation</a> for options and details.
30+
automation.config.jrubyscripting.local_variable.option.transient = Transient
31+
automation.config.jrubyscripting.local_variable.option.persistent = Persistent
32+
automation.config.jrubyscripting.local_variable.option.global = Global
33+
automation.config.jrubyscripting.require.label = Require Scripts
34+
automation.config.jrubyscripting.require.description = A comma separated list of script names to be required by the JRuby Scripting Engine before running user scripts.
35+
automation.config.jrubyscripting.rubylib.label = RUBYLIB
36+
automation.config.jrubyscripting.rubylib.description = Search path for user libraries. Separate each path with a colon (semicolon in Windows). Defaults to "<tt>OPENHAB_CONF/automation/ruby/lib</tt>" when not specified.

0 commit comments

Comments
 (0)
Please sign in to comment.