Merge pull request #2474 from picklesrus/download-content-updates

Download content updates
This commit is contained in:
Benjamin Wheeler 2018-12-14 12:58:32 -05:00 committed by GitHub
commit 92ac2786e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 48 additions and 25 deletions

View file

@ -52,7 +52,7 @@ class Download extends React.Component {
alt={this.props.intl.formatMessage({id: 'download.iconAltText'})} alt={this.props.intl.formatMessage({id: 'download.iconAltText'})}
className="icon" className="icon"
height="40" height="40"
src="/images/download/placeholder.png" src="/images/download/icon.png"
width="40" width="40"
/> />
<FormattedMessage id="download.title" /> <FormattedMessage id="download.title" />
@ -107,14 +107,18 @@ class Download extends React.Component {
number={1} number={1}
> >
<span className="step-description"> <span className="step-description">
<FormattedMessage id="download.downloadAndInstall" /> <FormattedMessage id="download.downloadScratchDesktop" />
</span> </span>
<div className="downloads-container"> <div className="downloads-container">
<a <a
className="download-button" className="download-button"
href="https://beta.scratch.mit.edu/" href={
this.state.OS === OS_ENUM.WINDOWS ?
'https://downloads.scratch.mit.edu/desktop/Scratch%20Desktop%20Setup%201.0.0.exe' :
'https://downloads.scratch.mit.edu/desktop/Scratch%20Desktop-1.0.0.dmg'
}
> >
<span>Download Scratch Desktop</span> <FormattedMessage id="download.downloadButton" />
</a> </a>
</div> </div>
</Step> </Step>
@ -135,9 +139,9 @@ class Download extends React.Component {
<img <img
alt="" alt=""
className="screenshot" className="screenshot"
src={`/images/scratchlink/${ src={`/images/download/${
this.state.OS === OS_ENUM.WINDOWS ? 'windows' : 'mac' this.state.OS === OS_ENUM.WINDOWS ? 'windows' : 'mac'
}-toolbar.png`} }-install.png`}
/> />
</div> </div>
</Step> </Step>
@ -151,19 +155,35 @@ class Download extends React.Component {
</h2> </h2>
<h3 className="faq-question"> <h3 className="faq-question">
<FormattedMessage id="download.whenSupportLinux" /> <FormattedMessage id="download.canIUseScratchLink" />
</h3> </h3>
<p> <p>
<FormattedMessage id="download.supportLinuxAnswer" /> <FormattedMessage id="download.canIUseScratchLinkAnswer" />
</p>
<h3 className="faq-question">
<FormattedMessage id="download.desktopAndBrowser" />
</h3>
<p>
<FormattedMessage id="download.yesAnswer" />
</p>
<h3 className="faq-question">
<FormattedMessage id="download.canIShare" />
</h3>
<p>
<FormattedMessage id="download.canIShareAnswer" />
</p> </p>
<h3 className="faq-question"> <h3 className="faq-question">
<FormattedMessage id="download.supportChromeOS" /> <FormattedMessage id="download.supportChromeOS" />
</h3> </h3>
<p> <p>
<FormattedMessage id="download.supportChromeOSAnswer" /> <FormattedMessage id="download.supportChromeOSAnswer" />
</p> </p>
<h3 className="faq-question">
<FormattedMessage id="download.whenSupportLinux" />
</h3>
<p>
<FormattedMessage id="download.supportLinuxAnswer" />
</p>
</FlexRow> </FlexRow>
</div> </div>
<div className="download-section blue"> <div className="download-section blue">

View file

@ -22,7 +22,7 @@
border-radius: 8px; border-radius: 8px;
background-color: $ui-blue; background-color: $ui-blue;
cursor: pointer; cursor: pointer;
padding: 1rem; padding: 1rem 2rem;
color: $ui-white; color: $ui-white;
font-size: 1rem; font-size: 1rem;
} }
@ -117,10 +117,8 @@
text-align: center; text-align: center;
} }
.store-badge { .step-image {
display: block; height: 14rem;
width: 150px;
height: 80px;
} }
} }

