From 71212f7e3245e37c5d06eb34f79844675ee66a41 Mon Sep 17 00:00:00 2001 From: Kristie Huang Date: Wed, 27 Sep 2023 12:46:09 -0400 Subject: [PATCH] fix: use sentence case for text (#7375) --- cypress/e2e/token-details.test.ts | 2 +- cypress/e2e/wallet-connection/connect.test.ts | 2 +- src/components/Badge/RangeBadge.tsx | 2 +- .../PriceChart/__snapshots__/index.test.tsx.snap | 4 ++-- src/components/Charts/PriceChart/index.test.tsx | 4 ++-- src/components/Charts/PriceChart/index.tsx | 4 ++-- src/components/ConnectedAccountBlocked/index.tsx | 2 +- src/components/FiatOnrampModal/index.tsx | 4 ++-- src/components/NavBar/SearchBarDropdown.tsx | 2 +- src/components/NavigationTabs/index.tsx | 6 +++--- .../Polling/ChainConnectivityWarning.tsx | 2 +- src/components/PositionCard/index.tsx | 2 +- src/components/PositionPreview/index.tsx | 6 +++--- src/components/RangeSelector/PresetsButtons.tsx | 2 +- .../TransactionConfirmationModal/index.tsx | 2 +- src/components/WalletModal/ConnectionErrorView.tsx | 2 +- src/components/WalletModal/PrivacyPolicyNotice.tsx | 2 +- src/components/claim/AddressClaimModal.tsx | 2 +- .../swap/UnsupportedCurrencyFooter.test.tsx | 8 ++++---- src/components/swap/UnsupportedCurrencyFooter.tsx | 2 +- src/components/vote/DelegateModal.tsx | 8 ++++---- src/components/vote/ExecuteModal.tsx | 4 ++-- src/components/vote/QueueModal.tsx | 4 ++-- src/components/vote/VoteModal.tsx | 2 +- src/constants/tokenSafety.tsx | 2 +- src/nft/components/bag/BagFooter.test.tsx | 4 ++-- src/nft/components/bag/ButtonStates.tsx | 4 ++-- .../components/profile/list/NFTListingsGrid.tsx | 4 ++-- src/nft/pages/profile/index.tsx | 2 +- src/pages/AddLiquidity/index.tsx | 14 +++++++------- src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx | 2 +- src/pages/AddLiquidityV2/PoolPriceBar.tsx | 2 +- src/pages/AddLiquidityV2/index.tsx | 4 ++-- .../CreateProposal/ProposalActionSelector.tsx | 6 +++--- .../CreateProposal/ProposalSubmissionModal.tsx | 4 ++-- src/pages/CreateProposal/index.tsx | 2 +- .../Landing/__snapshots__/index.test.tsx.snap | 4 ++-- src/pages/MigrateV2/MigrateV2Pair.tsx | 6 +++--- src/pages/MigrateV2/index.tsx | 4 ++-- src/pages/Pool/PositionPage.tsx | 4 ++-- src/pages/Pool/v2.tsx | 6 +++--- src/pages/PoolFinder/index.tsx | 2 +- src/pages/RemoveLiquidity/V3.tsx | 2 +- src/pages/RemoveLiquidity/index.tsx | 4 ++-- src/pages/Swap/index.tsx | 6 +++--- src/pages/Vote/Landing.tsx | 10 +++++----- src/pages/Vote/VotePage.tsx | 6 +++--- src/state/burn/hooks.tsx | 2 +- src/state/burn/v3/hooks.tsx | 2 +- src/state/mint/hooks.tsx | 2 +- src/state/mint/v3/hooks.tsx | 2 +- src/state/swap/hooks.tsx | 2 +- 52 files changed, 97 insertions(+), 97 deletions(-) diff --git a/cypress/e2e/token-details.test.ts b/cypress/e2e/token-details.test.ts index 9ed4e64f86..a1c7e85e51 100644 --- a/cypress/e2e/token-details.test.ts +++ b/cypress/e2e/token-details.test.ts @@ -52,7 +52,7 @@ describe('Token details', () => { cy.visit('/tokens/ethereum/0xa71d0588EAf47f12B13cF8eC750430d21DF04974') // Should have missing price chart when price unavailable (expected for this token) - if (cy.get('[data-cy="chart-header"]').contains('Price Unavailable')) { + if (cy.get('[data-cy="chart-header"]').contains('Price unavailable')) { cy.get('[data-cy="missing-chart"]').should('exist') } diff --git a/cypress/e2e/wallet-connection/connect.test.ts b/cypress/e2e/wallet-connection/connect.test.ts index d26477a7dc..f46dcd305a 100644 --- a/cypress/e2e/wallet-connection/connect.test.ts +++ b/cypress/e2e/wallet-connection/connect.test.ts @@ -19,7 +19,7 @@ describe('disconnect wallet', () => { // Verify wallet has disconnected cy.contains('Connect a wallet').should('exist') cy.get(getTestSelector('navbar-connect-wallet')).contains('Connect') - cy.contains('Connect Wallet') + cy.contains('Connect wallet') // Verify swap input is cleared cy.get('#swap-currency-input .token-amount-input').should('have.value', '1') diff --git a/src/components/Badge/RangeBadge.tsx b/src/components/Badge/RangeBadge.tsx index d68f432f3f..26ab23cf9a 100644 --- a/src/components/Badge/RangeBadge.tsx +++ b/src/components/Badge/RangeBadge.tsx @@ -55,7 +55,7 @@ export default function RangeBadge({ removed, inRange }: { removed?: boolean; in > - In Range + In range diff --git a/src/components/Charts/PriceChart/__snapshots__/index.test.tsx.snap b/src/components/Charts/PriceChart/__snapshots__/index.test.tsx.snap index 38f62701a7..9d5dc2461b 100644 --- a/src/components/Charts/PriceChart/__snapshots__/index.test.tsx.snap +++ b/src/components/Charts/PriceChart/__snapshots__/index.test.tsx.snap @@ -366,7 +366,7 @@ exports[`PriceChart renders correctly with empty price array 1`] = `
- Price Unavailable + Price unavailable
- Price Unavailable + Price unavailable
{ it('renders correctly with empty price array', () => { const { asFragment } = render() expect(asFragment()).toMatchSnapshot() - expect(asFragment().textContent).toContain('Price Unavailable') + expect(asFragment().textContent).toContain('Price unavailable') expect(asFragment().textContent).toContain('Missing price data due to recently low trading volume on Uniswap v3') }) it('renders correctly with undefined prices', () => { @@ -50,7 +50,7 @@ describe('PriceChart', () => { ) expect(asFragment()).toMatchSnapshot() - expect(asFragment().textContent).toContain('Price Unavailable') + expect(asFragment().textContent).toContain('Price unavailable') expect(asFragment().textContent).toContain('Missing chart data') }) it('renders stale UI', () => { diff --git a/src/components/Charts/PriceChart/index.tsx b/src/components/Charts/PriceChart/index.tsx index ca5217563a..62134f7cbb 100644 --- a/src/components/Charts/PriceChart/index.tsx +++ b/src/components/Charts/PriceChart/index.tsx @@ -248,7 +248,7 @@ function ChartBody({ chart, timePeriod }: { chart: ChartModel; timePeriod: TimeP const CHART_ERROR_MESSAGES: Record = { [ChartErrorType.NO_DATA_AVAILABLE]: Missing chart data, [ChartErrorType.NO_RECENT_VOLUME]: Missing price data due to recently low trading volume on Uniswap v3, - [ChartErrorType.INVALID_CHART]: Invalid Chart, + [ChartErrorType.INVALID_CHART]: Invalid chart, } function MissingPriceChart({ chart }: { chart: ErroredChartModel }) { @@ -259,7 +259,7 @@ function MissingPriceChart({ chart }: { chart: ErroredChartModel }) { <> - Price Unavailable + Price unavailable {CHART_ERROR_MESSAGES[chart.error]} diff --git a/src/components/ConnectedAccountBlocked/index.tsx b/src/components/ConnectedAccountBlocked/index.tsx index 88f83204b9..a73be91201 100644 --- a/src/components/ConnectedAccountBlocked/index.tsx +++ b/src/components/ConnectedAccountBlocked/index.tsx @@ -25,7 +25,7 @@ export default function ConnectedAccountBlocked(props: ConnectedAccountBlockedPr - Blocked Address + Blocked address {props.account} diff --git a/src/components/FiatOnrampModal/index.tsx b/src/components/FiatOnrampModal/index.tsx index dc4c83443a..17adfec653 100644 --- a/src/components/FiatOnrampModal/index.tsx +++ b/src/components/FiatOnrampModal/index.tsx @@ -133,10 +133,10 @@ export default function FiatOnrampModal() { {error ? ( <> - Moonpay Fiat On-ramp iframe + MoonPay fiat on-ramp iframe - something went wrong! + Something went wrong!
{error}
diff --git a/src/components/NavBar/SearchBarDropdown.tsx b/src/components/NavBar/SearchBarDropdown.tsx index ec4d1eb2ed..4ff6f9e52a 100644 --- a/src/components/NavBar/SearchBarDropdown.tsx +++ b/src/components/NavBar/SearchBarDropdown.tsx @@ -284,7 +284,7 @@ function SearchBarDropdownContents({ suggestion_type: NavBarSearchTypes.COLLECTION_SUGGESTION, ...eventProperties, }} - header={NFT Collections} + header={NFT collections} /> ) : ( No NFT collections found. diff --git a/src/components/NavigationTabs/index.tsx b/src/components/NavigationTabs/index.tsx index 8ce11171fe..3bab8f2037 100644 --- a/src/components/NavigationTabs/index.tsx +++ b/src/components/NavigationTabs/index.tsx @@ -51,7 +51,7 @@ export function FindPoolTabs({ origin }: { origin: string }) { - Import V2 Pool + Import V2 pool @@ -108,9 +108,9 @@ export function AddRemoveTabs({ {creating ? ( Create a pair ) : adding ? ( - Add Liquidity + Add liquidity ) : ( - Remove Liquidity + Remove liquidity )} {children && {children}} diff --git a/src/components/Polling/ChainConnectivityWarning.tsx b/src/components/Polling/ChainConnectivityWarning.tsx index e70d488c1e..a7194d5313 100644 --- a/src/components/Polling/ChainConnectivityWarning.tsx +++ b/src/components/Polling/ChainConnectivityWarning.tsx @@ -59,7 +59,7 @@ export function ChainConnectivityWarning() { - Network Warning + Network warning diff --git a/src/components/PositionCard/index.tsx b/src/components/PositionCard/index.tsx index fcebdb0e95..7662fd3983 100644 --- a/src/components/PositionCard/index.tsx +++ b/src/components/PositionCard/index.tsx @@ -346,7 +346,7 @@ export default function FullPositionCard({ pair, border, stakedBalance }: Positi to={`/uni/${currencyId(currency0)}/${currencyId(currency1)}`} width="100%" > - Manage Liquidity in Rewards Pool + Manage liquidity in rewards pool )} diff --git a/src/components/PositionPreview/index.tsx b/src/components/PositionPreview/index.tsx index c17cdcc457..e73b1b1fe6 100644 --- a/src/components/PositionPreview/index.tsx +++ b/src/components/PositionPreview/index.tsx @@ -101,7 +101,7 @@ export const PositionPreview = ({ - Fee Tier + Fee tier {position?.pool?.fee / 10000}% @@ -124,7 +124,7 @@ export const PositionPreview = ({ - Min Price + Min price {formatTickPrice({ @@ -147,7 +147,7 @@ export const PositionPreview = ({ - Max Price + Max price {formatTickPrice({ diff --git a/src/components/RangeSelector/PresetsButtons.tsx b/src/components/RangeSelector/PresetsButtons.tsx index 98a70c1fd2..82fb26592b 100644 --- a/src/components/RangeSelector/PresetsButtons.tsx +++ b/src/components/RangeSelector/PresetsButtons.tsx @@ -21,7 +21,7 @@ export default function PresetsButtons({ onSetFullRange }: PresetsButtonsProps) diff --git a/src/components/TransactionConfirmationModal/index.tsx b/src/components/TransactionConfirmationModal/index.tsx index 073d136385..a3f8b48867 100644 --- a/src/components/TransactionConfirmationModal/index.tsx +++ b/src/components/TransactionConfirmationModal/index.tsx @@ -256,7 +256,7 @@ function L2Content({ {!hash ? ( Confirm transaction in wallet ) : !confirmed ? ( - Transaction Submitted + Transaction submitted ) : transactionSuccess ? ( Success ) : ( diff --git a/src/components/WalletModal/ConnectionErrorView.tsx b/src/components/WalletModal/ConnectionErrorView.tsx index 2ca2cbae49..6c738a34c5 100644 --- a/src/components/WalletModal/ConnectionErrorView.tsx +++ b/src/components/WalletModal/ConnectionErrorView.tsx @@ -43,7 +43,7 @@ export default function ConnectionErrorView() { - Try Again + Try again diff --git a/src/components/WalletModal/PrivacyPolicyNotice.tsx b/src/components/WalletModal/PrivacyPolicyNotice.tsx index 579024a133..af27bfde2c 100644 --- a/src/components/WalletModal/PrivacyPolicyNotice.tsx +++ b/src/components/WalletModal/PrivacyPolicyNotice.tsx @@ -26,7 +26,7 @@ export default function PrivacyPolicyNotice() { {' ('} - Last Updated + Last updated {` ${LAST_UPDATED_DATE})`} diff --git a/src/components/claim/AddressClaimModal.tsx b/src/components/claim/AddressClaimModal.tsx index 14f0011fe9..d725c07d40 100644 --- a/src/components/claim/AddressClaimModal.tsx +++ b/src/components/claim/AddressClaimModal.tsx @@ -104,7 +104,7 @@ export default function AddressClaimModal({ isOpen, onDismiss }: { isOpen: boole - Claim UNI Token + Claim UNI token diff --git a/src/components/swap/UnsupportedCurrencyFooter.test.tsx b/src/components/swap/UnsupportedCurrencyFooter.test.tsx index a897f2ea11..bf2ff303ea 100644 --- a/src/components/swap/UnsupportedCurrencyFooter.test.tsx +++ b/src/components/swap/UnsupportedCurrencyFooter.test.tsx @@ -29,7 +29,7 @@ describe('UnsupportedCurrencyFooter.tsx with unsupported tokens', () => { it('works as expected when one unsupported token exists', async () => { const rendered = render() await act(() => userEvent.click(screen.getByTestId('read-more-button'))) - expect(screen.getByText('Unsupported Assets')).toBeInTheDocument() + expect(screen.getByText('Unsupported assets')).toBeInTheDocument() expect( screen.getByText((content) => content.startsWith('Some assets are not available through this interface')) ).toBeInTheDocument() @@ -58,14 +58,14 @@ describe('UnsupportedCurrencyFooter.tsx with no unsupported tokens', () => { it('works as expected when no unsupported tokens exist', async () => { const rendered = render() await act(() => userEvent.click(screen.getByTestId('read-more-button'))) - expect(screen.getByText('Unsupported Assets')).toBeInTheDocument() + expect(screen.getByText('Unsupported assets')).toBeInTheDocument() expect( screen.getByText((content) => content.startsWith('Some assets are not available through this interface')) ).toBeInTheDocument() expect(rendered.queryByTestId('unsupported-token-card')).toBeNull() await act(() => userEvent.click(screen.getByTestId('close-icon'))) - await waitForElementToBeRemoved(screen.getByText('Unsupported Assets')) - expect(rendered.queryByText('Unsupported Assets')).toBeNull() + await waitForElementToBeRemoved(screen.getByText('Unsupported assets')) + expect(rendered.queryByText('Unsupported assets')).toBeNull() expect( rendered.queryByText((content) => content.startsWith('Some assets are not available through this interface')) ).toBeNull() diff --git a/src/components/swap/UnsupportedCurrencyFooter.tsx b/src/components/swap/UnsupportedCurrencyFooter.tsx index dc4cccc01c..7f58b83393 100644 --- a/src/components/swap/UnsupportedCurrencyFooter.tsx +++ b/src/components/swap/UnsupportedCurrencyFooter.tsx @@ -72,7 +72,7 @@ export default function UnsupportedCurrencyFooter({ - Unsupported Assets + Unsupported assets setShowDetails(false)} data-testid="close-icon" /> diff --git a/src/components/vote/DelegateModal.tsx b/src/components/vote/DelegateModal.tsx index 23d6e0d0f9..8b7deade42 100644 --- a/src/components/vote/DelegateModal.tsx +++ b/src/components/vote/DelegateModal.tsx @@ -107,12 +107,12 @@ export default function DelegateModal({ isOpen, onDismiss, title }: VoteModalPro {usingDelegate && } - {usingDelegate ? Delegate Votes : Self Delegate} + {usingDelegate ? Delegate votes : Self-delegate} setUsingDelegate(!usingDelegate)}> - {usingDelegate ? Remove Delegate : Add Delegate +} + {usingDelegate ? Remove delegate : Add delegate +} @@ -122,7 +122,7 @@ export default function DelegateModal({ isOpen, onDismiss, title }: VoteModalPro - {usingDelegate ? Delegating votes : Unlocking Votes} + {usingDelegate ? Delegating votes : Unlocking votes} {formatCurrencyAmount(uniBalance, 4)} @@ -132,7 +132,7 @@ export default function DelegateModal({ isOpen, onDismiss, title }: VoteModalPro - Transaction Submitted + Transaction submitted {formatCurrencyAmount(uniBalance, 4)} diff --git a/src/components/vote/ExecuteModal.tsx b/src/components/vote/ExecuteModal.tsx index 337be1bddf..0faf17cf75 100644 --- a/src/components/vote/ExecuteModal.tsx +++ b/src/components/vote/ExecuteModal.tsx @@ -82,7 +82,7 @@ export default function ExecuteModal({ isOpen, onDismiss, proposalId }: ExecuteM - Execute Proposal {proposalId} + Execute proposal {proposalId} @@ -132,7 +132,7 @@ export default function ExecuteModal({ isOpen, onDismiss, proposalId }: ExecuteM - Execution Submitted + Execution submitted {chainId && ( diff --git a/src/components/vote/QueueModal.tsx b/src/components/vote/QueueModal.tsx index 55a899bd18..3eb87b8076 100644 --- a/src/components/vote/QueueModal.tsx +++ b/src/components/vote/QueueModal.tsx @@ -82,7 +82,7 @@ export default function QueueModal({ isOpen, onDismiss, proposalId }: QueueModal - Queue Proposal {proposalId} + Queue proposal {proposalId} @@ -132,7 +132,7 @@ export default function QueueModal({ isOpen, onDismiss, proposalId }: QueueModal - Transaction Submitted + Transaction submitted {chainId && ( diff --git a/src/components/vote/VoteModal.tsx b/src/components/vote/VoteModal.tsx index 77a9c7c412..4d5cb14a32 100644 --- a/src/components/vote/VoteModal.tsx +++ b/src/components/vote/VoteModal.tsx @@ -125,7 +125,7 @@ export default function VoteModal({ isOpen, onDismiss, proposalId, voteOption }: - Submitting Vote + Submitting vote diff --git a/src/constants/tokenSafety.tsx b/src/constants/tokenSafety.tsx index a88b9087a3..80e0fa98dc 100644 --- a/src/constants/tokenSafety.tsx +++ b/src/constants/tokenSafety.tsx @@ -74,7 +74,7 @@ const StrongWarning: Warning = { const BlockedWarning: Warning = { level: WARNING_LEVEL.BLOCKED, - message: Not Available, + message: Not available, canProceed: false, } diff --git a/src/nft/components/bag/BagFooter.test.tsx b/src/nft/components/bag/BagFooter.test.tsx index a6aa0acc04..cdc2b7ca19 100644 --- a/src/nft/components/bag/BagFooter.test.tsx +++ b/src/nft/components/bag/BagFooter.test.tsx @@ -301,7 +301,7 @@ describe('BagFooter.tsx', () => { renderBagFooter() const buyButton = getBuyButton() - expect(buyButton.textContent).toBe('Fetching Route') + expect(buyButton.textContent).toBe('Fetching route') expect(buyButton).toBeDisabled() }) @@ -329,7 +329,7 @@ describe('BagFooter.tsx', () => { renderBagFooter() const buyButton = getBuyButton() - expect(buyButton.textContent).toBe('Loading Allowance') + expect(buyButton.textContent).toBe('Loading allowance') expect(buyButton).toBeDisabled() }) diff --git a/src/nft/components/bag/ButtonStates.tsx b/src/nft/components/bag/ButtonStates.tsx index bf418dd855..64293b4078 100644 --- a/src/nft/components/bag/ButtonStates.tsx +++ b/src/nft/components/bag/ButtonStates.tsx @@ -86,7 +86,7 @@ export function getBuyButtonStateData( }, [BuyButtonStates.FETCHING_TOKEN_ROUTE]: { ...defaultBuyButtonState, - buttonText: Fetching Route, + buttonText: Fetching route, }, [BuyButtonStates.INVALID_TOKEN_ROUTE]: { ...defaultBuyButtonState, @@ -101,7 +101,7 @@ export function getBuyButtonStateData( }, [BuyButtonStates.LOADING_ALLOWANCE]: { ...defaultBuyButtonState, - buttonText: Loading Allowance, + buttonText: Loading allowance, }, [BuyButtonStates.IN_WALLET_ALLOWANCE_APPROVAL]: { ...defaultBuyButtonState, diff --git a/src/nft/components/profile/list/NFTListingsGrid.tsx b/src/nft/components/profile/list/NFTListingsGrid.tsx index 9eacc031f1..28d0b7eea1 100644 --- a/src/nft/components/profile/list/NFTListingsGrid.tsx +++ b/src/nft/components/profile/list/NFTListingsGrid.tsx @@ -199,10 +199,10 @@ export const NFTListingsGrid = ({ selectedMarkets }: { selectedMarkets: ListingM prompt = Floor price break case SetPriceMethod.LAST_PRICE: - prompt = Last Price + prompt = Last price break case SetPriceMethod.SAME_PRICE: - prompt = Same Price + prompt = Same price break default: break diff --git a/src/nft/pages/profile/index.tsx b/src/nft/pages/profile/index.tsx index 49e5fdcca7..950f183112 100644 --- a/src/nft/pages/profile/index.tsx +++ b/src/nft/pages/profile/index.tsx @@ -94,7 +94,7 @@ export default function Profile() { - Connect Wallet + Connect wallet diff --git a/src/pages/AddLiquidity/index.tsx b/src/pages/AddLiquidity/index.tsx index adf98bd294..0af60b354a 100644 --- a/src/pages/AddLiquidity/index.tsx +++ b/src/pages/AddLiquidity/index.tsx @@ -483,7 +483,7 @@ function AddLiquidity() { element={InterfaceElementName.CONNECT_WALLET_BUTTON} > - Connect Wallet + Connect wallet ) : ( @@ -611,7 +611,7 @@ function AddLiquidity() { - Clear All + Clear all @@ -626,7 +626,7 @@ function AddLiquidity() { - Select Pair + Select pair @@ -672,7 +672,7 @@ function AddLiquidity() { {hasExistingPosition && existingPosition && ( Selected Range} + title={Selected range} inRange={!outOfRange} ticksAtLimit={ticksAtLimit} /> @@ -684,7 +684,7 @@ function AddLiquidity() { - Set Price Range + Set price range {Boolean(baseCurrency && quoteCurrency) && ( @@ -762,7 +762,7 @@ function AddLiquidity() { - Current Price: + Current price: {price && ( @@ -864,7 +864,7 @@ function AddLiquidity() { - {hasExistingPosition ? Add more liquidity : Deposit Amounts} + {hasExistingPosition ? Add more liquidity : Deposit amounts} - {noLiquidity ? Create Pool & Supply : Confirm Supply} + {noLiquidity ? Create pool & supply : Confirm supply} diff --git a/src/pages/AddLiquidityV2/PoolPriceBar.tsx b/src/pages/AddLiquidityV2/PoolPriceBar.tsx index 69246528e9..a37491c068 100644 --- a/src/pages/AddLiquidityV2/PoolPriceBar.tsx +++ b/src/pages/AddLiquidityV2/PoolPriceBar.tsx @@ -58,7 +58,7 @@ export function PoolPriceBar({ % - Share of Pool + Share of pool diff --git a/src/pages/AddLiquidityV2/index.tsx b/src/pages/AddLiquidityV2/index.tsx index b2b47c69b2..0c3ff98ffe 100644 --- a/src/pages/AddLiquidityV2/index.tsx +++ b/src/pages/AddLiquidityV2/index.tsx @@ -443,7 +443,7 @@ export default function AddLiquidity() { {addIsUnsupported ? ( - Unsupported Asset + Unsupported asset ) : !account ? ( @@ -454,7 +454,7 @@ export default function AddLiquidity() { element={InterfaceElementName.CONNECT_WALLET_BUTTON} > - Connect Wallet + Connect wallet ) : ( diff --git a/src/pages/CreateProposal/ProposalActionSelector.tsx b/src/pages/CreateProposal/ProposalActionSelector.tsx index 9ea06f8e45..89ea2df705 100644 --- a/src/pages/CreateProposal/ProposalActionSelector.tsx +++ b/src/pages/CreateProposal/ProposalActionSelector.tsx @@ -77,7 +77,7 @@ export const ProposalActionSelector = ({ - Proposed Action + Proposed action {proposalAction} @@ -113,14 +113,14 @@ export function ProposalActionSelectorModal({ handleProposalActionSelect(ProposalAction.TRANSFER_TOKEN)}> - Transfer Token + Transfer token handleProposalActionSelect(ProposalAction.APPROVE_TOKEN)}> - Approve Token + Approve token diff --git a/src/pages/CreateProposal/ProposalSubmissionModal.tsx b/src/pages/CreateProposal/ProposalSubmissionModal.tsx index b1522bdc65..56ad115f02 100644 --- a/src/pages/CreateProposal/ProposalSubmissionModal.tsx +++ b/src/pages/CreateProposal/ProposalSubmissionModal.tsx @@ -26,7 +26,7 @@ export const ProposalSubmissionModal = ({ - Submitting Proposal + Submitting proposal @@ -34,7 +34,7 @@ export const ProposalSubmissionModal = ({ - Proposal Submitted + Proposal submitted {hash && ( diff --git a/src/pages/CreateProposal/index.tsx b/src/pages/CreateProposal/index.tsx index 2ac283542d..3f81da00d5 100644 --- a/src/pages/CreateProposal/index.tsx +++ b/src/pages/CreateProposal/index.tsx @@ -101,7 +101,7 @@ const CreateProposalButton = ({ )} ) : ( - Create Proposal + Create proposal )} ) diff --git a/src/pages/Landing/__snapshots__/index.test.tsx.snap b/src/pages/Landing/__snapshots__/index.test.tsx.snap index 5fe60f069e..0b38ad7a8d 100644 --- a/src/pages/Landing/__snapshots__/index.test.tsx.snap +++ b/src/pages/Landing/__snapshots__/index.test.tsx.snap @@ -2116,7 +2116,7 @@ exports[`disable nft on landing page does not render nft information and card 1`
- Connect Wallet + Connect wallet
@@ -4815,7 +4815,7 @@ exports[`disable nft on landing page renders nft information and card 1`] = `
- Connect Wallet + Connect wallet
diff --git a/src/pages/MigrateV2/MigrateV2Pair.tsx b/src/pages/MigrateV2/MigrateV2Pair.tsx index 57cb0b52b0..de4e5193f9 100644 --- a/src/pages/MigrateV2/MigrateV2Pair.tsx +++ b/src/pages/MigrateV2/MigrateV2Pair.tsx @@ -512,7 +512,7 @@ function V2PairMigration({ - Price Difference: + Price difference: {priceDifferenceFraction?.toSignificant(4)}% @@ -542,7 +542,7 @@ function V2PairMigration({ - Set Price Range + Set price range - Migrate V2 Liquidity + Migrate V2 liquidity - Migrate V2 Liquidity + Migrate V2 liquidity
Migrate your liquidity tokens from Uniswap V2 to Uniswap V3.} /> @@ -170,7 +170,7 @@ export default function MigrateV2() { })} ) : ( - No V2 Liquidity found.} /> + No V2 liquidity found.} /> )} diff --git a/src/pages/Pool/PositionPage.tsx b/src/pages/Pool/PositionPage.tsx index 2f7254226e..39458e3523 100644 --- a/src/pages/Pool/PositionPage.tsx +++ b/src/pages/Pool/PositionPage.tsx @@ -704,7 +704,7 @@ function PositionPageContent() { $borderRadius="12px" style={{ marginRight: '8px' }} > - Increase Liquidity + Increase liquidity ) : null} {tokenId && !removed ? ( @@ -715,7 +715,7 @@ function PositionPageContent() { width="fit-content" $borderRadius="12px" > - Remove Liquidity + Remove liquidity ) : null} diff --git a/src/pages/Pool/v2.tsx b/src/pages/Pool/v2.tsx index 6f5a85e0de..8f9408419b 100644 --- a/src/pages/Pool/v2.tsx +++ b/src/pages/Pool/v2.tsx @@ -193,12 +193,12 @@ export default function Pool() { - Import Pool + Import pool - Add V2 Liquidity + Add V2 liquidity @@ -257,7 +257,7 @@ export default function Pool() { }} > - Migrate Liquidity to V3 + Migrate liquidity to V3 diff --git a/src/pages/PoolFinder/index.tsx b/src/pages/PoolFinder/index.tsx index f6dbbb67c0..42d8b3be4c 100644 --- a/src/pages/PoolFinder/index.tsx +++ b/src/pages/PoolFinder/index.tsx @@ -165,7 +165,7 @@ export default function PoolFinder() { style={{ justifyItems: 'center', backgroundColor: '', padding: '12px 0px', borderRadius: '12px' }} > - Pool Found! + Pool found! diff --git a/src/pages/RemoveLiquidity/V3.tsx b/src/pages/RemoveLiquidity/V3.tsx index 0fd4622d55..6021f52439 100644 --- a/src/pages/RemoveLiquidity/V3.tsx +++ b/src/pages/RemoveLiquidity/V3.tsx @@ -292,7 +292,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { hash={txnHash ?? ''} reviewContent={() => ( Remove Liquidity} + title={Remove liquidity} onDismiss={handleDismissConfirmation} topContent={modalHeader} /> diff --git a/src/pages/RemoveLiquidity/index.tsx b/src/pages/RemoveLiquidity/index.tsx index 9489601fa9..9098529c20 100644 --- a/src/pages/RemoveLiquidity/index.tsx +++ b/src/pages/RemoveLiquidity/index.tsx @@ -483,7 +483,7 @@ function RemoveLiquidity() { - Remove Amount + Remove amount - Connect Wallet + Connect wallet ) : ( diff --git a/src/pages/Swap/index.tsx b/src/pages/Swap/index.tsx index 736b389544..0510f20354 100644 --- a/src/pages/Swap/index.tsx +++ b/src/pages/Swap/index.tsx @@ -727,7 +727,7 @@ export function Swap({ {swapIsUnsupported ? ( - Unsupported Asset + Unsupported asset ) : switchingChain ? ( @@ -742,7 +742,7 @@ export function Swap({ element={InterfaceElementName.CONNECT_WALLET_BUTTON} > - Connect Wallet + Connect wallet ) : chainId && chainId !== connectedChainId ? ( @@ -806,7 +806,7 @@ export function Swap({ ) : routeIsSyncing || routeIsLoading ? ( Swap ) : priceImpactSeverity > 2 ? ( - Swap Anyway + Swap anyway ) : ( Swap )} diff --git a/src/pages/Vote/Landing.tsx b/src/pages/Vote/Landing.tsx index 4f259e61b0..f41ed5e4c4 100644 --- a/src/pages/Vote/Landing.tsx +++ b/src/pages/Vote/Landing.tsx @@ -150,7 +150,7 @@ export default function Landing() { Unlock Votes : Update Delegation} + title={showUnlockVoting ? Unlock votes : Update delegation} /> @@ -160,7 +160,7 @@ export default function Landing() { - Uniswap Governance + Uniswap governance @@ -203,7 +203,7 @@ export default function Landing() { $borderRadius="8px" onClick={toggleDelegateModal} > - Unlock Voting + Unlock voting ) : availableVotes && JSBI.notEqual(JSBI.BigInt(0), availableVotes?.quotient) ? ( @@ -229,7 +229,7 @@ export default function Landing() { style={{ width: 'fit-content', borderRadius: '8px', height: '40px' }} padding="8px" > - Create Proposal + Create proposal @@ -266,7 +266,7 @@ export default function Landing() { - Show Cancelled + Show cancelled Unlock Votes} + title={Unlock votes} /> @@ -346,7 +346,7 @@ export default function VotePage() { toggleVoteModal() }} > - Vote For + Vote for - Vote Against + Vote against )} diff --git a/src/state/burn/hooks.tsx b/src/state/burn/hooks.tsx index 2bfd2850d2..c9d07d6157 100644 --- a/src/state/burn/hooks.tsx +++ b/src/state/burn/hooks.tsx @@ -124,7 +124,7 @@ export function useDerivedBurnInfo( let error: ReactNode | undefined if (!account) { - error = Connect Wallet + error = Connect wallet } if (!parsedAmounts[Field.LIQUIDITY] || !parsedAmounts[Field.CURRENCY_A] || !parsedAmounts[Field.CURRENCY_B]) { diff --git a/src/state/burn/v3/hooks.tsx b/src/state/burn/v3/hooks.tsx index 5270998536..b28e3473ff 100644 --- a/src/state/burn/v3/hooks.tsx +++ b/src/state/burn/v3/hooks.tsx @@ -76,7 +76,7 @@ export function useDerivedV3BurnInfo( let error: ReactNode | undefined if (!account) { - error = Connect Wallet + error = Connect wallet } if (percent === 0) { error = error ?? Enter a percent diff --git a/src/state/mint/hooks.tsx b/src/state/mint/hooks.tsx index 476413f971..d235379143 100644 --- a/src/state/mint/hooks.tsx +++ b/src/state/mint/hooks.tsx @@ -178,7 +178,7 @@ export function useDerivedMintInfo( let error: ReactNode | undefined if (!account) { - error = Connect Wallet + error = Connect wallet } if (pairState === PairState.INVALID) { diff --git a/src/state/mint/v3/hooks.tsx b/src/state/mint/v3/hooks.tsx index f2184dd565..eb9640a48f 100644 --- a/src/state/mint/v3/hooks.tsx +++ b/src/state/mint/v3/hooks.tsx @@ -444,7 +444,7 @@ export function useV3DerivedMintInfo( let errorMessage: ReactNode | undefined if (!account) { - errorMessage = Connect Wallet + errorMessage = Connect wallet } if (poolState === PoolState.INVALID) { diff --git a/src/state/swap/hooks.tsx b/src/state/swap/hooks.tsx index df5b46db6a..ade210a539 100644 --- a/src/state/swap/hooks.tsx +++ b/src/state/swap/hooks.tsx @@ -174,7 +174,7 @@ export function useDerivedSwapInfo(state: SwapState, chainId: ChainId | undefine let inputError: ReactNode | undefined if (!account) { - inputError = connectionReady ? Connect Wallet : Connecting Wallet... + inputError = connectionReady ? Connect wallet : Connecting wallet... } if (!currencies[Field.INPUT] || !currencies[Field.OUTPUT]) {