From ed1ef56184b0bef2264196dbe938ccdb25227c3f Mon Sep 17 00:00:00 2001 From: Iven Schlenther Date: Wed, 22 Jul 2026 11:27:38 +0200 Subject: [PATCH 1/2] - Add `sx={{ overflowWrap: "anywhere" }}` to Typography in BaseChart for improved text wrapping. - Adjust `alignItems` to `stretch` and add `maxWidth` (260) to Gauge components in Infrastructure Details page. - Update German translations for memory titles, temperatures, and labels in locales file. --- client/src/Components/design-elements/BaseChart.tsx | 1 + .../Pages/Infrastructure/Details/Components/Gauges.tsx | 5 ++++- client/src/locales/de.json | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/client/src/Components/design-elements/BaseChart.tsx b/client/src/Components/design-elements/BaseChart.tsx index c6d8298a7..ddfd82a3e 100644 --- a/client/src/Components/design-elements/BaseChart.tsx +++ b/client/src/Components/design-elements/BaseChart.tsx @@ -40,6 +40,7 @@ export const BaseChart = ({ {title} diff --git a/client/src/Pages/Infrastructure/Details/Components/Gauges.tsx b/client/src/Pages/Infrastructure/Details/Components/Gauges.tsx index 04c87ca95..e2b053aef 100644 --- a/client/src/Pages/Infrastructure/Details/Components/Gauges.tsx +++ b/client/src/Pages/Infrastructure/Details/Components/Gauges.tsx @@ -25,10 +25,11 @@ export const InfraDetailsGauges = ({ Date: Wed, 22 Jul 2026 11:33:06 +0200 Subject: [PATCH 2/2] Update English and German translations for "temp" label to "CPU temperature" in locales files. --- client/src/locales/de.json | 2 +- client/src/locales/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/locales/de.json b/client/src/locales/de.json index 29930bdfc..7b2e64945 100644 --- a/client/src/locales/de.json +++ b/client/src/locales/de.json @@ -825,7 +825,7 @@ "netBytesRecv": "{{name}} - Empfangene Bytes", "netBytesSent": "{{name}} - Gesendete Bytes", "netNoTraffic": "Capture meldet null Datenverkehr auf allen Schnittstellen. Das ist normal, wenn Capture in einem Container läuft, der nur Loopback-Schnittstellen sieht — führe Capture direkt auf dem Host aus, um echten Netzwerkverkehr zu sehen.", - "temp": "Temperatur" + "temp": "CPU-Temperatur" } }, "gauges": { diff --git a/client/src/locales/en.json b/client/src/locales/en.json index 2adde28ec..d940f95fc 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -845,7 +845,7 @@ "netBytesRecv": "{{name}} - Bytes Received", "netBytesSent": "{{name}} - Bytes Sent", "loopbackOnlyNotice": "Capture is only reporting loopback or container-bridge interfaces (lo, lo0, docker0). This is normal when Capture runs inside a container that can only see its own network namespace — run Capture directly on the host to see real network activity.", - "temp": "Temp" + "temp": "CPU temperature" } }, "gauges": {