From c7b7bddb224bc6cb75f6f5ca2cb613991e951ec1 Mon Sep 17 00:00:00 2001 From: DenysKarmazynDFINITY Date: Thu, 28 Nov 2024 14:57:02 +0100 Subject: [PATCH] feat(frontend): rename "swap" to "convert" --- src/frontend/src/lib/i18n/en.json | 10 +++++----- .../tests/lib/components/convert/ConvertModal.spec.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index ecf82755ef..d1f101b2f1 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -379,14 +379,14 @@ "fees_explanation": "You need enough $token to cover the smart contract execution fees.", "current_balance": "👉 Current balance:", "review_button": "Review", - "convert_button": "Swap", + "convert_button": "Convert", "input_reset_button": "Reset input value", - "swap_to_token": "Swap $sourceToken → $destinationToken", + "swap_to_token": "Convert $sourceToken → $destinationToken", "review": "Review transaction", "available_balance": "Available", "max_balance": "Max", - "review_tokens_info_title": "You're swapping", - "amount_to_convert": "Amount to swap", + "review_tokens_info_title": "You're converting", + "amount_to_convert": "Amount to convert", "amount_to_receive": "Amount to receive", "source_network": "Source network", "destination_network": "Destination network", @@ -537,7 +537,7 @@ "estimated_inter_network": "Estimated Inter-network Fee", "estimated_eth": "Estimated Ethereum Fee", "max_fee_eth": "Max fee (likely in < 30 seconds):", - "convert_fee": "Swap fee", + "convert_fee": "Convert fee", "convert_inter_network_fee": "Inter-network fee", "convert_btc_network_fee": "Bitcoin network fee", "zero_fee": "Free", diff --git a/src/frontend/src/tests/lib/components/convert/ConvertModal.spec.ts b/src/frontend/src/tests/lib/components/convert/ConvertModal.spec.ts index 3a335dc7f5..766cc86405 100644 --- a/src/frontend/src/tests/lib/components/convert/ConvertModal.spec.ts +++ b/src/frontend/src/tests/lib/components/convert/ConvertModal.spec.ts @@ -17,7 +17,7 @@ describe('ConvertModal', () => { context: new Map([[UTXOS_FEE_CONTEXT_KEY, { store: initUtxosFeeStore() }]]) }); - const firstStepTitle = 'Swap BTC → ICP'; + const firstStepTitle = 'Convert BTC → ICP'; expect(container).toHaveTextContent(firstStepTitle);