Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: Typos in texts #11177

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/__tests__/gagues/gauges.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { getAllGauges } from '@pancakeswap/gauges'
import { getViemClients } from 'utils/viem'
import { describe, it } from 'vitest'

describe('get all guages', () => {
it('contract gaguges and cms gauges should be match', async () => {
describe('get all gauges', () => {
it('contract gauges and cms gauges should be match', async () => {
const gauges = await getAllGauges(
getViemClients({
chainId: ChainId.BSC,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,9 @@ function RoutingSettings() {
<Flex flexDirection="column">
<Text>PancakeSwap X</Text>
<Text fontSize="12px" color="textSubtle" maxWidth={360} mt={10}>
When applicable, aggregates liquidity to provide better price, more token options, and gas free swaps.
{t(
'When applicable, aggregates liquidity to provide better price, more token options, and gas free swaps.',
)}
</Text>
</Flex>
<PancakeToggle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const TotalApy: React.FC<React.PropsWithChildren<TotalApyProps>> = ({ veC
🔹{t('Total APR')}
</Text>
<Text ml="4px" as="span">
{t('is the sum of veCAKE Pool APR, Revenue sharing APR and Birbes APY from Guages voting.')}
{t('is the sum of veCAKE Pool APR, Revenue sharing APR and Bribes APY from Gauges voting.')}
</Text>
</Box>
<Link mt="8px" external href="https://docs.pancakeswap.finance/products/vecake/faq#why-there-are-multiple-aprs">
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/views/CakeStaking/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const CakeStaking = () => {
<QuestionHelper
size="20px"
text={t(
'Boost your PancakeSwap farming APR by up to 2.5x. Aquire more veCAKE to receive a higher boost.',
'Boost your PancakeSwap farming APR by up to 2.5x. Acquire more veCAKE to receive a higher boost.',
)}
placement="top"
ml="4px"
Expand Down Expand Up @@ -154,7 +154,7 @@ const CakeStaking = () => {
<QuestionHelper
size="20px"
text={t(
'Use your veCAKE as your IFO Public Sales commit credits. Aquire more veCAKE to commit more in the next PancakeSwap IFOs.',
'Use your veCAKE as your IFO Public Sales commit credits. Acquire more veCAKE to commit more in the next PancakeSwap IFOs.',
)}
placement="top"
ml="4px"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function useHandleWithdrawSubmission({

const throwCustomError = useCallback(() => {
toastInfo(
t('Withdawal approval is pending'),
t('Withdrawal approval is pending'),
<>
{t('Please come back to check later at a certain amount of time')}
<Link
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/views/Notifications/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const PancakeNotifications: {
return {
title: t('Welcome to PancakeSwap Notifications'),
body: t(
'You are now susbscribed and will receive alerts and updates on PCS features. If you dont want to receive notifications you can unsubscribe at any time.',
'You are now subscribed and will receive alerts and updates on PCS features. If you dont want to receive notifications you can unsubscribe at any time.',
),
icon: `https://pancakeswap.finance/logo.png`,
type: SubsctiptionType.Alerts,
Expand Down
10 changes: 5 additions & 5 deletions packages/localization/src/config/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"The difference between the market price and your price due to trade size.": "The difference between the market price and your price due to trade size.",
"Liquidity Provider Fee": "Liquidity Provider Fee",
"Import Token": "Import Token",
"Withdawal approval is pending": "Withdawal approval is pending",
"Withdrawal approval is pending": "Withdrawal approval is pending",
"Please come back to check later at a certain amount of time": "Please come back to check later at a certain amount of time",
"Output will be sent to %recipient%": "Output will be sent to %recipient%",
"Price Updated": "Price Updated",
Expand Down Expand Up @@ -2814,9 +2814,9 @@
"CAKE Pool migrated position has unlocked. Go to the pool page to withdraw, add CAKE into veCAKE to increase your veCAKE benefits.": "CAKE Pool migrated position has unlocked. Go to the pool page to withdraw, add CAKE into veCAKE to increase your veCAKE benefits.",
"Claim freshly cooked CAKE rewards weekly on Thursday from veCAKE gauge emission as well as trading revenue sharing.": "Claim freshly cooked CAKE rewards weekly on Thursday from veCAKE gauge emission as well as trading revenue sharing.",
"Use your veCAKE to vote on your favourite farms, position managers, reward pools, and any CAKE emission products, increase their allocations, and get more CAKE rewards.": "Use your veCAKE to vote on your favourite farms, position managers, reward pools, and any CAKE emission products, increase their allocations, and get more CAKE rewards.",
"Boost your PancakeSwap farming APR by up to 2.5x. Aquire more veCAKE to receive a higher boost.": "Boost your PancakeSwap farming APR by up to 2.5x. Aquire more veCAKE to receive a higher boost.",
"Boost your PancakeSwap farming APR by up to 2.5x. Acquire more veCAKE to receive a higher boost.": "Boost your PancakeSwap farming APR by up to 2.5x. Acquire more veCAKE to receive a higher boost.",
"Use veCAKE as your Snapshot voting power to vote on governance proposals. Including important protocol decisions, and adding new farming gauges.": "Use veCAKE as your Snapshot voting power to vote on governance proposals. Including important protocol decisions, and adding new farming gauges.",
"Use your veCAKE as your IFO Public Sales commit credits. Aquire more veCAKE to commit more in the next PancakeSwap IFOs.": "Use your veCAKE as your IFO Public Sales commit credits. Aquire more veCAKE to commit more in the next PancakeSwap IFOs.",
"Use your veCAKE as your IFO Public Sales commit credits. Acquire more veCAKE to commit more in the next PancakeSwap IFOs.": "Use your veCAKE as your IFO Public Sales commit credits. Acquire more veCAKE to commit more in the next PancakeSwap IFOs.",
"The total number of veCAKE votes being casted.": "The total number of veCAKE votes being casted.",
"The total amount of CAKE rewards to distribute to all the gauges according to the final vote results.": "The total amount of CAKE rewards to distribute to all the gauges according to the final vote results.",
"Votes": "Votes",
Expand Down Expand Up @@ -3153,7 +3153,7 @@
"Stake CAKE to get veCAKE, earn up to %apr%% APR from veCAKE pool and revenue sharing.": "Stake CAKE to get veCAKE, earn up to %apr%% APR from veCAKE pool and revenue sharing.",
"Unlock other benefits like voting incentives, yield boosting, IFO, and so much more...": "Unlock other benefits like voting incentives, yield boosting, IFO, and so much more...",
"Go to veCAKE staking": "Go to veCAKE staking",
"is the sum of veCAKE Pool APR, Revenue sharing APR and Birbes APY from Guages voting.": "is the sum of veCAKE Pool APR, Revenue sharing APR and Birbes APY from Guages voting.",
"is the sum of veCAKE Pool APR, Revenue sharing APR and Bribes APY from Gauges voting.": "is the sum of veCAKE Pool APR, Revenue sharing APR and Bribes APY from Gauges voting.",
"Start Earning": "Start Earning",
"Reward/Day": "Reward/Day",
"Reward Per Day": "Reward Per Day",
Expand Down Expand Up @@ -3387,7 +3387,7 @@
"to enable update notifications": "to enable update notifications",
"By Subscribing to PancakeSwap Notifications you will be able to receive updates on your buy crypto purchases": "By Subscribing to PancakeSwap Notifications you will be able to receive updates on your buy crypto purchases",
"Welcome to PancakeSwap Notifications": "Welcome to PancakeSwap Notifications",
"You are now susbscribed and will receive alerts and updates on PCS features. If you dont want to receive notifications you can unsubscribe at any time.": "You are now susbscribed and will receive alerts and updates on PCS features. If you dont want to receive notifications you can unsubscribe at any time.",
"You are now subscribed and will receive alerts and updates on PCS features. If you dont want to receive notifications you can unsubscribe at any time.": "You are now subscribed and will receive alerts and updates on PCS features. If you dont want to receive notifications you can unsubscribe at any time.",
"Congratulations! You are now subscribed": "Congratulations! You are now subscribed",
"To see your notifications, click the bell icon on the top right hand corner": "To see your notifications, click the bell icon on the top right hand corner",
"Authorize notifications from PancakeSwap": "Authorize notifications from PancakeSwap",
Expand Down
Loading