Merge pull request #3796 from LvckyAPI/develop
Fixes UI bug with German translations
This commit is contained in:
4 files changed
+10
-6
No files matched your search
@@ -40,6 +40,7 @@ export const BaseChart = ({
|
|||||||
<Typography
|
<Typography
|
||||||
variant="eyebrow"
|
variant="eyebrow"
|
||||||
color="text.secondary"
|
color="text.secondary"
|
||||||
|
sx={{ overflowWrap: "anywhere" }}
|
||||||
>
|
>
|
||||||
{title}
|
{title}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -25,10 +25,11 @@ export const InfraDetailsGauges = ({
|
|||||||
<Stack
|
<Stack
|
||||||
direction={isSmall ? "column" : "row"}
|
direction={isSmall ? "column" : "row"}
|
||||||
spacing={theme.spacing(8)}
|
spacing={theme.spacing(8)}
|
||||||
alignItems={"center"}
|
alignItems={"stretch"}
|
||||||
>
|
>
|
||||||
<DetailGauge
|
<DetailGauge
|
||||||
title={t("pages.infrastructure.gauges.memory.title")}
|
title={t("pages.infrastructure.gauges.memory.title")}
|
||||||
|
maxWidth={260}
|
||||||
progress={(snapshot?.memory?.usage_percent || 0) * 100}
|
progress={(snapshot?.memory?.usage_percent || 0) * 100}
|
||||||
upperLabel={t("pages.infrastructure.gauges.memory.upperLabel")}
|
upperLabel={t("pages.infrastructure.gauges.memory.upperLabel")}
|
||||||
upperValue={prettyBytes(snapshot?.memory?.used_bytes || 0)}
|
upperValue={prettyBytes(snapshot?.memory?.used_bytes || 0)}
|
||||||
@@ -37,6 +38,7 @@ export const InfraDetailsGauges = ({
|
|||||||
/>
|
/>
|
||||||
<DetailGauge
|
<DetailGauge
|
||||||
title={t("pages.infrastructure.gauges.cpu.title")}
|
title={t("pages.infrastructure.gauges.cpu.title")}
|
||||||
|
maxWidth={260}
|
||||||
progress={(snapshot?.cpu?.usage_percent || 0) * 100}
|
progress={(snapshot?.cpu?.usage_percent || 0) * 100}
|
||||||
upperLabel={t("pages.infrastructure.gauges.cpu.upperLabel")}
|
upperLabel={t("pages.infrastructure.gauges.cpu.upperLabel")}
|
||||||
upperValue={getFrequency(snapshot?.cpu?.current_frequency || 0)}
|
upperValue={getFrequency(snapshot?.cpu?.current_frequency || 0)}
|
||||||
@@ -49,6 +51,7 @@ export const InfraDetailsGauges = ({
|
|||||||
key={disk?.device || 0 + idx}
|
key={disk?.device || 0 + idx}
|
||||||
// title={`Disk ${idx} usage`}
|
// title={`Disk ${idx} usage`}
|
||||||
title={t("pages.infrastructure.gauges.disk.title", { idx })}
|
title={t("pages.infrastructure.gauges.disk.title", { idx })}
|
||||||
|
maxWidth={260}
|
||||||
progress={(disk.usage_percent || 0) * 100}
|
progress={(disk.usage_percent || 0) * 100}
|
||||||
upperLabel={t("pages.infrastructure.gauges.disk.upperLabel")}
|
upperLabel={t("pages.infrastructure.gauges.disk.upperLabel")}
|
||||||
upperValue={prettyBytes(disk?.used_bytes || 0)}
|
upperValue={prettyBytes(disk?.used_bytes || 0)}
|
||||||
|
|||||||
@@ -825,7 +825,7 @@
|
|||||||
"netBytesRecv": "{{name}} - Empfangene Bytes",
|
"netBytesRecv": "{{name}} - Empfangene Bytes",
|
||||||
"netBytesSent": "{{name}} - Gesendete 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.",
|
"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": "Temp."
|
"temp": "CPU-Temperatur"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gauges": {
|
"gauges": {
|
||||||
@@ -841,13 +841,13 @@
|
|||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"lowerLabel": "Frei",
|
"lowerLabel": "Frei",
|
||||||
"title": "Arbeitsspeicherauslastung",
|
"title": "Speicherauslastung",
|
||||||
"upperLabel": "Belegt"
|
"upperLabel": "Belegt"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"statBoxes": {
|
"statBoxes": {
|
||||||
"avgCpuTemperature": "Durchschn. CPU Termperatur",
|
"avgCpuTemperature": "Durchschn. CPU-Temperatur",
|
||||||
"cpuFrequency": "CPU Frequenz",
|
"cpuFrequency": "CPU-Frequenz",
|
||||||
"cpuLogical": "CPU (logisch)",
|
"cpuLogical": "CPU (logisch)",
|
||||||
"cpuPhysical": "CPU (physisch)",
|
"cpuPhysical": "CPU (physisch)",
|
||||||
"disk": "Festplatte",
|
"disk": "Festplatte",
|
||||||
|
|||||||
@@ -845,7 +845,7 @@
|
|||||||
"netBytesRecv": "{{name}} - Bytes Received",
|
"netBytesRecv": "{{name}} - Bytes Received",
|
||||||
"netBytesSent": "{{name}} - Bytes Sent",
|
"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.",
|
"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": {
|
"gauges": {
|
||||||
|
|||||||
Reference in new issue
Block a user