Skip to content

Commit

Permalink
feat(frontend): rename "swap" to "convert"
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysKarmazynDFINITY committed Nov 28, 2024
1 parent ea7d53b commit 4745ee7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/frontend/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -537,7 +537,7 @@
"estimated_inter_network": "Estimated Inter-network Fee",
"estimated_eth": "Estimated Ethereum Fee",
"max_fee_eth": "Max fee <small>(likely in &lt; 30 seconds)</small>:",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4745ee7

Please sign in to comment.