Skip to content

Commit

Permalink
fix: typo (#9144)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->


<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves text consistency and readability in various components
related to notifications, staking, and affiliate program overview.

### Detailed summary
- Updated text for consistency in notifications settings
- Improved clarity in staking withdrawal message
- Enhanced wording in affiliate program overview for better
understanding

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
Woody810 authored Feb 25, 2024
1 parent f96f32d commit ab43675
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const SettingsModal: React.FC<React.PropsWithChildren<InjectedModalProps>> = ({
<Text>{t('Allow notifications')}</Text>
<QuestionHelper
text={t(
'Enables the web notifications feature. if turned off you will be automatically unsubscribed and the notification bell will not be visible',
'Enables the web notifications feature. If turned off you will be automatically unsubscribed and the notification bell will not be visible',
)}
placement="top"
ml="4px"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const Question = () => {
</StyledListText>
<StyledListText ml="16px" color="textSubtle">
{t(
'Pairs must include at least 1 major token (i.e., BNB, BTC, BUSD, ETH, MATIC, ARB, DAI, USDT and/or USDC',
'Pairs must include at least 1 major token (i.e., BNB, BTC, BUSD, ETH, MATIC, ARB, DAI, USDT and/or USDC)',
)}
</StyledListText>
</FoldableText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function WithdrawalMessage({ lockPeriod }: { lockPeriod: number }
/>
<Text fontSize="14px" color="textSubtle">
{t(
'Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ',
'Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount is unstaked before locked period is up. ',
{ days: floor(lockPeriod / 3) },
)}
<Link
Expand Down
6 changes: 3 additions & 3 deletions packages/localization/src/config/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"Stake Periods": "Stake Periods",
"Staked Amount": "Staked Amount",
"Click here for more information": "Click here for more information",
"Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ": "Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ",
"Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount is unstaked before locked period is up. ": "Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount is unstaked before locked period is up. ",
"Your funds have been restaked in the pool": "Your funds have been restaked in the pool",
"This collection has been inactived for a while. Trade at your own risk.": "This collection has been inactived for a while. Trade at your own risk.",
"Info": "Info",
Expand Down Expand Up @@ -2179,7 +2179,7 @@
"Proven track record of creating quality content related to crypto and especially DeFi": "Proven track record of creating quality content related to crypto and especially DeFi",
"Strong understanding of PancakeSwap and our ecosystem": "Strong understanding of PancakeSwap and our ecosystem",
"You earn commissions from most trading fees paid by your invitees for a limited period of time": "You earn commissions from most trading fees paid by your invitees for a limited period of time",
"Pairs must include at least 1 major token (i.e., BNB, BTC, BUSD, ETH, MATIC, ARB, DAI, USDT and/or USDC": "Pairs must include at least 1 major token (i.e., BNB, BTC, BUSD, ETH, MATIC, ARB, DAI, USDT and/or USDC",
"Pairs must include at least 1 major token (i.e., BNB, BTC, BUSD, ETH, MATIC, ARB, DAI, USDT and/or USDC)": "Pairs must include at least 1 major token (i.e., BNB, BTC, BUSD, ETH, MATIC, ARB, DAI, USDT and/or USDC)",
"How will I receive my commissions and how often will I be paid?": "How will I receive my commissions and how often will I be paid?",
"How do I track my referrals and commissions?": "How do I track my referrals and commissions?",
"Affiliates can login to the affiliate dashboard and view your referral and commission information": "Affiliates can login to the affiliate dashboard and view your referral and commission information",
Expand Down Expand Up @@ -3014,7 +3014,7 @@
"ARCHIVED MESSAGES": "ARCHIVED MESSAGES",
"Archive all read": "Archive all read",
"Allow notifications": "Allow notifications",
"Enables the web notifications feature. if turned off you will be automatically unsubscribed and the notification bell will not be visible": "Enables the web notifications feature. if turned off you will be automatically unsubscribed and the notification bell will not be visible",
"Enables the web notifications feature. If turned off you will be automatically unsubscribed and the notification bell will not be visible": "Enables the web notifications feature. If turned off you will be automatically unsubscribed and the notification bell will not be visible",
"Show only the notifications that belong to your wallet or LP positions": "Show only the notifications that belong to your wallet or LP positions",
"Important only": "Important only",
"help": "help",
Expand Down

0 comments on commit ab43675

Please sign in to comment.