mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
Remove isRequired from description and onGuideClick, and fix naming on l10n strings.
This commit is contained in:
parent
485d3903e0
commit
012321721c
4 changed files with 8 additions and 9 deletions
src
components
views
|
@ -67,7 +67,7 @@ var TTTModal = React.createClass({
|
|||
href={this.props.tutorialLoc}
|
||||
className="button white mod-ttt-item"
|
||||
>
|
||||
<FormattedMessage id="ttt.tryIt" />
|
||||
<FormattedMessage id="tile.tryIt" />
|
||||
</a>
|
||||
</FlexRow>
|
||||
<FlexRow as="li" className="mod-ttt-item">
|
||||
|
|
|
@ -9,10 +9,10 @@ var TTTTile = React.createClass({
|
|||
type: 'TTTTile',
|
||||
propTypes: {
|
||||
title: React.PropTypes.string.isRequired,
|
||||
description: React.PropTypes.string.isRequired,
|
||||
description: React.PropTypes.string,
|
||||
thumbUrl: React.PropTypes.string.isRequired,
|
||||
tutorialLoc: React.PropTypes.string.isRequired,
|
||||
onGuideClick: React.PropTypes.func.isRequired
|
||||
onGuideClick: React.PropTypes.func
|
||||
},
|
||||
render: function () {
|
||||
var classes = classNames(
|
||||
|
@ -27,7 +27,7 @@ var TTTTile = React.createClass({
|
|||
<img className="ttt-tile-image-img" src={this.props.thumbUrl} alt="" />
|
||||
<div className="ttt-tile-image-try">
|
||||
<div className="button mod-ttt-tile-image-try-button">
|
||||
<FormattedMessage id="ttt.tryIt" />
|
||||
<FormattedMessage id="tile.tryIt" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"tile.tutorial": "Microworld",
|
||||
"ttt.tryIt": "Try It",
|
||||
"ttt.open": "Open",
|
||||
"tile.tryIt": "Try It",
|
||||
"microworlds.title": "Scratch Microworlds",
|
||||
"microworlds.subTitle": "You can get started with Scratch in a variety of ways. Click a picture to try one.",
|
||||
"microworlds.HipHopTitle": "Hip Hop Dance",
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"tile.tutorial": "Tutorial",
|
||||
"tile.guides": "See Cards and Guides",
|
||||
"tile.tryIt": "Try It",
|
||||
"ttt.placeholder": "Placeholder text",
|
||||
"ttt.title": "Things to Try",
|
||||
"ttt.subTitle": "You can get started with Scratch in a variety of ways. Click a picture to try the <strong>Tutorial</strong>. You can also download a set of <strong>Activity Cards</strong> and <strong>Educator Guide</strong> for each theme.",
|
||||
"tile.tutorial": "Tutorial",
|
||||
"tile.guides": "See Cards and Guides",
|
||||
"ttt.tutorialTitle": "Tutorial",
|
||||
"ttt.tutorialSubtitle": "Find out how to make this project using a step-by-step tutorial in Scratch.",
|
||||
"ttt.activityTitle": "Activity Cards",
|
||||
"ttt.activitySubtitle": "Explore new coding ideas using this set of illustrated cards you can print out.",
|
||||
"ttt.educatorTitle": "Educator Guide",
|
||||
"ttt.educatorSubtitle": "Use this educator guide to plan and lead a one-hour Scratch workshop.",
|
||||
"ttt.tryIt": "Try It",
|
||||
"ttt.open": "Open",
|
||||
"ttt.MakeItFlyTitle": "Make It Fly",
|
||||
"ttt.MakeItFlyDescription": "Animate the Scratch Cat, The Powerpuff Girls, or even a taco!",
|
||||
|
|
Loading…
Add table
Reference in a new issue