Skip to content

Commit 7d325ad

Browse files
authored
Merge pull request #11688 from MrJithil/fix-11388
add translation in staking dropdown
2 parents 43cb95f + badfa7b commit 7d325ad

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/templates/staking.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,11 @@ const StakingPage = ({
343343
const { summaryPoints } = mdx.frontmatter
344344

345345
const dropdownLinks: ButtonDropdownList = {
346-
text: "Staking Options",
347-
ariaLabel: "Staking options dropdown menu",
346+
text: "page-staking-dropdown-staking-options",
347+
ariaLabel: "page-staking-dropdown-staking-options-alt",
348348
items: [
349349
{
350-
text: "Staking home",
350+
text: "page-staking-dropdown-home",
351351
to: "/staking/",
352352
matomo: {
353353
eventCategory: `Staking dropdown`,
@@ -356,7 +356,7 @@ const StakingPage = ({
356356
},
357357
},
358358
{
359-
text: "Solo staking",
359+
text: "page-staking-dropdown-solo",
360360
to: "/staking/solo/",
361361
matomo: {
362362
eventCategory: `Staking dropdown`,
@@ -365,7 +365,7 @@ const StakingPage = ({
365365
},
366366
},
367367
{
368-
text: "Staking as a service",
368+
text: "page-staking-dropdown-saas",
369369
to: "/staking/saas/",
370370
matomo: {
371371
eventCategory: `Staking dropdown`,
@@ -374,7 +374,7 @@ const StakingPage = ({
374374
},
375375
},
376376
{
377-
text: "Pooled staking",
377+
text: "page-staking-dropdown-pools",
378378
to: "/staking/pools/",
379379
matomo: {
380380
eventCategory: `Staking dropdown`,
@@ -383,7 +383,7 @@ const StakingPage = ({
383383
},
384384
},
385385
{
386-
text: "About withdrawals" as TranslationKey,
386+
text: "page-staking-dropdown-withdrawals",
387387
to: "/staking/withdrawals/",
388388
matomo: {
389389
eventCategory: `Staking dropdown`,

0 commit comments

Comments
 (0)