add missing translations (#1842)

This commit is contained in:
Justin Domingue 2021-06-10 10:42:07 -07:00 committed by GitHub
parent 860413dd52
commit 557042a88f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -720,9 +720,11 @@ export default function AddLiquidity({
width={showApprovalB ? '48%' : '100%'}
>
{approvalA === ApprovalState.PENDING ? (
<Dots>Approving {currencies[Field.CURRENCY_A]?.symbol}</Dots>
<Dots>
<Trans>Approving {currencies[Field.CURRENCY_A]?.symbol}</Trans>
</Dots>
) : (
'Approve ' + currencies[Field.CURRENCY_A]?.symbol
<Trans>Approve {currencies[Field.CURRENCY_A]?.symbol}</Trans>
)}
</ButtonPrimary>
)}
@ -735,9 +737,11 @@ export default function AddLiquidity({
width={showApprovalA ? '48%' : '100%'}
>
{approvalB === ApprovalState.PENDING ? (
<Dots>Approving {currencies[Field.CURRENCY_B]?.symbol}</Dots>
<Dots>
<Trans>Approving {currencies[Field.CURRENCY_B]?.symbol}</Trans>
</Dots>
) : (
'Approve ' + currencies[Field.CURRENCY_B]?.symbol
<Trans>Approve {currencies[Field.CURRENCY_B]?.symbol}</Trans>
)}
</ButtonPrimary>
)}