diff --git a/src/components/thumbnail/thumbnail.jsx b/src/components/thumbnail/thumbnail.jsx index b2bb234c5..f85dc18c4 100644 --- a/src/components/thumbnail/thumbnail.jsx +++ b/src/components/thumbnail/thumbnail.jsx @@ -1,5 +1,6 @@ -var React = require('react'); var classNames = require('classnames'); +var FormattedMessage = require('react-intl').FormattedMessage; +var React = require('react'); require('./thumbnail.scss'); @@ -32,7 +33,10 @@ var Thumbnail = React.createClass({ if (this.props.creator) { extra.push(
- by {this.props.creator} + {' '} + + {this.props.creator} +
); } diff --git a/src/l10n.json b/src/l10n.json index 42bd8edb7..5d3ba20e2 100644 --- a/src/l10n.json +++ b/src/l10n.json @@ -154,5 +154,7 @@ "registration.waitForApprovalDescription": "You can log into your Scratch Account now, but the features specific to Teachers are not yet available. Your information is being reviewed. Please be patient, the approval process can take up to 24 hours. You will receive an email indicating your account has been upgraded once your account has been approved.", "registration.welcomeStepDescription": "You have successfully set up a Scratch account! You are now a member of the class:", "registration.welcomeStepPrompt": "To get started, click on the button below.", - "registration.welcomeStepTitle": "Hurray! Welcome to Scratch!" + "registration.welcomeStepTitle": "Hurray! Welcome to Scratch!", + + "thumbnail.by": "by" } diff --git a/src/views/explore/explore.jsx b/src/views/explore/explore.jsx index 761d6292e..2149be580 100644 --- a/src/views/explore/explore.jsx +++ b/src/views/explore/explore.jsx @@ -111,10 +111,12 @@ var Explore = injectIntl(React.createClass({ ); }, render: function () { + var formatMessage = this.props.intl.formatMessage; + return (
- + {this.getBubble('all')} {this.getBubble('animations')}