Skip to content

Commit e7c3e7a

Browse files
committed
loop: update Lightning Terminal labels to Lightning Loop
1 parent c5bf46d commit e7c3e7a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

app/src/__tests__/components/layout/Layout.spec.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ describe('Layout component', () => {
3939
fireEvent.click(getByText('History'));
4040
expect(store.router.location.pathname).toBe('/history');
4141
expect(getByText('History').parentElement).toHaveClass('active');
42-
fireEvent.click(getByText('Lightning Terminal'));
42+
fireEvent.click(getByText('Lightning Loop'));
4343
expect(store.router.location.pathname).toBe('/loop');
44-
expect(getByText('Lightning Terminal').parentElement).toHaveClass('active');
44+
expect(getByText('Lightning Loop').parentElement).toHaveClass('active');
4545
});
4646

4747
it('should navigate to the Pool page', () => {
@@ -50,9 +50,9 @@ describe('Layout component', () => {
5050
fireEvent.click(getByText('Lightning Pool'));
5151
expect(store.router.location.pathname).toBe('/pool');
5252
expect(getByText('Lightning Pool').parentElement).toHaveClass('active');
53-
fireEvent.click(getByText('Lightning Terminal'));
53+
fireEvent.click(getByText('Lightning Loop'));
5454
expect(store.router.location.pathname).toBe('/loop');
55-
expect(getByText('Lightning Terminal').parentElement).toHaveClass('active');
55+
expect(getByText('Lightning Loop').parentElement).toHaveClass('active');
5656
});
5757

5858
it('should navigate to the Settings page', () => {
@@ -61,8 +61,8 @@ describe('Layout component', () => {
6161
fireEvent.click(getByText('Settings'));
6262
expect(store.router.location.pathname).toBe('/settings');
6363
expect(getByText('Settings').parentElement).toHaveClass('active');
64-
fireEvent.click(getByText('Lightning Terminal'));
64+
fireEvent.click(getByText('Lightning Loop'));
6565
expect(store.router.location.pathname).toBe('/loop');
66-
expect(getByText('Lightning Terminal').parentElement).toHaveClass('active');
66+
expect(getByText('Lightning Loop').parentElement).toHaveClass('active');
6767
});
6868
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('LoopPage component', () => {
3333

3434
it('should display the page title', () => {
3535
const { getByText } = render();
36-
expect(getByText('Lightning Terminal')).toBeInTheDocument();
36+
expect(getByText('Lightning Loop')).toBeInTheDocument();
3737
});
3838

3939
it('should display the network badge', () => {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"cmps.loop.LoopActions.loopMinimumNote": "Minimum Loop amount is {{min}}",
7979
"cmps.loop.LoopActions.loopInNote": "Currently, multiple channel Loop In is supported only with a single peer.",
8080
"cmps.loop.LoopActions.registerSidecar": "Register Sidecar Channel",
81-
"cmps.loop.LoopPage.pageTitle": "Lightning Terminal",
81+
"cmps.loop.LoopPage.pageTitle": "Lightning Loop",
8282
"cmps.loop.LoopHistory.emptyMsg": "After performing swaps, you will see ongoing loops and history here.",
8383
"cmps.loop.LoopTiles.history": "Loop History",
8484
"cmps.loop.LoopTiles.inbound": "Total Inbound Liquidity",
@@ -120,7 +120,7 @@
120120
"cmps.loop.swap.SwapReviewStep.total": "Total",
121121
"cmps.loop.swap.SwapWizard.backTip": "Back to Previous",
122122
"cmps.layout.NavMenu.menu": "Menu",
123-
"cmps.layout.NavMenu.loop": "Lightning Terminal",
123+
"cmps.layout.NavMenu.loop": "Lightning Loop",
124124
"cmps.layout.NavMenu.history": "History",
125125
"cmps.layout.NavMenu.pool": "Lightning Pool",
126126
"cmps.layout.NavMenu.settings": "Settings",

0 commit comments

Comments
 (0)