From f00cb2f5ff144f4945c3fb37b76bb81d09bdc13e Mon Sep 17 00:00:00 2001 From: lolodomo Date: Mon, 15 Jul 2024 14:19:16 +0200 Subject: [PATCH] Fix i18n entry matching the add-on name for io add-ons (#17062) Signed-off-by: Laurent Garnier Signed-off-by: Ciprian Pascu --- .../src/main/resources/OH-INF/i18n/homekit.properties | 9 +++++---- .../main/resources/OH-INF/i18n/hueemulation.properties | 9 +++++---- .../src/main/resources/OH-INF/i18n/metrics.properties | 9 +++++---- .../src/main/resources/OH-INF/i18n/neeo.properties | 9 +++++---- .../main/resources/OH-INF/i18n/openhabcloud.properties | 9 +++++---- 5 files changed, 25 insertions(+), 20 deletions(-) diff --git a/bundles/org.openhab.io.homekit/src/main/resources/OH-INF/i18n/homekit.properties b/bundles/org.openhab.io.homekit/src/main/resources/OH-INF/i18n/homekit.properties index 7db2b2234b1..40970eaeec0 100644 --- a/bundles/org.openhab.io.homekit/src/main/resources/OH-INF/i18n/homekit.properties +++ b/bundles/org.openhab.io.homekit/src/main/resources/OH-INF/i18n/homekit.properties @@ -1,3 +1,8 @@ +# add-on + +addon.homekit.name = HomeKit +addon.homekit.description = Exposes openHAB to HomeKit. + io.config.homekit.blockUserDeletion.label = Block deletion of the HomeKit user io.config.homekit.blockUserDeletion.description = Block deletion of the HomeKit user information from openHAB and the unpairing of devices. io.config.homekit.group.core.label = Core Configuration. @@ -25,7 +30,3 @@ io.config.homekit.useFahrenheitTemperature.label = Use Fahrenheit Temperature io.config.homekit.useFahrenheitTemperature.description = Defines whether or not to direct HomeKit clients to use fahrenheit temperatures instead of celsius. io.config.homekit.useOHmDNS.label = Use openHAB mDNS service io.config.homekit.useOHmDNS.description = Defines whether mDNS service of openHAB or a separate instance of mDNS should be used. - -# service - -service.io.homekit.label = HomeKit Integration diff --git a/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties b/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties index f14a700d807..c197fda512c 100644 --- a/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties +++ b/bundles/org.openhab.io.hueemulation/src/main/resources/OH-INF/i18n/hueemulation.properties @@ -1,3 +1,8 @@ +# add-on + +addon.hueemulation.name = Hue Emulation +addon.hueemulation.description = Exposes openHAB as Hue Devices. + io.config.hueemulation.createNewUserOnEveryEndpoint.label = Pairing: Add Unknown User-keys io.config.hueemulation.createNewUserOnEveryEndpoint.description = Set this option to create new users on the fly during the next pairing mode period. This helps with Amazon Echo device discovery. This option is automatically switched off after the timeout. io.config.hueemulation.discoveryHttpPort.label = Optional Discovery Web Port @@ -95,7 +100,3 @@ module-type.timer.TimerTrigger.config.randomizeTime.label = Duration Upper Bound module-type.timer.TimerTrigger.config.randomizeTime.description = An optional upper bound duration before this timer expires with the pattern hh:mm:ss. A random duration between Duration and Duration Upper Bound will be chosen. module-type.timer.TimerTrigger.config.repeat.label = Repeat module-type.timer.TimerTrigger.config.repeat.description = You can make this timer a recurring timer by setting a value above 1. The default is 1. If you set a value below 0 like -1 this timer will be repeated indefinitely - -# service - -service.io.hueemulation.label = Hue Emulation diff --git a/bundles/org.openhab.io.metrics/src/main/resources/OH-INF/i18n/metrics.properties b/bundles/org.openhab.io.metrics/src/main/resources/OH-INF/i18n/metrics.properties index d7d436f258c..e309fadda6b 100644 --- a/bundles/org.openhab.io.metrics/src/main/resources/OH-INF/i18n/metrics.properties +++ b/bundles/org.openhab.io.metrics/src/main/resources/OH-INF/i18n/metrics.properties @@ -1,3 +1,8 @@ +# add-on + +addon.metrics.name = Metrics +addon.metrics.description = An additional REST endpoint to retrieve openHAB core metrics. + io.config.metrics.group.influx.label = Influx Metrics io.config.metrics.group.jmx.label = JMX Metrics io.config.metrics.influxDB.label = Database Name @@ -14,7 +19,3 @@ io.config.metrics.influxUsername.label = User Name io.config.metrics.influxUsername.description = The InfluxDB User Name (No Default). io.config.metrics.jmxMetricsEnabled.label = Enabled io.config.metrics.jmxMetricsEnabled.description = Enable the Java Management Extensions (JMX) Metrics. - -# service - -service.io.metrics.label = Metrics Service diff --git a/bundles/org.openhab.io.neeo/src/main/resources/OH-INF/i18n/neeo.properties b/bundles/org.openhab.io.neeo/src/main/resources/OH-INF/i18n/neeo.properties index d4acc837d68..ad039523d50 100644 --- a/bundles/org.openhab.io.neeo/src/main/resources/OH-INF/i18n/neeo.properties +++ b/bundles/org.openhab.io.neeo/src/main/resources/OH-INF/i18n/neeo.properties @@ -1,3 +1,8 @@ +# add-on + +addon.neeo.name = Neeo +addon.neeo.description = The openHAB NEEO integration allows mapping of openHAB things/item to a NEEO device/capabilities. + io.config.neeo.checkStatusInterval.label = Check Status Interval (seconds) io.config.neeo.checkStatusInterval.description = The interval (in seconds) to check the status of the brain io.config.neeo.exposeAll.label = Expose All @@ -6,7 +11,3 @@ io.config.neeo.exposeNeeoBinding.label = Expose NEEO Binding io.config.neeo.exposeNeeoBinding.description = Expose things found by the NEEO Binding io.config.neeo.searchLimit.label = Search Limit io.config.neeo.searchLimit.description = The maximum number of results to return for a search - -# service - -service.io.neeo.label = NEEO Integration diff --git a/bundles/org.openhab.io.openhabcloud/src/main/resources/OH-INF/i18n/openhabcloud.properties b/bundles/org.openhab.io.openhabcloud/src/main/resources/OH-INF/i18n/openhabcloud.properties index 45b8e7a42c6..e2dcb21b543 100644 --- a/bundles/org.openhab.io.openhabcloud/src/main/resources/OH-INF/i18n/openhabcloud.properties +++ b/bundles/org.openhab.io.openhabcloud/src/main/resources/OH-INF/i18n/openhabcloud.properties @@ -1,3 +1,8 @@ +# add-on + +addon.openhabcloud.name = openHAB Cloud +addon.openhabcloud.description = Connects local instance to the openHAB cloud. + io.config.openhabcloud.baseURL.label = Base URL io.config.openhabcloud.baseURL.description = Base URL for the openHAB Cloud server. io.config.openhabcloud.expose.label = Items to Expose @@ -6,7 +11,3 @@ io.config.openhabcloud.mode.label = Mode io.config.openhabcloud.mode.description = What features of the openHAB Cloud service should be used. io.config.openhabcloud.mode.option.notification = Notifications io.config.openhabcloud.mode.option.remote = Notifications & Remote Access - -# service - -service.io.openhabcloud.label = openHAB Cloud