fix: time in enable_protection_timer translation

This commit is contained in:
Jan Pieper 2025-01-28 09:53:58 +01:00
parent 6633ad6304
commit 1a95161784

View File

@ -154,7 +154,7 @@ const Dashboard = ({
}}
disabled={processingProtection}>
{protectionDisabledDuration
? `${t('enable_protection_timer')} ${getRemaningTimeText(protectionDisabledDuration)}`
? `${t('enable_protection_timer', { time: getRemaningTimeText(protectionDisabledDuration) })}`
: getProtectionBtnText(protectionEnabled)}
</button>