Skip to content

Commit 67a8323

Browse files
committed
add translations in index.tsx - staking page
1 parent 22a887d commit 67a8323

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/intl/en/page-staking.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@
158158
"page-staking-launchpad-widget-p3": "To make things easier, check out some of the tools and guides below that can help you alongside the Staking Launchpad to get your clients set up with ease.",
159159
"page-staking-launchpad-widget-link": "Software tools and guide",
160160
"page-staking-products-get-started": "Get started",
161+
"page-staking-dropdown-staking-options": "Staking Options",
162+
"page-staking-dropdown-staking-options-alt": "Staking options dropdown menu",
161163
"page-staking-stats-box-metric-1": "Total ETH staked",
162164
"page-staking-stats-box-metric-2": "Total validators",
163165
"page-staking-stats-box-metric-3": "Current APR",

src/pages/staking/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ const StakingPage = ({
204204
]
205205

206206
const dropdownLinks: ButtonDropdownList = {
207-
text: "Staking Options",
208-
ariaLabel: "Staking options dropdown menu",
207+
text: t("page-staking-dropdown-staking-options"),
208+
ariaLabel: t("page-staking-dropdown-staking-options-alt"),
209209
items: [
210210
{
211211
text: t("page-staking-dropdown-home"),
@@ -244,7 +244,7 @@ const StakingPage = ({
244244
},
245245
},
246246
{
247-
text: "page-staking-dropdown-withdrawals",
247+
text: t("page-staking-dropdown-withdrawals"),
248248
to: "/staking/withdrawals/",
249249
matomo: {
250250
eventCategory: `Staking dropdown`,
@@ -253,7 +253,7 @@ const StakingPage = ({
253253
},
254254
},
255255
{
256-
text: "page-staking-dropdown-dvt",
256+
text: t("page-staking-dropdown-dvt"),
257257
to: "/staking/dvt/",
258258
matomo: {
259259
eventCategory: `Staking dropdown`,

0 commit comments

Comments
 (0)