diff --git a/src/components/Announcement/Popups/PopupTopRightDescriptions/DescriptionCrossChain.tsx b/src/components/Announcement/Popups/PopupTopRightDescriptions/DescriptionCrossChain.tsx index f3f80f2ebc..5a9cab6d34 100644 --- a/src/components/Announcement/Popups/PopupTopRightDescriptions/DescriptionCrossChain.tsx +++ b/src/components/Announcement/Popups/PopupTopRightDescriptions/DescriptionCrossChain.tsx @@ -31,7 +31,7 @@ const DescriptionCrossChain = ( link: `${APP_PATHS.CROSS_CHAIN}?tab=${CrossChainTab.HISTORY}`, summary: isSuccess ? t`${amountIn} ${srcTokenSymbol} on ${srcChainName} has been successfully swapped to ${amountOut} ${dstTokenSymbol} on ${dstChainName}` - : t`There was an issue with swapping ${amountIn} ${srcTokenSymbol} on ${srcChainName} to ${amountOut} ${dstTokenSymbol} on ${dstChainName}. Your assets remain in your wallet`, + : t`There was an issue with swapping ${amountIn} ${srcTokenSymbol} on ${srcChainName} to ${amountOut} ${dstTokenSymbol} on ${dstChainName}. Your assets remain in your wallet.`, } } export default DescriptionCrossChain diff --git a/src/components/Announcement/Popups/TransactionPopup.tsx b/src/components/Announcement/Popups/TransactionPopup.tsx index 839b469b65..72fc3bfccc 100644 --- a/src/components/Announcement/Popups/TransactionPopup.tsx +++ b/src/components/Announcement/Popups/TransactionPopup.tsx @@ -60,7 +60,7 @@ const summaryClaim = (txs: TransactionDetails) => { } const summaryStakeUnstakeFarm = (txs: TransactionDetails) => { - return txs.type === TRANSACTION_TYPE.STAKE ? t`Stake liquidity into farm` : t`Unstake liquidity from farm` + return txs.type === TRANSACTION_TYPE.STAKE ? t`Stake liquidity into farm` : t`Unstake liquidity from farm.` } // ex: elastic add liquidity 30 knc and 40 usdt @@ -105,7 +105,7 @@ const summaryDelegateDao = (txs: TransactionDetails) => { ? t`undelegated your voting power` : t`delegated voting power to ${contract.slice(0, 6)}...${contract.slice(-4)}` - return { success: t`You have successfully ${summary}`, error: t`Error ${summary}` } + return { success: t`You have successfully ${summary}`, error: t`Error ${summary}.` } } const summaryCancelLimitOrder = (txs: TransactionDetails) => { diff --git a/src/components/AppHaveUpdate.tsx b/src/components/AppHaveUpdate.tsx index 53e5a1e5aa..6845a7a9c0 100644 --- a/src/components/AppHaveUpdate.tsx +++ b/src/components/AppHaveUpdate.tsx @@ -43,7 +43,7 @@ const AppHaveUpdate = () => { return ( - New contents are available + New contents are available. The price of this pool is within your selected range. Your position is currently earning fees + + The price of this pool is within your selected range. Your position is currently earning fees. + } > @@ -70,7 +72,7 @@ export default function RangeBadge({ text={ The price of this pool is outside of your selected price range. Currently, your position is not earning - any fees or rewards + any fees or rewards. } > diff --git a/src/components/Header/web3/NetworkModal/Networks.tsx b/src/components/Header/web3/NetworkModal/Networks.tsx index 48ecaff5b7..745a3472a5 100644 --- a/src/components/Header/web3/NetworkModal/Networks.tsx +++ b/src/components/Header/web3/NetworkModal/Networks.tsx @@ -195,7 +195,7 @@ const Networks = ({ text={ disabled ? isMaintenance - ? t`Chain under maintenance. We will be back as soon as possible` + ? t`Chain under maintenance. We will be back as soon as possible.` : disabledMsg : '' } diff --git a/src/components/Header/web3/SelectNetwork.tsx b/src/components/Header/web3/SelectNetwork.tsx index 02268639ad..9a4486f623 100644 --- a/src/components/Header/web3/SelectNetwork.tsx +++ b/src/components/Header/web3/SelectNetwork.tsx @@ -95,14 +95,14 @@ function SelectNetwork(): JSX.Element | null { ) if (disableSelectNetwork) return ( - {button} + {button} ) return button } diff --git a/src/components/Header/web3/SelectWallet.tsx b/src/components/Header/web3/SelectWallet.tsx index 094b1e455d..ca87b9b531 100644 --- a/src/components/Header/web3/SelectWallet.tsx +++ b/src/components/Header/web3/SelectWallet.tsx @@ -171,7 +171,7 @@ function Web3StatusInner() { > sign-in {' '} - to link your wallet to a profile. This will allow us to offer you a better experience + to link your wallet to a profile. This will allow us to offer you a better experience. } diff --git a/src/components/Header/web3/WalletModal/Option.tsx b/src/components/Header/web3/WalletModal/Option.tsx index 33716aaa5e..03df6ab5e8 100644 --- a/src/components/Header/web3/WalletModal/Option.tsx +++ b/src/components/Header/web3/WalletModal/Option.tsx @@ -169,7 +169,7 @@ const Option = ({ if (walletKey === 'WALLET_CONNECT') { return ( - Under development and unsupported by most wallets}> + Under development and unsupported by most wallets.}> {content} ) diff --git a/src/components/NavigationTabs/index.tsx b/src/components/NavigationTabs/index.tsx index 674a0b2a10..f9ed41299e 100644 --- a/src/components/NavigationTabs/index.tsx +++ b/src/components/NavigationTabs/index.tsx @@ -176,13 +176,13 @@ export function AddRemoveTabs({ text={ tooltip || (action === LiquidityAction.CREATE - ? t`Create a new liquidity pool and earn fees on trades for this token pair` + ? t`Create a new liquidity pool and earn fees on trades for this token pair.` : action === LiquidityAction.ADD - ? t`Add liquidity for a token pair and earn fees on the trades that are in your selected price range` + ? t`Add liquidity for a token pair and earn fees on the trades that are in your selected price range.` : action === LiquidityAction.INCREASE ? '' : action === LiquidityAction.REMOVE - ? t`Removing pool tokens converts your position back into underlying tokens at the current rate, proportional to your share of the pool. Accrued fees are included in the amounts you receive` + ? t`Removing pool tokens converts your position back into underlying tokens at the current rate, proportional to your share of the pool. Accrued fees are included in the amounts you receive.` : '') } /> diff --git a/src/components/PoolList/ItemCard/index.tsx b/src/components/PoolList/ItemCard/index.tsx index 6b905be9ce..b9ee672507 100644 --- a/src/components/PoolList/ItemCard/index.tsx +++ b/src/components/PoolList/ItemCard/index.tsx @@ -155,7 +155,7 @@ const ItemCard = ({ poolData, myLiquidity }: ListItemProps) => { )} {isWarning && ( - + { placement="right" text={ !isFarmingPool ? ( - Estimated return from trading fees if you participate in the pool + Estimated return from trading fees if you participate in the pool. ) : ( ) diff --git a/src/components/PoolList/ListItem.tsx b/src/components/PoolList/ListItem.tsx index 8489977edf..cf8c864445 100644 --- a/src/components/PoolList/ListItem.tsx +++ b/src/components/PoolList/ListItem.tsx @@ -135,7 +135,7 @@ const ListItem = ({ poolData, userLiquidityPositions }: ListItemGroupProps) => { )} {isWarning && ( - + diff --git a/src/components/PoolList/index.tsx b/src/components/PoolList/index.tsx index 6f13847a56..5141f1bac2 100644 --- a/src/components/PoolList/index.tsx +++ b/src/components/PoolList/index.tsx @@ -238,7 +238,7 @@ const PoolList = ({ currencies, searchValue, isShowOnlyActiveFarmPools, onlyShow '' )} - + Available for yield farming}> + Available for yield farming.}> @@ -544,7 +544,7 @@ export default function FullPositionCard({ {t`Note: ${warningToken} is now <10% of the pool. Pool might become inactive if ${warningToken} reaches 0%`} + {t`Note: ${warningToken} is now <10% of the pool. Pool might become inactive if ${warningToken} reaches 0%.`} ) : ( One token is close to 0% in the pool ratio. Pool might go inactive. diff --git a/src/components/ProAmm/ProAmmPriceRange.tsx b/src/components/ProAmm/ProAmmPriceRange.tsx index 5b175a8ba3..0ed40c3fac 100644 --- a/src/components/ProAmm/ProAmmPriceRange.tsx +++ b/src/components/ProAmm/ProAmmPriceRange.tsx @@ -49,7 +49,7 @@ export default function ProAmmPriceRange({ Selected Price Range @@ -94,7 +94,7 @@ export default function ProAmmPriceRange({ Min Price @@ -112,7 +112,7 @@ export default function ProAmmPriceRange({ Max Price diff --git a/src/components/ProAmm/ProAmmPriceRangeConfirm.tsx b/src/components/ProAmm/ProAmmPriceRangeConfirm.tsx index c1a48aadcb..49d89653ee 100644 --- a/src/components/ProAmm/ProAmmPriceRangeConfirm.tsx +++ b/src/components/ProAmm/ProAmmPriceRangeConfirm.tsx @@ -99,6 +99,7 @@ export default function ProAmmPriceRangeConfirm({ here ↗ + . } @@ -162,7 +163,7 @@ export default function ProAmmPriceRangeConfirm({ > {formatTickPrice(priceUpper, ticksAtLimit, Bound.UPPER)} diff --git a/src/components/SearchModal/CurrencySearch.tsx b/src/components/SearchModal/CurrencySearch.tsx index 6d8e5ea3d1..08b5d3831a 100644 --- a/src/components/SearchModal/CurrencySearch.tsx +++ b/src/components/SearchModal/CurrencySearch.tsx @@ -427,7 +427,7 @@ export function CurrencySearch({ - You can search and select any token on KyberSwap + You can search and select any token on KyberSwap. diff --git a/src/components/SlippageWarningNote/index.tsx b/src/components/SlippageWarningNote/index.tsx index 309ffeb14e..2582a3496a 100644 --- a/src/components/SlippageWarningNote/index.tsx +++ b/src/components/SlippageWarningNote/index.tsx @@ -37,9 +37,9 @@ const SlippageWarningNote: FC = ({ className, rawSlippage, isStablePairSw return null } - let msg = 'is high. Your transaction may be front-run' + let msg = 'is high. Your transaction may be front-run.' if (slippageStatus === SLIPPAGE_STATUS.LOW) { - msg = 'is low. Your transaction may fail' + msg = 'is low. Your transaction may fail.' } const shortText = (
diff --git a/src/components/SwapForm/SwapActionButton/SwapButtonWithPriceImpact.tsx b/src/components/SwapForm/SwapActionButton/SwapButtonWithPriceImpact.tsx index e841642f26..97bbe6cb30 100644 --- a/src/components/SwapForm/SwapActionButton/SwapButtonWithPriceImpact.tsx +++ b/src/components/SwapForm/SwapActionButton/SwapButtonWithPriceImpact.tsx @@ -101,7 +101,7 @@ export const SwapButtonWithPriceImpact = ({ text={ To ensure you dont lose funds due to very high price impact (≥10%), swap has been disabled for this trade. - If you still wish to continue, you can turn on Degen Mode from Settings + If you still wish to continue, you can turn on Degen Mode from Settings. } > @@ -112,7 +112,7 @@ export const SwapButtonWithPriceImpact = ({ text={ There was an issue while trying to find a price for these tokens. Please try again. Otherwise, you may - select some other tokens to swap + select some other tokens to swap. } > diff --git a/src/components/SwapForm/SwapModal/ConfirmSwapModalContent.tsx b/src/components/SwapForm/SwapModal/ConfirmSwapModalContent.tsx index bbe2a361f1..36337161c8 100644 --- a/src/components/SwapForm/SwapModal/ConfirmSwapModalContent.tsx +++ b/src/components/SwapForm/SwapModal/ConfirmSwapModalContent.tsx @@ -364,7 +364,7 @@ export default function ConfirmSwapModalContent({ text={ To ensure you dont lose funds due to very high price impact (≥10%), swap has been disabled - for this trade. If you still wish to continue, you can turn on Degen Mode from Settings + for this trade. If you still wish to continue, you can turn on Degen Mode from Settings. } > diff --git a/src/components/SwapForm/SwapModal/SwapDetails/index.tsx b/src/components/SwapForm/SwapModal/SwapDetails/index.tsx index 10c4ed30f1..0b462a73b7 100644 --- a/src/components/SwapForm/SwapModal/SwapDetails/index.tsx +++ b/src/components/SwapForm/SwapModal/SwapDetails/index.tsx @@ -153,7 +153,7 @@ export default function SwapDetails({ You will receive at least this amount or your transaction will revert} + text={You will receive at least this amount or your transaction will revert.} placement="right" > Minimum Received @@ -224,7 +224,7 @@ export default function SwapDetails({ - Estimated network fee for your transaction} placement="right"> + Estimated network fee for your transaction.} placement="right"> Est. Gas Fee @@ -364,7 +364,7 @@ export default function SwapDetails({ - Chain on which the swap will be executed}> + Chain on which the swap will be executed.}> Chain @@ -380,7 +380,7 @@ export default function SwapDetails({ text={ The contract address that will be executing the swap. You can verify the contract in the block - explorer + explorer. } > diff --git a/src/components/SwapForm/TradeSummary.tsx b/src/components/SwapForm/TradeSummary.tsx index 6bbc3825e8..ed6d32d564 100644 --- a/src/components/SwapForm/TradeSummary.tsx +++ b/src/components/SwapForm/TradeSummary.tsx @@ -198,7 +198,7 @@ const TradeSummary: React.FC = ({ routeSummary, slippage }) => { You will receive at least this amount or your transaction will revert} + text={You will receive at least this amount or your transaction will revert.} placement="right" > Minimum Received @@ -215,7 +215,7 @@ const TradeSummary: React.FC = ({ routeSummary, slippage }) => { - Estimated network fee for your transaction} placement="right"> + Estimated network fee for your transaction.} placement="right"> Est. Gas Fee diff --git a/src/components/Vesting/VestingCard.tsx b/src/components/Vesting/VestingCard.tsx index 20c677bc1d..d0465c0e52 100644 --- a/src/components/Vesting/VestingCard.tsx +++ b/src/components/Vesting/VestingCard.tsx @@ -302,7 +302,7 @@ function VestingCard({ Claimable Rewards @@ -329,7 +329,7 @@ function VestingCard({ - + <Trans>Locked Rewards</Trans> diff --git a/src/components/WalletPopup/RewardCenter.tsx b/src/components/WalletPopup/RewardCenter.tsx index de86de2cbd..391729136e 100644 --- a/src/components/WalletPopup/RewardCenter.tsx +++ b/src/components/WalletPopup/RewardCenter.tsx @@ -113,7 +113,7 @@ export default function RewardCenter() { > Total Available Rewards diff --git a/src/components/WalletPopup/SendToken/WarningBrave.tsx b/src/components/WalletPopup/SendToken/WarningBrave.tsx index 7028bc2e54..b45fb3f902 100644 --- a/src/components/WalletPopup/SendToken/WarningBrave.tsx +++ b/src/components/WalletPopup/SendToken/WarningBrave.tsx @@ -51,7 +51,7 @@ const WarningBrave = ({ token }: { token: Currency | undefined }) => { {shortenAddress(chainId, token.wrapped.address, 5, false)} - + diff --git a/src/components/WalletPopup/Transactions/index.tsx b/src/components/WalletPopup/Transactions/index.tsx index cc38ea1e58..519cd6066d 100644 --- a/src/components/WalletPopup/Transactions/index.tsx +++ b/src/components/WalletPopup/Transactions/index.tsx @@ -194,7 +194,7 @@ function ListTransaction({ isMinimal }: { isMinimal: boolean }) { - You have no Transaction History + You have no Transaction History. ) : ( diff --git a/src/components/YieldPools/ElasticFarmGroup/FarmCard.tsx b/src/components/YieldPools/ElasticFarmGroup/FarmCard.tsx index aa17263fa2..86b92ce6a4 100644 --- a/src/components/YieldPools/ElasticFarmGroup/FarmCard.tsx +++ b/src/components/YieldPools/ElasticFarmGroup/FarmCard.tsx @@ -134,7 +134,7 @@ const FarmCard = ({ - You have {numberOutRangePos} out-of-range position(s) + You have {numberOutRangePos} out-of-range position(s). } > @@ -148,7 +148,7 @@ const FarmCard = ({ - You have {numberInRangePos} in-range position(s) + You have {numberInRangePos} in-range position(s). } > diff --git a/src/components/YieldPools/ElasticFarmGroup/Row.tsx b/src/components/YieldPools/ElasticFarmGroup/Row.tsx index e12f791dea..ef4c0bb148 100644 --- a/src/components/YieldPools/ElasticFarmGroup/Row.tsx +++ b/src/components/YieldPools/ElasticFarmGroup/Row.tsx @@ -196,7 +196,7 @@ const Row = ({ return ( @@ -218,7 +218,7 @@ const Row = ({ return ( @@ -280,7 +280,7 @@ const Row = ({ - You have {numberOutRangePos} out-of-range position(s) + You have {numberOutRangePos} out-of-range position(s). } > diff --git a/src/components/YieldPools/ElasticFarmGroup/buttons.tsx b/src/components/YieldPools/ElasticFarmGroup/buttons.tsx index 4f7716422d..94e7db25fd 100644 --- a/src/components/YieldPools/ElasticFarmGroup/buttons.tsx +++ b/src/components/YieldPools/ElasticFarmGroup/buttons.tsx @@ -100,7 +100,7 @@ export const DepositButton: React.FC> = return ( {renderButton()} @@ -142,7 +142,7 @@ export const WithdrawButton: React.FC> return ( {renderButton()} diff --git a/src/components/YieldPools/ElasticFarmGroup/index.tsx b/src/components/YieldPools/ElasticFarmGroup/index.tsx index 9a746f4ea3..9c26bdb5c0 100644 --- a/src/components/YieldPools/ElasticFarmGroup/index.tsx +++ b/src/components/YieldPools/ElasticFarmGroup/index.tsx @@ -426,7 +426,7 @@ const ElasticFarmGroup: React.FC = ({ address, onOpenModal, pools, onShow ) : null)} @@ -444,7 +444,7 @@ const ElasticFarmGroup: React.FC = ({ address, onOpenModal, pools, onShow ) : null)} - + = ({ address, onOpenModal, pools, onShow alignItems={upToExtraSmall ? 'flex-start' : 'center'} > Deposited Liquidity diff --git a/src/components/YieldPools/ElasticFarmModals/WithdrawModal.tsx b/src/components/YieldPools/ElasticFarmModals/WithdrawModal.tsx index 5c64c6a602..37455fb147 100644 --- a/src/components/YieldPools/ElasticFarmModals/WithdrawModal.tsx +++ b/src/components/YieldPools/ElasticFarmModals/WithdrawModal.tsx @@ -131,7 +131,7 @@ const PositionRow = ({ checked={selected} /> ) : ( - + {disableCheckbox} )} diff --git a/src/components/YieldPools/FairLaunchPools.tsx b/src/components/YieldPools/FairLaunchPools.tsx index 672ca839f0..efc5084a43 100644 --- a/src/components/YieldPools/FairLaunchPools.tsx +++ b/src/components/YieldPools/FairLaunchPools.tsx @@ -207,8 +207,8 @@ const FairLaunchPools = ({ fairLaunchAddress, farms, active }: FarmsListProps) = diff --git a/src/components/YieldPools/FarmGuide.tsx b/src/components/YieldPools/FarmGuide.tsx index 7bce54a835..2f52ed475c 100644 --- a/src/components/YieldPools/FarmGuide.tsx +++ b/src/components/YieldPools/FarmGuide.tsx @@ -42,7 +42,7 @@ const guideStepByVersion: Record< { content: ( - Identify the Elastic farm you would like to participate in + Identify the Elastic farm you would like to participate in. ), icon: , @@ -53,7 +53,7 @@ const guideStepByVersion: Record< Add liquidity to the corresponding{' '} {Elastic pool} and receive a NFT token for - your liquidity position + your liquidity position. ), // todo: add network route icon: , @@ -63,7 +63,7 @@ const guideStepByVersion: Record< content: ( Approve the farming contract (if you haven't) to let it access your liquidity - positions (NFT tokens) + positions (NFT tokens). ), icon: , @@ -73,7 +73,7 @@ const guideStepByVersion: Record< content: ( Deposit your liquidity position (NFT token) into the farming contract. Then{' '} - stake it into the farm + stake it into the farm. ), icon: , @@ -82,7 +82,7 @@ const guideStepByVersion: Record< { content: ( - Harvest your farming rewards whenever you want + Harvest your farming rewards whenever you want. ), icon: , @@ -93,7 +93,7 @@ const guideStepByVersion: Record< Claim your farming rewards from the{' '} Vesting tab! Note: some farms - may have a vesting period + may have a vesting period. ), //todo: add network route icon: , @@ -103,7 +103,7 @@ const guideStepByVersion: Record< [VERSION.ELASTIC_LEGACY]: [], [VERSION.CLASSIC]: [ { - content: Identify the Classic farm you would like to participate in, + content: Identify the Classic farm you would like to participate in., icon: , title: 'Step 1', }, @@ -112,24 +112,24 @@ const guideStepByVersion: Record< Add liquidity to the corresponding{' '} Classic pool to receive Liquidity Provider - (LP) tokens + (LP) tokens. ), //todo: add network route icon: , title: 'Step 2', }, { - content: Stake your LP tokens in the farm you identified earlier, + content: Stake your LP tokens in the farm you identified earlier., icon: , title: 'Step 3', }, { - content: Harvest your farming rewards whenever you want, + content: Harvest your farming rewards whenever you want., icon: , title: 'Step 4', }, { - content: Claim your farming rewards! (Note: some farms may have a vesting period), + content: Claim your farming rewards! (Note: some farms may have a vesting period)., icon: , title: 'Step 5', }, @@ -151,10 +151,10 @@ function FarmGuide({ farmType }: { farmType: VERSION }) { <> Deposit your liquidity from the Elastic Pools here, and then stake it to earn even more attractive - farming rewards. Learn about our farming mechanisms + farming rewards. Learn about our farming mechanisms. {' '} - here ↗ + here ↗. ) : ( @@ -163,7 +163,7 @@ function FarmGuide({ farmType }: { farmType: VERSION }) { Deposit your liquidity from the Classic Pools here to earn even more attractive farming rewards. {' '} - Learn More ↗ + Learn More ↗. )} diff --git a/src/components/YieldPools/FarmStepGuide/index.tsx b/src/components/YieldPools/FarmStepGuide/index.tsx index 6292b7a3cf..eb5466aef1 100644 --- a/src/components/YieldPools/FarmStepGuide/index.tsx +++ b/src/components/YieldPools/FarmStepGuide/index.tsx @@ -260,11 +260,11 @@ const FarmStepGuide: FC = ({ version, onChangeVersion }) => Dynamic farms incentivize farmers that provide liquidity to a pool in a customizable price range that - supports the current price of the pool. Each farmer can choose their own price range. Learn more hereLearn - more{' '} + supports the current price of the pool. Each farmer can choose their own price range. Learn more{' '} here ↗ + . ), diff --git a/src/components/YieldPools/FarmingPoolAPRCell.tsx b/src/components/YieldPools/FarmingPoolAPRCell.tsx index d7830481d6..c3013b2994 100644 --- a/src/components/YieldPools/FarmingPoolAPRCell.tsx +++ b/src/components/YieldPools/FarmingPoolAPRCell.tsx @@ -76,7 +76,7 @@ export const APRTooltipContent = ({ whiteSpace: upToSmall ? 'wrap' : 'nowrap', }} > - Estimated return from trading fees if you participate in the pool + Estimated return from trading fees if you participate in the pool. @@ -101,7 +101,7 @@ export const APRTooltipContent = ({ whiteSpace: upToSmall ? 'wrap' : 'nowrap', }} > - Estimated return from additional rewards if you also participate in the farm + Estimated return from additional rewards if you also participate in the farm. )} diff --git a/src/components/swapv2/AdvancedSwapDetails.tsx b/src/components/swapv2/AdvancedSwapDetails.tsx index 5b4a4ad6e6..6cb94cbc8e 100644 --- a/src/components/swapv2/AdvancedSwapDetails.tsx +++ b/src/components/swapv2/AdvancedSwapDetails.tsx @@ -61,7 +61,7 @@ const PriceImpactNote = () => { target="_blank" rel="noreferrer" > - here ↗ + here ↗. @@ -104,7 +104,7 @@ const MinReceiveLabel = () => { You will receive at least this amount or your transaction will revert} + text={You will receive at least this amount or your transaction will revert.} placement="right" > Minimum Received @@ -328,7 +328,7 @@ export function TradeSummaryCrossChain({ - Current Price in the market} placement="right"> + Current Price in the market.} placement="right"> Current Price @@ -343,7 +343,7 @@ export function TradeSummaryCrossChain({ You will receive at least this amount, or your transaction will revert by Axelar} + text={You will receive at least this amount, or your transaction will revert by Axelar.} placement="right" > Minimum Received @@ -363,7 +363,7 @@ export function TradeSummaryCrossChain({ Estimate time to complete your transaction} + text={Estimate time to complete your transaction.} placement="right" > {t`Estimated Processing Time`} @@ -407,13 +407,13 @@ export function TradeSummaryCrossChain({ > swap - + .
) : ( We overestimate gas by 50% to guarantee your trade. Any gas we don't use will be - refunded by Axelar + refunded by Axelar. )} @@ -449,7 +449,7 @@ export function TradeSummaryCrossChain({ Fees charged by KyberSwap and Squid} + text={Fees charged by KyberSwap and Squid.} placement="right" > Service Fee diff --git a/src/components/swapv2/LimitOrder/ListOrder/index.tsx b/src/components/swapv2/LimitOrder/ListOrder/index.tsx index fb99eed161..6369499677 100644 --- a/src/components/swapv2/LimitOrder/ListOrder/index.tsx +++ b/src/components/swapv2/LimitOrder/ListOrder/index.tsx @@ -297,7 +297,7 @@ export default function ListLimitOrder() { ) @@ -377,11 +377,11 @@ export default function ListLimitOrder() { {keyword ? ( - No orders found + No orders found. ) : isTabActive ? ( - You don't have any open orders yet + You don't have any open orders yet. ) : ( - You don't have any order history + You don't have any order history. )} diff --git a/src/components/swapv2/PairSuggestion/PairSuggestionItem.tsx b/src/components/swapv2/PairSuggestion/PairSuggestionItem.tsx index 2ee2cf7f9a..ff88e510b2 100644 --- a/src/components/swapv2/PairSuggestion/PairSuggestionItem.tsx +++ b/src/components/swapv2/PairSuggestion/PairSuggestionItem.tsx @@ -94,7 +94,7 @@ export default function SuggestItem({ {account && (isFullFavoritePair ? ( - + {star} ) : ( diff --git a/src/components/swapv2/SwapModalFooter.tsx b/src/components/swapv2/SwapModalFooter.tsx index 32dc2053e4..6196033371 100644 --- a/src/components/swapv2/SwapModalFooter.tsx +++ b/src/components/swapv2/SwapModalFooter.tsx @@ -91,7 +91,7 @@ export default function SwapModalFooter({ You will receive at least this amount or your transaction will revert} + text={You will receive at least this amount or your transaction will revert.} placement="right" > Minimum Received diff --git a/src/components/swapv2/SwapSettingsPanel/LiquiditySourcesSetting.tsx b/src/components/swapv2/SwapSettingsPanel/LiquiditySourcesSetting.tsx index c6467de81b..8bba4491e4 100644 --- a/src/components/swapv2/SwapSettingsPanel/LiquiditySourcesSetting.tsx +++ b/src/components/swapv2/SwapSettingsPanel/LiquiditySourcesSetting.tsx @@ -51,7 +51,7 @@ const LiquiditySourcesSetting: React.FC = ({ onClick }) => { Your trade is routed through one or more of these liquidity sources} + text={Your trade is routed through one or more of these liquidity sources.} placement="right" > Liquidity Sources diff --git a/src/components/swapv2/SwapSettingsPanel/SlippageSetting.tsx b/src/components/swapv2/SwapSettingsPanel/SlippageSetting.tsx index 9bf01466f0..5fe6d34c57 100644 --- a/src/components/swapv2/SwapSettingsPanel/SlippageSetting.tsx +++ b/src/components/swapv2/SwapSettingsPanel/SlippageSetting.tsx @@ -62,6 +62,7 @@ const SlippageSetting: React.FC = ({ shouldShowPinButton = true, isCrossC here ↗ + . } @@ -84,8 +85,8 @@ const SlippageSetting: React.FC = ({ shouldShowPinButton = true, isCrossC {isWarning && ( {slippageStatus === SLIPPAGE_STATUS.HIGH - ? t`Slippage is high. Your transaction may be front-run` - : t`Slippage is low. Your transaction may fail`} + ? t`Slippage is high. Your transaction may be front-run.` + : t`Slippage is low. Your transaction may fail.`} )} diff --git a/src/components/swapv2/SwapSettingsPanel/TransactionTimeLimitSetting.tsx b/src/components/swapv2/SwapSettingsPanel/TransactionTimeLimitSetting.tsx index dc73054d3d..479ce7969f 100644 --- a/src/components/swapv2/SwapSettingsPanel/TransactionTimeLimitSetting.tsx +++ b/src/components/swapv2/SwapSettingsPanel/TransactionTimeLimitSetting.tsx @@ -68,7 +68,7 @@ const TransactionTimeLimitSetting: React.FC = ({ className }) => { - Transaction will revert if it is pending for longer than the indicated time + Transaction will revert if it is pending for longer than the indicated time. } placement="right" diff --git a/src/components/swapv2/SwapSettingsPanel/index.tsx b/src/components/swapv2/SwapSettingsPanel/index.tsx index eb3caa2591..1dbfed5979 100644 --- a/src/components/swapv2/SwapSettingsPanel/index.tsx +++ b/src/components/swapv2/SwapSettingsPanel/index.tsx @@ -141,7 +141,7 @@ const SettingsPanel: React.FC = ({ - Turn on to display KyberAI banner} placement="right"> + Turn on to display KyberAI banner.} placement="right"> KyberAI Banner @@ -151,7 +151,7 @@ const SettingsPanel: React.FC = ({ - Turn on to display live chart} placement="right"> + Turn on to display live chart.} placement="right"> Live Chart @@ -163,7 +163,7 @@ const SettingsPanel: React.FC = ({ - Turn on to display trade route} placement="right"> + Turn on to display trade route.} placement="right"> Trade Route diff --git a/src/constants/index.ts b/src/constants/index.ts index a67c495346..75385353b7 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -175,8 +175,8 @@ export const RESERVE_USD_DECIMALS = 100 export const DEFAULT_SIGNIFICANT = 6 export const SUBGRAPH_AMP_MULTIPLIER = 10000 export const AMP_LIQUIDITY_HINT = t`AMP factor x Liquidity in the pool. Amplified pools have higher capital efficiency and liquidity.` -export const AMP_HINT = t`Stands for amplification factor. Each pool can have its own AMP. Pools with a higher AMP provide higher capital efficiency within a particular price range` -export const CREATE_POOL_AMP_HINT = t`Stands for amplification factor. Pools with a higher AMP provide higher capital efficiency within a particular price range. We recommend higher AMP for stable token pairs and lower AMP for volatile token pairs` +export const AMP_HINT = t`Stands for amplification factor. Each pool can have its own AMP. Pools with a higher AMP provide higher capital efficiency within a particular price range.` +export const CREATE_POOL_AMP_HINT = t`Stands for amplification factor. Pools with a higher AMP provide higher capital efficiency within a particular price range. We recommend higher AMP for stable token pairs and lower AMP for volatile token pairs.` export const sentryRequestId = uuid() diff --git a/src/pages/About/AboutKyberSwap/index.tsx b/src/pages/About/AboutKyberSwap/index.tsx index 42dc9950c2..6b1c8227ec 100644 --- a/src/pages/About/AboutKyberSwap/index.tsx +++ b/src/pages/About/AboutKyberSwap/index.tsx @@ -850,19 +850,19 @@ function AboutKyberSwap() { - No KYC or sign-ups required + No KYC or sign-ups required. - No extra deposit or withdrawal fees + No extra deposit or withdrawal fees. - List your tokens permissionlessly + List your tokens permissionlessly.
@@ -967,7 +967,7 @@ function AboutKyberSwap() { > KNC is a utility and governance token, and an integral part of Kyber Network and its flagship product - KyberSwap. It is the glue that connects different stakeholders in Kyber's ecosystem + KyberSwap. It is the glue that connects different stakeholders in Kyber's ecosystem. - Invalid range selected. The min price must be lower than the max price + Invalid range selected. The min price must be lower than the max price. @@ -900,7 +900,7 @@ export default function AddLiquidity() { - Efficiency Comparison: Full range positions may earn less fees than concentrated positions + Efficiency Comparison: Full range positions may earn less fees than concentrated positions. @@ -910,7 +910,7 @@ export default function AddLiquidity() { - Your position will not earn fees until the market price of the pool moves into your price range + Your position will not earn fees until the market price of the pool moves into your price range. @@ -923,7 +923,7 @@ export default function AddLiquidity() { Warning: The price range for this liquidity position is not eligible for farming rewards. To become - eligible for rewards, please match the farm’s active range(s) + eligible for rewards, please match the farm’s active range(s). @@ -945,7 +945,7 @@ export default function AddLiquidity() { > Slippage - is high. Your transaction may be front-run + is high. Your transaction may be front-run. @@ -994,7 +994,7 @@ export default function AddLiquidity() { setShowFarmRangeSelect(false)}> {isFarmV2Available ? Custom Ranges : Select a Range} diff --git a/src/pages/Bridge/BridgeTransfers/index.tsx b/src/pages/Bridge/BridgeTransfers/index.tsx index b3886af1b1..8d5c6693c8 100644 --- a/src/pages/Bridge/BridgeTransfers/index.tsx +++ b/src/pages/Bridge/BridgeTransfers/index.tsx @@ -18,7 +18,7 @@ const BridgeHistory: React.FC = ({ className }) => { diff --git a/src/pages/Bridge/SwapForm.tsx b/src/pages/Bridge/SwapForm.tsx index 4920414867..86936f5d6b 100644 --- a/src/pages/Bridge/SwapForm.tsx +++ b/src/pages/Bridge/SwapForm.tsx @@ -236,15 +236,15 @@ export default function SwapForm() { if (!tokenInfoIn || !chainIdOut || !tokenInfoOut || inputNumber === 0) return - if (isNaN(inputNumber)) return t`Input amount is not valid` + if (isNaN(inputNumber)) return t`Input amount is not valid.` if (inputNumber < Number(tokenInfoOut.MinimumSwap)) { return t`The amount to bridge must be more than ${formattedNum(tokenInfoOut.MinimumSwap, false, 5)} ${ tokenInfoIn.symbol - }` + }.` } if (inputNumber > Number(tokenInfoOut.MaximumSwap)) { - return t`The amount to bridge must be less than ${formattedNum(tokenInfoOut.MaximumSwap)} ${tokenInfoIn.symbol}` + return t`The amount to bridge must be less than ${formattedNum(tokenInfoOut.MaximumSwap)} ${tokenInfoIn.symbol}.` } if (tokenInfoOut.isLiquidity && tokenInfoOut.underlying) { diff --git a/src/pages/BuyCrypto/index.tsx b/src/pages/BuyCrypto/index.tsx index e0400f8428..bd29bad384 100644 --- a/src/pages/BuyCrypto/index.tsx +++ b/src/pages/BuyCrypto/index.tsx @@ -364,7 +364,7 @@ function BuyCrypto() {

On KyberSwap we support a list of wallets including: MetaMask, Coin98, Wallet Connect, Coinbase - Wallet, Ledger and others + Wallet, Ledger and others. @@ -464,7 +464,7 @@ function BuyCrypto() {

For support, please contact Transak{' '} - here + here. diff --git a/src/pages/Campaign/CampaignContent.tsx b/src/pages/Campaign/CampaignContent.tsx index c43b010e8a..f18f34388f 100644 --- a/src/pages/Campaign/CampaignContent.tsx +++ b/src/pages/Campaign/CampaignContent.tsx @@ -111,7 +111,7 @@ function RankDetail({ campaign }: { campaign: CampaignData | undefined }) { Requirements - Fulfil these requirements to participate in the campaign + Fulfil these requirements to participate in the campaign. {tradingVolumeRequired > 0 && ( diff --git a/src/pages/Campaign/CampaignItem.tsx b/src/pages/Campaign/CampaignItem.tsx index d5142138d6..7b0706a116 100644 --- a/src/pages/Campaign/CampaignItem.tsx +++ b/src/pages/Campaign/CampaignItem.tsx @@ -170,13 +170,13 @@ function CampaignItem({ campaign, onSelectCampaign, isSelected, style }: Campaig {campaign.competitionId && campaign.competitorId && campaign.status !== CampaignStatus.ENDED ? ( This campaign is participating in the Grant Campaign} + text={This campaign is participating in the Grant Campaign.} > ) : null} {hasBonusMultiplier && ( - Point multiplier is in effect}> + Point multiplier is in effect.}> )} diff --git a/src/pages/CrossChain/SwapForm/TradeTypeSelection.tsx b/src/pages/CrossChain/SwapForm/TradeTypeSelection.tsx index 847bc33a25..b101341e54 100644 --- a/src/pages/CrossChain/SwapForm/TradeTypeSelection.tsx +++ b/src/pages/CrossChain/SwapForm/TradeTypeSelection.tsx @@ -22,7 +22,7 @@ const TradeTypeSelection: React.FC = () => { setExpressExecutionMode(true)} active={enableExpressExecution} role="button"> - + Boost diff --git a/src/pages/CrossChain/SwapForm/index.tsx b/src/pages/CrossChain/SwapForm/index.tsx index fb6e2165e4..df7e0baf59 100644 --- a/src/pages/CrossChain/SwapForm/index.tsx +++ b/src/pages/CrossChain/SwapForm/index.tsx @@ -356,6 +356,7 @@ export default function SwapForm() { here ↗ + . } diff --git a/src/pages/CrossChain/TransfersHistory/index.tsx b/src/pages/CrossChain/TransfersHistory/index.tsx index 2bfc106b3f..6003430af3 100644 --- a/src/pages/CrossChain/TransfersHistory/index.tsx +++ b/src/pages/CrossChain/TransfersHistory/index.tsx @@ -36,7 +36,7 @@ const BridgeHistory: React.FC = ({ className }) => { diff --git a/src/pages/ElasticLegacy/PositionLegacy.tsx b/src/pages/ElasticLegacy/PositionLegacy.tsx index e8f5a9fb39..c81b680b5f 100644 --- a/src/pages/ElasticLegacy/PositionLegacy.tsx +++ b/src/pages/ElasticLegacy/PositionLegacy.tsx @@ -159,7 +159,7 @@ const Row = ({ {item.owner !== account?.toLowerCase() ? ( Remove Liquidity diff --git a/src/pages/ElasticLegacy/index.tsx b/src/pages/ElasticLegacy/index.tsx index c4202a9162..81e06e0858 100644 --- a/src/pages/ElasticLegacy/index.tsx +++ b/src/pages/ElasticLegacy/index.tsx @@ -43,7 +43,7 @@ const Notice = ({ isFarm }: { isFarm?: boolean }) => { Elastic {isFarm ? 'Farms' : 'Pools'} (Legacy) . If you wish to participate in our {isFarm ? 'farms' : 'pools'}, check out our new and audited{' '} - Elastic {isFarm ? 'Farms' : 'Pools'} + Elastic {isFarm ? 'Farms' : 'Pools'}.
) @@ -62,7 +62,7 @@ const WarningNotice = () => { {' '} with our legacy Elastic protocol, we recommend that all liquidity providers withdraw their liquidity from Elastic Pools (Legacy). We have fixed all the issues and deployed the new and audited{' '} - Elastic Pools where you can add liquidity normally instead + Elastic Pools where you can add liquidity normally instead. ) diff --git a/src/pages/Farm/ElasticFarmCombination.tsx b/src/pages/Farm/ElasticFarmCombination.tsx index 4a2b63258f..5f7e7938af 100644 --- a/src/pages/Farm/ElasticFarmCombination.tsx +++ b/src/pages/Farm/ElasticFarmCombination.tsx @@ -117,7 +117,7 @@ export const ElasticFarmCombination: FC = () => { Ended {' '} - tab. To continue earning rewards in the new phase, you must retake your NFT position into the active farm + tab. To continue earning rewards in the new phase, you must retake your NFT position into the active farm. )} diff --git a/src/pages/Farm/ElasticFarmv2/components/ListView.tsx b/src/pages/Farm/ElasticFarmv2/components/ListView.tsx index 49153571e9..6901f83183 100644 --- a/src/pages/Farm/ElasticFarmv2/components/ListView.tsx +++ b/src/pages/Farm/ElasticFarmv2/components/ListView.tsx @@ -296,7 +296,7 @@ export const ListView = ({ whiteSpace: upToSmall ? 'wrap' : 'nowrap', }} > - Estimated return from trading fees if you participate in the pool + Estimated return from trading fees if you participate in the pool. diff --git a/src/pages/Farm/ElasticFarmv2/index.tsx b/src/pages/Farm/ElasticFarmv2/index.tsx index dfc35cb09f..908871de0f 100644 --- a/src/pages/Farm/ElasticFarmv2/index.tsx +++ b/src/pages/Farm/ElasticFarmv2/index.tsx @@ -147,7 +147,7 @@ export default function ElasticFarmv2({ width={upToSmall ? '100%' : undefined} > Deposited Liquidity @@ -346,7 +346,7 @@ export default function ElasticFarmv2({ ) : sortDirection === SORT_DIRECTION.ASC ? ( ) : null)} - + @@ -365,7 +365,7 @@ export default function ElasticFarmv2({ ) : null)} diff --git a/src/pages/GrantProgram/SingleProgram/LeaderBoardSection/index.tsx b/src/pages/GrantProgram/SingleProgram/LeaderBoardSection/index.tsx index a12f8ea50b..d415f5d18d 100644 --- a/src/pages/GrantProgram/SingleProgram/LeaderBoardSection/index.tsx +++ b/src/pages/GrantProgram/SingleProgram/LeaderBoardSection/index.tsx @@ -120,7 +120,7 @@ const LeaderBoardSection: React.FC = ({ programId, showRefreshTimer }) => color: theme.subText, }} > - Currently there are no Projects + Currently there are no Projects. diff --git a/src/pages/KyberDAO/KNCUtility/GasRefundBox.tsx b/src/pages/KyberDAO/KNCUtility/GasRefundBox.tsx index 3028053716..22da024879 100644 --- a/src/pages/KyberDAO/KNCUtility/GasRefundBox.tsx +++ b/src/pages/KyberDAO/KNCUtility/GasRefundBox.tsx @@ -112,7 +112,7 @@ export default function GasRefundBox() { > - Rewards available to claim} placement="top"> + Rewards available to claim.} placement="top"> setSelectedTab(KNCUtilityTabs.Available)} @@ -125,7 +125,7 @@ export default function GasRefundBox() { Rewards to claim after the end of the countdown period} + text={Rewards to claim after the end of the countdown period.} placement="top" >  |  - Rewards successfully claimed} placement="top"> + Rewards successfully claimed.} placement="top"> setSelectedTab(KNCUtilityTabs.Claimed)} diff --git a/src/pages/KyberDAO/KNCUtility/index.tsx b/src/pages/KyberDAO/KNCUtility/index.tsx index aa3e6741af..38bd7da937 100644 --- a/src/pages/KyberDAO/KNCUtility/index.tsx +++ b/src/pages/KyberDAO/KNCUtility/index.tsx @@ -210,13 +210,13 @@ export default function KNCUtility() {
  • - Value of each trade (calculated at the point of the trade) on KyberSwap has to be ≥ $200 + Value of each trade (calculated at the point of the trade) on KyberSwap has to be ≥ $200.
  • - Trades only on Ethereum chain are applicable + Trades only on Ethereum chain are applicable.
  • diff --git a/src/pages/KyberDAO/StakeKNC/StakeKNCComponent.tsx b/src/pages/KyberDAO/StakeKNC/StakeKNCComponent.tsx index 59350bfcef..4a732c117f 100644 --- a/src/pages/KyberDAO/StakeKNC/StakeKNCComponent.tsx +++ b/src/pages/KyberDAO/StakeKNC/StakeKNCComponent.tsx @@ -542,7 +542,7 @@ export default function StakeKNCComponent() { {isDelegated && ( @@ -649,7 +649,7 @@ export default function StakeKNCComponent() { Voting power{' '} diff --git a/src/pages/KyberDAO/StakeKNC/YourTransactionsModal.tsx b/src/pages/KyberDAO/StakeKNC/YourTransactionsModal.tsx index 30cb47a510..38421e76a0 100644 --- a/src/pages/KyberDAO/StakeKNC/YourTransactionsModal.tsx +++ b/src/pages/KyberDAO/StakeKNC/YourTransactionsModal.tsx @@ -296,7 +296,7 @@ export default function YourTransactionsModal() { - You have no Transaction History + You have no Transaction History. diff --git a/src/pages/KyberDAO/StakeKNC/index.tsx b/src/pages/KyberDAO/StakeKNC/index.tsx index 0863bafbc8..425c1ea407 100644 --- a/src/pages/KyberDAO/StakeKNC/index.tsx +++ b/src/pages/KyberDAO/StakeKNC/index.tsx @@ -157,7 +157,7 @@ export default function StakeKNC() { - Note: Staking KNC is only available on Ethereum chain + Note: Staking KNC is only available on Ethereum chain. Read about KNC ↗ @@ -249,6 +249,7 @@ export default function StakeKNC() { > here ↗ + . @@ -292,6 +293,7 @@ export default function StakeKNC() { here ↗ + . diff --git a/src/pages/KyberDAO/Vote/ProposalItem/VoteInformation.tsx b/src/pages/KyberDAO/Vote/ProposalItem/VoteInformation.tsx index 02181dc345..3d20d2feb3 100644 --- a/src/pages/KyberDAO/Vote/ProposalItem/VoteInformation.tsx +++ b/src/pages/KyberDAO/Vote/ProposalItem/VoteInformation.tsx @@ -86,7 +86,7 @@ export default function VoteInformation({ proposal }: { proposal: ProposalDetail diff --git a/src/pages/KyberDAO/Vote/index.tsx b/src/pages/KyberDAO/Vote/index.tsx index 48cf4090b6..b088444b4e 100644 --- a/src/pages/KyberDAO/Vote/index.tsx +++ b/src/pages/KyberDAO/Vote/index.tsx @@ -267,7 +267,7 @@ export default function Vote() { fontSize={12} placement="top" text={t`Your voting power is calculated by -[Your Staked KNC] / [Total Staked KNC] * 100%`} +[Your Staked KNC] / [Total Staked KNC] * 100%.`} /> @@ -349,13 +349,13 @@ export default function Vote() { ) : null} {isDelegated && ( @@ -459,7 +459,7 @@ export default function Vote() { diff --git a/src/pages/MyEarnings/ClassicPools/SinglePool/index.tsx b/src/pages/MyEarnings/ClassicPools/SinglePool/index.tsx index 3047e1709f..27d0ba2ba5 100644 --- a/src/pages/MyEarnings/ClassicPools/SinglePool/index.tsx +++ b/src/pages/MyEarnings/ClassicPools/SinglePool/index.tsx @@ -277,7 +277,7 @@ const SinglePool: React.FC = ({ poolEarning, chainId }) => { APR diff --git a/src/pages/MyEarnings/ClassicPools/index.tsx b/src/pages/MyEarnings/ClassicPools/index.tsx index 0ba78db0eb..b59408413d 100644 --- a/src/pages/MyEarnings/ClassicPools/index.tsx +++ b/src/pages/MyEarnings/ClassicPools/index.tsx @@ -69,7 +69,7 @@ const ClassicPools = () => { if (!data || Object.keys(data).every(key => !data[key]?.positions?.filter(filterFn).length)) { return ( - No liquidity found + No liquidity found. ) } @@ -109,7 +109,7 @@ const ClassicPools = () => { APR diff --git a/src/pages/MyEarnings/ElasticPools/SinglePool/index.tsx b/src/pages/MyEarnings/ElasticPools/SinglePool/index.tsx index c05561cdc3..65e53004ce 100644 --- a/src/pages/MyEarnings/ElasticPools/SinglePool/index.tsx +++ b/src/pages/MyEarnings/ElasticPools/SinglePool/index.tsx @@ -282,7 +282,7 @@ const SinglePool: React.FC = ({ poolEarning, chainId, positionEarnings, p APR diff --git a/src/pages/MyEarnings/ElasticPools/SinglePosition/CollectFeesPanel.tsx b/src/pages/MyEarnings/ElasticPools/SinglePosition/CollectFeesPanel.tsx index 73a84a6bb2..6db7a31921 100644 --- a/src/pages/MyEarnings/ElasticPools/SinglePosition/CollectFeesPanel.tsx +++ b/src/pages/MyEarnings/ElasticPools/SinglePosition/CollectFeesPanel.tsx @@ -291,7 +291,7 @@ const CollectFeesPanel: React.FC = ({ > Your fees are being automatically compounded so you earn more} + text={Your fees are being automatically compounded so you earn more.} placement="top" > Fees Earned diff --git a/src/pages/MyEarnings/ElasticPools/SinglePosition/EarningView.tsx b/src/pages/MyEarnings/ElasticPools/SinglePosition/EarningView.tsx index bd52dd9e73..cd88e3c3e2 100644 --- a/src/pages/MyEarnings/ElasticPools/SinglePosition/EarningView.tsx +++ b/src/pages/MyEarnings/ElasticPools/SinglePosition/EarningView.tsx @@ -52,7 +52,7 @@ const EarningView: React.FC = props => { > diff --git a/src/pages/MyEarnings/ElasticPools/SinglePosition/PriceRangeChart.tsx b/src/pages/MyEarnings/ElasticPools/SinglePosition/PriceRangeChart.tsx index b4c334da86..86c205baaa 100644 --- a/src/pages/MyEarnings/ElasticPools/SinglePosition/PriceRangeChart.tsx +++ b/src/pages/MyEarnings/ElasticPools/SinglePosition/PriceRangeChart.tsx @@ -124,7 +124,7 @@ const PriceRangeChart: React.FC = ({ position, disabled }) => { /> - + Min Price:{' '} diff --git a/src/pages/MyEarnings/ElasticPools/index.tsx b/src/pages/MyEarnings/ElasticPools/index.tsx index 98711f2e31..79e7920f4e 100644 --- a/src/pages/MyEarnings/ElasticPools/index.tsx +++ b/src/pages/MyEarnings/ElasticPools/index.tsx @@ -162,7 +162,7 @@ const ElasticPools = () => { <> - No liquidity found + No liquidity found. )} @@ -197,7 +197,7 @@ const ElasticPools = () => { APR diff --git a/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx b/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx index fd1e7a780e..ed6357fae4 100644 --- a/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx +++ b/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx @@ -326,7 +326,7 @@ export default function CreateAlert({ Cooldown @@ -373,7 +373,7 @@ export default function CreateAlert({ {isMaxQuota && ( - + )} diff --git a/src/pages/NotificationCenter/NotificationPreference/index.tsx b/src/pages/NotificationCenter/NotificationPreference/index.tsx index 7973b1137f..bce84f7a64 100644 --- a/src/pages/NotificationCenter/NotificationPreference/index.tsx +++ b/src/pages/NotificationCenter/NotificationPreference/index.tsx @@ -369,7 +369,7 @@ function NotificationPreference({ toggleModal = noop }: { toggleModal?: () => vo vo !getDiffChangeTopics(topicGroups).hasChanged ? '' : (needVerifyEmail || !userInfo?.email) && !isIncludePriceAlert() - ? t`You will need to verify your email address first` + ? t`You will need to verify your email address first.` : '' } /> diff --git a/src/pages/NotificationCenter/PriceAlerts/ActiveAlerts/SingleAlert.tsx b/src/pages/NotificationCenter/PriceAlerts/ActiveAlerts/SingleAlert.tsx index ce9034d21d..75b6e2ce28 100644 --- a/src/pages/NotificationCenter/PriceAlerts/ActiveAlerts/SingleAlert.tsx +++ b/src/pages/NotificationCenter/PriceAlerts/ActiveAlerts/SingleAlert.tsx @@ -25,7 +25,7 @@ const SingleAlert: React.FC = ({ alert, isMaxQuotaActiveAlert }) => { return ( ( - + } diff --git a/src/pages/NotificationCenter/Profile/ImportAccountModal/UserEnterPasscodeContent.tsx b/src/pages/NotificationCenter/Profile/ImportAccountModal/UserEnterPasscodeContent.tsx index ee9b1b4aab..3088fe667b 100644 --- a/src/pages/NotificationCenter/Profile/ImportAccountModal/UserEnterPasscodeContent.tsx +++ b/src/pages/NotificationCenter/Profile/ImportAccountModal/UserEnterPasscodeContent.tsx @@ -78,6 +78,7 @@ const UserEnterPasscodeContent: React.FC = ({ onImportToken, dismissModal here + . diff --git a/src/pages/NotificationCenter/Profile/index.tsx b/src/pages/NotificationCenter/Profile/index.tsx index e7fd54af1e..6c0ca88943 100644 --- a/src/pages/NotificationCenter/Profile/index.tsx +++ b/src/pages/NotificationCenter/Profile/index.tsx @@ -254,7 +254,7 @@ export default function Profile() { Keep Current Profile - Keep this profile active whenever you switch wallets + Keep this profile active whenever you switch wallets. diff --git a/src/pages/Pool/index.tsx b/src/pages/Pool/index.tsx index 0217f79f5c..0940d3757d 100644 --- a/src/pages/Pool/index.tsx +++ b/src/pages/Pool/index.tsx @@ -322,7 +322,7 @@ function Pool() { - Here you can view all your liquidity and staked balances in the Classic Pools + Here you can view all your liquidity and staked balances in the Classic Pools. {!upToSmall && ( diff --git a/src/pages/Pools/FarmingPoolsMarquee.tsx b/src/pages/Pools/FarmingPoolsMarquee.tsx index 134c19ba04..b8eea90843 100644 --- a/src/pages/Pools/FarmingPoolsMarquee.tsx +++ b/src/pages/Pools/FarmingPoolsMarquee.tsx @@ -94,7 +94,7 @@ const FarmingPoolsMarquee = ({ tab }: { tab: string }) => { - <MouseoverTooltip text="Available for yield farming"> + <MouseoverTooltip text="Available for yield farming."> <MoneyBag size={16} color={theme.apr} /> </MouseoverTooltip> diff --git a/src/pages/Pools/InstructionAndGlobalData.tsx b/src/pages/Pools/InstructionAndGlobalData.tsx index eacca52fc3..789a878d61 100644 --- a/src/pages/Pools/InstructionAndGlobalData.tsx +++ b/src/pages/Pools/InstructionAndGlobalData.tsx @@ -140,23 +140,23 @@ export const Instruction = () => { <DetailWrapper isOpen={show}> <DetailItem> <BestPrice size={24} /> - <Text flex={1}>Add liquidity in any price range you want and earn more with concentrated liquidity</Text> + <Text flex={1}>Add liquidity in any price range you want and earn more with concentrated liquidity.</Text> </DetailItem> <DetailItem> <LowestSlippage size={24} /> - <Text flex={1}>Your trading fee earnings will be compounded automatically (in the full price range)</Text> + <Text flex={1}>Your trading fee earnings will be compounded automatically (in the full price range).</Text> </DetailItem> <DetailItem> <MoneyBagOutline size={24} color={theme.primary} /> - <Text flex={1}>Collect your fee earnings whenever you want, without removing your initial liquidity</Text> + <Text flex={1}>Collect your fee earnings whenever you want, without removing your initial liquidity.</Text> </DetailItem> <DetailItem> <AntiSnippingAttack size={24} /> <Text flex={1}> - We protect liquidity providers like you from sniping attacks so you continue to earn more trading fees + We protect liquidity providers like you from sniping attacks so you continue to earn more trading fees. </Text> </DetailItem> </DetailWrapper> @@ -166,7 +166,7 @@ export const Instruction = () => { <BestPrice size={24} /> <Text flex={1}> We amplify liquidity pools (using the AMP factor) to achieve high capital efficiency so you earn more - trading fees even with less liquidity + trading fees even with less liquidity. </Text> </DetailItem> @@ -174,13 +174,13 @@ export const Instruction = () => { <ZicZac style={{ color: theme.primary }} /> <Text flex={1}> You can create pools by setting your own static fees or by using dynamic fees. With dynamic fees, trading - fees are adjusted on-the-fly based on market conditions + fees are adjusted on-the-fly based on market conditions. </Text> </DetailItem> <DetailItem> <LowestSlippage size={24} /> - <Text flex={1}>Your trading fee earnings will be compounded automatically</Text> + <Text flex={1}>Your trading fee earnings will be compounded automatically.</Text> </DetailItem> </DetailWrapperClassic> )} diff --git a/src/pages/ProAmmPool/index.tsx b/src/pages/ProAmmPool/index.tsx index 952d4e379b..71fbbf19eb 100644 --- a/src/pages/ProAmmPool/index.tsx +++ b/src/pages/ProAmmPool/index.tsx @@ -72,7 +72,8 @@ const renderNotificationButton = (iconOnly: boolean) => { <div> <Trans> Subscribe to receive emails on your Elastic liquidity positions across all chains. Whenever a position goes - <Highlight>out-of-range</Highlight> or comes back <Highlight>in-range</Highlight>, you will receive an email + <Highlight>out-of-range</Highlight> or comes back <Highlight>in-range</Highlight>, you will receive an + email. </Trans> </div> } @@ -227,7 +228,7 @@ export default function ProAmmPool() { <PageWrapper style={{ padding: 0, marginTop: '24px' }}> <AutoColumn gap="lg" style={{ width: '100%' }}> <InstructionText> - <Trans>Here you can view all your liquidity and staked balances in the Elastic Pools</Trans> + <Trans>Here you can view all your liquidity and staked balances in the Elastic Pools.</Trans> {!upToSmall && ( <ExternalLink href={`${PROMM_ANALYTICS_URL[chainId]}/account/${account}`}> <Flex alignItems="center"> diff --git a/src/pages/ProAmmPools/KyberAIModalInPool.tsx b/src/pages/ProAmmPools/KyberAIModalInPool.tsx index 89422acaae..3420609c80 100644 --- a/src/pages/ProAmmPools/KyberAIModalInPool.tsx +++ b/src/pages/ProAmmPools/KyberAIModalInPool.tsx @@ -176,7 +176,7 @@ const KyberAIModalInPool = ({ currency0, currency1 }: { currency0?: Currency; cu </RowBetween> <Row marginBottom="16px"> <MouseoverTooltip - text={t`KyberScore algorithm measures the current trend of a token by taking into account multiple on-chain and off-chain indicators. The score ranges from 0 to 100. Higher the score, more bullish the token`} + text={t`KyberScore algorithm measures the current trend of a token by taking into account multiple on-chain and off-chain indicators. The score ranges from 0 to 100. Higher the score, more bullish the token.`} placement="top" width="350px" > diff --git a/src/pages/ProAmmPools/index.tsx b/src/pages/ProAmmPools/index.tsx index 0258c4a8b8..3e00b6f55f 100644 --- a/src/pages/ProAmmPools/index.tsx +++ b/src/pages/ProAmmPools/index.tsx @@ -340,7 +340,7 @@ export default function ProAmmPoolList({ )} <InfoHelper - text={t`Average estimated return based on yearly trading fees from the pool & additional bonus rewards if you participate in the farm`} + text={t`Average estimated return based on yearly trading fees from the pool & additional bonus rewards if you participate in the farm.`} /> </ClickableText> </Flex> diff --git a/src/pages/SwapV2/index.tsx b/src/pages/SwapV2/index.tsx index 9d6cfe8143..dc196e6e36 100644 --- a/src/pages/SwapV2/index.tsx +++ b/src/pages/SwapV2/index.tsx @@ -558,7 +558,7 @@ export default function Swap() { text={ <Trans> There was an issue while trying to find a price for these tokens. Please try again. - Otherwise, you may select some other tokens to swap + Otherwise, you may select some other tokens to swap. </Trans> } > @@ -702,7 +702,7 @@ export default function Swap() { ) : ( <Trans> There was an issue while trying to find a price for these tokens. Please try - again. Otherwise, you may select some other tokens to swap + again. Otherwise, you may select some other tokens to swap. </Trans> ) } diff --git a/src/pages/SwapV3/ApprovalModal.tsx b/src/pages/SwapV3/ApprovalModal.tsx index ec6eb685fb..7dc2638fdb 100644 --- a/src/pages/SwapV3/ApprovalModal.tsx +++ b/src/pages/SwapV3/ApprovalModal.tsx @@ -161,7 +161,7 @@ const ApprovalModal = ({ <InfiniteAllowanceIcon /> </RowFit> <MouseoverTooltip - text={t`You wish to give KyberSwap permission to use the selected token for transactions without any limit. You do not need to give permission again unless you have revoked it. This approve transaction will cost a gas fee`} + text={t`You wish to give KyberSwap permission to use the selected token for transactions without any limit. You do not need to give permission again unless you have revoked it. This approve transaction will cost a gas fee.`} placement="right" > <Text @@ -183,7 +183,7 @@ const ApprovalModal = ({ <Column gap="8px" flex="0 1 200px"> <MouseoverTooltip text={t`You wish to give KyberSwap permission to use up to the selected custom token - amount for transactions. Subsequent transactions exceeding this amount will require your permission again. This will cost gas fees`} + amount for transactions. Subsequent transactions exceeding this amount will require your permission again. This will cost gas fees.`} placement="right" > <Text diff --git a/src/pages/SwapV3/HeaderRightMenu.tsx b/src/pages/SwapV3/HeaderRightMenu.tsx index f1f7fef228..97c4269fd8 100644 --- a/src/pages/SwapV3/HeaderRightMenu.tsx +++ b/src/pages/SwapV3/HeaderRightMenu.tsx @@ -73,11 +73,13 @@ export default function HeaderRightMenu({ const { pathname } = useLocation() const isLimitPage = pathname.startsWith(APP_PATHS.LIMIT) + const isCrossChainPage = pathname.startsWith(APP_PATHS.CROSS_CHAIN) const { currencies, shareUrl } = useCurrenciesByPage() const { mixpanelHandler } = useMixpanel(currencies) - const onToggleActionTab = (tab: TAB) => setActiveTab(activeTab === tab ? (isLimitPage ? TAB.LIMIT : TAB.SWAP) : tab) + const onToggleActionTab = (tab: TAB) => + setActiveTab(activeTab === tab ? (isLimitPage ? TAB.LIMIT : isCrossChainPage ? TAB.CROSS_CHAIN : TAB.SWAP) : tab) const [isDegenMode] = useDegenModeManager() diff --git a/src/pages/SwapV3/Tabs/LimitTab.tsx b/src/pages/SwapV3/Tabs/LimitTab.tsx index 59fe4c6cce..8cc91e251a 100644 --- a/src/pages/SwapV3/Tabs/LimitTab.tsx +++ b/src/pages/SwapV3/Tabs/LimitTab.tsx @@ -56,7 +56,9 @@ export default function LimitTab({ onClick }: Props) { <MouseoverTooltip placement="top" text={ - <Trans>You have {numberOfInsufficientFundOrders} active orders that don't have sufficient funds</Trans> + <Trans> + You have {numberOfInsufficientFundOrders} active orders that don't have sufficient funds. + </Trans> } > <WarningBadge>{numberOfInsufficientFundOrders}</WarningBadge> diff --git a/src/pages/TrueSightV2/components/SmallKyberScoreMeter.tsx b/src/pages/TrueSightV2/components/SmallKyberScoreMeter.tsx index 3f74aa0d28..20f6a3f4ed 100644 --- a/src/pages/TrueSightV2/components/SmallKyberScoreMeter.tsx +++ b/src/pages/TrueSightV2/components/SmallKyberScoreMeter.tsx @@ -71,7 +71,7 @@ function SmallKyberScoreMeter({ disabledTooltip, token }: { disabledTooltip?: bo </Column> ) : ( <Text fontStyle="italic"> - <Trans>KyberScore is not applicable for stablecoins</Trans> + <Trans>KyberScore is not applicable for stablecoins.</Trans> </Text> ) } diff --git a/src/pages/TrueSightV2/components/TokenOverview.tsx b/src/pages/TrueSightV2/components/TokenOverview.tsx index c8ac42b461..21ebcd9b4b 100644 --- a/src/pages/TrueSightV2/components/TokenOverview.tsx +++ b/src/pages/TrueSightV2/components/TokenOverview.tsx @@ -235,6 +235,7 @@ export const TokenOverview = ({ data, isLoading }: { data?: IAssetOverview; isLo > here ↗ </a> + . </Trans> } placement="top" @@ -292,7 +293,7 @@ export const TokenOverview = ({ data, isLoading }: { data?: IAssetOverview; isLo ) : ( <> <Text fontSize="12px" fontStyle="italic"> - <Trans>KyberScore is not applicable for stablecoins</Trans> + <Trans>KyberScore is not applicable for stablecoins.</Trans> </Text> </> ) @@ -430,7 +431,7 @@ export const TokenOverview = ({ data, isLoading }: { data?: IAssetOverview; isLo </Row> <Row justify="center" marginBottom="38px"> <Text fontSize="12px" lineHeight="16px" fontStyle="italic"> - <Trans>Disclaimer: This should not be considered as financial advice</Trans> + <Trans>Disclaimer: This should not be considered as financial advice.</Trans> </Text> </Row> </> diff --git a/src/pages/TrueSightV2/components/chart/index.tsx b/src/pages/TrueSightV2/components/chart/index.tsx index 935c25bc02..e92ed98df3 100644 --- a/src/pages/TrueSightV2/components/chart/index.tsx +++ b/src/pages/TrueSightV2/components/chart/index.tsx @@ -275,7 +275,7 @@ const LoadingHandleWrapper = ({ <Column gap="14px" alignItems="center"> <Info size="38px" /> <Text fontSize="14px"> - <Trans>We couldn't find any information for this token</Trans> + <Trans>We couldn't find any information for this token.</Trans> </Text> </Column> )} diff --git a/src/pages/TrueSightV2/components/table/index.tsx b/src/pages/TrueSightV2/components/table/index.tsx index 89fc194608..53daa66af3 100644 --- a/src/pages/TrueSightV2/components/table/index.tsx +++ b/src/pages/TrueSightV2/components/table/index.tsx @@ -147,7 +147,7 @@ const LoadingHandleWrapper = ({ <Column gap="14px" alignItems="center"> <Info size="38px" /> <Text fontSize="14px"> - <Trans>We couldn't find any information for this token</Trans> + <Trans>We couldn't find any information for this token.</Trans> </Text> </Column> )} diff --git a/src/pages/TrueSightV2/hooks/useRenderRankingList.tsx b/src/pages/TrueSightV2/hooks/useRenderRankingList.tsx index b4be1713a2..84a1dd8fed 100644 --- a/src/pages/TrueSightV2/hooks/useRenderRankingList.tsx +++ b/src/pages/TrueSightV2/hooks/useRenderRankingList.tsx @@ -246,7 +246,7 @@ const renderByColumnType: Record< KyberScore uses AI to measure the upcoming trend of a token (bullish or bearish) by taking into account multiple on-chain and off-chain indicators. The score ranges from 0 to 100. Higher the score, more bullish the token in the short-term. Read more{' '} - <a href="https://docs.kyberswap.com/kyberswap-solutions/kyberai/concepts/kyberscore">here ↗</a> + <a href="https://docs.kyberswap.com/kyberswap-solutions/kyberai/concepts/kyberscore">here ↗</a>. </Trans> </span> } diff --git a/src/pages/TrueSightV2/pages/LandingPage.tsx b/src/pages/TrueSightV2/pages/LandingPage.tsx index ef9abfcb0b..c53a56f0a4 100644 --- a/src/pages/TrueSightV2/pages/LandingPage.tsx +++ b/src/pages/TrueSightV2/pages/LandingPage.tsx @@ -615,7 +615,7 @@ export default function KyberAILandingPage() { <Trans> An intelligent platform that provides valuable insights on{' '} <span style={{ color: theme.text }}>4000+ Tokens</span> across{' '} - <span style={{ color: theme.text }}>7 Chains</span> + <span style={{ color: theme.text }}>7 Chains</span>. </Trans> </Text> <Row justify="center" gap="16px"> @@ -709,21 +709,21 @@ export default function KyberAILandingPage() { <li> <CheckIcon /> <Trans> - Search from over <span style={{ color: theme.text }}>4000+ tokens on 7 chains</span> + Search from over <span style={{ color: theme.text }}>4000+ tokens on 7 chains.</span> </Trans> </li> <li> <CheckIcon /> <Trans> Subscribe to <span style={{ color: theme.text }}>receive daily emails on the top tokens</span> as - recommended by KyberAI + recommended by KyberAI. </Trans> </li> <li> <CheckIcon /> <Trans> <span style={{ color: theme.text }}>Monitor token prices - Set a price alert</span>, sit back and - we'll notify you + we'll notify you. </Trans> </li> <li> @@ -731,7 +731,7 @@ export default function KyberAILandingPage() { <Trans> {' '} <span style={{ color: theme.text }}>Create a watchlist of your favorite tokens</span>, and analyze - them quickly + them quickly. </Trans> </li> </StyledUL> @@ -790,7 +790,7 @@ export default function KyberAILandingPage() { <Trans> Ready to experience{' '} <span style={{ color: theme.primary, textShadow: `0 0 5px ${theme.primary}` }}>KyberAI</span>? <br /> - Get alpha before it happens + Get alpha before it happens. </Trans> </Text> <Row style={{ flex: 1 }}> diff --git a/src/pages/TrueSightV2/pages/OnChainAnalysis.tsx b/src/pages/TrueSightV2/pages/OnChainAnalysis.tsx index 4413d40f44..cd4d891bb5 100644 --- a/src/pages/TrueSightV2/pages/OnChainAnalysis.tsx +++ b/src/pages/TrueSightV2/pages/OnChainAnalysis.tsx @@ -85,14 +85,14 @@ export default function OnChainAnalysis() { description={ <Trans> Netflow (Inflow - Outflow) of token to whale wallets ( - <MouseoverTooltip text={t`Wallets with more than $5m in assets across multiple chains`} placement="top"> + <MouseoverTooltip text={t`Wallets with more than $5m in assets across multiple chains.`} placement="top"> <Text color={theme.text} style={{ borderBottom: '1px dotted' }}> General Whales </Text> </MouseoverTooltip>{' '} and{' '} <MouseoverTooltip - text={t`Wallets which hold 1% or more of the circulating supply of this token`} + text={t`Wallets which hold 1% or more of the circulating supply of this token.`} placement="top" > <Text color={theme.text} style={{ borderBottom: '1px dotted' }}> diff --git a/src/pages/TrueSightV2/pages/RegisterWhitelist/WaitListForm.tsx b/src/pages/TrueSightV2/pages/RegisterWhitelist/WaitListForm.tsx index 4adbae66fb..23d964a955 100644 --- a/src/pages/TrueSightV2/pages/RegisterWhitelist/WaitListForm.tsx +++ b/src/pages/TrueSightV2/pages/RegisterWhitelist/WaitListForm.tsx @@ -101,6 +101,7 @@ export default function EmailForm({ > here ↗ </a> + . </Trans> </Text> </Column> diff --git a/src/pages/TrueSightV2/pages/TechnicalAnalysis.tsx b/src/pages/TrueSightV2/pages/TechnicalAnalysis.tsx index 1686aa0557..bdb03833c0 100644 --- a/src/pages/TrueSightV2/pages/TechnicalAnalysis.tsx +++ b/src/pages/TrueSightV2/pages/TechnicalAnalysis.tsx @@ -195,7 +195,7 @@ export default function TechnicalAnalysis() { </SectionWrapper> <SectionWrapper show={tokenAnalysisSettings?.supportResistanceLevels} - title={t`Support & Resistance Levels`} + title={t`Support & Resistance Levels.`} subTitle={t`Note: These are estimated support / resistance levels only and should not be considered as financial advice`} description={ <Trans> @@ -242,7 +242,7 @@ export default function TechnicalAnalysis() { <SectionWrapper show={tokenAnalysisSettings?.liveDEXTrades} title={t`Live Trades`} - subTitle={t`Note: Live trades may be slightly delayed`} + subTitle={t`Note: Live trades may be slightly delayed.`} style={{ height: 'fit-content' }} shareContent={mobileMode => <DexTradesShareContent mobileMode={mobileMode} />} docsLinks={['https://docs.kyberswap.com/kyberswap-solutions/kyberai/technical-indicators/live-trades']} @@ -252,7 +252,7 @@ export default function TechnicalAnalysis() { <SectionWrapper show={tokenAnalysisSettings?.fundingRateOnCEX} id={'fundingrate'} - title={t`Funding Rate on Centralized Exchanges`} + title={t`Funding Rate on Centralized Exchanges.`} description={ <Trans> Funding rate is useful in identifying short-term trends.{' '} @@ -286,7 +286,7 @@ export default function TechnicalAnalysis() { <SectionWrapper id={KYBERAI_CHART_ID.LIQUID_ON_CEX} show={tokenAnalysisSettings?.liquidationsOnCEX} - title={t`Liquidations on Centralized Exchanges`} + title={t`Liquidations on Centralized Exchanges.`} description={`Liquidations describe the forced closing of a trader's futures position due to the partial or total loss of their collateral. This happens when a trader has insufficient funds to keep a leveraged trade open. Leveraged trading is high risk & high reward. The higher the leverage, the easier it is for a trader to diff --git a/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx b/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx index 1f8981c643..6389ed2b05 100644 --- a/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx +++ b/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx @@ -277,7 +277,7 @@ const tokenTypeList: { tooltip: theme => ( <span> Tokens with the highest chance of price <span style={{ color: theme.text }}>increase</span> in the next 24H - (highest KyberScore) + (highest KyberScore). </span> ), }, @@ -288,7 +288,7 @@ const tokenTypeList: { tooltip: theme => ( <span> Tokens with the highest chance of price <span style={{ color: theme.text }}>decrease</span> in the next 24H - (lowest KyberScore) + (lowest KyberScore). </span> ), }, @@ -300,7 +300,7 @@ const tokenTypeList: { <span> <Trans> Tokens with a <span style={{ color: theme.text }}>significant change in KyberScore</span> between two - consecutive time periods. This may indicate a change in trend of the token + consecutive time periods. This may indicate a change in trend of the token. </Trans> </span> ), @@ -312,7 +312,7 @@ const tokenTypeList: { tooltip: theme => ( <span> Tokens with the highest <span style={{ color: theme.text }}>net deposits</span> to Centralized Exchanges in the - last 3 Days. Possible incoming sell pressure + last 3 Days. Possible incoming sell pressure. </span> ), }, @@ -323,7 +323,7 @@ const tokenTypeList: { tooltip: theme => ( <span> Tokens with the highest <span style={{ color: theme.text }}>net withdrawals</span> from Centralized Exchanges in - the last 3 Days. Possible buy pressure + the last 3 Days. Possible buy pressure. </span> ), }, @@ -335,7 +335,7 @@ const tokenTypeList: { <span> <Trans> Tokens with funding rates on centralized exchanges. Positive funding rate suggests traders are bullish & - vice-versa for negative rates. Extreme rates may result in leveraged positions getting squeezed + vice-versa for negative rates. Extreme rates may result in leveraged positions getting squeezed. </Trans> </span> ), @@ -346,7 +346,7 @@ const tokenTypeList: { icon: 'coin-bag', tooltip: theme => ( <span> - Tokens with the <span style={{ color: theme.text }}>highest 24H trading volume</span> + Tokens with the <span style={{ color: theme.text }}>highest 24H trading volume</span>. </span> ), }, @@ -357,7 +357,7 @@ const tokenTypeList: { tooltip: theme => ( <span> Tokens that could be <span style={{ color: theme.text }}>trending</span> in the near future. Trending indicates - interest in a token - it doesnt imply bullishness or bearishness + interest in a token - it doesnt imply bullishness or bearishness. </span> ), }, @@ -367,7 +367,7 @@ const tokenTypeList: { icon: 'flame', tooltip: theme => ( <span> - Tokens that are <span style={{ color: theme.text }}>currently trending</span> in the market + Tokens that are <span style={{ color: theme.text }}>currently trending</span> in the market. </span> ), }, @@ -780,10 +780,10 @@ export default function TokenAnalysisList() { <> <TradeInfoWrapper> <Text fontSize="12px" color={theme.subText} fontWeight={500}> - <Trans>KyberScore will be updated every 4 hour</Trans> + <Trans>KyberScore will be updated every 4 hour.</Trans> </Text> <Text fontSize="12px" color={theme.subText} fontStyle="italic"> - <Trans>Disclaimer: The information here should not be treated as any form of financial advice</Trans> + <Trans>Disclaimer: The information here should not be treated as any form of financial advice.</Trans> </Text> </TradeInfoWrapper> <ListTokenWrapper> diff --git a/src/pages/TrueSightV2/utils/index.tsx b/src/pages/TrueSightV2/utils/index.tsx index aee47844d3..55733e8df2 100644 --- a/src/pages/TrueSightV2/utils/index.tsx +++ b/src/pages/TrueSightV2/utils/index.tsx @@ -96,12 +96,12 @@ export const isReferrerCodeInvalid = (error: any) => error?.data?.code === 4040 const mapErr: { [key: number]: string } = { 4004: t`Verification code is wrong or expired. Please try again.`, - 4040: t`Referral code is invalid`, - 4090: t`This email address is already registered`, + 4040: t`Referral code is invalid.`, + 4090: t`This email address is already registered.`, } export const getErrorMessage = (error: any) => { const code = error?.data?.code - return mapErr[code] || t`Error occur, please try again` + return mapErr[code] || t`Error occur, please try again.` } export const navigateToSwapPage = ({ address, chain }: { address?: string; chain?: string }) => { diff --git a/src/pages/Verify/VerifyCodeModal/index.tsx b/src/pages/Verify/VerifyCodeModal/index.tsx index 453ca5acbb..165af4e560 100644 --- a/src/pages/Verify/VerifyCodeModal/index.tsx +++ b/src/pages/Verify/VerifyCodeModal/index.tsx @@ -116,7 +116,7 @@ export default function VerifyCodeModal({ withNotify && notify({ title: t`Email Verified`, - summary: t`Your email has been verified successfully! You can now customize your preferences`, + summary: t`Your email has been verified successfully! You can now customize your preferences.`, type: NotificationType.SUCCESS, }) }, @@ -185,7 +185,7 @@ export default function VerifyCodeModal({ const header = ( <RowBetween> <Text color={theme.text} fontWeight={'500'} fontSize={'20'}> - {verifySuccess ? verifySuccessTitle : <Trans>Verify your email address</Trans>} + {verifySuccess ? verifySuccessTitle : <Trans>Verify your email address.</Trans>} </Text> <X color={theme.text} cursor="pointer" onClick={onDismiss} /> </RowBetween> diff --git a/src/state/swap/hooks.ts b/src/state/swap/hooks.ts index 82c463eed4..6cb3ecf258 100644 --- a/src/state/swap/hooks.ts +++ b/src/state/swap/hooks.ts @@ -268,7 +268,7 @@ function useDerivedSwapInfo(): { ] if (balanceIn && amountIn && balanceIn.lessThan(amountIn)) { - inputError = t`Insufficient ${amountIn.currency.symbol} balance` + inputError = t`Insufficient ${amountIn.currency.symbol} balance.` } return { diff --git a/src/state/swap/useAggregator.ts b/src/state/swap/useAggregator.ts index a525033342..522d348e9a 100644 --- a/src/state/swap/useAggregator.ts +++ b/src/state/swap/useAggregator.ts @@ -110,7 +110,7 @@ export function useDerivedSwapInfoV2(): { const [balanceIn, amountIn] = [currencyBalances[Field.INPUT], slippageAdjustedAmounts?.[Field.INPUT]] if (amountIn && ((balanceIn && balanceIn.lessThan(amountIn)) || !balanceIn)) { - inputError = t`Insufficient ${amountIn.currency.symbol} balance` + inputError = t`Insufficient ${amountIn.currency.symbol} balance.` } return useMemo( diff --git a/src/utils/errorMessage.ts b/src/utils/errorMessage.ts index 67a6820d8e..e431f4feb8 100644 --- a/src/utils/errorMessage.ts +++ b/src/utils/errorMessage.ts @@ -6,7 +6,7 @@ import { capitalizeFirstLetter } from 'utils/string' function parseKnownPattern(text: string): string | undefined { const error = text?.toLowerCase?.() || '' - if (!error || error.includes('router: expired')) return 'An error occurred. Refresh the page and try again ' + if (!error || error.includes('router: expired')) return 'An error occurred. Refresh the page and try again.' if ( error.includes('mintotalamountout') || @@ -15,7 +15,7 @@ function parseKnownPattern(text: string): string | undefined { error.includes('code=call_exception') || error.includes('none of the calls threw an error') ) - return t`An error occurred. Try refreshing the price rate or increase max slippage` + return t`An error occurred. Try refreshing the price rate or increase max slippage.` if ( error.includes('insufficient funds for intrinsic transaction cost') || @@ -30,14 +30,14 @@ function parseKnownPattern(text: string): string | undefined { if (didUserReject(error)) return t`User rejected the transaction.` // classic/elastic remove liquidity error - if (error.includes('insufficient')) return t`An error occurred. Please try increasing max slippage` + if (error.includes('insufficient')) return t`An error occurred. Please try increasing max slippage.` - if (error.includes('permit')) return t`An error occurred. Invalid Permit Signature` + if (error.includes('permit')) return t`An error occurred. Invalid Permit Signature.` if (error.includes('burn amount exceeds balance')) - return t`Insufficient fee rewards amount, try to remove your liquidity without claiming fees for now and you can try to claim it later` + return t`Insufficient fee rewards amount, try to remove your liquidity without claiming fees for now and you can try to claim it later.` - if (error === '[object Object]') return t`Something went wrong. Please try again` + if (error === '[object Object]') return t`Something went wrong. Please try again.` return undefined } diff --git a/src/utils/sendTransaction.ts b/src/utils/sendTransaction.ts index df864c118b..971ab0c7dc 100644 --- a/src/utils/sendTransaction.ts +++ b/src/utils/sendTransaction.ts @@ -172,10 +172,10 @@ export async function sendSolanaTransactions( } catch (error) { console.error({ error }) if (error?.message?.endsWith('0x1771')) { - throw new Error(t`An error occurred. Try refreshing the price rate or increase max slippage`) + throw new Error(t`An error occurred. Try refreshing the price rate or increase max slippage.`) } else if (/0x[0-9a-f]+$/.test(error.message)) { const errorCode = error.message.split(' ').slice(-1)[0] - throw new Error(t`Error encountered. We haven’t send the transaction yet. Error code ${errorCode}`) + throw new Error(t`Error encountered. We haven’t send the transaction yet. Error code ${errorCode}.`) } throw new Error(t`Error encountered. We haven’t send the transaction yet.`) }