chore: add missing translation

This commit is contained in:
Matthew Russell
2023-11-21 12:10:55 +01:00
committed by Bartłomiej Głownia
parent ca766bc0b9
commit fb2239c650
2 changed files with 5 additions and 6 deletions
+1
View File
@@ -2,6 +2,7 @@
"All {{symbol}} withdrawals are subject to a {{delay}} delay.": "All {{symbol}} withdrawals are subject to a {{delay}} delay.",
"Amount": "Amount",
"Asset": "Asset",
"Available to withdraw in {{availableTimestamp}}": "Available to withdraw in {{availableTimestamp}}",
"Balance available": "Balance available",
"Complete the withdrawal to release your funds": "Complete the withdrawal to release your funds",
"Complete these {{count}} withdrawals to release your funds": "Complete these {{count}} withdrawals to release your funds",
@@ -84,11 +84,9 @@ export const WithdrawalFeedback = ({
<ActionButton withdrawal={withdrawal} submitWithdraw={submitWithdraw} />
) : (
<p className="text-danger">
{t(
`Available to withdraw in ${formatDistanceToNow(
availableTimestamp
)}`
)}
{t('Available to withdraw in {{availableTimestamp}}', {
availableTimestamp: formatDistanceToNow(availableTimestamp),
})}
</p>
)}
</div>
@@ -122,7 +120,7 @@ const ActionButton = ({
return (
<>
<p className="text-danger mb-2">
{t(`This app only works on {{chainName}}. Please change chain.`, {
{t('This app only works on {{chainName}}. Please change chain.', {
chainName,
})}
</p>