diff --git a/libs/i18n/src/locales/en/withdraws.json b/libs/i18n/src/locales/en/withdraws.json index 95535dcd1..0c8d12fd0 100644 --- a/libs/i18n/src/locales/en/withdraws.json +++ b/libs/i18n/src/locales/en/withdraws.json @@ -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", diff --git a/libs/withdraws/src/lib/withdrawal-feedback.tsx b/libs/withdraws/src/lib/withdrawal-feedback.tsx index ee6593b29..fa352eaaa 100644 --- a/libs/withdraws/src/lib/withdrawal-feedback.tsx +++ b/libs/withdraws/src/lib/withdrawal-feedback.tsx @@ -84,11 +84,9 @@ export const WithdrawalFeedback = ({ ) : (

- {t( - `Available to withdraw in ${formatDistanceToNow( - availableTimestamp - )}` - )} + {t('Available to withdraw in {{availableTimestamp}}', { + availableTimestamp: formatDistanceToNow(availableTimestamp), + })}

)} @@ -122,7 +120,7 @@ const ActionButton = ({ return ( <>

- {t(`This app only works on {{chainName}}. Please change chain.`, { + {t('This app only works on {{chainName}}. Please change chain.', { chainName, })}