Merge pull request #3429 from chrisgarrity/chrome-content

Changes to various pages for the Chrome/Android launch
This commit is contained in:
chrisgarrity 2019-10-02 17:01:43 -07:00 committed by GitHub
commit 62015b8b2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 106 additions and 51 deletions

View file

@ -44,7 +44,7 @@ const ExtensionRequirements = props => (
alt=""
src="svgs/extensions/android.svg"
/>
Android 5.0+
Android 6.0+
</span>
</React.Fragment>
)}

View file

@ -135,7 +135,7 @@ const Footer = props => (
</dd>
<dd>
<a href="/download">
<FormattedMessage id="general.offlineEditor" />
<FormattedMessage id="general.download" />
</a>
</dd>
<dd>

View file

@ -46,11 +46,16 @@ const InstallScratch = ({
>
<span className="step-description">
<React.Fragment>
{isDownloaded(currentOS) && (
{currentOS === OS_ENUM.WINDOWS && (
<FormattedMessage
id={CHROME_APP_RELEASED ? 'installScratch.downloadScratchAppGeneric' :
id={CHROME_APP_RELEASED ? 'installScratch.getScratchAppWindows' :
'installScratch.downloadScratchDesktop'}
/>
)}
{currentOS === OS_ENUM.MACOS && (
<FormattedMessage
id={CHROME_APP_RELEASED ? 'installScratch.getScratchAppMacOs' :
'installScratch.downloadScratchDesktop'}
values={{operatingsystem: currentOS}}
/>
)}
{isFromGooglePlay(currentOS) && (

View file

@ -66,7 +66,7 @@
"general.notRequired": "Not Required",
"general.okay": "Okay",
"general.other": "Other",
"general.offlineEditor": "Offline Editor",
"general.download": "Download",
"general.password": "Password",
"general.press": "Press",
"general.privacyPolicy": "Privacy Policy",
@ -137,12 +137,14 @@
"installScratch.or": "or",
"installScratch.directDownload": "Direct download",
"installScratch.desktopHeaderTitle": "Install Scratch Desktop",
"installScratch.appHeaderTitle": "Install Scratch for {operatingsystem}",
"installScratch.appHeaderTitle": "Install the Scratch app for {operatingsystem}",
"installScratch.downloadScratchDesktop": "Download Scratch Desktop",
"installScratch.downloadScratchAppGeneric": "Download Scratch for {operatingsystem}",
"installScratch.getScratchAppPlay": "Get Scratch on the Google Play Store",
"installScratch.getScratchAppPlay": "Get the Scratch app on the Google Play Store",
"installScratch.getScratchAppMacOs": "Get the Scratch app on the Mac App Store",
"installScratch.getScratchAppWindows": "Get the Scratch app on the Microsoft Store",
"installScratch.useScratchApp": "Open the Scratch app on your device.",
"installScratchLink.installHeaderTitle": "Install Scratch Link",
"installScratchLink.downloadAndInstall": "Download and install Scratch Link.",
"installScratchLink.startScratchLink": "Start Scratch Link and make sure it is running. It should appear in your toolbar.",

View file

@ -95,7 +95,7 @@ class Download extends React.Component {
alt=""
src="svgs/extensions/android.svg"
/>
Android 5.0+
Android 6.0+
</span>
</React.Fragment>
)}
@ -181,7 +181,17 @@ class Download extends React.Component {
<FormattedMessage id="download.troubleshootingTitle" />
</h2>
{isDownloaded(this.state.OS) && (
{CHROME_APP_RELEASED && (
<React.Fragment>
<h3 className="faq-question">
<FormattedMessage id="download.doIHaveToDownload" />
</h3>
<p>
<FormattedMessage id="download.doIHaveToDownloadAnswer" />
</p>
</React.Fragment>
)}
{!CHROME_APP_RELEASED && (
<React.Fragment>
<h3 className="faq-question">
<FormattedMessage id="download.canIUseScratchLink" />
@ -191,25 +201,29 @@ class Download extends React.Component {
</p>
</React.Fragment>
)}
{isFromGooglePlay(this.state.OS) && (
{CHROME_APP_RELEASED && (
<React.Fragment>
<h3 className="faq-question">
<FormattedMessage id="download.canIUseExtensions" />
<FormattedMessage id="download.howConnectHardwareDevices" />
</h3>
<p>
<FormattedMessage id="download.canIUseExtensionsAnswer" />
</p>
{isDownloaded(this.state.OS) && (
<p>
<FormattedMessage
id="download.howConnectHardwareDevicesAnswerLink"
values={{operatingsystem: this.state.OS}}
/>
</p>
)}
{isFromGooglePlay(this.state.OS) && (
<p>
<FormattedMessage
id="download.howConnectHardwareDevicesAnswerApp"
values={{operatingsystem: this.state.OS}}
/>
</p>
)}
</React.Fragment>
)}
<h3 className="faq-question">
{isFromGooglePlay(this.state.OS) ?
<FormattedMessage id="download.appAndBrowser" /> :
<FormattedMessage id="download.desktopAndBrowser" />
}
</h3>
<p>
<FormattedMessage id="download.yesAnswer" />
</p>
{isDownloaded(this.state.OS) && (CHROME_APP_RELEASED ? (
<React.Fragment>
<h3 className="faq-question">
@ -248,6 +262,25 @@ class Download extends React.Component {
</p>
</React.Fragment>
)}
<h3 className="faq-question">
{CHROME_APP_RELEASED ?
<FormattedMessage id="download.appAndBrowser" /> :
<FormattedMessage id="download.desktopAndBrowser" />
}
</h3>
<p>
<FormattedMessage id="download.yesAnswer" />
</p>
{CHROME_APP_RELEASED && (
<React.Fragment>
<h3 className="faq-question">
<FormattedMessage id="download.onPhone" />
</h3>
<p>
<FormattedMessage id="download.onPhoneAnswer" />
</p>
</React.Fragment>
)}
{!CHROME_APP_RELEASED && (
<React.Fragment>
<h3 className="faq-question">
@ -259,10 +292,16 @@ class Download extends React.Component {
</React.Fragment>
)}
<h3 className="faq-question">
<FormattedMessage id="download.whenSupportLinux" />
{CHROME_APP_RELEASED ?
<FormattedMessage id="download.whenSupportLinuxApp" /> :
<FormattedMessage id="download.whenSupportLinux" />
}
</h3>
<p>
<FormattedMessage id="download.supportLinuxAnswer" />
{CHROME_APP_RELEASED ?
<FormattedMessage id="download.whenSupportLinuxAppAnswer" /> :
<FormattedMessage id="download.supportLinuxAnswer" />
}
</p>
</FlexRow>
</div>

View file

@ -56,7 +56,7 @@
.download-info {
padding-right: $cols1;
max-width: $cols6 + ($gutter / $em);
max-width: $cols7 + ($gutter / $em);
align-items: flex-start;
.download-copy {
@ -110,7 +110,7 @@
.download-image {
width: 100%;
max-width: $cols6;
max-width: $cols5;
img {
max-width: 100%;

View file

@ -1,35 +1,44 @@
{
"download.title": "Scratch Desktop",
"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.appTitle": "Download Scratch",
"download.appIntro": "You can install Scratch for free to work on projects without an internet connection.",
"download.appTitle": "Download the Scratch App",
"download.appIntro": "Would you like to create and save Scratch projects without an internet connection? Download the free Scratch app.",
"download.requirements": "Requirements",
"download.imgAltDownloadIllustration" : "Scratch 3.0 Desktop screenshot",
"download.troubleshootingTitle": "FAQ",
"download.startScratchDesktop": "Start Scratch Desktop",
"download.howDoIInstall": "How do I install Scratch Desktop?",
"download.whenSupportLinuxApp": "When will you have the Scratch app available 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.whenSupportLinuxAppAnswer" : "The Scratch app is currently not supported on Linux. 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 Chromebooks?",
"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.olderVersions": "Looking for earlier Scratch Offline Editors?",
"download.olderVersions": "Looking for an earlier version of Scratch?",
"download.scratch1-4Desktop" : "Scratch 1.4",
"download.scratch2Desktop" : "Scratch 2.0 Offline Editor",
"download.cannotAccessMacStore" : "What if I can't access the Mac App Store?",
"download.cannotAccessWindowsStore" : "What if I can't access the Microsoft Store?",
"download.macMoveToApplications" : "Open the .dmg file. Move Scratch Desktop into Applications.",
"download.winMoveToApplications" : "Run the .exe file.",
"download.doIHaveToDownload" : "Do I have to download an app to use Scratch?",
"download.doIHaveToDownloadAnswer" : "No. You can also use the Scratch project editor in any web browser on any device by going to scratch.mit.edu and clicking \"Create\".",
"download.canIUseScratchLink" : "Can I use Scratch Link to connect to extensions?",
"download.canIUseScratchLinkAnswer" : "Yes. However, you will need an Internet connection to use Scratch Link.",
"download.canIUseExtensions" : "Can I connect to hardware extensions?",
"download.canIUseExtensionsAnswer" : "Yes. With the Scratch app you can connect to extensions, and you do not need Scratch Link.",
"download.howConnectHardwareDevices" : "How do I connect the Scratch app to hardware devices?",
"download.howConnectHardwareDevicesAnswerLink" : "You will need to install and run Scratch Link in order to connect to hardware devices when using Scratch app for {operatingsystem}. You will also need an internet connection to use Scratch Link.",
"download.howConnectHardwareDevicesAnswerApp" : "With the Scratch app you can connect to hardware devices like the micro:bit or LEGO Boost. When using the Scratch app for {operatingsystem} you do not need Scratch Link.",
"download.desktopAndBrowser": "Can I use Scratch Desktop and also have Scratch open in the browser?",
"download.appAndBrowser": "Can I use the Scratch app and also have Scratch open in the browser?",
"download.yesAnswer" : "Yes.",
"download.onPhone": "Can I install Scratch on my Android phone?",
"download.onPhoneAnswer" : "No. The current version of Scratch for Android only works on tablets.",
"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.",
"download.canIShareApp": "Can I share from Scratch for {operatingsystem}?",
"download.canIShareAnswerPlayStore": "Yes. Click the 3-dots menu on a project in the lobby and select Share from the options. In addition to sharing by email you can sign in to your Scratch account and share the project on the Scratch Community.",
"download.canIShareAnswerDownloaded": "This isnt supported currently. For now, you can save a project from Scratch for {operatingsystem}, 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 for {operatingsystem}."
"download.canIShareApp": "Can I share to the online community from the Scratch app for {operatingsystem}?",
"download.canIShareAnswerPlayStore": "Yes. Click the 3-dots menu on a project in the lobby and select \"Share\" from the options. In addition to sharing by email, you can sign in to your Scratch account and share a project to the Scratch online community.",
"download.canIShareAnswerDownloaded": "Sharing directly to online community from the Scratch app for {operatingsystem} is not currently supported. For now, you can export a project from the Scratch app, then log onto the Scratch website, and upload and share your project there."
}

View file

@ -59,7 +59,7 @@ const Faq = injectIntl(props => (
<li><FormattedMessage
id="faq.requirementsNoteDesktop"
values={{downloadLink: (
<a href="/download"><FormattedMessage id="faq.scratchDesktop" /></a>
<a href="/download"><FormattedMessage id="faq.scratchApp" /></a>
)}}
/></li>
<li><FormattedMessage id="faq.requirementsNoteWebGL" /></li>
@ -69,7 +69,7 @@ const Faq = injectIntl(props => (
<dd><FormattedMessage
id="faq.offlineBody"
values={{downloadLink: (
<a href="/download"><FormattedMessage id="faq.scratchDesktop" /></a>
<a href="/download"><FormattedMessage id="faq.scratchApp" /></a>
)}}
/></dd>
@ -482,7 +482,7 @@ const Faq = injectIntl(props => (
id="faq.noInternetBody"
values={{downloadLink: (
<a href="/download">
<FormattedMessage id="faq.scratchDesktop" />
<FormattedMessage id="faq.scratchApp" />
</a>
)}}
/></dd>
@ -523,7 +523,7 @@ const Faq = injectIntl(props => (
id="faq.lawComplianceBody2"
values={{downloadLink: (
<a href="/download">
<FormattedMessage id="faq.scratchDesktop" />
<FormattedMessage id="faq.scratchApp" />
</a>
)}}
/>

View file

@ -30,11 +30,11 @@
"faq.requirementsTabletSafari":"Mobile Safari (11+)",
"faq.requirementsNote":"Note:",
"faq.requirementsNoteDesktop":"If your computer doesnt meet these requirements, you can try the {downloadLink} editor (see next item in FAQ). ",
"faq.scratchDesktop":"Scratch Desktop",
"faq.scratchApp":"Scratch app",
"faq.requirementsNoteWebGL":"If you encounter a WebGL error, try a different browser.",
"faq.requirementsNoteTablets":"On tablets, there is currently not a way to use \"key pressed\" blocks or right-click context menus.",
"faq.offlineTitle":"Do you have a downloadable version so I can create and view projects offline?",
"faq.offlineBody":"The Scratch Desktop editor allows you to create Scratch projects without an internet connection. You can download {downloadLink} from the website. This was previously called the Scratch Offline editor.",
"faq.offlineBody":"The Scratch app allows you to create Scratch projects without an internet connection. You can download the {downloadLink} from the Scratch website or the app store for your device. (This was previously called the \"Scratch Offline Editor\").",
"faq.uploadOldTitle":"Can I still upload projects created with older versions of Scratch to the website?",
"faq.uploadOldBody":"Yes: You can share or upload projects made with earlier versions of Scratch, and they will be visible and playable. (However, you cant download projects made with or edited in later versions of Scratch and open them in earlier versions. For example, you cant open a Scratch 3.0 project in the desktop version of {scratch2Link}, because Scratch 2.0 doesnt know how to read the .sb3 project file format.)",
"faq.scratch2":"Scratch 2.0",
@ -182,9 +182,9 @@
"faq.howBody":"Scratch is used in hundreds of thousands of schools around the world, in many different subject areas (including language arts, science, history, math, and computer science). You can learn more about strategies and resources for using Scratch in schools and other learning environments (such as museums, libraries, and community centers) on our {educatorsLink}.",
"faq.educatorsLinkText":"Educators Page",
"faq.noInternetTitle":"Is there a way for students to use Scratch without an internet connection?",
"faq.noInternetBody":"Yes. {downloadLink} is a version of Scratch that runs on a desktop or laptop computer. Currently, Scratch Desktop is available for Mac and Windows machines.",
"faq.noInternetBody":"Yes. The {downloadLink} is a downloadable version of Scratch that can run on tablets, laptops, and desktops. Currently, the Scratch app is available on Windows, Mac, Chromebook, and Android devices.",
"faq.communityTitle":"Can I turn off the online community for my students?",
"faq.communityBody":"The Scratch online community provides a way for young people to share, collaborate, and learn with their peers within a moderated community governed by the Scratch {cgLink}. However, we understand that some educators prefer that their students not participate in an online community. These educators may wish to install Scratch Desktop, which runs offline and locally on a desktop or laptop computer.",
"faq.communityBody":"The Scratch online community provides a way for young people to share, collaborate, and learn with their peers within a moderated community governed by the Scratch {cgLink}. However, we understand that some educators prefer that their students not participate in an online community. These educators may wish to install the Scratch app, which runs offline and locally on a desktop or laptop computer.",
"faq.teacherAccountTitle":"What is a Scratch Teacher Account?",
"faq.teacherAccountBody":"A Scratch Teacher Account provides teachers and other educators with additional features to manage student participation on Scratch, including the ability to create student accounts, organize student projects into studios, and monitor student comments. For more information on Scratch Teacher Accounts, see the {eduFaqLink}.",
"faq.eduFaqLinkText":"Scratch Teacher Account FAQ",
@ -192,7 +192,7 @@
"faq.requestBody":"You may request a Scratch Teacher Account from the {educatorsLink} on Scratch. We ask for additional information during the registration process in order to verify your role as an educator.",
"faq.dataTitle":"What data does Scratch collect about students?",
"faq.dataBody":"When a student first signs up on Scratch, we ask for basic demographic data including gender, age (birth month and year), country, and an email address for verification. This data is used (in aggregated form) in research studies intended to improve our understanding of how people learn with Scratch. When an educator uses a Scratch Teacher Account to create student accounts in bulk, students are not required to provide an email address for account setup.",
"faq.lawComplianceTitle":"Is Scratch (online version) compliant with United States local and federal data privacy laws?",
"faq.lawComplianceTitle":"Is the online version of Scratch compliant with United States local and federal data privacy laws?",
"faq.lawComplianceBody1":"Scratch cares deeply about the privacy of students and of all individuals who use our platform. We have in place physical and electronic procedures to protect the information we collect on the Scratch website. Although we are not in a position to offer contractual guarantees with each entity that uses our free educational product, we are in compliance with all United States federal laws that are applicable to MIT and the Scratch Foundation, the organizations that have created and maintained Scratch. We encourage you to read the Scratch Privacy Policy for more information.",
"faq.lawComplianceBody2":"If you would like to build projects with Scratch without submitting any Personal Information to us, you can download {downloadLink}. Projects created in Scratch Desktop are not accessible by the Scratch Team, and using Scratch Desktop does not disclose any personally identifying information to Scratch unless you upload these projects to the Scratch online community."
"faq.lawComplianceBody2":"If you would like to build projects with Scratch without submitting any Personal Information to us, you can download the {downloadLink}. Projects created in the Scratch app are not accessible by the Scratch Team, and using the Scratch app does not disclose any personally identifying information to Scratch unless you upload these projects to the Scratch online community."
}

View file

@ -27,8 +27,8 @@
"ideas.tryTheTutorial": "Try the tutorial",
"ideas.codingCards": "Coding Cards",
"ideas.educatorGuide": "Educator Guide",
"ideas.desktopEditorHeader": "Scratch Desktop Download",
"ideas.desktopEditorBody": "To create projects without an Internet connection, you can <a href=\"/download\">download Scratch Desktop</a>.",
"ideas.desktopEditorHeader": "Scratch App Download",
"ideas.desktopEditorBody": "To create projects without an Internet connection, you can <a href=\"/download\">download the Scratch app</a>.",
"ideas.questionsHeader": "Questions",
"ideas.questionsBody": "Have more questions? See the <a href=\"/info/faq\">Frequently Asked Questions</a> or visit the <a href=\"/discuss/7/\">Help with Scripts Forum</a>.",

View file

@ -34,8 +34,8 @@
"parents.faqPrivacyPolicyBody": "To protect children's online privacy, we limit what we collect during the signup process, and what we make public on the website. We don't sell or rent account information to anyone. You can find out more about our {privacyPolicy} page.",
"parents.faqFAQLinkText": "frequently asked questions page",
"parents.faqOfflineTitle": "Is there a way to use Scratch without participating online?",
"parents.faqOfflineBody" : "The Scratch Desktop editor allows you to create Scratch projects without an internet connection. You can download {scratchDesktop} from the website. This was previously called the Scratch Offline editor.",
"parents.faqScratchDesktop": "Scratch Desktop",
"parents.faqOfflineBody" : "Yes, the Scratch app allows you to create Scratch projects without an internet connection. You can download the {scratchApp} from the Scratch website or the app store on your device.",
"parents.faqScratchApp": "Scratch app",
"parents.faqOffline2LinkText": "Scratch 2.0 offline editor",
"parents.faqOffline14LinkText": "Scratch 1.4 offline editor"
}

View file

@ -247,10 +247,10 @@ const Landing = () => (
<FormattedMessage
id="parents.faqOfflineBody"
values={{
scratchDesktop: (
scratchApp: (
<a href="/download">
<FormattedMessage
id="parents.faqScratchDesktop"
id="parents.faqScratchApp"
/>
</a>
)