Fixes wrong values used in RAM usage section (#344)

This commit is contained in:
Paco
2026-02-06 02:42:00 +00:00
committed by GitHub
parent af08472e45
commit d6920700cb
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -294,7 +294,7 @@
"activeInactiveUsers": "Aktive/inaktive Benutzer",
"activeUsers": "Aktive Benutzer",
"allVersionsCombined": "Alle Versionen zusammen",
"availableRam": "({freeRam} / {totalRam})",
"availableRam": "({usedRam} / {totalRam})",
"biggestGamesOnServer": "Größte Spiele auf dem Server",
"biggestGamesToDownload": "Die größten Spiele zum Herunterladen",
"cpuUsage": "CPU Nutzung",
+1 -1
View File
@@ -347,7 +347,7 @@
"activeInactiveUsers": "Active/inactive users",
"activeUsers": "Active users",
"allVersionsCombined": "All versions combined",
"availableRam": "({freeRam} / {totalRam})",
"availableRam": "({usedRam} / {totalRam})",
"biggestGamesOnServer": "Biggest games on server",
"biggestGamesToDownload": "Biggest games to download",
"cpuUsage": "CPU usage",
+1 -1
View File
@@ -294,7 +294,7 @@
"activeInactiveUsers": "Utilisateurs actifs/inactifs",
"activeUsers": "Utilisateurs actifs",
"allVersionsCombined": "Toutes les versions combinées",
"availableRam": "({freeRam} / {totalRam})",
"availableRam": "({usedRam} / {totalRam})",
"biggestGamesOnServer": "Les plus gros jeux sur le serveur",
"biggestGamesToDownload": "Les plus gros jeux à télécharger",
"cpuUsage": "Utilisation du processeur",
+3 -1
View File
@@ -131,7 +131,9 @@
<div class="flex-1 text-sm grow text-right self-center">
{{
$t("home.admin.availableRam", {
freeRam: formatBytes(systemData.freeRam),
usedRam: formatBytes(
systemData.totalRam - systemData.freeRam,
),
totalRam: formatBytes(systemData.totalRam),
})
}}