From d1f675374ba11280d203349dca273fcf7fb6b5cc Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Tue, 24 May 2016 17:30:48 -0400 Subject: [PATCH] Localize banner --- src/components/cn-banner/cn-banner.jsx | 20 +++++++++++++++----- src/l10n.json | 5 +++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/components/cn-banner/cn-banner.jsx b/src/components/cn-banner/cn-banner.jsx index 0e3b8a2fb..bf79ec849 100644 --- a/src/components/cn-banner/cn-banner.jsx +++ b/src/components/cn-banner/cn-banner.jsx @@ -1,4 +1,5 @@ var classNames = require('classnames'); +var FormattedMessage = require('react-intl').FormattedMessage; var React = require('react'); var TitleBanner = require('../title-banner/title-banner.jsx'); @@ -21,14 +22,23 @@ var CNBanner = React.createClass({
-

Make It Fly

+

+ +

- With Scratch, you can program anything to fly. Animate the Scratch Cat, a cartoon character, - or even a taco! +

- - + + + + + +
diff --git a/src/l10n.json b/src/l10n.json index 370387c18..801cf1873 100644 --- a/src/l10n.json +++ b/src/l10n.json @@ -58,6 +58,11 @@ "login.forgotPassword": "Forgot Password?", "navigation.signOut": "Sign out", + + "cnbanner.makeItFly": "Make It Fly", + "cnbanner.seeExamples": "See examples", + "cnbanner.makeYourOwn": "Make your own", + "cnbanner.flyDescription": "With Scratch, you can program anything to fly. Animate the Scratch Cat, a cartoon character, or even a taco!", "parents.FaqAgeRangeA": "While Scratch is primarily designed for 8 to 16 year olds, it is also used by people of all ages, including younger children with their parents.", "parents.FaqAgeRangeQ": "What is the age range for Scratch?",