more faq. More messages

This commit is contained in:
picklesrus 2018-12-10 18:35:17 -05:00
parent d7a678ad8c
commit ce854f7b80
2 changed files with 19 additions and 4 deletions

View file

@ -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 {
<h3 className="faq-title">
<FormattedMessage id="download.cannotAccessMacStore" />
{ this.state.OS === OS_ENUM.WINDOWS ?
<FormattedMessage id="download.cannotAccessWindowsStore" /> :
<FormattedMessage id="download.cannotAccessMacStore" />
}
</h3>
<p>
<FormattedMessage id="download.question2" />
<FormattedMessage
id="download.appstoreAccessAnswer"
values={{
directDownloadLink: (
<a href="">
<FormattedMessage id="download.directDownloadText" />
</a>
)
}}
/>
</p>
</FlexRow>
</div>

View file

@ -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"
}