Skip to content

Commit c4b735f

Browse files
committed
swap: update ambiguous descriptions in the swap wizard
1 parent 2b836e7 commit c4b735f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/src/__tests__/components/loop/SwapWizard.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('SwapWizard component', () => {
2929
it('should display the description labels', () => {
3030
const { getByText } = render();
3131
expect(getByText('Step 1 of 2')).toBeInTheDocument();
32-
expect(getByText('Set Liquidity Parameters')).toBeInTheDocument();
32+
expect(getByText('Loop Out Amount')).toBeInTheDocument();
3333
});
3434

3535
it('should navigate forward and back through each step', async () => {

app/src/components/loop/swap/SwapConfigStep.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const SwapConfigStep: React.FC = () => {
3838
<Summary>
3939
<StepSummary
4040
title={l('title')}
41-
heading={l('heading')}
41+
heading={l('heading', { type: buildSwapStore.direction })}
4242
description={l('description')}
4343
/>
4444
</Summary>

app/src/i18n/locales/en-US.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
"cmps.loop.swap.StepButtons.next": "Next",
4848
"cmps.loop.swap.StepButtons.confirm": "Confirm",
4949
"cmps.loop.swap.SwapConfigStep.title": "Step 1 of 2",
50-
"cmps.loop.swap.SwapConfigStep.heading": "Set Liquidity Parameters",
51-
"cmps.loop.swap.SwapConfigStep.description": "Use the slider to prevent errors receiving or forwarding payments on the channels selected below.",
50+
"cmps.loop.swap.SwapConfigStep.heading": "{{type}} Amount",
51+
"cmps.loop.swap.SwapConfigStep.description": "Loop helps prevent errors receiving or forwarding payments. Use the slider to choose the amount to swap between on-chain and off-chain.",
5252
"cmps.loop.swap.SwapProcessingStep.loadingMsg": "Configuring Loops",
5353
"cmps.loop.swap.SwapReviewStep.title": "Step 2 of 2",
5454
"cmps.loop.swap.SwapReviewStep.heading": "Review the quote",
55-
"cmps.loop.swap.SwapReviewStep.description": "Confirm the invoice total for increasing your inbound liquidity. If you'd like to make adjustments, click the back arrow above.",
55+
"cmps.loop.swap.SwapReviewStep.description": "Confirm the fee for improving your channel liquidity. If you'd like to make adjustments, click the back arrow above.",
5656
"cmps.loop.swap.SwapReviewStep.amount": "{{type}} Amount",
5757
"cmps.loop.swap.SwapReviewStep.fees": "Fees",
5858
"cmps.loop.swap.SwapReviewStep.total": "Total",

0 commit comments

Comments
 (0)