Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18n sync In & Up 03/28 #45524

Merged
merged 4 commits into from
Apr 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions dashboard/config/locales/blocks.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
en:
data:
blocks:
BadGuys_makeNewBadGuysSprite:
text: make new {ANIMATION_NAME} sprite at {LOCATION}
Dancelab_alternateMoves:
text: "{GROUP} alternate every {N} measures \nbetween {MOVE1} and {MOVE2}"
options:
Expand Down Expand Up @@ -1089,6 +1091,12 @@ en:
text: draw line {COLOR} {LOC1} {LOC2}
gamelab_edgesDisplace:
text: edges block {SPRITE} from moving
gamelab_everySeconds:
text: 'repeat every {N} {UNIT} '
options:
UNIT:
'"seconds"': seconds
'"frames"': frames
gamelab_followingTargets:
text: following targets
gamelab_getAllSprites:
Expand Down Expand Up @@ -1243,6 +1251,8 @@ en:
'"pop"': pop
'"rain"': rain
'"spiral"': spiral
gamelab_makeNewScaledSprite:
text: make new {ANIMATION_NAME} sprite at {LOCATION}
gamelab_makeNewSpriteAnon:
text: make new {ANIMATION_NAME} sprite at {LOCATION}
gamelab_makeNumSprites:
Expand Down
3 changes: 2 additions & 1 deletion i18n/locales/source/blockly-mooc/javalab.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@
"markIncomplete": "Mark Incomplete",
"missingFilenameError": "File name cannot be blank.",
"newFile": "New File",
"noMainMethod": "Error: your program does not contain a main method.",
"noCodeReviewComments": "Comments from your teacher will appear here.",
"noCodeReviewUntilStudentEditsCode": "You cannot leave comments until the project owner has modified the default code and clicked the \"Run\" button",
"noMainMethod": "Error: your program does not contain a main method.",
"noOtherReviews": "No other projects are ready for review yet.",
"noTestsFound": "No tests found.",
"onlyVisibleToYou": "teacher comments are only visible to you",
"programCompleted": "Program completed.",
"refresh": "Refresh",
Expand Down
3 changes: 3 additions & 0 deletions i18n/locales/source/blockly-mooc/turtle.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"drawATriangle": "draw a triangle",
"drawUpperWave": "draw upper wave",
"drawLowerWave": "draw lower wave",
"drawShape": "draw shape",
"drawShapeWithSideLength": "draw shape with side length",
"drawSticker": "draw sticker",
"drawStickerWithSize": "draw sticker with size",
"forward": "forward",
Expand Down Expand Up @@ -103,5 +105,6 @@
"turtleVisibilityTooltip": "Makes the artist visible or invisible.",
"widthTooltip": "Changes the width of the pencil.",
"withSize": "with size",
"withSideLength": "with side length",
"wrongColour": "Your picture is the wrong color. For this puzzle, it needs to be %1."
}
28 changes: 14 additions & 14 deletions i18n/locales/source/course_content/2021/express-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -2058,20 +2058,24 @@
}
},
"https://studio.code.org/s/express-2021/lessons/14/levels/9": {
"short_instructions": "Great job! You’ve gathered lots of resources and built a modest home. Now lay rail from the edge of the map to the door of your house.",
"authored_hints": {
"mc_13_a": "Use `place rail` to lay rail on the square you are standing in.",
"mc_13_b": "Use `repeat` loops to make your code shorter."
}
},
"https://studio.code.org/s/express-2021/lessons/14/levels/10": {
"short_instructions": "You’ll find the most valuable resources underground, but it can get dark. Place at least 2 torches and mine at least 2 coal.",
"authored_hints": {
"mc_9_a": "Are you facing the right way? The `destroy block` mines the block in front of you.",
"mc_9_b": "The black specks in the wall are coal! Use `destroy block` on these to mine the coal.",
"mc_9_c": "Use `place torch` to put a torch in the space where you are standing."
}
},
"https://studio.code.org/s/express-2021/lessons/14/levels/10": {
"short_instructions": "Walking into molten lava is a bad idea. Place cobblestone to create a bridge, then mine at least two of the iron blocks.",
"authored_hints": {
"mc_10_a": "The iron blocks are the speckled spaces behind the torch! How are you going to get over there?",
"mc_10_b": "When you are standing at the edge of the lava, use `place cobblestone ahead` to make a safe path. Then, you can walk over it!",
"mc_10_c": "Don't be afraid to make a mistake! Run the code to see what happens, even if you haven't solved the puzzle yet."
},
"callouts": {
"craft_what_is_iron": "Mine this iron!"
}
},
"https://studio.code.org/s/express-2021/lessons/14/levels/11": {
"short_instructions": "Lava is hiding beneath some of these blocks, which you'll need to cover up before moving forward. An \"if\" command will come in handy here. Add a \"move forward\" command in the correct place to mine these blocks.",
"long_instructions": "Lava is hiding beneath some of these blocks, which you'll need to cover up before moving forward. An `if` command will come in handy here. Add a `move forward` command in the correct place to mine these blocks.",
Expand All @@ -2093,14 +2097,10 @@
}
},
"https://studio.code.org/s/express-2021/lessons/14/levels/13": {
"short_instructions": "Walking into molten lava is a bad idea. Place cobblestone to create a bridge, then mine at least two of the iron blocks.",
"short_instructions": "Great job! You’ve gathered lots of resources and built a modest home. Now lay rail from the edge of the map to the door of your house.",
"authored_hints": {
"mc_10_a": "The iron blocks are the speckled spaces behind the torch! How are you going to get over there?",
"mc_10_b": "When you are standing at the edge of the lava, use `place cobblestone ahead` to make a safe path. Then, you can walk over it!",
"mc_10_c": "Don't be afraid to make a mistake! Run the code to see what happens, even if you haven't solved the puzzle yet."
},
"callouts": {
"craft_what_is_iron": "Mine this iron!"
"mc_13_a": "Use `place rail` to lay rail on the square you are standing in.",
"mc_13_b": "Use `repeat` loops to make your code shorter."
}
},
"https://studio.code.org/s/express-2021/lessons/14/levels/14": {
Expand Down
2 changes: 1 addition & 1 deletion i18n/locales/source/course_content/other/csd3-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@
"long_instructions": "# Make your Second Item\n\n<img src=\"https://images.code.org/dfd53f2ea4b4380c126dde8035bcdc45-image-1476212495388.gif\" style=\"float: right\">\n\nNext, you'll copy and paste the code for your first item to create a second item. Remember that this is a lot easier in **text mode**, so be sure to try it out if you haven't already.\n\nYou'll need to copy two parts of your code: the part at the beginning where you made the item, and the part in your `loopItem` function, where you looped the item back to the top of the screen.\n\n# Do This\n\n- Copy the code you used to create the first item sprite (`createSprite`, `setAnimation`, and `velocityY`), and paste it directly beneath the original code.\n- Change the names of the sprite in the new lines. For example, if you named your original sprite \"star\", you could name this one \"star2\".\n- Inside your `loopItems` function, copy the if statement, then paste it directly underneath the original code, inside the function.\n- Change the sprite name in the new lines of code.\n- Run your code to test it."
},
"https://studio.code.org/s/csd3-2021/lessons/26/levels/13": {
"long_instructions": "# Create your Player\n\n<img src=\"https://images.code.org/8358b8d2eef2461e113e0b3093da7403-image-1476212944204.gif\" style=\"float:right\">\n\nNow you can create your player sprite. Just like the item sprites, the player sprite will fall from the top of the screen. Unlike the items, your player sprite will get faster as it falls, just like real falling objects. This is what allows it to jump up, and fall back down.\n\n# Do This\n\n- Use the `createSprite` block to make a player sprite with the label and starting position that you put on your worksheet.\n- Use `setAnimation` to give it the correct image.\n- Create a `playerFall` function that makes the sprite fall from the top of the screen. The code inside the function should use `velocityY` in a counter pattern, just as when you made the falling rock in [Lesson 21 Level 4][0].\n- Call the `playerFall` function inside the draw loop.\n- Run the code to test your sprite."
"long_instructions": "# Create your Player\n\n<img src=\"https://images.code.org/8358b8d2eef2461e113e0b3093da7403-image-1476212944204.gif\" style=\"float:right\">\n\nNow you can create your player sprite. Just like the item sprites, the player sprite will fall from the top of the screen. Unlike the items, your player sprite will get faster as it falls, just like real falling objects. This is what allows it to jump up, and fall back down.\n\n# Do This\n\n- Use the `createSprite` block to make a player sprite with the label and starting position that you put on your worksheet.\n- Use `setAnimation` to give it the correct image.\n- Create a `playerFall` function that makes the sprite fall from the top of the screen. The code inside the function should use `velocityY` in a counter pattern, just as when you made the falling rock in [Lesson 21 Level 3][0].\n- Call the `playerFall` function inside the draw loop.\n- Run the code to test your sprite."
},
"https://studio.code.org/s/csd3-2021/lessons/26/levels/14": {
"long_instructions": "# User Controls\n\nNext, you should add user controls so that you can move your player around. Your player needs to move to the left when the left arrow key is pressed, to the right when the right arrow key is pressed, and jump when the space bar is pressed.\n\n# Do This\n\n- Create a new `controlPlayer` function in the \"functions\" area of your code.\n- Inside the `controlPlayer` function, use the `if`, `keyDown`, and `sprite.x` blocks to make your player move to the left and right according to the arrow keys. Look at [Lesson 15 Level 7][0] for examples.\n- Inside the `controlPlayer` function, use the `if`, `keyDown`, and `velocityY` blocks to make your player jump when the up arrow is pressed. Look at [Lesson 20 Level 5][1] for examples.\n- Call the `controlPlayer` function inside the draw loop.\n- Run the game and test your code."
Expand Down
2 changes: 1 addition & 1 deletion i18n/locales/source/course_content/other/csd4-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"long_instructions": "# Mocking Up Your App\n\nUsing your paper prototype, create a digital version of your screen using the Design Mode elements you've learned about.\n\n# Do This\n\n- Rename the screen to match your _namespace_.\n- Use the built-in elements to lay out your app screen, giving each a proper ID\n - For example, if your namespace is `home_` you might create IDs like:\n - `home_title`\n - `home_login_button`\n - `home_logo`\n- For any components of your app that can't be recreated with the built in elements you can either:\n - Redesign to utilize built in elements\n - Find an image to use in place of your element\n - Draw the element using your preferred image editor\n- Make sure that you and your teammates are regularly looking at each other's designs to ensure consistent style"
},
"https://studio.code.org/s/csd4-2021/lessons/16/levels/1": {
"long_instructions": "# Recycling App 2.0\n\nThese levels return to the Recycling App you started in a previous lesson. Our goal is to expand that app by adding new screens, such as an About or Contact screen.\n\n# Adding a New Screen\n\nTo complete the recycling app, you're going to need more than just a home screen. To create more screens, just click the dropdown at the top of the app display and select \"New Screen...\"\n\n<img src=\"https://images.code.org/2b49c36a57fb904d4fcf219ca498647d-image-1504714832027.png\" style=\"width: 200px\">\n\n# Do This\n\n- **Create a New Screen** and give it the ID \"about\".",
"long_instructions": "# Recycling App 2.0\n\nThese levels return to the Recycling App you started in Lesson 14. Our goal is to expand that app by adding new screens, such as an About or Contact screen.\n\n# Adding a New Screen\n\nTo complete the recycling app, you're going to need more than just a home screen. To create more screens, just click the dropdown at the top of the app display and select \"New Screen...\"\n\n<img src=\"https://images.code.org/2b49c36a57fb904d4fcf219ca498647d-image-1504714832027.png\" style=\"width: 200px\">\n\n# Do This\n\n- **Create a New Screen** and give it the ID \"about\".",
"teacher_markdown": "#### Catching Up\n\nIf students missed the previous lesson, or were unable to complete the home screen, you can have them import this completed version of the home screen <a href=\"https://studio.code.org/projects/applab/Y3yxoz85-vy5Hpq8R4qOTQ/\" target=\"_blank\" rel=\"noopener noreferrer\">https\\://studio.code.org/projects/applab/Y3yxoz85-vy5Hpq8R4qOTQ/</a>. See the <a href=\"5\">Screen Import Map</a> for details."
},
"https://studio.code.org/s/csd4-2021/lessons/16/levels/2": {
Expand Down
10 changes: 10 additions & 0 deletions i18n/locales/source/dashboard/blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
en:
data:
blocks:
BadGuys_makeNewBadGuysSprite:
text: make new [ANIMATION_NAME][0] sprite at [LOCATION][1]
Dancelab_alternateMoves:
text: "[GROUP][0] alternate every [N][1] measures \nbetween [MOVE1][2] and [MOVE2][3]"
options:
Expand Down Expand Up @@ -1089,6 +1091,12 @@ en:
text: draw line [COLOR][0] [LOC1][1] [LOC2][2]
gamelab_edgesDisplace:
text: edges block [SPRITE][0] from moving
gamelab_everySeconds:
text: 'repeat every [N][0] [UNIT][1] '
options:
UNIT:
'"seconds"': seconds
'"frames"': frames
gamelab_followingTargets:
text: following targets
gamelab_getAllSprites:
Expand Down Expand Up @@ -1243,6 +1251,8 @@ en:
'"pop"': pop
'"rain"': rain
'"spiral"': spiral
gamelab_makeNewScaledSprite:
text: make new [ANIMATION_NAME][0] sprite at [LOCATION][1]
gamelab_makeNewSpriteAnon:
text: make new [ANIMATION_NAME][0] sprite at [LOCATION][1]
gamelab_makeNumSprites:
Expand Down
5 changes: 4 additions & 1 deletion i18n/locales/source/dashboard/course_offerings.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,8 @@
"csd6-projects": "csd6-projects",
"coursef-2022-pilot": "coursef-2022-pilot",
"vpl-csd-summer-pilot": "vpl-csd-summer-pilot",
"csa-async": "csa-async"
"csa-async": "csa-async",
"self-paced-pl-csa": "self-paced-pl-csa",
"hello-world-csc": "hello-world-csc",
"vpl-csd-summer-pilot-ci": "vpl-csd-summer-pilot-ci"
}
1 change: 1 addition & 0 deletions i18n/locales/source/dashboard/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ en:
PL_overview_CSP: What is Computer Science Principles?
PL_CSP_EIPMOverview: Guide to EIPM Lessons
tesstest: Tesstes
CSA-PL-debugging-temp: Introduction to Debugging in Java Lab - temp
callout:
text:
drag_blocks: Drag a "move" block and snap it below the other block
Expand Down
1 change: 1 addition & 0 deletions i18n/locales/source/dashboard/progressions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ en:
Tour of Design Mode: Tour of Design Mode
Train AI to Clean the Ocean: Train AI to Clean the Ocean
Train a Model in AI Lab: Train a Model in AI Lab
Train an AI to Clean the Ocean: Train an AI to Clean the Ocean
UI Element Properties: UI Element Properties
Ultimate Shoe Recommender: Ultimate Shoe Recommender
Unit 5 Lesson 1 Overview: Unit 5 Lesson 1 Overview
Expand Down