Skip to content

Commit 28b244a

Browse files
authored
Merge pull request #13306 from ethereum/setupTranslations
Setup missing translations on /layer-2 and /stablecoins pages
2 parents fa390d0 + bf02ec7 commit 28b244a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/components/StablecoinsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const StablecoinsTable = ({
100100
{url && (
101101
<Td textAlign="end">
102102
<ButtonLink to={url} size="sm">
103-
Go to {name}
103+
{t('page-stablecoins-go-to')} {name}
104104
</ButtonLink>
105105
</Td>
106106
)}

src/intl/en/page-layer-2.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,7 @@
134134
"layer-2-ecosystem-portal": "Ecosystem Portal",
135135
"layer-2-token-lists": "Token Lists",
136136
"layer-2-explore": "Explore",
137-
"page-dapps-ready-button": "Go"
137+
"page-dapps-ready-button": "Go",
138+
"layer-2-information": "Information",
139+
"layer-2-wallet-managers": "Wallet managers"
138140
}

src/intl/en/page-stablecoins.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,6 @@
163163
"makerdao-logo": "MakerDao logo",
164164
"matcha-logo": "Matcha logo",
165165
"summerfi-logo": "Summer.fi logo",
166-
"uniswap-logo": "Uniswap logo"
166+
"uniswap-logo": "Uniswap logo",
167+
"page-stablecoins-go-to": "Go to"
167168
}

src/pages/layer-2.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,14 +615,14 @@ const Layer2Page = () => {
615615
<TwoColumnContent>
616616
<Box flex="50%">
617617
<ProductList
618-
category="Information"
618+
category={t('layer-2-information')}
619619
content={toolsData.information}
620620
actionLabel={t("page-dapps-ready-button")}
621621
/>
622622
</Box>
623623
<Box flex="50%">
624624
<ProductList
625-
category="Wallet managers"
625+
category={t('layer-2-wallet-managers')}
626626
content={toolsData.walletManagers}
627627
actionLabel={t("page-dapps-ready-button")}
628628
/>

0 commit comments

Comments
 (0)