From f56aa1bb57ccef6da1137e7402cc500470f6ead8 Mon Sep 17 00:00:00 2001 From: Tatiana Lopaeva Date: Mon, 19 Aug 2024 13:41:30 +0300 Subject: [PATCH] Client: Fixed translation. --- packages/client/public/locales/en/MainBar.json | 2 +- packages/client/src/components/MainBar/QuotasBar.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/client/public/locales/en/MainBar.json b/packages/client/public/locales/en/MainBar.json index f3696b5d83..8c76a500aa 100644 --- a/packages/client/public/locales/en/MainBar.json +++ b/packages/client/public/locales/en/MainBar.json @@ -7,7 +7,7 @@ "PersonalQuotaHeader": "Your personal storage quota exceeded", "PersonalQuotaHeaderForAdmins": "Storage quota per user exceeded", "PersonalUserQuotaAdminsDescription": "To upload and create new files and folders, please free up disk space, or manage quota per user in the <1>Storage management settings.", - "PersonalUserQuotaDescription": "To upload and create new files and folders, please free up disk space, or contact the administrator to increase the storage quota.", + "PersonalUserQuotaDescription": "To upload and create new files and folders, please free up disk space, or contact the {{productName}} administrator to increase the storage quota.", "RemoveFilesOrClickToUpgrade": "Remove the unnecessary files or <1>click here to upgrade your tariff plan.", "RemoveFilesOrContactToUpgrade": "Remove the unnecessary files or contact the {{productName}} administrator to upgrade the tariff plan.", "RemoveFilesOrContactToUpgradeQuota": "Remove the unnecessary files or contact the {{productName}} administrator to increase the storage quota.", diff --git a/packages/client/src/components/MainBar/QuotasBar.js b/packages/client/src/components/MainBar/QuotasBar.js index e1ce941974..7586344647 100644 --- a/packages/client/src/components/MainBar/QuotasBar.js +++ b/packages/client/src/components/MainBar/QuotasBar.js @@ -149,7 +149,10 @@ const QuotasBar = ({ }; const getPersonalQuotaDescription = () => { - if (!isAdmin) return t("PersonalUserQuotaDescription"); + if (!isAdmin) + return t("PersonalUserQuotaDescription", { + productName: t("Common:ProductName"), + }); return (