diff --git a/public/locales/en/common.json b/public/locales/en/common.json index a652abf88..d4634e807 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -25,6 +25,7 @@ "placeholder": "Search…" }, "resources": { + "cpu": "CPU", "total": "Total", "free": "Free", "used": "Used", diff --git a/src/components/widgets/resources/cpu.jsx b/src/components/widgets/resources/cpu.jsx index 741ffefd7..6b021193b 100644 --- a/src/components/widgets/resources/cpu.jsx +++ b/src/components/widgets/resources/cpu.jsx @@ -30,7 +30,7 @@ export default function Cpu({ expanded }) {
-
-
{t("docker.cpu")}
+
{t("resources.cpu")}
{expanded && (
@@ -59,7 +59,7 @@ export default function Cpu({ expanded }) { maximumFractionDigits: 0, })}
-
{t("docker.cpu")}
+
{t("resources.cpu")}
{expanded && (