Pull request 2336: 7600-fix-time-in-enable-protection-timer
Closes #7599. Updates #7600. * commit 'a4ea6c22335dff3a0f9cfba1ccf9db65a1e6db71': fix: time in `enable_protection_timer` translation
This commit is contained in:
@@ -154,7 +154,7 @@ const Dashboard = ({
|
|||||||
}}
|
}}
|
||||||
disabled={processingProtection}>
|
disabled={processingProtection}>
|
||||||
{protectionDisabledDuration
|
{protectionDisabledDuration
|
||||||
? `${t('enable_protection_timer')} ${getRemaningTimeText(protectionDisabledDuration)}`
|
? `${t('enable_protection_timer', { time: getRemaningTimeText(protectionDisabledDuration) })}`
|
||||||
: getProtectionBtnText(protectionEnabled)}
|
: getProtectionBtnText(protectionEnabled)}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user