View file

@ -1,25 +1,30 @@
{ {
"download.title": "Scratch 3.0 Desktop", "download.title": "Scratch Desktop",
"download.intro": "You can install the Scratch 3.0 editor to work on projects without an internet connection. This version will work on Windows and MacOS.", "download.intro": "You can install the Scratch Desktop editor to work on projects without an internet connection. This version will work on Windows and MacOS.",
"download.requirements": "Requirements", "download.requirements": "Requirements",
"download.imgAltDownloadIllustration" : "Scratch 3.0 Desktop screenshot", "download.imgAltDownloadIllustration" : "Scratch 3.0 Desktop screenshot",
"download.installHeaderTitle": "Install Scratch Desktop", "download.installHeaderTitle": "Install Scratch Desktop",
"download.downloadAndInstall": "Download and install Scratch Desktop", "download.downloadScratchDesktop": "Download Scratch Desktop",
"download.downloadButton": "Download",
"download.troubleshootingTitle": "FAQ", "download.troubleshootingTitle": "FAQ",
"download.startScratchDesktop": "Start Scratch Desktop", "download.startScratchDesktop": "Start Scratch Desktop",
"download.howDoIInstall": "How do I install Scratch Desktop?", "download.howDoIInstall": "How do I install Scratch Desktop?",
"download.whenSupportLinux": "When will you have Scratch Desktop for Linux?", "download.whenSupportLinux": "When will you have Scratch Desktop for Linux?",
"download.supportLinuxAnswer" : "Scratch Desktop on Linux is currently not supported. We are working with partners and the open-source community to determine if there is a way we can support Linux in the future. Stay tuned!", "download.supportLinuxAnswer" : "Scratch Desktop on Linux is currently not supported. We are working with partners and the open-source community to determine if there is a way we can support Linux in the future. Stay tuned!",
"download.supportChromeOS" : "When will you have Scratch Desktop for ChromeOS?", "download.supportChromeOS" : "When will you have Scratch Desktop for Chromebooks?",
"download.supportChromeOSAnswer": "Scratch Desktop for ChromeOS is not yet available. We are working on it and expect to release later in 2019.", "download.supportChromeOSAnswer": "Scratch Desktop for Chromebooks is not yet available. We are working on it and expect to release later in 2019.",
"download.olderVersionsTitle" : "Older Versions", "download.olderVersionsTitle" : "Older Versions",
"download.olderVersions": "Looking for an older version of Scratch Desktop?", "download.olderVersions": "Looking for the Scratch 2.0 Offline Editor or Scratch 1.4?",
"download.scratch1-4Desktop" : "Scratch 1.4 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.cannotAccessMacStore" : "What if I can't access the Mac App Store?",
"download.cannotAccessWindowsStore" : "What if I can't access the Microsoft 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.macMoveToApplications" : "Open the .dmg file. Move Scratch Desktop into Applications.",
"download.directDownloadText" : "clicking here", "download.winMoveToApplications" : "Run the .exe file.",
"download.macMoveToApplications" : "Move Scratch Desktop to your Applications folder and start Scratch Desktop.", "download.canIUseScratchLink" : "Can I use Scratch Link to connect to extensions?",
"download.winMoveToApplications" : "Run it." "download.canIUseScratchLinkAnswer" : "Yes. However, you will need an Internet connection to use Scratch Link.",
"download.desktopAndBrowser": "Can I use Scratch Desktop and also have Scratch open in the browser?",
"download.yesAnswer" : "Yes.",
"download.canIShare": "Can I share from Scratch Desktop?",
"download.canIShareAnswer": "This isnt supported currently. For now, you can save a project from Scratch Desktop, upload it to your Scratch account, and share it there. In a later version we will add the ability to upload to your Scratch account directly in Scratch Desktop."
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB