From ce854f7b8008814319672a3bec340b9548a76447 Mon Sep 17 00:00:00 2001 From: picklesrus Date: Mon, 10 Dec 2018 18:35:17 -0500 Subject: [PATCH] more faq. More messages --- src/views/download/download.jsx | 17 ++++++++++++++--- src/views/download/l10n.json | 6 +++++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/views/download/download.jsx b/src/views/download/download.jsx index 365299ab1..6d4fe5ece 100644 --- a/src/views/download/download.jsx +++ b/src/views/download/download.jsx @@ -1,4 +1,3 @@ -const FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage; const FormattedMessage = require('react-intl').FormattedMessage; const injectIntl = require('react-intl').injectIntl; const intlShape = require('react-intl').intlShape; @@ -173,10 +172,22 @@ class Download extends React.Component {

- + { this.state.OS === OS_ENUM.WINDOWS ? + : + + }

- + + + + ) + }} + />

diff --git a/src/views/download/l10n.json b/src/views/download/l10n.json index f9047ab48..7055fa2b8 100644 --- a/src/views/download/l10n.json +++ b/src/views/download/l10n.json @@ -15,5 +15,9 @@ "download.olderVersionsTitle" : "Older Versions", "download.olderVersions": "Looking for an older version of Scratch Desktop?", "download.scratch1-4Desktop" : "Scratch 1.4 Desktop", - "download.scratch2Desktop" : "Scratch 2.0 Desktop" + "download.scratch2Desktop" : "Scratch 2.0 Desktop", + "download.cannotAccessMacStore" : "What if I can't access the Mac App Store?", + "download.cannotAccessWindowsStore" : "What if I can't access the Microsoft Store?", + "download.appstoreAccessAnswer" : "You can download Scratch Desktop directly to your computer by {directDownloadLink}.", + "download.directDownloadText" : "clicking here" }