Skip to content

Commit 395d032

Browse files
committed
fix: staking considerations dropdown intl strings
1 parent 28708cf commit 395d032

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/hooks/useStakingConsiderations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ export const useStakingConsiderations = ({
389389
pageData[activeIndex]
390390

391391
const dropdownLinks: ButtonDropdownList = {
392-
text: "Staking Considerations",
393-
ariaLabel: "Dropdown menu for staking considerations",
392+
text: t("page-staking-considerations-dropdown-text"),
393+
ariaLabel: t("page-staking-considerations-dropdown-aria-label"),
394394
items: pageData.map(({ title, matomo }) => ({
395395
text: title,
396396
callback: setActiveIndex,

src/intl/en/page-staking.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989
"page-staking-comparison-saas-pools": "These are similar in that you're generally relying on someone else to run the validator client, but unlike SaaS, pooled staking allows you to participate with smaller amounts of ETH. If you're looking to stake with less than 32 ETH, consider checking these out.",
9090
"page-staking-comparison-pools-solo": "Pooled staking has a significantly lower barrier to entry when compared to home staking, but comes with additional risk by delegating all node operations to a third-party, and with a fee. Home staking gives full sovereignty and control over the choices that go into choosing a staking setup. Stakers never have to hand over their keys, and they earn full rewards without any middlemen taking a cut.",
9191
"page-staking-comparison-pools-saas": "These are similar in that stakers do not run the validator software themselves, but unlike pooling options, SaaS requires a full 32 ETH deposit to activate a validator. Rewards accumulate to the staker, and usually involve a monthly fee or other stake to use the service. If you'd prefer your own validator keys and are looking to stake at least 32 ETH, using a SaaS provider may be a good option for you.",
92+
"page-staking-considerations-dropdown-text": "Staking Considerations",
93+
"page-staking-considerations-dropdown-aria-label": "Dropdown menu for staking considerations",
9294
"page-staking-considerations-solo-1-title": "Open source",
9395
"page-staking-considerations-solo-1-description": "Essential code is 100% open source and available to the public to fork and use",
9496
"page-staking-considerations-solo-1-warning": "Closed source",

0 commit comments

Comments
 (0)