From a1c67900c3adb0770f7900fadad860e0aebc4b8c Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Sun, 8 Jun 2025 19:49:40 +0200 Subject: [PATCH] webapp: translate logging modules in admin view --- lang/el.lang.json | 5 +++++ lang/es.lang.json | 5 +++++ lang/it.lang.json | 5 +++++ lang/pl.lang.json | 8 +++++++- webapp/src/locales/de.json | 7 ++++++- webapp/src/locales/en.json | 7 ++++++- webapp/src/locales/fr.json | 7 ++++++- webapp/src/views/LoggingAdminView.vue | 2 +- 8 files changed, 41 insertions(+), 5 deletions(-) diff --git a/lang/el.lang.json b/lang/el.lang.json index 37872c91..7c6c3b9a 100644 --- a/lang/el.lang.json +++ b/lang/el.lang.json @@ -717,6 +717,11 @@ "LogLevel": "Log Level", "DefaultLevel": "Default log level", "Module": "Module", + "Module_CORE": "Κεντρικό μέρος", + "Module_hoymiles": "Ραδιοφωνική επικοινωνία Hoymiles", + "Module_mqtt": "Πελάτης MQTT", + "Module_network": "Δίκτυο", + "Module_webapi": "Διεπαφή Web", "CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", "log_inherit": "Inherit from default", "log_none": "None", diff --git a/lang/es.lang.json b/lang/es.lang.json index 103add76..d397501a 100644 --- a/lang/es.lang.json +++ b/lang/es.lang.json @@ -717,6 +717,11 @@ "LogLevel": "Log Level", "DefaultLevel": "Default log level", "Module": "Module", + "Module_CORE": "Núcleo ESP-IDF", + "Module_hoymiles": "RF Hoymiles", + "Module_mqtt": "Cliente MQTT", + "Module_network": "Red", + "Module_webapi": "API Web", "CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", "log_inherit": "Inherit from default", "log_none": "None", diff --git a/lang/it.lang.json b/lang/it.lang.json index 572b6cca..c1339ef8 100644 --- a/lang/it.lang.json +++ b/lang/it.lang.json @@ -717,6 +717,11 @@ "LogLevel": "Log Level", "DefaultLevel": "Default log level", "Module": "Module", + "Module_CORE": "Nucleo ESP-IDF", + "Module_hoymiles": "RF Hoymiles", + "Module_mqtt": "Client MQTT", + "Module_network": "Rete", + "Module_webapi": "API Web", "CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", "log_inherit": "Inherit from default", "log_none": "None", diff --git a/lang/pl.lang.json b/lang/pl.lang.json index 8148ec9d..63f7652b 100644 --- a/lang/pl.lang.json +++ b/lang/pl.lang.json @@ -716,7 +716,13 @@ "LoggingSettings": "Logging Settings", "LogLevel": "Log Level", "DefaultLevel": "Default log level", - "Module": "Module","CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", + "Module": "Module", + "Module_CORE": "Rdzeń ESP-IDF", + "Module_hoymiles": "Komunikacja radiowa Hoymiles", + "Module_mqtt": "Klient MQTT", + "Module_network": "Sieć", + "Module_webapi": "Interfejs API Web", + "CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", "log_inherit": "Inherit from default", "log_none": "None", "log_error": "(E) Error", diff --git a/webapp/src/locales/de.json b/webapp/src/locales/de.json index bb6751b8..118087d9 100644 --- a/webapp/src/locales/de.json +++ b/webapp/src/locales/de.json @@ -701,7 +701,12 @@ "LogLevel": "Protokollierungsstufe", "DefaultLevel": "Standard-Protokollierungsstufe", "Module": "Modul", - "CoreHint": "Achtung: Ein zu detaillierte Protokollierungsstufe des CORE-Moduls kann die Performanz signifikant beeinträchtigen und zu unvorhersehbarem Verhalten führen. Die Log-Level-Einstellung sollte nur bei gezielter Fehlersuche temporär angepasst werden. Die Standardeinstellung 'Fehler' ist für den normalen Betrieb ausreichend.", + "Module_CORE": "ESP-IDF Kern", + "Module_hoymiles": "Hoymiles RF", + "Module_mqtt": "MQTT Client", + "Module_network": "Netzwerk", + "Module_webapi": "Web API", + "CoreHint": "Achtung: Eine zu detaillierte Protokollierungsstufe des ESP-IDF-Kern-Moduls kann die Performanz signifikant beeinträchtigen und zu unvorhersehbarem Verhalten führen. Die Log-Level-Einstellung sollte nur bei gezielter Fehlersuche temporär angepasst werden. Die Standardeinstellung 'Fehler' ist für den normalen Betrieb ausreichend.", "log_inherit": "Von Standard erben", "log_none": "Keine", "log_error": "(E) Fehler", diff --git a/webapp/src/locales/en.json b/webapp/src/locales/en.json index f705b7e4..58b395a5 100644 --- a/webapp/src/locales/en.json +++ b/webapp/src/locales/en.json @@ -702,7 +702,12 @@ "LogLevel": "Log Level", "DefaultLevel": "Default log level", "Module": "Module", - "CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", + "Module_CORE": "ESP-IDF Core", + "Module_hoymiles": "Hoymiles RF", + "Module_mqtt": "MQTT Client", + "Module_network": "Network", + "Module_webapi": "Web API", + "CoreHint": "Warning: A too detailed log level of the ESP-IDF Core module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", "log_inherit": "Inherit from default", "log_none": "None", "log_error": "(E) Error", diff --git a/webapp/src/locales/fr.json b/webapp/src/locales/fr.json index 8735bf80..08cb83b9 100644 --- a/webapp/src/locales/fr.json +++ b/webapp/src/locales/fr.json @@ -683,7 +683,12 @@ "LogLevel": "Log Level", "DefaultLevel": "Default log level", "Module": "Module", - "CoreHint": "Warning: A too detailed log level of the CORE module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", + "Module_CORE": "Noyau ESP-IDF", + "Module_hoymiles": "RF Hoymiles", + "Module_mqtt": "Client MQTT", + "Module_network": "Réseau", + "Module_webapi": "API Web", + "CoreHint": "Warning: A too detailed log level of the ESP-IDF Core module can significantly impact performance and lead to unpredictable behavior. The log level setting should only be temporarily adjusted for targeted troubleshooting. The default setting 'Error' is sufficient for normal operation.", "log_inherit": "Inherit from default", "log_none": "None", "log_error": "(E) Error", diff --git a/webapp/src/views/LoggingAdminView.vue b/webapp/src/views/LoggingAdminView.vue index 75d2a402..eabecdb1 100644 --- a/webapp/src/views/LoggingAdminView.vue +++ b/webapp/src/views/LoggingAdminView.vue @@ -42,7 +42,7 @@ :data-id="module.name" class="align-middle" > - {{ module.name }} + {{ $t('loggingadmin.Module_' + module.name) }}