Fix gh-1634: Fix Localization on Developers Page (#1636)

* Add ScratchJr Section Localization

* Add Localization for ScratchJr and "Projects"

* Update ScratchJr String / Remove ScratchJr Title

* Readd "ScratchJr"
This commit is contained in:
The_Grits 2017-11-07 17:30:11 -05:00 committed by Matthew Taylor
parent 58ddff4001
commit 39c6915884
2 changed files with 3 additions and 8 deletions

View file

@ -64,7 +64,7 @@ var Developers = React.createClass({
<div className="inner">
<section id="projects">
<span className="nav-spacer"></span>
<h2>Projects</h2>
<h2><FormattedMessage id='developers.projectsTitle' /></h2>
<p className="intro">
<FormattedMessage id='developers.projectsIntro' />
</p>
@ -94,13 +94,7 @@ var Developers = React.createClass({
<div className="body-copy column">
<h3>ScratchJr</h3>
<p>
ScratchJr is an introductory programming language{' '}
that enables young children (ages 5-7) to create{' '}
their own interactive stories and games. For more{' '}
information, visit the{' '}
<a href="https://www.scratchjr.org/">ScratchJr website</a>{' '}
or access the code and documentation{' '}
<a href="https://github.com/LLK/scratchjr">here</a>.
<FormattedHTMLMessage id='developers.jrBody' />
</p>
</div>
</FlexRow>

View file

@ -14,6 +14,7 @@
"developers.wwwTitle": "Scratch WWW",
"developers.wwwIntro": "Scratch-www is a standalone web client for the Scratch Community, built using React and Redux. Access the code and documentation through Github <a href=\"https://github.com/LLK/scratch-www\">here</a>.",
"developers.principlesIntro": "We created Scratch to empower young people to think creatively, reason systematically, and work collaboratively. We are guided by a set of <b>Learning Principles</b> and <b>Design Principles</b> that we hope you will follow as you develop new tools and technologies with Scratch Blocks.",
"developers.jrBody": "ScratchJr is an introductory programming language that enables young children (ages 5-7) to create their own interactive stories and games. For more information, visit the <a href=\"https://www.scratchjr.org/\">ScratchJr website</a> or access the code and documentation <a href=\"https://github.com/LLK/scratchjr\">on GitHub</a>.",
"developers.learningPrinciplesTitle": "Learning Principles",
"developers.learningPrinciplesProjectsBody": "People learn best when they are actively working on projects — generating new ideas, designing prototypes, making improvements and creating final products.",
"developers.learningPrinciplesPassionTitle": "Passion",