diff --git a/front/src/config/i18n/de.json b/front/src/config/i18n/de.json index 3ca0e8d23b..0a24e501b3 100644 --- a/front/src/config/i18n/de.json +++ b/front/src/config/i18n/de.json @@ -519,15 +519,26 @@ "discoverDeviceDescr": "Netatmo-Geräte automatisch scannen", "unmanagedModelButton": "Nicht unterstütztes oder nicht verfügbares Modell", "status": { + "notConfigured": "Der Netatmo-Dienst ist nicht konfiguriert", + "disconnect": "Gladys ist nicht mit Netatmo verbunden", "notConnected": "Gladys konnte keine Verbindung zum Netatmo-Konto herstellen, bitte überprüfen Sie Ihre Anmeldeinformationen auf der ", "setupPageLink": "Netatmo-Konfigurationsseite.", - "connecting": "Verbindung zu Ihrem Netatmo-Konto wird hergestellt...", "connect": "Gladys ist mit Netatmo verbunden", - "disconnect": "Gladys ist nicht mit Netatmo verbunden", - "notConfigured": "Der Netatmo-Dienst ist nicht konfiguriert" + "connecting": "Konfiguration gespeichert. Verbindung zu Ihrem Netatmo-Konto wird hergestellt...", + "processingToken": "Verbindung zu Ihrem Netatmo-Konto... Zugriffstoken wird abgerufen.", + "getDevicesValues": "Datenwiederherstellung läuft...", + "dicoveringDevices": "Gerätewiederherstellung läuft...", + "connectionError": "Fehler bei der Verbindung, bitte überprüfen Sie Ihre Konfiguration.", + "errorConnecting": { + "other_error": "Fehler bei der Autorisierung. Sie können den Fehler in der Konsole Ihres Browsers mit einem Rechtsklick untersuchen. Wenn der Fehler weiterhin besteht, posten Sie bitte die Protokolle im Forum.", + "access_denied": "Autorisierung abgelehnt, bitte versuchen Sie es erneut und akzeptieren Sie den Zugriff auf Ihre Daten.", + "invalid_client": "Ungültige Kunden-ID. Bitte überprüfen Sie Ihre Netatmo-Kontoinformationen und dass das Konto nicht gesperrt oder deaktiviert ist Meine App.", + "get_access_token_fail": "Falsche Informationen eingegeben oder Konto deaktiviert. Bitte überprüfen Sie Ihre Netatmo-Kontoinformationen und dass das Konto nicht gesperrt oder deaktiviert ist Meine App." + } }, "device": { "title": "Netatmo-Geräte in Gladys", + "descriptionInformation": "Der Statusabruf erfolgt derzeit alle 2 Minuten (Einschränkung der Netatmo-API).", "noDeviceFound": "Noch keine Netatmo-Geräte hinzugefügt.", "sidLabel": "Netatmo-SID des Geräts", "nameLabel": "Gerätename", @@ -543,18 +554,17 @@ "noValueReceived": "Kein Wert empfangen.", "firmwareRevisionLabel": "Firmware: ", "connectedPlugLabel": "Mit der Brücke verbunden", - "roomNetatmoApiLabel": "Raum in der Netatmo-API", - "getDevicesValues": "Datenwiederherstellung läuft..." + "roomNetatmoApiLabel": "Raum in der Netatmo-API" }, "discover": { "title": "Ihre mit Gladys kompatiblen Netatmo-Geräte", "description": "Ihre Netatmo-Geräte müssen zuerst zu Ihrem Netatmo-Konto hinzugefügt werden, bevor sie zu Gladys hinzugefügt werden können, das derzeit nur Thermostate unterstützt, die mit ihrem Plug verbunden sind. Die erste Entdeckung erfolgt automatisch. Drücken Sie 'Aktualisieren', wenn Sie die neuen Funktionen Ihrer Geräte abrufen möchten.", "descriptionCompatibility": "Für alle Anfragen zur Hinzufügung von Geräten und/oder Funktionen, besuchen Sie bitte das Gladys Assistant Forum - Kategorie \"Funktionsanfragen\".", + "descriptionInformation": "Der Statusabruf erfolgt derzeit alle 2 Minuten (Einschränkung der Netatmo-API).", "noDeviceFound": "Keine Netatmo-Geräte gefunden. Haben Sie alle Schritte der Dokumentation befolgt, um Ihre Geräte in der Netatmo-API zu registrieren?", "alreadyCreatedButton": "Bereits erstellt", "scan": "Scannen", - "refresh": "Aktualisieren", - "dicoveringDevices": "Gerätewiederherstellung läuft..." + "refresh": "Aktualisieren" }, "setup": { "title": "Netatmo-Konfiguration", @@ -571,19 +581,7 @@ "descriptionGetKeys": "Dann haben Sie Zugriff auf zwei Schlüssel: \"Kunden-ID\" und \"Kundengeheimnis\", die Sie unten kopieren können.", "descriptionScopeInformation": "Wenn Sie Gladys mit Ihrer dedizierten Netatmo-App verbinden, erteilen Sie ihr die Berechtigung, auf Ihre Daten zum Lesen und Schreiben zuzugreifen (genannt Scopes \"read\" und \"write\"). Sie müssen nichts konfigurieren, diese Scopes sind automatisch integriert und werden Ihnen bei der Verbindungsanfrage angezeigt (siehe Dokumentation bei Bedarf). Da Gladys lokal installiert ist, werden keine dieser Daten preisgegeben.", "titleAdditionalInformation": "Weitere Informationen über die Funktionsweise der \"Energy\"-API:", - "descriptionAdditionalInformation": "Temperaturbefehle werden auf Raumniveau ausgeführt. Daher sind beide Informationen als Funktionen für mehr Kontrolle verfügbar. Wenn Sie andere Temperatursensoren im gleichen Raum wie Ihr Thermostat haben, wird die Durchschnittstemperatur dieses Raums berücksichtigt, um den Heizungssteuerschalter auszulösen.", - "errorConnecting": { - "other_error": "Fehler bei der Autorisierung. Sie können den Fehler in der Konsole Ihres Browsers mit einem Rechtsklick untersuchen. Wenn der Fehler weiterhin besteht, posten Sie bitte die Protokolle im Forum.", - "access_denied": "Autorisierung abgelehnt, bitte versuchen Sie es erneut und akzeptieren Sie den Zugriff auf Ihre Daten.", - "invalid_client": "Ungültige Kunden-ID. Bitte überprüfen Sie Ihre Netatmo-Kontoinformationen und dass das Konto nicht gesperrt oder deaktiviert ist Meine App.", - "get_access_token_fail": "Falsche Informationen eingegeben oder Konto deaktiviert. Bitte überprüfen Sie Ihre Netatmo-Kontoinformationen und dass das Konto nicht gesperrt oder deaktiviert ist Meine App." - }, - "notConfigured": "Der Netatmo-Dienst ist nicht konfiguriert", - "connecting": "Konfiguration gespeichert. Verbindung zu Ihrem Netatmo-Konto wird hergestellt...", - "processingToken": "Verbindung zu Ihrem Netatmo-Konto... Zugriffstoken wird abgerufen.", - "connect": "Gladys ist mit Netatmo verbunden", - "disconnect": "Gladys ist nicht mit Netatmo verbunden", - "connectionError": "Fehler bei der Verbindung, bitte überprüfen Sie Ihre Konfiguration." + "descriptionAdditionalInformation": "Temperaturbefehle werden auf Raumniveau ausgeführt. Daher sind beide Informationen als Funktionen für mehr Kontrolle verfügbar. Wenn Sie andere Temperatursensoren im gleichen Raum wie Ihr Thermostat haben, wird die Durchschnittstemperatur dieses Raums berücksichtigt, um den Heizungssteuerschalter auszulösen." }, "error": { "defaultError": "Ein Fehler ist bei der Registrierung des Geräts aufgetreten.", diff --git a/front/src/config/i18n/en.json b/front/src/config/i18n/en.json index 2d9353fb43..e2e5e73b3d 100644 --- a/front/src/config/i18n/en.json +++ b/front/src/config/i18n/en.json @@ -519,15 +519,26 @@ "discoverDeviceDescr": "Automatically scan Netatmo devices", "unmanagedModelButton": "Model not supported or unavailable", "status": { + "notConfigured": "The Netatmo service is not configured", + "disconnect": "Gladys is not connected to Netatmo", "notConnected": "Gladys failed to connect to the Netatmo account, please verify your credentials on the ", "setupPageLink": "Netatmo Setup Page.", - "connecting": "Connecting to your Netatmo account...", "connect": "Gladys is connected to Netatmo", - "disconnect": "Gladys is not connected to Netatmo", - "notConfigured": "The Netatmo service is not configured" + "connecting": "Configuration saved. Connecting to your Netatmo account...", + "processingToken": "Connecting to your Netatmo account... Retrieving access token.", + "getDevicesValues": "Data recovery in progress...", + "dicoveringDevices": "Device recovery in progress...", + "connectionError": "Error during connection, please check your configuration.", + "errorConnecting": { + "other_error": "Error during authorization. You can inspect the error in your browser's console with a right click. If the error persists, please post the logs on the forum.", + "access_denied": "Authorization declined, please try again and accept the request for access to your data.", + "invalid_client": "Invalid client ID. Please verify your Netatmo account information and that the account is not banned or disabled on My App.", + "get_access_token_fail": "Incorrect information entered or account disabled. Please check your Netatmo account information and that the account is not banned or disabled My App." + } }, "device": { "title": "Netatmo Devices in Gladys", + "descriptionInformation": "State retrieval is currently done every 2 minutes (Netatmo API limitation).", "noDeviceFound": "No Netatmo devices have been added yet.", "sidLabel": "Netatmo device SID", "nameLabel": "Device name", @@ -543,18 +554,17 @@ "noValueReceived": "No value received.", "firmwareRevisionLabel": "Firmware: ", "connectedPlugLabel": "Connected to bridge", - "roomNetatmoApiLabel": "Room in Netatmo API", - "getDevicesValues": "Data recovery in progress..." + "roomNetatmoApiLabel": "Room in Netatmo API" }, "discover": { "title": "Your Netatmo Devices Compatible with Gladys", "description": "Your Netatmo devices must be added to your Netatmo account before being added to Gladys, which currently only supports Thermostats associated with their Plug. The first discovery is done automatically. Press 'Refresh' if you want to retrieve new features of your devices.", "descriptionCompatibility": "For any requests to add devices and/or features, please visit the Gladys Assistant Forum - Feature Requests Category.", + "descriptionInformation": "State retrieval is currently done every 2 minutes (Netatmo API limitation).", "noDeviceFound": "No Netatmo devices were found. If you own a Netatmo Thermostat, have you completed all the steps in the documentation to register your devices on the Netatmo API?", "alreadyCreatedButton": "Already Created", "scan": "Scan", - "refresh": "Refresh", - "dicoveringDevices": "Device recovery in progress..." + "refresh": "Refresh" }, "setup": { "title": "Netatmo Setup", @@ -571,19 +581,7 @@ "descriptionGetKeys": "You will then have access to two keys: \"client ID\" and \"client secret\" to copy below.", "descriptionScopeInformation": "When you connect Gladys to your dedicated Netatmo App, you grant it permission to access your data in read and write modes (referred to as \"read\" and \"write\" scopes). You don't have to configure anything, these scopes are automatically integrated and will be presented to you during the connection request (see documentation if needed). Of course, since Gladys is installed locally, none of these data is exposed.", "titleAdditionalInformation": "Additional Information on the Operation of the \"Energy\" API:", - "descriptionAdditionalInformation": "Temperature commands are performed at the room level. Therefore, both pieces of information are available as features for more control. If you have other temperature sensors in the same room as your Thermostat, it's the average temperature of that room that will be considered to trigger the heating control switch.", - "errorConnecting": { - "other_error": "Error during authorization. You can inspect the error in your browser's console with a right click. If the error persists, please post the logs on the forum.", - "access_denied": "Authorization declined, please try again and accept the request for access to your data.", - "invalid_client": "Invalid client ID. Please verify your Netatmo account information and that the account is not banned or disabled on My App.", - "get_access_token_fail": "Incorrect information entered or account disabled. Please check your Netatmo account information and that the account is not banned or disabled My App." - }, - "notConfigured": "The Netatmo service is not configured", - "connecting": "Configuration saved. Connecting to your Netatmo account...", - "processingToken": "Connecting to your Netatmo account... Retrieving access token.", - "connect": "Gladys is connected to Netatmo", - "disconnect": "Gladys is not connected to Netatmo", - "connectionError": "Error during connection, please check your configuration." + "descriptionAdditionalInformation": "Temperature commands are performed at the room level. Therefore, both pieces of information are available as features for more control. If you have other temperature sensors in the same room as your Thermostat, it's the average temperature of that room that will be considered to trigger the heating control switch." }, "error": { "defaultError": "An error occurred while registering the device.", diff --git a/front/src/config/i18n/fr.json b/front/src/config/i18n/fr.json index e2bfa932a4..38edd6f9eb 100644 --- a/front/src/config/i18n/fr.json +++ b/front/src/config/i18n/fr.json @@ -647,15 +647,26 @@ "discoverDeviceDescr": "Scanner automatiquement les appareils Netatmo", "unmanagedModelButton": "Modèle non pris en charge ou non disponible", "status": { + "notConfigured": "Le service Netatmo n'est pas configuré", + "disconnect": "Gladys n'est pas connectée à Netatmo", "notConnected": "Gladys n'a pas réussi à se connecter au compte Netatmo, veuillez vérifier vos informations d'identification sur la ", "setupPageLink": "Page de configuration Netatmo.", - "connecting": "Connexion à votre compte Netatmo en cours...", "connect": "Gladys est connectée à Netatmo", - "disconnect": "Gladys n'est pas connectée à Netatmo", - "notConfigured": "Le service Netatmo n'est pas configuré" + "connecting": "Configuration sauvegardée. Connexion à votre compte Netatmo en cours...", + "processingToken": "Connexion à votre compte Netatmo... Récupération du token d'accès.", + "getDevicesValues": "Récupération des données en cours...", + "dicoveringDevices": "Récupération des appareils en cours...", + "connectionError": "Erreur lors de la connexion, veuillez vérifier votre configuration.", + "errorConnecting": { + "other_error": "Erreur lors de l'authorisation. Vous pouvez inspecter par un clique droit l'erreur dans la console de votre navigateur. Si l'erreur persiste, veuillez poster les logs sur le forum.", + "access_denied": "Autorisation déclinée, Veuillez tenter de nouveau et accepter la demande d'accès à vos données.", + "invalid_client": "Identifiant client invalide. Veuillez vérifier les informations de votre compte Netatmo et que le compte n'est pas bani ou désactivé My App.", + "get_access_token_fail": "Informations renseignées erronnées ou compte désactivé. Veuillez vérifier les informations de votre compte Netatmo et que le compte n'est pas bani ou désactivé My App." + } }, "device": { "title": "Appareils Netatmo dans Gladys", + "descriptionInformation": "La récupération des états se fait actuellement toutes les 2 minutes (limitation de l'API Netatmo).", "noDeviceFound": "Aucun appareil Netatmo n'a encore été ajouté.", "sidLabel": "SID Netatmo de l'appareil", "nameLabel": "Nom de l'appareil", @@ -671,18 +682,17 @@ "noValueReceived": "Aucune valeur reçue.", "firmwareRevisionLabel": "Firmware: ", "connectedPlugLabel": "Connecté au pont", - "roomNetatmoApiLabel": "Pièce dans l'API Netatmo", - "getDevicesValues": "Récupération des données en cours..." + "roomNetatmoApiLabel": "Pièce dans l'API Netatmo" }, "discover": { "title": "Vos appareils Netatmo compatibles avec Gladys", "description": "Vos appareils Netatmo doivent être ajoutés à votre compte Netatmo avant d'être ajoutés à Gladys qui ne supporte actuellement que les Thermostats associés à leur Plug. La 1ère découverte se fait automatiquement. Appuyer sur 'Rafraichir' si vous souhaitez récupérer les nouvelles fonctionnalités de vos appareils.", "descriptionCompatibility": "Pour toute demande d'ajout d'appareils et/ou de fonctionnalités, veuillez vous rendre sur le Forum Gladys Assistant - Catégorie \"Demande de fonctionnalités\".", + "descriptionInformation": "La récupération des états se fait actuellement toutes les 2 minutes (limitation de l'API Netatmo).", "noDeviceFound": "Aucun appareil Netatmo n'a été trouvé. Si vous possédez un Thermostat Netatmo, avez-vous bien réalisé toutes les étapes de la documentation pour enregistrer vos appareils sur l'API Netatmo ?", "alreadyCreatedButton": "Déjà créé", "scan": "Scanner", - "refresh": "Rafraîchir", - "dicoveringDevices": "Récupération des appareils en cours..." + "refresh": "Rafraîchir" }, "setup": { "title": "Configuration Netatmo", @@ -699,19 +709,7 @@ "descriptionGetKeys": "Vous aurez alors accès aux deux clés : \"client ID\" et \"client secret\" à copier ci-dessous.", "descriptionScopeInformation": "Lorsque vous connectez Gladys à votre App Netatmo dédiée, vous lui donnez l'autorisation d'accéder à vos données en lecture et en écriture (appelé scopes \"read\" et \"write\"). Vous n'avez rien à configuré, ces scopes sont automatiquement intégrés et vous serons exposés lors de la demande de connexion (voir documentation au besoin). Bien entendu, Gladys étant installée en local, aucune de ces données ne se retrouve exposées.", "titleAdditionalInformation": "Informations complémentaires sur le fonctionnement de l'API \"Energy\" :", - "descriptionAdditionalInformation": "Les commandes de températures sont effectuées au niveau de la pièce. Les 2 informations sont donc disponibles en fonctionnalités pour plus de contrôle. Si vous possédez d'autres capteurs de température dans la même pièce que votre Thermostat, c'est la température moyenne de cette pièce qui sera prise en compte pour déclencher le commutateur de contrôle de chauffe.", - "errorConnecting": { - "other_error": "Erreur lors de l'authorisation. Vous pouvez inspecter par un clique droit l'erreur dans la console de votre navigateur. Si l'erreur persiste, veuillez poster les logs sur le forum.", - "access_denied": "Autorisation déclinée, Veuillez tenter de nouveau et accepter la demande d'accès à vos données.", - "invalid_client": "Identifiant client invalide. Veuillez vérifier les informations de votre compte Netatmo et que le compte n'est pas bani ou désactivé My App.", - "get_access_token_fail": "Informations renseignées erronnées ou compte désactivé. Veuillez vérifier les informations de votre compte Netatmo et que le compte n'est pas bani ou désactivé My App." - }, - "notConfigured": "Le service Netatmo n'est pas configuré", - "connecting": "Configuration sauvegardée. Connexion à votre compte Netatmo en cours...", - "processingToken": "Connexion à votre compte Netatmo... Récupération du token d'accès.", - "connect": "Gladys est connectée à Netatmo", - "disconnect": "Gladys n'est pas connectée à Netatmo", - "connectionError": "Erreur lors de la connexion, veuillez vérifier votre configuration." + "descriptionAdditionalInformation": "Les commandes de températures sont effectuées au niveau de la pièce. Les 2 informations sont donc disponibles en fonctionnalités pour plus de contrôle. Si vous possédez d'autres capteurs de température dans la même pièce que votre Thermostat, c'est la température moyenne de cette pièce qui sera prise en compte pour déclencher le commutateur de contrôle de chauffe." }, "error": { "defaultError": "Une erreur s'est produite lors de l'enregistrement de l'appareil.", diff --git a/front/src/routes/integration/all/netatmo/device-page/DeviceTab.jsx b/front/src/routes/integration/all/netatmo/device-page/DeviceTab.jsx index 6562028453..ee58e01221 100644 --- a/front/src/routes/integration/all/netatmo/device-page/DeviceTab.jsx +++ b/front/src/routes/integration/all/netatmo/device-page/DeviceTab.jsx @@ -1,4 +1,4 @@ -import { Text, Localizer } from 'preact-i18n'; +import { Text, Localizer, MarkupText } from 'preact-i18n'; import cx from 'classnames'; import EmptyState from './EmptyState'; @@ -107,6 +107,11 @@ class DeviceTab extends Component {
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
-
-
+
-
-