From c9c6077e3953e135a2e337d41e3f4da2035deaf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Deisinger?= Date: Wed, 13 Nov 2024 00:13:39 +0100 Subject: [PATCH] Fix: Make Advanced Settings Text Translatable #17220 Updated so translations are now stored in config.general --- assets/js/components/Config/PropertyCollapsible.vue | 4 ++-- i18n/de.toml | 4 ++-- i18n/en.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/js/components/Config/PropertyCollapsible.vue b/assets/js/components/Config/PropertyCollapsible.vue index dfa2413f60..218f382f10 100644 --- a/assets/js/components/Config/PropertyCollapsible.vue +++ b/assets/js/components/Config/PropertyCollapsible.vue @@ -6,8 +6,8 @@ type="button" @click="toggle" > - {{ $t("config.mqtt.hideAdvancedSettings") }} - {{ $t("config.mqtt.showAdvancedSettings") }} + {{ $t("config.general.hideAdvancedSettings") }} + {{ $t("config.general.showAdvancedSettings") }} diff --git a/i18n/de.toml b/i18n/de.toml index 1801271883..1ddd6c0cc0 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -89,12 +89,14 @@ optional = "optional" cancel = "Abbrechen" docsLink = "Siehe Dokumentation." experimental = "Experimentell" +hideAdvancedSettings = "Erweiterte einstellungen ausblenden" off = "aus" on = "an" password = "Passwort" readFromFile = "Aus Datei lesen" remove = "Entfernen" save = "Speichern" +showAdvancedSettings = "Erweiterte einstellungen anzeigen" telemetry = "Telemetrie" title = "Titel" @@ -156,7 +158,6 @@ brokerLabel = "Server" description = "Verbinde evcc mit einem MQTT-Broker, um Daten mit anderen Systemen in deinem Netzwerk auszutauschen." descriptionClientId = "Autor der Nachrichten. Wenn leer, wird `evcc-[rand]` verwendet." descriptionTopic = "Leer lassen, um das Publizieren zu deaktivieren." -hideAdvancedSettings = "Erweiterte einstellungen ausblenden" labelBroker = "Broker" labelCaCert = "Serverzertifikat (CA)" labelCheckInsecure = "Erlaube unsichere Verbindungen" @@ -168,7 +169,6 @@ labelPassword = "Passwort" labelTopic = "Thema" labelUser = "Benutzer" publishing = "Veröffentlichen" -showAdvancedSettings = "Erweiterte einstellungen anzeigen" title = "MQTT" [config.network] diff --git a/i18n/en.toml b/i18n/en.toml index bea3a9c7da..ac2d171869 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -89,12 +89,14 @@ optional = "optional" cancel = "Cancel" docsLink = "See documentation." experimental = "Experimental" +hideAdvancedSettings = "Hide advanced settings" off = "off" on = "on" password = "Password" readFromFile = "Read from file" remove = "Remove" save = "Save" +showAdvancedSettings = "Show advanced settings" telemetry = "Telemetry" title = "Title" @@ -155,7 +157,6 @@ authentication = "Authentication" description = "Connect to an MQTT broker to exchange data with other systems on your network." descriptionClientId = "Author of the messages. If empty `evcc-[rand]` is used." descriptionTopic = "Leave empty to disable publishing." -hideAdvancedSettings = "Hide advanced settings" labelBroker = "Broker" labelCaCert = "Server certificate (CA)" labelCheckInsecure = "Allow self-signed certificates" @@ -167,7 +168,6 @@ labelPassword = "Password" labelTopic = "Topic" labelUser = "Username" publishing = "Publishing" -showAdvancedSettings = "Show advanced settings" title = "MQTT" [config.network]