From e0026d5c44a849d64f1a5a3441f2fd4a87a6bdb6 Mon Sep 17 00:00:00 2001 From: The_Grits Date: Wed, 5 Oct 2016 00:05:03 -0400 Subject: [PATCH 1/3] Part 1 --- src/views/developers/l10n.json | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/views/developers/l10n.json b/src/views/developers/l10n.json index 0967ef424..3fa1052b9 100644 --- a/src/views/developers/l10n.json +++ b/src/views/developers/l10n.json @@ -1 +1,23 @@ -{} +{ + "developers.title": "Scratch for Developers", + "developers.intro": "On this page, you’ll find information about open source projects created and maintained by the Scratch Team at MIT, as well as our thoughts on best practices for designing learning experiences for children.", + "developers.projectsTitle": "Projects", + "developers.principlesTitle": "Principles", + "developers.donateTitle": "Donate", + "developers.partnersTitle": "Partners", + "developers.faqTitle": "FAQ", + "developers.projectsIntro": "The following projects are open source and available for any purpose.", + "developers.scratchBlocksTitle": "Scratch Blocks", + "developers.scratchBlocksIntro": "Scratch Blocks is a new development project for the next generation of graphical programming blocks, based on a collaboration between Google and MIT’s Scratch Team — building on Google’s Blockly technology and informed by the Scratch Team’s expertise in developing creative learning tools for young people. Scratch Blocks will provide a framework for building programming blocks in both vertical (text-based) and horizontal (icon-based) formats. You can access the code (currently as a developer-preview) and documentation here.", + "developers.scratchBlocksBody": "This first release includes code for Scratch’s Horizontal Grammar. Looking ahead, we plan to release additional code including but not limited to the Vertical Grammar (currently used by Scratch), a new Rendering Engine to support sprites and graphic effects, and a new Audio Engine to support creation with sound and music.", + "developers.wwwTitle": "Scratch WWW", + "developers.wwwIntro": "Scratch-www is a standalone web client for the Scratch Community, built using React and Redux. Access the code and documentation here.", + "developers.principlesIntro": "We created Scratch to empower young people to think creatively, reason systematically, and work collaboratively. We are guided by a set of Learning Principles and Design Principles that we hope you will follow as you develop new tools and technologies with Scratch Blocks.", + "developers.learningPrinciplesTitle": "Learning Principles", + "developers.learningPrinciplesProjectsTitle": "Projects", + "developers.learningPrinciplesProjectsBody": "People learn best when they are actively working on projects — generating new ideas, designing prototypes, making improvements and creating final products.", + "developers.learningPrinciplesPassionTitle": "Passion", + "developers.learningPrinciplesPassionBody": "When people focus on things they care about, they work longer and harder, persist in the face of challenges, and learn more in the process.", + "developers.learningPrinciplesPeersTitle": "Peers", + "developers.learningPrinciplesPeersBody": "Learning flourishes as a social activity, with people sharing ideas, collaborating on projects, and building on one another's work.", +} From 009b6eb75a568c5f6f305d103154b326a1667054 Mon Sep 17 00:00:00 2001 From: The_Grits Date: Wed, 5 Oct 2016 23:03:23 -0400 Subject: [PATCH 2/3] Finish Localization and Implementation --- src/views/developers/developers.jsx | 163 ++++++++++------------------ src/views/developers/l10n.json | 27 +++++ 2 files changed, 82 insertions(+), 108 deletions(-) diff --git a/src/views/developers/developers.jsx b/src/views/developers/developers.jsx index 4733bcd35..ff764985e 100644 --- a/src/views/developers/developers.jsx +++ b/src/views/developers/developers.jsx @@ -1,6 +1,9 @@ var React = require('react'); var render = require('../../lib/render.jsx'); +var FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage; +var FormattedMessage = require('react-intl').FormattedMessage; + var Page = require('../../components/page/www/page.jsx'); var FlexRow = require('../../components/flex-row/flex-row.jsx'); var SubNavigation = require('../../components/subnavigation/subnavigation.jsx'); @@ -15,38 +18,36 @@ var Developers = React.createClass({
-

Scratch for Developers

+

- On this page, you’ll find information about open source projects created and maintained{' '} - by the Scratch Team at MIT, as well{' '} - as our thoughts on best practices for designing learning experiences for children. +

  • - Projects +
  • - Principles +
  • - Donate +
  • - Partners +
  • - FAQ +
  • @@ -58,40 +59,25 @@ var Developers = React.createClass({

    Projects

    - The following projects are open source and available for any purpose. +

    -

    Scratch Blocks

    +

    - Scratch Blocks is a new development project for the next generation of{' '} - graphical programming blocks, based on a collaboration between Google and MIT’s{' '} - Scratch Team — building on Google’s{' '} - Blockly technology{' '} - and informed by the Scratch Team’s expertise in developing creative{' '} - learning tools for young people. Scratch Blocks will provide a framework{' '} - for building programming blocks in both vertical (text-based) and horizontal{' '} - (icon-based) formats. You can access the code (currently as a{' '} - developer-preview) and documentation{' '} - here. +

    - This first release includes code for Scratch’s Horizontal Grammar. Looking{' '} - ahead, we plan to release additional code including but not limited to the{' '} - Vertical Grammar (currently used by Scratch), a new Rendering Engine to support{' '} - sprites and graphic effects, and a new Audio Engine to support creation with{' '} - sound and music. +

    blocks
    -

    Scratch WWW

    +

    - Scratch-www is a standalone web client for the Scratch Community, built{' '} - using React and Redux. Access the code and documentation{' '} - here. +

    @@ -101,38 +87,30 @@ var Developers = React.createClass({
    -

    Principles

    +

    - We created Scratch to empower young people to think creatively, reason systematically,{' '} - and work collaboratively. We are guided by a set of Learning Principles and{' '} - Design Principles that we hope you will follow as you develop new tools and{' '} - technologies with Scratch Blocks. +

    -

    Learning Principles

    +

    -
    Projects
    +
    - People learn best when they are actively working on projects — generating{' '} - new ideas, designing prototypes, making improvements and creating final{' '} - products. +
    -
    Passion
    +
    - When people focus on things they care about, they work longer and harder,{' '} - persist in the face of challenges, and learn more in the process. +
    -
    Peers
    +
    - Learning flourishes as a social activity, with people sharing ideas,{' '} - collaborating on projects, and building on one another's work. +
    -
    Play
    +
    - Learning involves playful experimentation — trying new things, tinkering{' '} - with materials, testing boundaries, taking risks, iterating again and again. +
    @@ -140,33 +118,23 @@ var Developers = React.createClass({
    -

    Design Principles

    +

    -
    Low Floor & Wide Walls
    +
    - In order to encourage a varied and diverse set of interactions, we{' '} - explicitly include elements and features that are easy for kids to{' '} - understand (low floor), but general enough to support diverse uses (wide walls). +
    -
    Make it as Simple as Possible — And Maybe Even Simpler
    +
    - Despite the common drive to add more features to software products, we{' '} - have found that reducing the number of features often improves the user{' '} - experience. What initially seems like a constraint or limitation can foster{' '} - new forms of creativity. +
    -
    Many Paths, Many Styles
    +
    - Many math and science activities have traditionally been biased towards{' '} - specific populations. By paying special attention to creating accessible{' '} - and appealing technologies, we are working to close the gap. +
    -
    Design for Tinkerability
    +
    - We believe that the learning process is inherently iterative. Tinkerers{' '} - start by exploring and experimenting, then revising and refining their{' '} - goals and creations. To support this style of interaction, we design{' '} - our interfaces to encourage quick experimentation and rapid cycles of iteration. +
    @@ -175,27 +143,23 @@ var Developers = React.createClass({
    -

    Partners

    +

    - The creation and maintenance of this open source code would not be possible without{' '} - generous technical and financial support from our partners: +

    @@ -211,61 +175,44 @@ var Developers = React.createClass({
    -

    FAQ

    +

    -

    Where can I learn more about Scratch?

    +

    - Scratch is a free programming language and online community where young{' '} - people can create their own interactive stories, games, and animations.{' '} - Scratch is a project of the{' '} - Lifelong Kindergarten{' '} - Group at the MIT Media Lab.{' '} - You can learn more about Scratch{' '} - here. +

    -

    Are there rules to using this code in my application?

    +

    - You may use this code in accordance with the license which governs{' '} - each project. We also strongly encourage you to consider the learning{' '} - and design principles (above, on this page) when building creative{' '} - learning experiences for kids of all ages. +

    - Am I allowed to use the name "Scratch Blocks" in the description of my{' '} - app and other public messaging? +

    - If you wish, you can publicly state that your application is powered by{' '} - Scratch Blocks. If you do so, we would also encourage you to link back to{' '} - the code repository. +

    -

    Are you releasing more code and when?

    +

    - We plan to open source additional code relating to the Scratch programming{' '} - language over the next few months. Keep an eye on this page! +

    -

    What’s the difference between Blockly and Scratch Blocks?

    +

    - Scratch Blocks builds upon the Blockly code base, and is specifically{' '} - designed with our principles in mind to support creative learning experiences. +

    -

    I’d like to collaborate. How do I get in touch?

    +

    - You can reach us over on github or{' '} - you can send an email to{' '} - help@scratch.mit.edu.{' '} - We look forward to hearing from you! +

    diff --git a/src/views/developers/l10n.json b/src/views/developers/l10n.json index 3fa1052b9..c870c6c39 100644 --- a/src/views/developers/l10n.json +++ b/src/views/developers/l10n.json @@ -20,4 +20,31 @@ "developers.learningPrinciplesPassionBody": "When people focus on things they care about, they work longer and harder, persist in the face of challenges, and learn more in the process.", "developers.learningPrinciplesPeersTitle": "Peers", "developers.learningPrinciplesPeersBody": "Learning flourishes as a social activity, with people sharing ideas, collaborating on projects, and building on one another's work.", + "developers.learningPrinciplesPlayTitle": "Play", + "developers.learningPrinciplesPlayBody": "Learning involves playful experimentation — trying new things, tinkering with materials, testing boundaries, taking risks, iterating again and again.", + "developers.designPrinciplesTitle": "Design Principles", + "developers.designPrinciplesRoomTitle": "Low Floor & Wide Walls", + "developers.designPrinciplesRoomBody": "In order to encourage a varied and diverse set of interactions, we explicitly include elements and features that are easy for kids to understand (low floor), but general enough to support diverse uses (wide walls).", + "developers.designPrinciplesSimpleTitle": "Make it as Simple as Possible — And Maybe Even Simpler", + "developers.designPrinciplesSimpleBody": "Despite the common drive to add more features to software products, we have found that reducing the number of features often improves the user experience. What initially seems like a constraint or limitation can foster new forms of creativity.", + "developers.designPrinciplesGlobalTitle": "Many Paths, Many Styles", + "developers.designPrinciplesGlobalBody": "Many math and science activities have traditionally been biased towards specific populations. By paying special attention to creating accessible and appealing technologies, we are working to close the gap.", + "developers.designPrinciplesTinkerTitle": "Design for Tinkerability", + "developers.designPrinciplesTinkerBody": "We believe that the learning process is inherently iterative. Tinkerers start by exploring and experimenting, then revising and refining their goals and creations. To support this style of interaction, we design our interfaces to encourage quick experimentation and rapid cycles of iteration.", + "developers.donateIntro": "We are pleased to provide Scratch free of charge. If you enjoy using Scratch, please consider making a donation to support Scratch. Donations of any size are appreciated.", + "developers.donateBody": "Your donation to the Scratch Foundation will be used to support future development of Scratch software and the Scratch website.", + "developers.donateThanks": "Thanks for supporting Scratch!", + "developers.partnersIntro": "The creation and maintenance of this open source code would not be possible without generous technical and financial support from our partners:", + "developers.faqAboutTitle": "Where can I learn more about Scratch?", + "developers.faqAboutBody": "Scratch is a free programming language and online community where young people can create their own interactive stories, games, and animations. Scratch is a project of the Lifelong Kindergarten Group at the MIT Media Lab. You can learn more about Scratch here.", + "developers.faqRulesTitle": "Are there rules to using this code in my application?", + "developers.faqRulesBody": "You may use this code in accordance with the license which governs each project. We also strongly encourage you to consider the learning and design principles (above, on this page) when building creative learning experiences for kids of all ages.", + "developers.faqNameTitle": "Am I allowed to use the name \"Scratch Blocks\" in the description of my app and other public messaging?", + "developers.faqNameBody": "If you wish, you can publicly state that your application is powered by Scratch Blocks. If you do so, we would also encourage you to link back to the code repository.", + "developers.faqReleasesTitle": "Are you releasing more code and when?", + "developers.faqReleasesBody": "We plan to open source additional code relating to the Scratch programming language over the next few months. Keep an eye on this page!", + "developers.faqDifferencesTitle": "What’s the difference between Blockly and Scratch Blocks?", + "developers.faqDifferencesBody": "Scratch Blocks builds upon the Blockly code base, and is specifically designed with our principles in mind to support creative learning experiences.", + "developers.faqCollabTitle": "I’d like to collaborate. How do I get in touch?", + "developers.faqCollabBody": "You can reach us over on github or you can send an email to help@scratch.mit.edu. We look forward to hearing from you!" } From 8de70e8882e07c32fb7c464daf72871fd60b799f Mon Sep 17 00:00:00 2001 From: The_Grits Date: Tue, 11 Oct 2016 20:38:01 -0400 Subject: [PATCH 3/3] FormattedHTMLMessage fix --- src/views/developers/developers.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/developers/developers.jsx b/src/views/developers/developers.jsx index ff764985e..ada25dd6f 100644 --- a/src/views/developers/developers.jsx +++ b/src/views/developers/developers.jsx @@ -20,7 +20,7 @@ var Developers = React.createClass({

    - +

    @@ -89,7 +89,7 @@ var Developers = React.createClass({

    - +