From 9e33db6702a1f230bbff753bdb9b2accdaa691b4 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Thu, 17 Mar 2022 19:35:35 +0100 Subject: [PATCH] Remove MQTT system broker leftovers (#2842) The MqttService was used to keep track of the system MQTT brokers. Since there are none it can be removed as well as the observer, tests, configuration and translations. Fixes #2841 Signed-off-by: Wouter Born --- .../mqtt/MqttBrokerConnectionConfig.java | 6 +- .../transport/mqtt/MqttConnectionState.java | 3 + .../core/io/transport/mqtt/MqttService.java | 90 ------------ .../transport/mqtt/MqttServiceObserver.java | 44 ------ .../MqttBrokerConnectionServiceInstance.java | 110 -------------- ...BrokerConnectionServiceInstanceMarker.java | 33 ----- .../mqtt/internal/MqttServiceImpl.java | 138 ------------------ .../config/brokerConnectionInstance.xml | 117 --------------- .../i18n/brokerConnectionInstance.properties | 45 ------ .../brokerConnectionInstance_cs.properties | 45 ------ .../brokerConnectionInstance_de.properties | 45 ------ .../brokerConnectionInstance_el.properties | 45 ------ .../brokerConnectionInstance_fi.properties | 45 ------ .../brokerConnectionInstance_he.properties | 45 ------ .../brokerConnectionInstance_hu.properties | 45 ------ .../brokerConnectionInstance_it.properties | 45 ------ .../brokerConnectionInstance_nl.properties | 45 ------ .../brokerConnectionInstance_pt.properties | 45 ------ .../brokerConnectionInstance_ru.properties | 45 ------ .../brokerConnectionInstance_uk.properties | 45 ------ .../brokerConnectionInstance_zh.properties | 45 ------ .../mqtt/internal/MqttServiceTests.java | 84 ----------- 22 files changed, 6 insertions(+), 1204 deletions(-) delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttService.java delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttServiceObserver.java delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstanceMarker.java delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceImpl.java delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/config/brokerConnectionInstance.xml delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_cs.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_de.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_el.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_fi.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_he.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_hu.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_it.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_nl.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_pt.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_ru.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_uk.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_zh.properties delete mode 100644 bundles/org.openhab.core.io.transport.mqtt/src/test/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceTests.java diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttBrokerConnectionConfig.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttBrokerConnectionConfig.java index ced8c981a78..9a832c584f0 100644 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttBrokerConnectionConfig.java +++ b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttBrokerConnectionConfig.java @@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.Nullable; /** - * Contains configuration for a MqttBrokerConnection. Necessary to add a new broker connection the {@link MqttService}. + * Contains configuration for a MqttBrokerConnection. * * @author David Graeff - Initial contribution * @author Mark Herwege - Added flag for hostname validation @@ -53,7 +53,7 @@ public String getBrokerID() { if (name != null && name.length() > 0) { return name; } else { - StringBuffer b = new StringBuffer(); + StringBuilder b = new StringBuilder(); if (host != null) { b.append(host); } @@ -74,7 +74,7 @@ public String getBrokerID() { */ @Override public String toString() { - StringBuffer b = new StringBuffer(); + StringBuilder b = new StringBuilder(); if (name != null) { b.append(name); b.append(", "); diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttConnectionState.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttConnectionState.java index d97af765d5a..65d3f0028c7 100644 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttConnectionState.java +++ b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttConnectionState.java @@ -12,11 +12,14 @@ */ package org.openhab.core.io.transport.mqtt; +import org.eclipse.jdt.annotation.NonNullByDefault; + /** * The connection state of a {@link MqttBrokerConnection}. * * @author David Graeff - Initial contribution */ +@NonNullByDefault public enum MqttConnectionState { DISCONNECTED, CONNECTING, diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttService.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttService.java deleted file mode 100644 index f86b99ceb55..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttService.java +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.io.transport.mqtt; - -import java.util.Map; - -import org.eclipse.jdt.annotation.NonNullByDefault; -import org.eclipse.jdt.annotation.Nullable; -import org.openhab.core.io.transport.mqtt.internal.MqttBrokerConnectionServiceInstance; - -/** - * This service allows you to enumerate system-wide configured Mqtt broker connections. You do not need this service - * if you want to manage own/local Mqtt broker connections. If you add a broker connection, it will be - * available immediately for all MqttService users. A removed broker connection may still be in use by consuming - * services. - * - * Added/removed connections are not permanent. Use {@link MqttBrokerConnectionServiceInstance} to configure permanent - * connections. - * - * @author David Graeff - Initial contribution - */ -@NonNullByDefault -public interface MqttService { - - /** - * Add a listener to get notified of new/removed brokers. - * - * @param observer The observer - */ - void addBrokersListener(MqttServiceObserver observer); - - /** - * Remove a listener and don't get notified of new/removed brokers anymore. - * - * @param observer The observer - */ - void removeBrokersListener(MqttServiceObserver observer); - - /** - * Return true if a broker listener has been added via addBrokersListener(). - */ - boolean hasBrokerObservers(); - - /** - * Lookup an broker connection by name. - * - * @param brokerName to look for. - * @return existing connection or null - */ - @Nullable - MqttBrokerConnection getBrokerConnection(String brokerName); - - /** - * Adds a broker connection to the service. - * The broker connection state will not be altered (started/stopped). - * - * It is your responsibility to remove the broker connection again by calling - * removeBrokerConnection(brokerID). - * - * @param brokerID The broker connection will be identified by this ID. The ID must be unique within the service. - * @param connection The broker connection object - * @return Return true if the connection could be added successfully, return false if there is already - * an existing connection with the same name. - */ - boolean addBrokerConnection(String brokerID, MqttBrokerConnection connection); - - /** - * Remove a broker connection by name - * - * @param brokerName The broker ID - * @return Returns the removed broker connection, or null if there was none with the given name. - */ - @Nullable - MqttBrokerConnection removeBrokerConnection(String brokerID); - - /** - * Returns an unmodifiable map with all configured brokers of this service and the broker ID as keys. - */ - Map getAllBrokerConnections(); -} diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttServiceObserver.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttServiceObserver.java deleted file mode 100644 index cf48447b25a..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/MqttServiceObserver.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.io.transport.mqtt; - -import org.eclipse.jdt.annotation.NonNullByDefault; - -/** - * Implement this interface to get notified of new and removed MQTT broker. - * Register this observer at {@see MqttService}. - * - * @author David Graeff - Initial contribution - */ -@NonNullByDefault -public interface MqttServiceObserver { - /** - * Called, if a new broker has been added to the {@see MqttService}. - * If a broker connection is replaced, you will be notified by a brokerRemoved call, - * followed by a brokerAdded call. - * - * @param The unique ID within {@link MqttService} - * @param broker The new broker connection - */ - void brokerAdded(String brokerID, MqttBrokerConnection broker); - - /** - * Called, if a broker has been removed from the {@see MqttService}. - * - * @param The unique ID within {@link MqttService} - * @param broker The removed broker connection. - * Please unsubscribe from all topics and unregister - * all your listeners. - */ - void brokerRemoved(String brokerID, MqttBrokerConnection broker); -} diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java deleted file mode 100644 index 75660128e26..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.io.transport.mqtt.internal; - -import java.util.Map; - -import org.eclipse.jdt.annotation.NonNullByDefault; -import org.eclipse.jdt.annotation.Nullable; -import org.openhab.core.config.core.Configuration; -import org.openhab.core.io.transport.mqtt.MqttBrokerConnection; -import org.openhab.core.io.transport.mqtt.MqttBrokerConnectionConfig; -import org.openhab.core.io.transport.mqtt.MqttException; -import org.openhab.core.io.transport.mqtt.MqttService; -import org.osgi.service.cm.ConfigurationException; -import org.osgi.service.component.annotations.Activate; -import org.osgi.service.component.annotations.Component; -import org.osgi.service.component.annotations.ConfigurationPolicy; -import org.osgi.service.component.annotations.Deactivate; -import org.osgi.service.component.annotations.Modified; -import org.osgi.service.component.annotations.Reference; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * The user can configure multiple system Mqtt broker connections. This is realized via the OSGI service factory - * pattern. - * The framework requires a factory marker service, implemented in {@link MqttBrokerConnectionServiceInstanceMarker}. - * This service represents an instance of that factory and will initialize one MQTT broker connection with the given - * configuration and register it to the {@link MqttService}. - * - * @author David Graeff - Initial contribution - */ -@Component(immediate = true, configurationPolicy = ConfigurationPolicy.REQUIRE, service = MqttBrokerConnectionServiceInstance.class, configurationPid = "org.openhab.mqttbroker") -@NonNullByDefault -public class MqttBrokerConnectionServiceInstance { - private final Logger logger = LoggerFactory.getLogger(MqttBrokerConnectionServiceInstance.class); - - private @Nullable MqttBrokerConnection connection; - private final MqttService mqttService; - - @Activate - public MqttBrokerConnectionServiceInstance(final @Reference MqttService mqttService) { - this.mqttService = mqttService; - } - - /** - * Create broker connections based on the service configuration. This will disconnect and - * discard all existing textual configured brokers. - */ - @Modified - public void modified(@Nullable Map configMap) { - if (connection != null) { - connection.stop(); - } - - final MqttServiceImpl service = (MqttServiceImpl) mqttService; - if (configMap == null || configMap.isEmpty()) { - return; - } - - // Parse configuration - MqttBrokerConnectionConfig config = new Configuration(configMap).as(MqttBrokerConnectionConfig.class); - - try { - // Compute brokerID and make sure it is not empty - String brokerID = config.getBrokerID(); - if (brokerID == null || brokerID.isBlank()) { - logger.warn("Ignore invalid broker connection configuration: {}", config); - return; - } - - // Add connection and make sure it succeeded - MqttBrokerConnection c = service.addBrokerConnection(brokerID, config); - connection = c; - if (c == null) { - logger.warn("Ignore existing broker connection configuration for: {}", brokerID); - return; - } - c.start(); // Start connection - } catch (ConfigurationException | IllegalArgumentException e) { - logger.warn("MqttBroker connection configuration faulty: {}", e.getMessage()); - } catch (MqttException e) { - logger.warn("MqttBroker start failed: {}", e.getMessage(), e); - } - } - - @Activate - public void activate(@Nullable Map config) { - logger.debug("MQTT Broker connection service started..."); - modified(config); - } - - @Deactivate - public void deactivate() { - if (connection != null) { - connection.stop(); - } - connection = null; - } -} diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstanceMarker.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstanceMarker.java deleted file mode 100644 index 72ee6e8c3bc..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstanceMarker.java +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.io.transport.mqtt.internal; - -import org.eclipse.jdt.annotation.NonNullByDefault; -import org.openhab.core.config.core.ConfigurableService; -import org.osgi.framework.Constants; -import org.osgi.service.component.annotations.Component; - -/** - * This is a marker service and represents a service factory so multiple configuration instances of type - * {@link MqttBrokerConnectionServiceInstance} can be created. - * - * @author David Graeff - Initial contribution - */ -@Component(immediate = true, service = MqttBrokerConnectionServiceInstanceMarker.class, // - property = Constants.SERVICE_PID + "=org.openhab.mqttbroker") -@ConfigurableService(factory = true, category = "MQTT", label = "System MQTT Broker", description_uri = MqttBrokerConnectionServiceInstanceMarker.CONFIG_URI) -@NonNullByDefault -public class MqttBrokerConnectionServiceInstanceMarker { - - protected static final String CONFIG_URI = "mqtt:systemBrokerConnectionInstance"; -} diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceImpl.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceImpl.java deleted file mode 100644 index 4bdb4478d9b..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceImpl.java +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.io.transport.mqtt.internal; - -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.CopyOnWriteArrayList; - -import org.eclipse.jdt.annotation.NonNullByDefault; -import org.eclipse.jdt.annotation.Nullable; -import org.openhab.core.io.transport.mqtt.MqttBrokerConnection; -import org.openhab.core.io.transport.mqtt.MqttBrokerConnectionConfig; -import org.openhab.core.io.transport.mqtt.MqttException; -import org.openhab.core.io.transport.mqtt.MqttService; -import org.openhab.core.io.transport.mqtt.MqttServiceObserver; -import org.openhab.core.io.transport.mqtt.MqttWillAndTestament; -import org.osgi.framework.Constants; -import org.osgi.service.cm.ConfigurationException; -import org.osgi.service.component.annotations.Component; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * Implements {@link MqttService}. - * - * @author Davy Vanherbergen - Initial contribution - * @author David Graeff - Added/Removed observer interface, Add/Remove/Enumerate broker connections. - * @author Markus Rathgeb - Synchronize access to broker connections - */ -@Component(immediate = true, service = MqttService.class, configurationPid = "org.openhab.mqtt", property = { - Constants.SERVICE_PID + "=org.openhab.mqtt" }) -@NonNullByDefault -public class MqttServiceImpl implements MqttService { - private final Logger logger = LoggerFactory.getLogger(MqttServiceImpl.class); - private final Map brokerConnections = new ConcurrentHashMap<>(); - private final List brokersObservers = new CopyOnWriteArrayList<>(); - - @Override - public void addBrokersListener(MqttServiceObserver observer) { - brokersObservers.add(observer); - } - - @Override - public void removeBrokersListener(MqttServiceObserver observer) { - brokersObservers.remove(observer); - } - - @Override - public boolean hasBrokerObservers() { - return !brokersObservers.isEmpty(); - } - - @Override - public @Nullable MqttBrokerConnection getBrokerConnection(String brokerName) { - synchronized (brokerConnections) { - return brokerConnections.get(brokerName); - } - } - - @Override - public boolean addBrokerConnection(String brokerID, MqttBrokerConnection connection) { - synchronized (brokerConnections) { - if (brokerConnections.containsKey(brokerID)) { - return false; - } - brokerConnections.put(brokerID, connection); - } - brokersObservers.forEach(o -> o.brokerAdded(brokerID, connection)); - return true; - } - - protected @Nullable MqttBrokerConnection addBrokerConnection(String brokerID, MqttBrokerConnectionConfig config) - throws ConfigurationException, MqttException { - MqttBrokerConnection connection; - synchronized (brokerConnections) { - if (brokerConnections.containsKey(brokerID)) { - return null; - } - String host = config.host; - if (host != null && !host.isBlank()) { - connection = new MqttBrokerConnection(host, config.port, config.secure, config.hostnameValidated, - config.clientID); - brokerConnections.put(brokerID, connection); - } else { - throw new ConfigurationException("host", "You need to provide a hostname/IP!"); - } - } - - // Extract further configurations - connection.setCredentials(config.username, config.password); - if (config.keepAlive != null) { - connection.setKeepAliveInterval(config.keepAlive.intValue()); - } - - connection.setQos(config.qos.intValue()); - if (config.lwtTopic != null) { - String topic = config.lwtTopic; - MqttWillAndTestament will = new MqttWillAndTestament(topic, - config.lwtMessage != null ? config.lwtMessage.getBytes() : null, config.lwtQos, config.lwtRetain); - logger.debug("Setting last will: {}", will); - connection.setLastWill(will); - } - - brokersObservers.forEach(o -> o.brokerAdded(brokerID, connection)); - return connection; - } - - @SuppressWarnings("null") - @Override - public @Nullable MqttBrokerConnection removeBrokerConnection(String brokerID) { - synchronized (brokerConnections) { - final @Nullable MqttBrokerConnection connection = brokerConnections.remove(brokerID); - if (connection != null) { - brokersObservers.forEach(o -> o.brokerRemoved(brokerID, connection)); - } - return connection; - } - } - - @Override - public Map getAllBrokerConnections() { - synchronized (brokerConnections) { - return Collections.unmodifiableMap(brokerConnections); - } - } -} diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/config/brokerConnectionInstance.xml b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/config/brokerConnectionInstance.xml deleted file mode 100644 index 821c008664a..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/config/brokerConnectionInstance.xml +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - A group of connection parameters. - - - - All message parameters. - true - - - - All last-will parameters. - true - - - - - A connection name helps to identify a broker connection. If nothing is set, an automatic name based on - the host and port will be generated. - - - - Hostname or IP of the broker. - - - - A custom broker connection port. Leave empty to use the default MQTT ports for secure or non-secure - connections. - true - - - - A broker connection is either a non-secure TCP connection or a TLS secure connection. - false - - - - For a secure TLS connection, defines if the server hostname is validated against the hostname in the - certificate. - true - - - - Broker username. - - - - Broker password. - password - - - - An optional client ID used for this connection. - true - - - - Keep-alive timer in seconds. A too frequent timer could conquest the network / spam the MQTT server, a - too low value might risk that a broken connection is detected very late. - 60 - true - - - - The Quality of Service (QoS) level is an agreement between sender and receiver of a message regarding - the guarantees of delivering a message. - - - - - - 0 - - - - Messages send by this connection are retained - false - - - - When the connection dies, the last-will is performed by the MQTT server. This is the last-will topic. It - must be set to perform a last-will. - - - - When the connection dies, the last-will is performed by the MQTT server. This is the last-will message. - Can be empty. - - - - The Quality of Service (QoS) level is an agreement between sender and receiver of a message regarding - the guarantees of delivering a message. - - - - - - 0 - - - - When the connection dies, the last-will is performed by the MQTT server. If retain message is checked, - the message will be retained by the MQTT server. - false - - - - diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance.properties deleted file mode 100644 index 56fae1a7b04..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Connection -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = A group of connection parameters. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Message -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = All message parameters. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Last Will -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = All last-will parameters. - -mqtt.config.systemBrokerConnectionInstance.name.label = Connection Name -mqtt.config.systemBrokerConnectionInstance.name.description = A connection name helps to identify a broker connection. If nothing is set, an automatic name based on the host and port will be generated. -mqtt.config.systemBrokerConnectionInstance.host.label = Broker Host -mqtt.config.systemBrokerConnectionInstance.host.description = Hostname or IP of the broker. -mqtt.config.systemBrokerConnectionInstance.port.label = Broker Port -mqtt.config.systemBrokerConnectionInstance.port.description = A custom broker connection port. Leave empty to use the default MQTT ports for secure or non-secure connections. -mqtt.config.systemBrokerConnectionInstance.secure.label = Secure Connection? -mqtt.config.systemBrokerConnectionInstance.secure.description = A broker connection is either a non-secure TCP connection or a TLS secure connection. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Hostname Validated? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = For a secure TLS connection, defines if the server hostname is validated against the hostname in the certificate. -mqtt.config.systemBrokerConnectionInstance.username.label = Broker Username -mqtt.config.systemBrokerConnectionInstance.username.description = Broker username. -mqtt.config.systemBrokerConnectionInstance.password.label = Broker Password -mqtt.config.systemBrokerConnectionInstance.password.description = Broker password. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Client ID -mqtt.config.systemBrokerConnectionInstance.clientID.description = An optional client ID used for this connection. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Keep-alive timer in seconds. A too frequent timer could conquest the network / spam the MQTT server, a too low value might risk that a broken connection is detected very late. -mqtt.config.systemBrokerConnectionInstance.qos.label = Quality of Service -mqtt.config.systemBrokerConnectionInstance.qos.description = The Quality of Service (QoS) level is an agreement between sender and receiver of a message regarding the guarantees of delivering a message. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = At most once (best effort delivery "fire and forget") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = At least once (guaranteed that a message will be delivered at least once) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Exactly once (guarantees that each message is received only once by the counterpart) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Retain Messages -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Messages send by this connection are retained -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Last Will - Topic -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = When the connection dies, the last-will is performed by the MQTT server. This is the last-will topic. It must be set to perform a last-will. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Last Will - Message -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = When the connection dies, the last-will is performed by the MQTT server. This is the last-will message. Can be empty. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Last Will - Quality of Service -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = The Quality of Service (QoS) level is an agreement between sender and receiver of a message regarding the guarantees of delivering a message. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = At most once (best effort delivery "fire and forget") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = At least once (guaranteed that a message will be delivered at least once) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Exactly once (guarantees that each message is received only once by the counterpart) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Last Will - Retain Message -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = When the connection dies, the last-will is performed by the MQTT server. If retain message is checked, the message will be retained by the MQTT server. - -service.mqtt.systemBrokerConnectionInstance.label = System MQTT Broker diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_cs.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_cs.properties deleted file mode 100644 index d3eb3f28b61..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_cs.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Připojení -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Skupina parametrů připojení. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Zpráva -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Všechny parametry zprávy. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Poslední vůle -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Všechny parametry poslední vůle. - -mqtt.config.systemBrokerConnectionInstance.name.label = Název připojení -mqtt.config.systemBrokerConnectionInstance.name.description = Název připojení pomáhá identifikovat připojení k MQTT Brokerovi. Pokud není nic nastaveno, bude vygenerován automatický název založený na hostiteli a portu. -mqtt.config.systemBrokerConnectionInstance.host.label = Broker IP -mqtt.config.systemBrokerConnectionInstance.host.description = Jméno hostitele nebo IP Brokera. -mqtt.config.systemBrokerConnectionInstance.port.label = Broker port -mqtt.config.systemBrokerConnectionInstance.port.description = Vlastní port pro připojení k Brokerovi. Ponechte prázdné pro použití výchozích MQTT portů pro zabezpečená nebo nezabezpečená připojení. -mqtt.config.systemBrokerConnectionInstance.secure.label = Zabezpečené připojení? -mqtt.config.systemBrokerConnectionInstance.secure.description = Nezabezpečené připojení TCP k Brokerovi, nebo zabezpečené připojení TLS. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Ověření hostitele? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Při použití zabezpečeného TLS připojení\: Určuje, zda je hostitel serveru ověřen proti hostiteli certifikátu. -mqtt.config.systemBrokerConnectionInstance.username.label = Broker Uživatelské jméno -mqtt.config.systemBrokerConnectionInstance.username.description = Uživatelské jméno pro připojení k Brokerovi. -mqtt.config.systemBrokerConnectionInstance.password.label = Broker heslo -mqtt.config.systemBrokerConnectionInstance.password.description = Heslo pro připojení k Brokerovi. -mqtt.config.systemBrokerConnectionInstance.clientID.label = ID klienta -mqtt.config.systemBrokerConnectionInstance.clientID.description = Volitelné ID klienta použité pro toto připojení. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Keep-alive v sekundách. Příliš častý interval může zatížit síť / MQTT server, opačná hodnota může naopak způsobit, že dojde k pozdní detekci porušeného připojení. -mqtt.config.systemBrokerConnectionInstance.qos.label = Quality of Service -mqtt.config.systemBrokerConnectionInstance.qos.description = Úroveň kvality služby (QoS) je dohoda mezi odesílatelem a příjemcem zprávy týkající se záruk za doručení zprávy. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Maximálně jednou (nejlepší úsilí "pošli a zapomeň") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Alespoň jednou (zaručeno, že zpráva bude doručena alespoň jednou) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Přesně jednou (zaručuje, že každá zpráva je doručena pouze jednou) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Zachovat zprávy -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Zprávy odeslané tímto připojením jsou zachovány -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Poslední vůle - Topic -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Když se spojení přeruší, MQTT server odešle poslední vůli. Aby to fungovalo, musí být nastaven Topic pro poslední-vůli. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Poslední vůle - Zpráva -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Když se spojení přeruší, MQTT server odešle poslední vůli. Toto je Zpráva pro poslední-vůli (může být prázdná). -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Poslední vůle - Kvalita služby -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Úroveň kvality služby (QoS) je dohoda mezi odesílatelem a příjemcem zprávy týkající se záruk za doručení zprávy. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Maximálně jednou (nejlepší úsilí "pošli a zapomeň") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Alespoň jednou (zaručeno, že zpráva bude doručena alespoň jednou) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Přesně jednou (zaručuje, že každá zpráva je doručena pouze jednou) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Poslední vůle - Zachovat zprávu -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Pokud je tato možnost vybrána, Zprávy Poslední vůle zůstanou na MQTT Serveru zachovány. - -service.mqtt.systemBrokerConnectionInstance.label = Systémový MQTT Broker diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_de.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_de.properties deleted file mode 100644 index 676ae4f4573..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_de.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Verbindung -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Alle Verbindungsparameter -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Nachricht -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Alle Nachrichtenparameter. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Letzter Wille (Last Will) -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Alle Parameter des Last Will. - -mqtt.config.systemBrokerConnectionInstance.name.label = Verbindungsname -mqtt.config.systemBrokerConnectionInstance.name.description = Ein Verbindungsname hilft bei der Identifizierung der Broker-Verbindung. Ist kein Name gesetzt, wird automatische ein Name basierend auf dem Hostnamen und dem verwendeten Port generiert. -mqtt.config.systemBrokerConnectionInstance.host.label = Hostname des Brokers -mqtt.config.systemBrokerConnectionInstance.host.description = Hostname oder IP Adresse des Brokers. -mqtt.config.systemBrokerConnectionInstance.port.label = Port des Brokers -mqtt.config.systemBrokerConnectionInstance.port.description = Ein benutzerdefinierter Port für die Verbindung zum Broker. Leer lassen, um die Standardports für die sichere oder unsichere Verbindung zu verwenden. -mqtt.config.systemBrokerConnectionInstance.secure.label = Sichere Verbindung? -mqtt.config.systemBrokerConnectionInstance.secure.description = Eine Verbindung zum Broker ist entweder eine unsichere TCP Verbindung oder eine mit TLS verschlüsselte Verbindung. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Hostname überprüfen? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Bei der Verwendung einer sicheren TLS-Verbindung\: Legt fest, ob der Hostname des Servers mit dem Hostnamen des Zertifikats geprüft wird. -mqtt.config.systemBrokerConnectionInstance.username.label = Benutzername -mqtt.config.systemBrokerConnectionInstance.username.description = Benutzername zum Aufbau der Verbindung zum Broker. -mqtt.config.systemBrokerConnectionInstance.password.label = Passwort -mqtt.config.systemBrokerConnectionInstance.password.description = Passwort für den Verbindungsaufbau zum Broker. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Client-ID -mqtt.config.systemBrokerConnectionInstance.clientID.description = Optionale Client-ID, die für diese Verbindung verwendet wird. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Keep-alive timer in Sekunden. Ein zu geringer Wert belastet das Netzwerk bzw. Spamed den MQTT Server zu, ein zu hoher Wert birgt das Risiko, dass eine Verbindungsunterbruch zu späht erkannt wird. -mqtt.config.systemBrokerConnectionInstance.qos.label = Quality of Service -mqtt.config.systemBrokerConnectionInstance.qos.description = Quality of Service (QoS) ist ein Abgekommen zwischen Sender und Empfänger bezüglich der Garantien für die Übermittlung einer Nachricht. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = At most once (Höchstens einmal - best effort delivery "fire and forget") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = At least once (Mindestens einmal - garantiert, dass eine Nachricht mindestens einmal zugestellt wird) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Exactly once (Genau einmal - garantiert, dass jede Nachricht nur einmal von der Gegenstelle empfangen wird) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = "Retain" Nachrichten -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Nachrichten, die von dieser Verbindung gesendet werden, sind "retained" -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Last Will Topic (LWT) -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Im Falle eines Verbindungsabbruches wird der letze Wille (Last Will) vom MQTT Broker ausgeführt. Dabei handelt es sich um das Last Will Topic (LWT). Konfigurieren um das LWT zu verwenden. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Nachricht des Last Will -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Im Falle eines Verbindungsabbruches wird der letze Wille (Last Will) vom MQTT Broker ausgeführt. Dies ist die Last Will Nachricht. Kann leer gelassen werden. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Letzter Wille (Last Will) - Quality of Service -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Die Qualität of Services (QoS) ist eine Vereinbarung zwischen Sender und Empfänger einer Nachricht bezüglich der Garantien für die Übermittlung einer Nachricht. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = At most once (Höchstens einmal - best effort delivery "fire and forget") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = At least once (Mindestens einmal - garantiert, dass eine Nachricht mindestens einmal zugestellt wird) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Exactly once (Genau einmal - garantiert, dass jede Nachricht nur einmal von der Gegenstelle empfangen wird) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Letzter Wille (Last Will) - "Retain" Nachricht -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Im Falle eines Verbindungsabbruches wird der letze Wille (Last Will) vom MQTT-Server ausgeführt. Sollte "retain" Nachricht gewählt sein, wird die Nachricht durch den MQTT-Server vorgehalten. - -service.mqtt.systemBrokerConnectionInstance.label = Systemseitiger MQTT Broker diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_el.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_el.properties deleted file mode 100644 index 0646636fc8f..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_el.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Σύνδεση -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Μια ομάδα παραμέτρων σύνδεσης. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Μήνυμα -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Όλες οι παράμετροι μηνυμάτων. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Διαθήκη (Last Will) -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Όλες οι παράμετροι για μηνύματα διαθήκης - -mqtt.config.systemBrokerConnectionInstance.name.label = Όνομα Σύνδεσης -mqtt.config.systemBrokerConnectionInstance.name.description = Ένα όνομα σύνδεσης βοηθά στην αναγνώριση μιας σύνδεσης μεσίτη. Αν δεν οριστεί τίποτα, θα δημιουργηθεί ένα αυτόματο όνομα βασισμένο στον κεντρικό υπολογιστή και τη θύρα. -mqtt.config.systemBrokerConnectionInstance.host.label = Διακομιστής Μεσίτη (broker) -mqtt.config.systemBrokerConnectionInstance.host.description = Όνομα υπολογιστή ή IP του μεσίτη. -mqtt.config.systemBrokerConnectionInstance.port.label = Θύρα Μεσίτη -mqtt.config.systemBrokerConnectionInstance.port.description = Μια προσαρμοσμένη θύρα σύνδεσης μεσίτη. Αφήστε κενό για να χρησιμοποιήσετε τις προεπιλεγμένες θύρες MQTT για ασφαλείς ή μη ασφαλείς συνδέσεις. -mqtt.config.systemBrokerConnectionInstance.secure.label = Ασφαλής Σύνδεση; -mqtt.config.systemBrokerConnectionInstance.secure.description = Μια σύνδεση μεσίτη είναι είτε μια μη ασφαλής σύνδεση TCP ή μια ασφαλής σύνδεση TLS. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Επικύρωση Ονόματος Υπολογιστή; -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Όταν χρησιμοποιείτε μια ασφαλή σύνδεση TLS\: Καθορίζει αν το όνομα υπολογιστή του διακομιστή είναι επικυρωμένο έναντι του ονόματος υπολογιστή του πιστοποιητικού TLS. -mqtt.config.systemBrokerConnectionInstance.username.label = Όνομα Χρήστη Μεσίτη -mqtt.config.systemBrokerConnectionInstance.username.description = Όνομα χρήστη μεσίτη. -mqtt.config.systemBrokerConnectionInstance.password.label = Συνθηματικό Μεσίτη -mqtt.config.systemBrokerConnectionInstance.password.description = Συνθηματικό μεσίτη. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Αναγνωριστικό Πελάτη -mqtt.config.systemBrokerConnectionInstance.clientID.description = Ένα προαιρετικό αναγνωριστικό πελάτη που χρησιμοποιείται για αυτήν τη σύνδεση. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Χρόνος Keep-alive σε δευτερόλεπτα. Ένα σύντομο χρονικό διάστημα για συχνή ενημέρωση θα μπορούσε να επιβαρύνει το δίκτυο ή/και τον εξυπηρετητή MQTT, ενώ ένας πολύ χαμηλός ρυθμός ενημέρωσης ίσως αργήσει να εντοπιστεί μια διακοπή σύνδεσης. -mqtt.config.systemBrokerConnectionInstance.qos.label = Ποιότητα Yπηρεσίας (QoS) -mqtt.config.systemBrokerConnectionInstance.qos.description = Το επίπεδο Ποιότητας Υπηρεσίας (QoS) είναι μια συμφωνία μεταξύ αποστολέα και παραλήπτη ενός μηνύματος σχετικά με την εγγυημένη παράδοση ενός μηνύματος. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Το πολύ μία φορά (στέλνει μόνο μια φορά το μήνυμα και αν το πάρει ο συνδρομητής, το πήρε) -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Τουλάχιστον μία φορά (με εγγύηση ότι ένα μήνυμα θα παραδοθεί τουλάχιστον μία φορά) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Ακριβώς μία φορά (εγγυάται ότι κάθε μήνυμα λαμβάνεται μόνο μία φορά από τον παραλήπτη) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Διακράτηση Μηνυμάτων -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Τα μηνύματα που στέλνονται από αυτή τη σύνδεση διακρατούνται -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Διαθήκη - Θέμα (LWT) -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Όταν διακοπεί η σύνδεση, ο διακομιστής MQTT ενεργοποιεί την αποστολή μηνύματος διαθήκης. Αυτό είναι το θέμα διαθήκης (Last Will Topic). Πρέπει να οριστεί ώστε να εκτελεί τη διαθήκη. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Διαθήκη - Μήνυμα -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Όταν διακοπεί η σύνδεση, ο διακομιστής MQTT ενεργοποιεί την αποστολή μηνύματος διαθήκης. Αυτό είναι το μήνυμα διαθήκης. Μπορεί να είναι και κενό. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Διαθήκη - Ποιότητα Yπηρεσίας (QoS) -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Το επίπεδο Ποιότητας Υπηρεσίας (QoS) είναι μια συμφωνία μεταξύ αποστολέα και παραλήπτη ενός μηνύματος σχετικά με την εγγυημένη παράδοση ενός μηνύματος. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Το πολύ μία φορά (στέλνει μόνο μια φορά το μήνυμα και αν το πάρει ο συνδρομητής, το πήρε) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Τουλάχιστον μία φορά (εγγυημένη ότι ένα μήνυμα θα παραδοθεί τουλάχιστον μία φορά) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Ακριβώς μία φορά (εγγυάται ότι κάθε μήνυμα λαμβάνεται μόνο μία φορά από τον παραλήπτη) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Διαθήκη - Διακράτηση Μηνύματος -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Όταν διακοπεί η σύνδεση, ο διακομιστής MQTT ενεργοποιεί την αποστολή μηνύματος διαθήκης. Εάν είναι επιλεγμένη η διακράτηση (Retain), το μήνυμα θα διατηρείται από τον εξυπηρετητή MQTT. - -service.mqtt.systemBrokerConnectionInstance.label = Διακομιστής Μεσίτης MQTT του Συστήματος diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_fi.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_fi.properties deleted file mode 100644 index 81e27eb7b9f..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_fi.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Yhteys -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Joukko yhteysasetuksia. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Viesti -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Kaikki viestiparametrit. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Viimeinen testamentti -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Kaikki viimeinen testamentti -asetukset. - -mqtt.config.systemBrokerConnectionInstance.name.label = Yhteyden nimi -mqtt.config.systemBrokerConnectionInstance.name.description = Yhteyden nimi auttaa tunnistamaan välittäjäyhteyden. Jos asetus jätetään tyhjäksi, luodaan automaattisesti nimi, joka perustuu palvelimeen ja porttiin. -mqtt.config.systemBrokerConnectionInstance.host.label = Välittäjäpalvelin -mqtt.config.systemBrokerConnectionInstance.host.description = Viestinvälittäjän isäntänimi tai IP-osoite. -mqtt.config.systemBrokerConnectionInstance.port.label = Viestinvälittäjän portti -mqtt.config.systemBrokerConnectionInstance.port.description = Mukautettu välittäjän yhteysportti. Jätä tyhjäksi käyttääksesi oletusarvoisia MQTT-portteja suojattuihin tai ei-suojattuihin yhteyksiin. -mqtt.config.systemBrokerConnectionInstance.secure.label = Suojattu yhteys? -mqtt.config.systemBrokerConnectionInstance.secure.description = Välittäjäyhteys on joko suojaamaton TCP-yhteys tai TLS-suojattu yhteys. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Isäntänimi vahvistettu? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Määrittelee turvallista TLS-yhteyttä varten, onko palvelimen isäntänimi vahvistettu varmenteen isäntänimeä vasten. -mqtt.config.systemBrokerConnectionInstance.username.label = Viestinvälittäjän käyttäjätunnus -mqtt.config.systemBrokerConnectionInstance.username.description = Viestinvälittäjän käyttäjätunnus. -mqtt.config.systemBrokerConnectionInstance.password.label = Viestinvälittäjän salasana -mqtt.config.systemBrokerConnectionInstance.password.description = Viestinvälittäjän salasana. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Asiakas-ID -mqtt.config.systemBrokerConnectionInstance.clientID.description = Valinnainen asiakas-ID, jota käytetään tähän yhteyteen. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Pidä päällä -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Päälläpitoajastin sekunneissa. Liian usein toistuva ajastin voi ylikuormittaa verkon tai MQTT palvelimen, liian alhaisella arvolla saattaa olla vaara, että katkennut yhteys havaitaan hyvin myöhään. -mqtt.config.systemBrokerConnectionInstance.qos.label = Palvelun laadun taso -mqtt.config.systemBrokerConnectionInstance.qos.description = Palvelun laadun taso (QoS) on lähettäjän ja vastaanottajan välinen sopimus, joka koskee viestin toimittamisen takeita. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Enintään kerran (paras yritys "aseta ja unohda") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Vähintään kerran (taataan, että viesti toimitetaan vähintään kerran) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Tasan kerran (takaa, että vastapuoli vastaanottaa jokaisen viestin vain kerran) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Säilytä viestejä -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Tämän yhteyden lähettämät viestit säilyvät -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Viimeinen tahto - Aihe -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Kun yhteys katkeaa, MQTT-palvelin suorittaa viimeisen tahdon. Tämä on viimeisin tahto aihe. Se on asetettava jotta viimeinen tahto suoritettaisiin. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Viimeinen tahto - viesti -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Kun yhteys katkeaa, MQTT-palvelin suorittaa viimeisen tahdon. Tämä on viimeisin tahto viesti. Voi olla tyhjä. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Viimeinen tahto - Palvelun laadun taso -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Palvelun laadun taso (QoS) on lähettäjän ja vastaanottajan välinen sopimus, joka koskee viestin toimittamisen takeita. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Enintään kerran (paras yritys "aseta ja unohda") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Vähintään kerran (taataan, että viesti toimitetaan vähintään kerran) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Tasan kerran (takaa, että vastapuoli vastaanottaa jokaisen viestin vain kerran) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Viimeinen tahto - säilytä viesti -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Kun yhteys katkeaa, MQTT-palvelin suorittaa viimeisen tahdon. Jos viestin säilytys on valittuna, viesti säilytetään MQTT-palvelimen toimesta. - -service.mqtt.systemBrokerConnectionInstance.label = Järjestelmän MQTT-viestinvälittäjä diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_he.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_he.properties deleted file mode 100644 index cac3be105c5..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_he.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = חיבור -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = קבוצת פרמטרים להתחברות. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = הודעה -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = כל הפרמטרים להודעות. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = בקשה אחרונה -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = פרמטרים לבקשה אחרונה. - -mqtt.config.systemBrokerConnectionInstance.name.label = שם חיבור -mqtt.config.systemBrokerConnectionInstance.name.description = שם חיבור עוזר בזיהוי חיבור מתווך. אם לא מוגדר דבר, ייווצר שם אוטומטי המבוסס על המארח והפורט. -mqtt.config.systemBrokerConnectionInstance.host.label = כתובת Broker -mqtt.config.systemBrokerConnectionInstance.host.description = שם מארח או IP של ה-Broker. -mqtt.config.systemBrokerConnectionInstance.port.label = פורט של ה-Broker -mqtt.config.systemBrokerConnectionInstance.port.description = יציאת חיבור broker מותאמת אישית. השאר ריק כדי להשתמש ביציאות MQTT המוגדרות כברירת מחדל לחיבורים מאובטחים או לא מאובטחים. -mqtt.config.systemBrokerConnectionInstance.secure.label = חיבור מאובטח? -mqtt.config.systemBrokerConnectionInstance.secure.description = חיבור broker הוא חיבור TCP לא מאובטח או חיבור TLS מאובטח. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = שם מארח מאומת? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = לחיבור TLS מאובטח, מגדיר אם שם המארח של השרת מאומת כנגד שם המארח באישור. -mqtt.config.systemBrokerConnectionInstance.username.label = שם משתמש broker -mqtt.config.systemBrokerConnectionInstance.username.description = שם משתמש broker. -mqtt.config.systemBrokerConnectionInstance.password.label = סיסמת broker -mqtt.config.systemBrokerConnectionInstance.password.description = סיסמת broker. -mqtt.config.systemBrokerConnectionInstance.clientID.label = מזהה לקוח -mqtt.config.systemBrokerConnectionInstance.clientID.description = מזהה לקוח אופציונלי המשמש לחיבור זה. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = השאר בחיים -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = טיימר לשמור על החיבור בשניות. טיימר תכוף מדי עלול להעמיס על הרשת / לזבל את שרת ה-MQTT, ערך נמוך מדי עלול לסכן שניתוק יתגלה מאוחר מאוד. -mqtt.config.systemBrokerConnectionInstance.qos.label = איכות השירות -mqtt.config.systemBrokerConnectionInstance.qos.description = רמת איכות השירות (QoS) היא הסכם בין שולח למקבל הודעה בדבר הערבויות למסירת הודעה. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = לכל היותר פעם אחת (משלוח במאמץ הכי טוב "שגר ושכח") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = לפחות פעם אחת (מובטח שהודעה תימסר לפחות פעם אחת) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = בדיוק פעם אחת (מבטיח כי כל הודעה תתקבל פעם אחת בלבד על ידי המקבל) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = שמור על הודעות -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = ההודעות שנשלחות באמצעות חיבור זה נשמרות -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = בקשה אחרונה - נושא -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = כאשר החיבור מתנתק, הבקשה האחרונה מבוצעת על ידי שרת MQTT. זהו נושא ההודעה האחרונה. יש להגדיר אותה כדי לבצע הודעה אחרונה. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = בקשה אחרונה - הודעה -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = כאשר החיבור מתנתק, הבקשה האחרונה מבוצעת על ידי שרת MQTT. זהו תוכן ההודעה האחרונה. יכולה להיות ריקה. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = בקשה אחרונה - איכות השירות -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = רמת איכות השירות (QoS) היא הסכם בין שולח למקבל הודעה בדבר הערבויות למסירת הודעה. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = לכל היותר פעם אחת (משלוח במאמץ הכי טוב "שגר ושכח") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = לפחות פעם אחת (מובטח שהודעה תימסר לפחות פעם אחת) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = בדיוק פעם אחת (מבטיח כי כל הודעה תתקבל פעם אחת בלבד על ידי המקבל) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = בקשה אחרונה - שמור הודעה -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = כאשר החיבור מתנתק, ההודעה האחרונה מתבצעת על ידי שרת MQTT. אם מסומנת שמירה על המסר, ההודעה תישמר על ידי שרת MQTT. - -service.mqtt.systemBrokerConnectionInstance.label = broker מערכת MQTT diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_hu.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_hu.properties deleted file mode 100644 index 1549b78c087..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_hu.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Kapcsolat -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Kapcsolódási paraméterek csoportja. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Üzenet -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Minden üzenet paramétere. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Utolsó akarat -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Minden utolsó-akarat paramétere. - -mqtt.config.systemBrokerConnectionInstance.name.label = Kapcsolat neve -mqtt.config.systemBrokerConnectionInstance.name.description = A kapcsolat neve segít azonosítani a bróker kapcsolatát. Ha nincs beállítva, automatikusan a kiszolgáló és port alapján lesz egy generálva. -mqtt.config.systemBrokerConnectionInstance.host.label = Bróker gazdagép -mqtt.config.systemBrokerConnectionInstance.host.description = A bróker gazdaneve vagy IP címe. -mqtt.config.systemBrokerConnectionInstance.port.label = Bróker port -mqtt.config.systemBrokerConnectionInstance.port.description = Egy egyedi bróker kapcsolat portja. Az alapértelmezett biztonságos vagy nem biztonságos MQTT port használatához hagyja üresen. -mqtt.config.systemBrokerConnectionInstance.secure.label = Biztonságos kapcsolat? -mqtt.config.systemBrokerConnectionInstance.secure.description = A bróker kapcsolat vagy nem biztonságos TCP vagy biztonságos TLS kapcsolat legyen. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Gazdanév ellenőrizve? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = A biztonságos TLS kapcsolathoz a kiszolgáló neve és a tanúsítványban szereplő névnek egyeznie kell. -mqtt.config.systemBrokerConnectionInstance.username.label = Bróker felhasználói neve -mqtt.config.systemBrokerConnectionInstance.username.description = Bróker felhasználói neve. -mqtt.config.systemBrokerConnectionInstance.password.label = Bróker jelszó -mqtt.config.systemBrokerConnectionInstance.password.description = Bróker jelszó. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Kliens azonosító -mqtt.config.systemBrokerConnectionInstance.clientID.description = Opcionális kliens azonosító a kapcsolathoz. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Életben tart -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Az életben tartás időzítője másodpercben. A túl gyakori időzítés hálózati túlterhelést / MQTT szerver elárasztást okoz. A túl ritka érték a kapcsolat megszűntét csak későn érzékeli. -mqtt.config.systemBrokerConnectionInstance.qos.label = A szolgálat minősége -mqtt.config.systemBrokerConnectionInstance.qos.description = A szolgálat minőségi (QoS) szintje a küldő és a fogadó közötti egyeztetés eredménye a sikeres üzenet továbbítás biztosításához. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Csak egyszer (egyszerű küldés "küldd és elfelejt") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Legalább egyszer (Az üzenet legalább egyszer garantáltan célba ér) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Pontosan egyszer (ellenőrzött módon pontosan egyszer lesz az üzenet továbbítva) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Üzenet visszatartás -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = A kapcsolat által küldött üzenetek vissza lesznek tartva -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Utolsó akarat - Téma -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Amikor a kapcsolat megszakad, az utolsó akarat az MQTT kiszolgálón érvénybe lép. Ez az utolsó akarat téma. Az utolsó akarat végrehajtásához be kell állítani. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Utolsó akarat - üzenet -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Amikor a kapcsolat megszakad, az utolsó akarat az MQTT kiszolgálón érvénybe lép. Ez az utolsó akarat üzenet. Üresen hagyható. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Utolsó akarat - Szolgáltatás minősége -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = A szolgálat minőségi (QoS) szintje a küldő és a fogadó közötti egyeztetés eredménye a sikeres üzenet továbbítás biztosításához. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Csak egyszer (egyszerű küldés "küldd és elfelejt") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Legalább egyszer (Az üzenet legalább egyszer garantáltan célba ér) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Pontosan egyszer (ellenőrzött módon pontosan egyszer lesz az üzenet továbbítva) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Utolsó akarat - visszatartott üzenet -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Amikor a kapcsolat megszakad az utolsó akarat az MQTT kiszolgálón érvénybe lép. Ha az üzenet visszatartás be van kapcsolva a kiszolgáló az üzenetet visszatartja. - -service.mqtt.systemBrokerConnectionInstance.label = Rendszer MQTT bróker diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_it.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_it.properties deleted file mode 100644 index fd86de98368..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_it.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Connessione -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Un gruppo di parametri di connessione. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Messaggio -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Tutti i parametri del messaggio. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Last Will -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Tutti i parametri last-will. - -mqtt.config.systemBrokerConnectionInstance.name.label = Nome della Connessione -mqtt.config.systemBrokerConnectionInstance.name.description = Un nome di connessione aiuta a identificare una connessione del broker. Se non viene impostato, verrà generato un nome automatico basato su host e porta. -mqtt.config.systemBrokerConnectionInstance.host.label = Host del Broker -mqtt.config.systemBrokerConnectionInstance.host.description = Nome host o IP del broker. -mqtt.config.systemBrokerConnectionInstance.port.label = Porta Broker -mqtt.config.systemBrokerConnectionInstance.port.description = Una porta personalizzata di connessione al broker. Lasciare vuoto per utilizzare le porte predefinite per connessioni MQTT sicure o non sicure. -mqtt.config.systemBrokerConnectionInstance.secure.label = Connessione Sicura? -mqtt.config.systemBrokerConnectionInstance.secure.description = Una connessione al broker può essere TCP non sicura oppure TLS sicura. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Hostname Verificato? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Quando si utilizza una connessione TLS sicura\: Definisce se il nome host del server è verificato rispetto al nome host del certificato. -mqtt.config.systemBrokerConnectionInstance.username.label = Nome Utente Broker -mqtt.config.systemBrokerConnectionInstance.username.description = Nome Utente Broker. -mqtt.config.systemBrokerConnectionInstance.password.label = Password Broker -mqtt.config.systemBrokerConnectionInstance.password.description = Password Broker. -mqtt.config.systemBrokerConnectionInstance.clientID.label = ID Client -mqtt.config.systemBrokerConnectionInstance.clientID.description = Un ID client opzionale utilizzato per questa connessione. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Timer keep-alive in secondi. Un timer troppo frequente potrebbe congestionare la rete o fare spam al server MQTT, un valore troppo basso potrebbe riconoscere una connessione interrotta con molto ritardo. -mqtt.config.systemBrokerConnectionInstance.qos.label = Qualità del Servizio -mqtt.config.systemBrokerConnectionInstance.qos.description = Il livello della Qualità del Servizio (QoS) è un accordo tra mittente e destinatario di un messaggio, rispetto alla garanzia della sua consegna. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Al massimo una volta (il miglior sforzo di consegna "invia e dimentica") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Almeno una volta (garanzia che un messaggio sarà consegnato almeno una volta) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Esattamente una volta (garantisce che ogni messaggio venga ricevuto una sola volta dalla controparte) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Conserva Messaggi -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = I messaggi inviati da questa connessione sono mantenuti -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Last Will - Topic -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Quando la connessione muore, il Last-Will è eseguito dal server MQTT. Questo è il topic del Last-Will. Deve essere configurato per poterlo eseguire. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Last Will - Messaggio -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Quando la connessione muore, il Last-Will è eseguito dal server MQTT. Questo è il messaggio del Last-Will. Può essere vuoto. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Last Will - Qualità del Servizio -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Il livello della Qualità del Servizio (QoS) è un accordo tra mittente e destinatario di un messaggio, rispetto alla garanzia della sua consegna. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Al massimo una volta (fare il meglio possibile per la consegna, "invia e dimentica") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Almeno una volta (garanzia che un messaggio sarà consegnato almeno una volta) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Esattamente una volta (garantisce che ogni messaggio venga ricevuto una sola volta dalla controparte) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Last Will - Mantenere Messaggio -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Quando la connessione muore, il Last-Will è eseguito dal server MQTT. Se la memorizzazione del messaggio è abilitato, il messaggio sarà mantenuto dal server MQTT. - -service.mqtt.systemBrokerConnectionInstance.label = Broker MQTT di Sistema diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_nl.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_nl.properties deleted file mode 100644 index 468165a5aa9..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_nl.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Verbinding -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Een groep van verbindingsparameters. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Bericht -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Alle berichtparameters. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Laatste Wil -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Alle laatste-wil parameters. - -mqtt.config.systemBrokerConnectionInstance.name.label = Verbindingsnaam -mqtt.config.systemBrokerConnectionInstance.name.description = Een verbindingsnaam helpt om een brokerverbinding te identificeren. Als deze niet is ingesteld, wordt een automatische naam gebaseerd op de host en poort gegenereerd. -mqtt.config.systemBrokerConnectionInstance.host.label = Broker Host -mqtt.config.systemBrokerConnectionInstance.host.description = Hostnaam of IP van de broker. -mqtt.config.systemBrokerConnectionInstance.port.label = Broker Poort -mqtt.config.systemBrokerConnectionInstance.port.description = Een aangepaste brokerverbindingpoort. Laat deze leeg om de standaard MQTT poorten te gebruiken voor beveiligde of onbeveiligde verbindingen. -mqtt.config.systemBrokerConnectionInstance.secure.label = Beveiligde Verbinding? -mqtt.config.systemBrokerConnectionInstance.secure.description = Een brokerverbinding is een niet-beveiligde TCP-verbinding of een TLS-beveiligde verbinding. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Hostnaam Gevalideerd? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Voor een beveiligde TLS-verbinding, definieert of de hostnaam van de server wordt gevalideerd met de hostnaam in het certificaat. -mqtt.config.systemBrokerConnectionInstance.username.label = Broker Gebruikersnaam -mqtt.config.systemBrokerConnectionInstance.username.description = Broker gebruikersnaam. -mqtt.config.systemBrokerConnectionInstance.password.label = Broker Wachtwoord -mqtt.config.systemBrokerConnectionInstance.password.description = Broker wachtwoord. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Client-ID -mqtt.config.systemBrokerConnectionInstance.clientID.description = Een optionele client-ID gebruikt voor deze verbinding. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Keep-alive timer in seconden. Een te hoge frequentie kan het netwerk overbelasten of voor veel load op de MQTT server zorgen. Bij te lage frequenties is er het risico dat een verbroken verbinding zeer laat wordt gedetecteerd. -mqtt.config.systemBrokerConnectionInstance.qos.label = Quality of Service -mqtt.config.systemBrokerConnectionInstance.qos.description = De Quality of Service (QoS) is een overeenkomst tussen de afzender en de ontvanger van een bericht over de garanties voor het afgeven van een bericht. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Hoogstens één keer (aflevering naar beste vermogen "fire and forget") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Minstens één keer (garandeerd dat een bericht minstens één keer wordt afgeleverd) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Precies één keer (garandeert dat elk bericht eenmaal wordt ontvangen door de ontvanger) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Berichten Behouden -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Berichten die door deze verbinding worden verzonden worden bewaard -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Laatste Wil - Onderwerp -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Wanneer de verbinding verbreekt, wordt de laatste-wil uitgevoerd door de MQTT server. Dit is het laatste-wil onderwerp. Het moet worden ingesteld om een laatste-wil uit te voeren. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Laatste Wil - Bericht -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Wanneer de verbinding verbreekt, wordt de laatste-wil uitgevoerd door de MQTT server. Dit is het laatste-wil bericht. Het kan leeg gelaten worden. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Laatste Wil - Quality of Service -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Het Quality of Service (QoS) niveau is een overeenkomst tussen de afzender en de ontvanger van een bericht over de garanties voor het afgeven van een bericht. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Hoogstens één keer (aflevering naar beste vermogen "fire and forget") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Minstens één keer (garandeerd dat een bericht minstens één keer wordt afgeleverd) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Precies één keer (garandeert dat elk bericht eenmaal wordt ontvangen door de ontvanger) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Laatste Wil - Behouden Bericht -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Wanneer de verbinding verbreekt, wordt de laatste wil uitgevoerd door de MQTT server. Als bericht behouden is ingeschakeld, wordt het bericht behouden door de MQTT server. - -service.mqtt.systemBrokerConnectionInstance.label = Systeem MQTT Broker diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_pt.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_pt.properties deleted file mode 100644 index dfbd5485a25..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_pt.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Conexão -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Um grupo de parâmetros de conexão. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Mensagem -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Todos os parâmetros da mensagem. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Último Envio -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Todos os parâmetros do último-envio. - -mqtt.config.systemBrokerConnectionInstance.name.label = Nome da conexão -mqtt.config.systemBrokerConnectionInstance.name.description = Um nome de conexão ajuda a identificar uma conexão do broker. Se nada for definido, um nome automático com base no endereço e porta será gerado. -mqtt.config.systemBrokerConnectionInstance.host.label = Endereço do Broker -mqtt.config.systemBrokerConnectionInstance.host.description = Nome do endereço ou IP do broker. -mqtt.config.systemBrokerConnectionInstance.port.label = Porta do Broker -mqtt.config.systemBrokerConnectionInstance.port.description = Uma porta de conexão broker personalizada. Deixe em branco para usar as portas MQTT padrão para conexões seguras ou não seguras. -mqtt.config.systemBrokerConnectionInstance.secure.label = Conexão segura? -mqtt.config.systemBrokerConnectionInstance.secure.description = Uma conexão de broker é uma conexão TCP não segura ou uma conexão segura TLS. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Nome de host validado? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = Ao usar uma conexão TLS segura\: Define se o endereço do servidor é validado com o endereço do certificado. -mqtt.config.systemBrokerConnectionInstance.username.label = Usuário do broker -mqtt.config.systemBrokerConnectionInstance.username.description = Usuário do broker. -mqtt.config.systemBrokerConnectionInstance.password.label = Senha do broker -mqtt.config.systemBrokerConnectionInstance.password.description = Senha do broker. -mqtt.config.systemBrokerConnectionInstance.clientID.label = ID do Cliente -mqtt.config.systemBrokerConnectionInstance.clientID.description = Um ID de cliente opcional usado para esta conexão. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Manter Vivo -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Manter vivo, tempo em segundos. Um timer muito frequente poderia sobrecarregar o servidor MQTT, um valor muito baixo pode arriscar que uma conexão falha seja detectada muito tarde. -mqtt.config.systemBrokerConnectionInstance.qos.label = Qualidade de Serviço -mqtt.config.systemBrokerConnectionInstance.qos.description = O nível de qualidade do serviço (QoS) é um acordo entre o remetente e o destinatário de uma mensagem relativa às garantias de envio de uma mensagem. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = No máximo uma vez (melhor esforço de entrega "envia e esquece") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Pelo menos uma vez (garantido que uma mensagem será entregue pelo menos uma vez) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Exatamente uma vez (garante que cada mensagem seja recebida apenas uma vez pela contraparte) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Reter Mensagens -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Mensagens enviadas por esta conexão são mantidas -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Tópico - Último Envio -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Quando a conexão morrer, o último-envio é executado pelo servidor MQTT. Este é o tópico do último-envio. Ele deve ser definido para executar um último-envio. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Mensagem - Último Envio -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Quando a conexão morrer, o último-envio é executado pelo servidor MQTT. Este é o tópico do último-envio. Pode ser vazio. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Qualidade do serviço - Último Envio -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = O nível de qualidade do serviço (QoS) é um acordo entre o remetente e o destinatário de uma mensagem relativa às garantias de envio de uma mensagem. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = No máximo uma vez (melhor esforço de entrega "envia e esquece") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Pelo menos uma vez (garantido que uma mensagem será entregue pelo menos uma vez) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Exatamente uma vez (garante que cada mensagem seja recebida apenas uma vez pela contraparte) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Reter Mensagem - Último Envio -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Quando a conexão morrer, o último-envio é executado pelo servidor MQTT. Se reter a mensagem for marcada, a mensagem será retida pelo servidor MQTT. - -service.mqtt.systemBrokerConnectionInstance.label = Broker MQTT do sistema diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_ru.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_ru.properties deleted file mode 100644 index 9317cbd47a3..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_ru.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = Соединение -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Группа настроек соединения. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Сообщение -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Все настройки сообщений. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Завещание -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Все параметры завещания (last-will). - -mqtt.config.systemBrokerConnectionInstance.name.label = Название соединения -mqtt.config.systemBrokerConnectionInstance.name.description = Название соединения помогает идентифицировать брокерское соединение. Если ничего не установлено, имя будет создано автоматически на основе адреса и порта. -mqtt.config.systemBrokerConnectionInstance.host.label = Адрес брокера -mqtt.config.systemBrokerConnectionInstance.host.description = Имя хоста или IP-адрес брокера. -mqtt.config.systemBrokerConnectionInstance.port.label = Порт брокера -mqtt.config.systemBrokerConnectionInstance.port.description = Порт брокера. Оставьте пустым для использования MQTT порта по-умолчанию для безопасных или небезопасных соединений. -mqtt.config.systemBrokerConnectionInstance.secure.label = Безопасное соединение? -mqtt.config.systemBrokerConnectionInstance.secure.description = Соединение брокера - это либо незащищенное соединение TCP, либо защищенное соединение TLS. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Адрес подтверждён? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = При использовании TLS соединения\: Определяет, подтверждается ли адрес сервера по адресу сертификата. -mqtt.config.systemBrokerConnectionInstance.username.label = Имя пользователя -mqtt.config.systemBrokerConnectionInstance.username.description = Имя пользователя брокера. -mqtt.config.systemBrokerConnectionInstance.password.label = Пароль -mqtt.config.systemBrokerConnectionInstance.password.description = Пароль брокера. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Client ID -mqtt.config.systemBrokerConnectionInstance.clientID.description = Необязательный идентификатор клиента, используемый для этого соединения. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Время Keep-Alive -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Таймер работы соединения в секундах. Слишком частый таймер может нагрузить сеть и сервер MQTT. Слишком низкое значение может привести к тому, что разорванное соединение будет обнаружено очень поздно. -mqtt.config.systemBrokerConnectionInstance.qos.label = Качество обслуживания -mqtt.config.systemBrokerConnectionInstance.qos.description = Уровень качества обслуживания (QoS) - это соглашение между отправителем и получателем, касающееся гарантий доставки сообщения. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = Не более одного раза («выстрелил и забыл», негарантированная доставка) -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Не менее одного раза (гарантируется, что сообщение будет доставлено хотя бы один раз) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Ровно один раз (гарантирует, что каждое сообщение получается партнером только один раз) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Сохранить сообщения -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Сообщения отправленные этим соединением будут сохранены -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Завещание - Канал -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Когда соединение разорвано, завещание будет выполнено MQTT сервером. Это канал (topic) сообщения. Требуется для выполнения завещания. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Завещание - Сообщение -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Когда соединение разорвано, завещание будет выполнено MQTT сервером. Это тело сообщения. Может быть пустым. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Завещание - Качество обслуживания -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Уровень качества обслуживания (QoS) - это соглашение между отправителем и получателем, касающееся гарантий доставки сообщения. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = Не более одного раза («выстрелил и забыл», негарантированная доставка) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Не менее одного раза (гарантируется, что сообщение будет доставлено хотя бы один раз) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Ровно один раз (гарантирует, что каждое сообщение получается партнером только один раз) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Завещание - Сохранять сообщение -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Когда соединение прерывается, Last Will and Testament, «последняя воля и завещание» будет выполнено сервером MQTT. Если выбрано "сохранить сообщение", то оно будет сохранено сервером MQTT. - -service.mqtt.systemBrokerConnectionInstance.label = Системный брокер MQTT diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_uk.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_uk.properties deleted file mode 100644 index 9d4dc1388ec..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_uk.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = З'єднання -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = Група параметрів з'єднання. -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = Повідомлення -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = Усі параметри повідомлення. -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = Останнє бажання -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = Всі останні параметри будуть відображені. - -mqtt.config.systemBrokerConnectionInstance.name.label = Назва з'єднання -mqtt.config.systemBrokerConnectionInstance.name.description = Ім'я підключення допомагає визначити зв'язок з брокером. Якщо нічого не встановлено, буде створено автоматичне ім'я на основі хосту і порту. -mqtt.config.systemBrokerConnectionInstance.host.label = Вузол Брокера -mqtt.config.systemBrokerConnectionInstance.host.description = Ім'я хоста або IP брокера. -mqtt.config.systemBrokerConnectionInstance.port.label = Порт Брокера -mqtt.config.systemBrokerConnectionInstance.port.description = Власний порт для підключення брокера. Залиште порожнім, щоб використовувати MQTT порти за замовчуванням для безпечного або незахищеного з'єднання. -mqtt.config.systemBrokerConnectionInstance.secure.label = Безпечне зʼєднання? -mqtt.config.systemBrokerConnectionInstance.secure.description = Брокер з'єднання є або незахищеним TCP-доступом або захищеним TLS. -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = Ім'я вузла перевірено? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = При використанні безпечного з'єднання TLS визначає, чи ім'я хоста перевірено проти імені хоста в сертифікаті. -mqtt.config.systemBrokerConnectionInstance.username.label = Ім'я користувача брокера -mqtt.config.systemBrokerConnectionInstance.username.description = Ім'я користувача брокера. -mqtt.config.systemBrokerConnectionInstance.password.label = Пароль брокера -mqtt.config.systemBrokerConnectionInstance.password.description = Пароль брокера. -mqtt.config.systemBrokerConnectionInstance.clientID.label = Ідентифікатор клієнта -mqtt.config.systemBrokerConnectionInstance.clientID.description = Необов'язковий ідентифікатор клієнта, який використовується для цього підключення. -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = Працювати у тлі -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = Залишатися таймером за секунди. Занадто часті таймер може завоювати мереж/спам MQTT сервер, занадто низьке значення може ризикувати, що розламане з'єднання виявляється дуже пізно. -mqtt.config.systemBrokerConnectionInstance.qos.label = Якість обслуговування -mqtt.config.systemBrokerConnectionInstance.qos.description = Якість обслуговування (QoS) - це домовленість між відправником та отримувачем повідомлення щодо гарантій надання повідомлення. -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = У останній раз (найкращі зусилля дадуть "вогонь і забудь") -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = Принаймні один раз (гарантовано, що повідомлення буде доставлено хоча б один раз) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = Рівно один раз (гарантує, що кожне повідомлення отримане лише один раз) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = Зберігати повідомлення -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = Повідомлення, надіслані цим підключенням, зберігаються -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = Востаннє - Тема -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = Коли з'єднання станеться, останній буде виконано сервером MQTT. Це остання тема. -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = Востаннє - повідомлення -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = Після смерті з'єднання останнє, буде виконане сервером MQTT. Це останнє повідомлення. Може бути пустим. -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = Востаннє - якість обслуговування -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = Якість обслуговування (QoS) - це домовленість між відправником та отримувачем повідомлення щодо гарантій надання повідомлення. -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = У останній раз (найкращі зусилля дадуть "вогонь і забудь") -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = Принаймні один раз (гарантовано, що повідомлення буде доставлено хоча б один раз) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = Рівно один раз (гарантує, що кожне повідомлення отримане лише один раз) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = Востаннє - повідомлення -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = Коли з'єднання станеться, останній буде виконано сервером MQTT. Якщо вибрано галочку повідомлення, повідомлення буде збережено за допомогою сервера MQTT. - -service.mqtt.systemBrokerConnectionInstance.label = Система MQTT брокер diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_zh.properties b/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_zh.properties deleted file mode 100644 index 004a587f7cd..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/resources/OH-INF/i18n/brokerConnectionInstance_zh.properties +++ /dev/null @@ -1,45 +0,0 @@ -mqtt.config.systemBrokerConnectionInstance.group.group_connection.label = 连接 -mqtt.config.systemBrokerConnectionInstance.group.group_connection.description = 一组连接用参数。 -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.label = 消息 -mqtt.config.systemBrokerConnectionInstance.group.group_message_params.description = 所有消息参数。 -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.label = 上次订阅时间 -mqtt.config.systemBrokerConnectionInstance.group.group_lastwill_params.description = 上次订阅时间的参数. - -mqtt.config.systemBrokerConnectionInstance.name.label = 连接名称 -mqtt.config.systemBrokerConnectionInstance.name.description = 连接名称帮助识别不同的连接。如果没有设置,将自动生成基于主机和端口的名称。 -mqtt.config.systemBrokerConnectionInstance.host.label = 节点主机 -mqtt.config.systemBrokerConnectionInstance.host.description = 节点的主机名或IP。 -mqtt.config.systemBrokerConnectionInstance.port.label = 节点端口 -mqtt.config.systemBrokerConnectionInstance.port.description = 自定义节点连接端口。留空使用默认的 MQTT 端口进行安全或非安全连接。 -mqtt.config.systemBrokerConnectionInstance.secure.label = 安全连接? -mqtt.config.systemBrokerConnectionInstance.secure.description = 节点连接是不安全的 TCP 连接或 TLS 安全连接。 -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.label = 主机名已验证? -mqtt.config.systemBrokerConnectionInstance.hostnameValidated.description = 对于安全的 TLS 连接,服务器主机名将与证书中的主机名进行验证。 -mqtt.config.systemBrokerConnectionInstance.username.label = 节点用户名 -mqtt.config.systemBrokerConnectionInstance.username.description = 节点用户名。 -mqtt.config.systemBrokerConnectionInstance.password.label = 节点密码 -mqtt.config.systemBrokerConnectionInstance.password.description = 节点密码。 -mqtt.config.systemBrokerConnectionInstance.clientID.label = 客户端 ID -mqtt.config.systemBrokerConnectionInstance.clientID.description = 用于此连接的可选的客户端 ID。 -mqtt.config.systemBrokerConnectionInstance.keepAlive.label = 保持连接 -mqtt.config.systemBrokerConnectionInstance.keepAlive.description = 设置保持连接的时间(以秒为单位)。 过长的时间设置可能会占用网络 / 发送垃圾邮件给 MQTT 服务器, 太短的值可能会导致不能及时发现连接断开。 -mqtt.config.systemBrokerConnectionInstance.qos.label = 服务质量(QoS) -mqtt.config.systemBrokerConnectionInstance.qos.description = 服务质量(QoS) 是网络的一种安全机制, 是用来解决网络延迟和阻塞等问题的一种技术 -mqtt.config.systemBrokerConnectionInstance.qos.option.0 = 最多一次 (尽最大努力发送“fire and forget”) -mqtt.config.systemBrokerConnectionInstance.qos.option.1 = 至少一次(保证至少发送一次消息) -mqtt.config.systemBrokerConnectionInstance.qos.option.2 = 确切一次(保证对应方只收到一次消息) -mqtt.config.systemBrokerConnectionInstance.retainMessages.label = 保留的消息 -mqtt.config.systemBrokerConnectionInstance.retainMessages.description = 此连接发送的消息被保留 -mqtt.config.systemBrokerConnectionInstance.lwtTopic.label = 最后的消息-主题 -mqtt.config.systemBrokerConnectionInstance.lwtTopic.description = 当连接结束时,MQTT服务器将执行最后消息。这是最后消息的主题。它必须设置为执行最后消息。 -mqtt.config.systemBrokerConnectionInstance.lwtMessage.label = 最后的消息-消息内容 -mqtt.config.systemBrokerConnectionInstance.lwtMessage.description = 当连接结束时,MQTT服务器将执行最后消息。这是最后消息的消息内容。可以为空。 -mqtt.config.systemBrokerConnectionInstance.lwtQos.label = 最后消息-服务质量(QoS) -mqtt.config.systemBrokerConnectionInstance.lwtQos.description = 服务质量(QoS) 是网络的一种安全机制, 是用来解决网络延迟和阻塞等问题的一种技术 -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.0 = 最多一次 (尽最大努力发送“fire and forget”) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.1 = 至少一次(保证至少发送一次消息) -mqtt.config.systemBrokerConnectionInstance.lwtQos.option.2 = 确切一次(保证对应方只收到一次消息) -mqtt.config.systemBrokerConnectionInstance.lwtRetain.label = 最后消息-保留消息 -mqtt.config.systemBrokerConnectionInstance.lwtRetain.description = 当连接结束时,QTT服务器将执行最后消息M。 如果选中保留消息,MQTT服务器将保留该消息。 - -service.mqtt.systemBrokerConnectionInstance.label = MQTT 系统节点 diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/test/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceTests.java b/bundles/org.openhab.core.io.transport.mqtt/src/test/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceTests.java deleted file mode 100644 index 703dc773777..00000000000 --- a/bundles/org.openhab.core.io.transport.mqtt/src/test/java/org/openhab/core/io/transport/mqtt/internal/MqttServiceTests.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright (c) 2010-2022 Contributors to the openHAB project - * - * See the NOTICE file(s) distributed with this work for additional - * information. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - */ -package org.openhab.core.io.transport.mqtt.internal; - -import static org.hamcrest.CoreMatchers.*; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.Mockito.*; - -import org.eclipse.jdt.annotation.NonNullByDefault; -import org.junit.jupiter.api.Test; -import org.mockito.ArgumentCaptor; -import org.openhab.core.io.transport.mqtt.MqttBrokerConnection; -import org.openhab.core.io.transport.mqtt.MqttBrokerConnectionEx; -import org.openhab.core.io.transport.mqtt.MqttService; -import org.openhab.core.io.transport.mqtt.MqttServiceObserver; -import org.osgi.service.cm.ConfigurationException; - -/** - * Tests the MqttService class - * - * @author David Graeff - Initial contribution - */ -@NonNullByDefault -public class MqttServiceTests { - // Tests addBrokersListener/removeBrokersListener - @Test - public void brokerConnectionListenerTests() throws ConfigurationException { - MqttService service = new MqttServiceImpl(); - assertFalse(service.hasBrokerObservers()); - MqttServiceObserver observer = mock(MqttServiceObserver.class); - - service.addBrokersListener(observer); - assertTrue(service.hasBrokerObservers()); - - MqttBrokerConnectionEx connection = new MqttBrokerConnectionEx("123.123.123.123", null, false, false, - "brokerConnectionListenerTests"); - assertTrue(service.addBrokerConnection("name", connection)); - - ArgumentCaptor argumentCaptorConn = ArgumentCaptor.forClass(MqttBrokerConnection.class); - ArgumentCaptor argumentCaptorConnName = ArgumentCaptor.forClass(String.class); - - verify(observer).brokerAdded(argumentCaptorConnName.capture(), argumentCaptorConn.capture()); - assertThat(argumentCaptorConnName.getValue(), equalTo("name")); - assertThat(argumentCaptorConn.getValue(), equalTo(connection)); - - service.removeBrokerConnection("name"); - verify(observer).brokerRemoved(argumentCaptorConnName.capture(), argumentCaptorConn.capture()); - assertThat(argumentCaptorConnName.getValue(), equalTo("name")); - assertThat(argumentCaptorConn.getValue(), equalTo(connection)); - - service.removeBrokersListener(observer); - assertFalse(service.hasBrokerObservers()); - } - - @Test - public void brokerConnectionAddRemoveEnumerateTests() { - MqttService service = new MqttServiceImpl(); - MqttBrokerConnectionEx connection = new MqttBrokerConnectionEx("tcp://123.123.123.123", null, false, false, - "brokerConnectionAddRemoveEnumerateTests"); - // Add - assertThat(service.getAllBrokerConnections().size(), is(equalTo(0))); - assertTrue(service.addBrokerConnection("name", connection)); - assertFalse(service.addBrokerConnection("name", connection)); - - // Get/Enumerate - assertNotNull(service.getBrokerConnection("name")); - assertThat(service.getAllBrokerConnections().size(), is(equalTo(1))); - - // Remove - service.removeBrokerConnection("name"); - assertThat(service.getAllBrokerConnections().size(), is(equalTo(0))); - } -}