From 1a95161784eb52a693d712ae3b93fe33c08beaf7 Mon Sep 17 00:00:00 2001 From: Jan Pieper Date: Tue, 28 Jan 2025 09:53:58 +0100 Subject: [PATCH] fix: time in `enable_protection_timer` translation --- client/src/components/Dashboard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Dashboard/index.tsx b/client/src/components/Dashboard/index.tsx index 8dacfd6b..e7d39ae6 100644 --- a/client/src/components/Dashboard/index.tsx +++ b/client/src/components/Dashboard/index.tsx @@ -154,7 +154,7 @@ const Dashboard = ({ }} disabled={processingProtection}> {protectionDisabledDuration - ? `${t('enable_protection_timer')} ${getRemaningTimeText(protectionDisabledDuration)}` + ? `${t('enable_protection_timer', { time: getRemaningTimeText(protectionDisabledDuration) })}` : getProtectionBtnText(protectionEnabled)}