From 352dbf2aaa0a1b4cd07bcd378e25ebbea19da854 Mon Sep 17 00:00:00 2001
From: Holger Friedrich <mail@holger-friedrich.de>
Date: Sat, 18 May 2024 18:43:53 +0200
Subject: [PATCH] Update i18n property files (#4229)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
---
 .../resources/OH-INF/i18n/jsr223.properties   | 21 +++++++++++++++++++
 .../resources/OH-INF/i18n/magic.properties    | 16 ++++++++++++++
 .../resources/OH-INF/i18n/chart.properties    |  5 +++++
 .../resources/OH-INF/i18n/voice.properties    |  2 +-
 4 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 bundles/org.openhab.core.automation.module.script.rulesupport/src/main/resources/OH-INF/i18n/jsr223.properties

diff --git a/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/resources/OH-INF/i18n/jsr223.properties b/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/resources/OH-INF/i18n/jsr223.properties
new file mode 100644
index 0000000000..f6b3f78500
--- /dev/null
+++ b/bundles/org.openhab.core.automation.module.script.rulesupport/src/main/resources/OH-INF/i18n/jsr223.properties
@@ -0,0 +1,21 @@
+# jsr223.ScriptedAction
+
+module-type.jsr223.ScriptedAction.label = Scripted action
+module-type.jsr223.ScriptedAction.description = allows the execution of a method defined by a script
+module-type.jsr223.ScriptedAction.config.privId.description = the identifier of the private method
+module-type.jsr223.ScriptedAction.output.result.label = result
+module-type.jsr223.ScriptedAction.output.result.description = the script result.
+
+# jsr223.ScriptedCondition
+
+module-type.jsr223.ScriptedCondition.label = Scripted condition
+module-type.jsr223.ScriptedCondition.description = allows the definition of a condition by a script
+module-type.jsr223.ScriptedCondition.config.privId.description = the identifier of the private method
+
+# jsr223.ScriptedTrigger
+
+module-type.jsr223.ScriptedTrigger.label = Scripted trigger
+module-type.jsr223.ScriptedTrigger.description = allows the execution of a method defined by a script
+module-type.jsr223.ScriptedTrigger.config.privId.description = the identifier of the private method
+module-type.jsr223.ScriptedTrigger.output.triggerOutput.label = TriggerOutput label
+module-type.jsr223.ScriptedTrigger.output.triggerOutput.description = Text from the trigger
diff --git a/bundles/org.openhab.core.test.magic/src/main/resources/OH-INF/i18n/magic.properties b/bundles/org.openhab.core.test.magic/src/main/resources/OH-INF/i18n/magic.properties
index 420339f37c..7c0c8f41bd 100644
--- a/bundles/org.openhab.core.test.magic/src/main/resources/OH-INF/i18n/magic.properties
+++ b/bundles/org.openhab.core.test.magic/src/main/resources/OH-INF/i18n/magic.properties
@@ -49,6 +49,8 @@ thing-type.magic.rollershutter.label = Magic Rollershutter Thing
 thing-type.magic.rollershutter.description = A rollershutter
 thing-type.magic.thermostat.label = Magic Thermostat
 thing-type.magic.thermostat.description = A thermostat for set point temperature and current temperature.
+thing-type.magic.timeseries.label = Magic Timeseries Updates Thing
+thing-type.magic.timeseries.description = Demonstrates the use of TimeSeries as forecast.
 
 # thing types config
 
@@ -64,6 +66,19 @@ thing-type.config.magic.image.source.label = Image URL
 thing-type.config.magic.image.source.description = The URL the image will be loaded from
 thing-type.config.magic.online-offline.toggleTime.label = Toggle Time
 thing-type.config.magic.online-offline.toggleTime.description = The time in seconds to toggle between ONLINE and OFFLINE status.
+thing-type.config.magic.timeseries.count.label = Value Count
+thing-type.config.magic.timeseries.count.description = The number of values to generate.
+thing-type.config.magic.timeseries.interval.label = Interval
+thing-type.config.magic.timeseries.interval.description = The interval to send the generated data.
+thing-type.config.magic.timeseries.max.label = Maximum
+thing-type.config.magic.timeseries.max.description = The maximum value.
+thing-type.config.magic.timeseries.min.label = Minimum
+thing-type.config.magic.timeseries.min.description = The minimum value.
+thing-type.config.magic.timeseries.type.label = Type
+thing-type.config.magic.timeseries.type.description = How to generate the values.
+thing-type.config.magic.timeseries.type.option.RND = Random
+thing-type.config.magic.timeseries.type.option.ASC = Ascending
+thing-type.config.magic.timeseries.type.option.DESC = Descending
 thing-type.config.magic.update-config.updateModel.label = Model ID
 thing-type.config.magic.update-config.updateModel.description = The model of the magic firmware update thing
 thing-type.config.magic.update-config.updateModel.option.Alohomora = Alohomora
@@ -87,6 +102,7 @@ channel-type.magic.choosy.state.option.2 = Two
 channel-type.magic.color.label = Color
 channel-type.magic.color.description = The color channel allows to control the color of a light. It is also possible to dim values and switch the light on and off.
 channel-type.magic.contact.label = Contact
+channel-type.magic.forecast.label = Forecast
 channel-type.magic.image.label = Image
 channel-type.magic.location.label = Location
 channel-type.magic.number.label = Thing Online(>0)/Offline(<0) Delay
diff --git a/bundles/org.openhab.core.ui/src/main/resources/OH-INF/i18n/chart.properties b/bundles/org.openhab.core.ui/src/main/resources/OH-INF/i18n/chart.properties
index 986970dc3c..bf457f1064 100644
--- a/bundles/org.openhab.core.ui/src/main/resources/OH-INF/i18n/chart.properties
+++ b/bundles/org.openhab.core.ui/src/main/resources/OH-INF/i18n/chart.properties
@@ -6,5 +6,10 @@ system.config.chart.scale.label = Scale
 system.config.chart.scale.description = Defines the scale to apply to the requested chart height (0.5 to divide by 2 for example).
 system.config.chart.maxWidth.label = Maximum Width
 system.config.chart.maxWidth.description = Defines the maximum width in pixels for the chart to build.
+system.config.sitemap.groupMembersSorting.label = Group Members Sorting
+system.config.sitemap.groupMembersSorting.description = Defines how the members of a group are sorted in UI.
+system.config.sitemap.groupMembersSorting.option.NONE = No sorting
+system.config.sitemap.groupMembersSorting.option.LABEL = Sorted by label
+system.config.sitemap.groupMembersSorting.option.NAME = Sorted by name
 
 service.system.chart.label = Charts
diff --git a/bundles/org.openhab.core.voice/src/main/resources/OH-INF/i18n/voice.properties b/bundles/org.openhab.core.voice/src/main/resources/OH-INF/i18n/voice.properties
index 92044fc72b..396b1a765c 100644
--- a/bundles/org.openhab.core.voice/src/main/resources/OH-INF/i18n/voice.properties
+++ b/bundles/org.openhab.core.voice/src/main/resources/OH-INF/i18n/voice.properties
@@ -22,7 +22,7 @@ system.config.voice.enableCacheTTS.description = true to allow TTS services to c
 system.config.voice.cacheSizeTTS.label = TTS Cache Size
 system.config.voice.cacheSizeTTS.description = The limit size of the TTS cache (in kB).
 system.config.voice.maxTextLengthCacheTTS.label = TTS Cache Maximum Text Length
-system.config.voice.maxTextLengthCacheTTS.description = The limit length of a text handled by the TTS cache. If exceeded, will passthrough to the TTS without storing it. 0 for no limit.
+system.config.voice.maxTextLengthCacheTTS.description = The maximum length of texts handled by the TTS cache (in character). If exceeded, will pass the text to the TTS without storing it. 0 for no limit.
 
 error.ks-error = Encountered error while spotting keywords, {0}
 error.stt-error = Encountered error while recognizing text, {0}