From 4edf425a9fae15b7e555b033f33c77ddf1302f61 Mon Sep 17 00:00:00 2001 From: hreczkosiej Date: Tue, 28 Apr 2026 07:14:10 +0200 Subject: [PATCH] chore(i18n): add a translation for disk usage (#5916) --- frontend/src/components/Sidebar.vue | 2 +- frontend/src/i18n/en.json | 1 + frontend/src/i18n/pl.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Sidebar.vue b/frontend/src/components/Sidebar.vue index c7961e3e..ff74aa40 100644 --- a/frontend/src/components/Sidebar.vue +++ b/frontend/src/components/Sidebar.vue @@ -92,7 +92,7 @@ >
- {{ usage.used }} of {{ usage.total }} used + {{ $t("sidebar.diskUsed", { used: usage.used, total: usage.total }) }}

diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 933c2e32..9b2dd2c7 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -281,6 +281,7 @@ "currentPassword": "Your Current Password" }, "sidebar": { + "diskUsed": "{used} of {total} used", "help": "Help", "hugoNew": "Hugo New", "login": "Login", diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json index 28b2d8c2..b8776892 100644 --- a/frontend/src/i18n/pl.json +++ b/frontend/src/i18n/pl.json @@ -281,6 +281,7 @@ "currentPassword": "Twoje aktualne hasło" }, "sidebar": { + "diskUsed": "Wykorzystano {used} z {total}", "help": "Pomoc", "hugoNew": "Nowy Hugo", "login": "Zaloguj",