Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontend): rename "swap" to "convert" #3779

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "Conversion 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