Skip to content

Commit

Permalink
Merge pull request #2203 from ethereum/eth2-fixes
Browse files Browse the repository at this point in the history
Translation fixes
  • Loading branch information
samajammin committed Jan 6, 2021
2 parents 8b5a772 + 3796587 commit e3c9556
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Eth2Diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ const Eth2Diagram = () => {
isAboveOverlay={modalState === DOCKING}
onClick={() => handleClick(DOCKING)}
>
<Translation id="page-eth2-diagram-shard" />
<Translation id="page-eth2-beacon-chain-title" />
<ShardBox>
<Translation id="page-eth2-diagram-shard" />
</ShardBox>
Expand Down
3 changes: 2 additions & 1 deletion src/components/TutorialMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const TutorialMetadata = ({ tutorial, data }) => {
)}
<DataContainer>
<Emoji size={1} mr={`0.5em`} text=":stopwatch:" />
{tutorial.timeToRead} minute read
{tutorial.timeToRead}{" "}
<Translation id="comp-tutorial-metadata-minute-read" />
</DataContainer>
</HorizontalContainer>
<HorizontalContainer>
Expand Down
2 changes: 2 additions & 0 deletions src/intl/en/page-developers-tutorials.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"comp-tutorial-metadata-minute-read": "minute read",
"page-tutorial-listing-policy-intro": "Before you submit a tutorial please read our listing policy.",
"comp-tutorial-metadata-tip-author": "Tip author",
"page-tutorial-listing-policy": "article listing policy",
"page-tutorial-new-github": "New to GitHub?",
Expand Down
2 changes: 1 addition & 1 deletion src/intl/en/page-eth2-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"page-eth2-get-involved-2": "Get involved",
"page-eth2-head-to": "Head to",
"page-eth2-help": "Want to help with Eth2?",
"page-eth2-help-desc": "There’s plenty of opportunities to weigh in on the Eth2 upgrades, help with testing, and even earn rewards in the process.",
"page-eth2-help-desc": "There are plenty of opportunities to weigh in on the Eth2 upgrades, help with testing, and even earn rewards.",
"page-eth2-index-staking": "Staking is here",
"page-eth2-index-staking-desc": "Key to the Eth2 upgrades is the introduction of staking. If you want to use your ETH to help secure the Ethereum network, make sure you follow these steps.",
"page-eth2-index-staking-learn": "Learn about staking",
Expand Down
3 changes: 1 addition & 2 deletions src/pages/developers/tutorials.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,10 @@ const TutorialsPage = ({ data }) => {
<Translation id="page-tutorial-submit-btn" />
</ModalTitle>
<p>
<Translation id="page-tutorial-submit-btn" />{" "}
<Translation id="page-tutorial-listing-policy-intro" />{" "}
<Link to="https://ethereum.org/contributing/adding-articles/">
<Translation id="page-tutorial-listing-policy" />
</Link>
.
</p>
<p>
<Translation id="page-tutorial-submit-tutorial" />
Expand Down

0 comments on commit e3c9556

Please sign in to comment.