Skip to content

Commit b5f5dcf

Browse files
dashboard i18n sync
1 parent cee370b commit b5f5dcf

File tree

10 files changed

+126
-20
lines changed

10 files changed

+126
-20
lines changed

dashboard/config/locales/blocks.en.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@ en:
873873
text: move {SPRITE} distance {DISTANCE} toward {TARGET}
874874
gamelab_moveUp:
875875
text: "{THIS} move up"
876+
gamelab_playSound:
877+
text: playSound {SOUND}
876878
gamelab_pointInDirection:
877879
text: point {SPRITE} {DIRECTION}
878880
options:
@@ -1378,6 +1380,8 @@ en:
13781380
text: turn left
13791381
RyanLab_turnRight:
13801382
text: turn right
1383+
SpriteLab2Beta_spriteSay:
1384+
text: sprite {SPRITE} say {TEXT} for {SECONDS} seconds
13811385
Vector_createSpriteWith:
13821386
text: |-
13831387
create sprite
@@ -1405,12 +1409,16 @@ en:
14051409
"'shapeColor'": color
14061410
aalab_addBehaviorForDuration:
14071411
text: aalab sprite {SPRITE} begins {BEHAVIOR} for {SECONDS} seconds
1412+
aalab_addBehaviorSimpleFlexible:
1413+
text: aalab sprite {SPRITE} begins {BEHAVIOR}
14081414
aalab_addBehaviorUntilBoolean:
14091415
text: aalab sprite {SPRITE} begins {BEHAVIOR} until {CONDITION}
14101416
aalab_addToSpriteGroup:
14111417
text: add sprite {SPRITE} to group {GROUP}
1412-
aalab_changeGroupPropBy:
1413-
text: change group {GROUP} {PROPERTY} by {VAL}
1418+
aalab_allSpritesWithCostume:
1419+
text: aalab {COSTUME}
1420+
aalab_changePropByFlexible:
1421+
text: aalab change {SPRITE} {PROPERTY} by {VAL}
14141422
options:
14151423
PROPERTY:
14161424
'"scale"': size

dashboard/config/locales/callouts.en.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,8 +1434,8 @@ en:
14341434
courseD_maze_ramp7_1: This is your first challenge puzzle! These are meant to be hard and may take several tries.
14351435
courseD_scrat_ramp8_2018_callout:
14361436
courseD_maze_ramp7_1: This is your first challenge puzzle! These are meant to be hard and may take several tries.
1437-
courseE_aboutme_4_callout:
1438-
courseE_aboutme_4_callout_1: Press here to draw a sprite!
1437+
courseE_aboutme_5_callout:
1438+
courseE_aboutme_4_callout_1: Click here!
14391439
courseE_artist_concept_challenge2_callout: {}
14401440
courseE_artist_concept_challenge2_2018_callout: {}
14411441
courseE_artist_concept_challenge2_2019_callout: {}

dashboard/config/locales/long_instructions.en.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21255,6 +21255,7 @@ en:
2125521255
Fish Tank 4: Our fish tank needs some water! Use the `set background color` block to make the background blue.
2125621256
Fish Tank 5-validated: Our fish is getting a little lonely. Add another sprite to the fish tank.
2125721257
Fish Tank 5-validated_2019: Our fish is getting a little lonely. Add another sprite to the fish tank.
21258+
Fish Tank 5-validated_2019_implicitGroupTest: Our fish is getting a little lonely. Add another sprite to the fish tank.
2125821259
Fish Tank 5-validated_simple: The fish wants a friend. Add a new sprite.
2125921260
Fish Tank 5: Our fish is getting a little lonely. Create a new sprite inside the fish tank.
2126021261
Fish Tank 6-validated: "What do you want your fish’s new friend to do? \n\nAdd a behavior and watch them go!"
@@ -22907,7 +22908,6 @@ en:
2290722908
* Shrink the size of the instructions area to resize how tall the web page is
2290822909
Search Engine Optimizer: "# Search Engine Optimizer (SEO)\n\n**Search Engine Optimization** is the process of maximizing the number of visitors to a particular website by ensuring that the site appears high on the list of results returned by a search engine. A **Search Engine Optimizer** is a tool that analyzes a website on different qualities that lead to a higher rank on different search engines.\n\n# Do This\n\n* Open the SEO tool linked below in another tab\n* Try each of the websites on your list on the SEO:\n\t* Look at the score each website receives\n * Does your ranking generally correlate to the SEO scores?\n* Take a look at how the SEO is rating websites:\n * Look through the different sections of the rating\n ![](https://images.code.org/dc938c470e578683f788d641c22a2699-image-1476900428201.05.20 PM.png) \n * What factors does the SEO use to score websites? \n * Are there new factors you could use in your algorithm that you had not thought of before?"
2290922910
Software Accessibility: "# Software Accessibility: Validator\n\nHTML is designed to display the same way on all computers, but sometimes you’ll notice that different web browsers, or even different versions of the same browser, display a website differently. Often this is because you either missed a rule of HTML, or didn’t describe your content specifically enough. Fortunately there’s a tool called the Validator that can check your code for errors!\n\n# Do This\n\n* Open up the <a href=\"https://validator.w3.org/#validate_by_input\" target=\"_blank\">Validator - Website</a>\n* For each html file in your project\n\t* Copy the html into the box\n * Click check to see if there are an error\n\t* Make a list of all unique errors.\n * For each error, write in your own words what you think it means\n * For each error, search to find a potential solution."
22910-
Standalone_Artist_1: "Welcome to Artist! First off, let's try to make a simple square using the turn right block and move forward block. Each side should be 100 pixels long.\n\n"
2291122911
Standalone_Artist_2: "Draw this diamond with 120 and 60 degree angles and 150 pixel long sides.\n\n"
2291222912
Standalone_Artist_3: "Can you draw this hexagon with 100 pixel sides and 60 degree turns?\n\n"
2291322913
Standalone_Artist_4: "Now you've got a new block to play with, the loop. This will repeat a set of commands. What happens if you loop these commands 6 times?\n\n"
@@ -32651,7 +32651,30 @@ en:
3265132651
courseD_scrat_ramp7_2018: Help Scrat get to the acorn!
3265232652
courseD_scrat_ramp8: "**Challenge:** Use what you've learned to get Scrat to the acorn!"
3265332653
courseD_scrat_ramp8_2018: "**Challenge:** Use what you've learned to get Scrat to the acorn!"
32654-
courseE_aboutme_2: Ritchie loves to talk, so let's make him share some **Personal Information** when he is clicked! Just be careful that he doesn't accidentally share any **Private Information** as well, such as his full name, his address, his phone number, his parent's credit card number, or anything else that can identify him on the web. Instead, perhaps he can share his hobbies, his favorite video games, or even the lyrics to a song he wrote? You decide!
32654+
courseE_aboutme_2: |-
32655+
Rikki has so many cool things to share! In addition to her greeting, let's make her share some **Personal Information** when she is clicked.
32656+
32657+
Feel free to use your imagination to help Rikki. Just be careful that she doesn't accidentally share any **Private Information** as well!
32658+
32659+
**SAFE - Personal Information**
32660+
* first name
32661+
* favorite video games, books, or TV shows
32662+
* respectful opinions (no insults or bad language)
32663+
32664+
**UNSAFE - Private Information**
32665+
* full name
32666+
* home address
32667+
* phone number
32668+
courseE_aboutme_freeplay: |-
32669+
**Freeplay:** The world is yours! Express yourself by creating an **interactive poster**. Use custom sprite costumes, messages, and events to tell the world about yourself!
32670+
32671+
**Remember! Only share SAFE information.** Do not share anything that someone could use to identify you (address, full name, date of birth, etc).
32672+
32673+
Try some of these ideas:
32674+
* Create sprites with costumes that represent your personality and tastes!
32675+
* Draw yourself, your pets, or your favorite foods!
32676+
* Assign behaviors to your sprites! Make a sprite move around when clicked!
32677+
* Make events trigger messages! Perhaps sprites "talk" when they touch each other?
3265532678
courseE_artist_concept1: "Recreate this image. \n\n- The hexagons have sides of 50 pixels\n- The hexagons are 100 pixels apart\n- The pen widths of the hexagons are 1 pixel, 4 pixels, and 8 pixels."
3265632679
courseE_artist_concept1_2018: "Recreate this image. \n\n- The hexagons have sides of 50 pixels\n- The hexagons are 100 pixels apart\n- The pen widths of the hexagons are 1 pixel, 4 pixels, and 8 pixels."
3265732680
courseE_artist_concept1_2019: "Recreate this image. \n\n- The hexagons have sides of 50 pixels\n- The hexagons are 100 pixels apart\n- The pen widths of the hexagons are 1 pixel, 4 pixels, and 8 pixels."
@@ -34434,6 +34457,7 @@ en:
3443434457

3443534458
* What are facilitators doing?
3443634459
* What are teachers doing?
34460+
elijah - test toolboxes: Here's a block! <xml><block type="math_number"><title name="NUM">255</title></block></xml> Yay!
3443734461
engagement-monday: |+
3443834462
# Day 1: Engagement
3443934463

dashboard/config/locales/short_instructions.en.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,6 +1711,7 @@ en:
17111711
Fish Tank 4-validated_simple: Use the `set background color` block to make the background blue.
17121712
Fish Tank 5-validated: Our fish is getting a little lonely. Add another sprite to the fish tank.
17131713
Fish Tank 5-validated_2019: Our fish is getting a little lonely. Add another sprite to the fish tank.
1714+
Fish Tank 5-validated_2019_implicitGroupTest: Our fish is getting a little lonely. Add another sprite to the fish tank.
17141715
Fish Tank 5-validated_simple: The fish wants a friend. Add a new sprite.
17151716
Fish Tank 6-validated: Add a behavior to the fish's new friend.
17161717
Fish Tank 6-validated_2019: Add a behavior to the fish's new friend.
@@ -4920,10 +4921,17 @@ en:
49204921
courseD_scrat_ramp7_2018: Help Scrat get to the acorn!
49214922
courseD_scrat_ramp8: Use what you've learned to get Scrat to the acorn!
49224923
courseD_scrat_ramp8_2018: Use what you've learned to get Scrat to the acorn!
4923-
courseE_aboutme_1: This is Ritchie! He likes to talk. Everything he says will appear in the **Text Box** below him. Click "▶ Run" to make him talk now!
4924-
courseE_aboutme_2: 'Ritchie loves to talk, so let''s make him share some **Personal Information** when he is clicked! Just be careful that he doesn''t accidentally share any **Private Information** as well! '
4925-
courseE_aboutme_3: Here is Ritchie's best friend Kenny. Make Kenny also share some **Personal Information** when he is clicked! Just as with Ritchie, be careful that Kenny does not accidentally share any **Private Information**!
4926-
courseE_aboutme_4: Now it's time for you to create your own sprite! Click on the animation tab!
4924+
courseE_aboutme_1: "This is Rikki! Well, it's really just a drawing she made of herself. \n\nYou see, Rikki is using SpriteLab to create an **interactive poster** that she can share with everyone on the web, and this is what she's made so far!\n\nRead the code below, then locate the **Text Box** below Rikki. Run the code and click Rikki to see her message appear!"
4925+
courseE_aboutme_2: |-
4926+
Rikki has so many cool things to share! In addition to her greeting, let's make her share some **Personal Information** when she is clicked.
4927+
4928+
Feel free to use your imagination to help Rikki. Just be careful that she doesn't accidentally share any **Private Information** as well!
4929+
courseE_aboutme_4: "Here is Rikki's best friend Thuy! Well, a cool drawing of her anyway! \n\nMake Thuy also share some **Personal Information** when she is clicked. \n\nJust as with Rikki, be careful that Thuy does not accidentally share any **Private Information**!"
4930+
courseE_aboutme_5: Rikki thinks you might be able to draw a better costume for her sprite. Click the **Animation** tab, draw a costume, and replace Rikki's with your own in the code below!
4931+
courseE_aboutme_freeplay: |-
4932+
**Freeplay:** The world is yours! Express yourself by creating an **interactive poster**. Use custom sprite costumes, messages, and events to tell the world about yourself!
4933+
4934+
**Remember! Only share SAFE information.** Do not share anything that someone could use to identify you (address, full name, date of birth, etc).
49274935
courseE_artist_concept1: 'Recreate this image. '
49284936
courseE_artist_concept1_2018: 'Recreate this image. '
49294937
courseE_artist_concept1_2019: 'Recreate this image. '

i18n/locales/source/dashboard/blocks.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@ en:
873873
text: move [SPRITE][0] distance [DISTANCE][1] toward [TARGET][2]
874874
gamelab_moveUp:
875875
text: "[THIS][0] move up"
876+
gamelab_playSound:
877+
text: playSound [SOUND][0]
876878
gamelab_pointInDirection:
877879
text: point [SPRITE][0] [DIRECTION][1]
878880
options:
@@ -1374,6 +1376,8 @@ en:
13741376
text: turn left
13751377
RyanLab_turnRight:
13761378
text: turn right
1379+
SpriteLab2Beta_spriteSay:
1380+
text: sprite [SPRITE][0] say [TEXT][1] for [SECONDS][2] seconds
13771381
Vector_createSpriteWith:
13781382
text: |-
13791383
create sprite
@@ -1401,12 +1405,16 @@ en:
14011405
"'shapeColor'": color
14021406
aalab_addBehaviorForDuration:
14031407
text: aalab sprite [SPRITE][0] begins [BEHAVIOR][1] for [SECONDS][2] seconds
1408+
aalab_addBehaviorSimpleFlexible:
1409+
text: aalab sprite [SPRITE][0] begins [BEHAVIOR][1]
14041410
aalab_addBehaviorUntilBoolean:
14051411
text: aalab sprite [SPRITE][0] begins [BEHAVIOR][1] until [CONDITION][2]
14061412
aalab_addToSpriteGroup:
14071413
text: add sprite [SPRITE][0] to group [GROUP][1]
1408-
aalab_changeGroupPropBy:
1409-
text: change group [GROUP][0] [PROPERTY][1] by [VAL][2]
1414+
aalab_allSpritesWithCostume:
1415+
text: aalab [COSTUME][0]
1416+
aalab_changePropByFlexible:
1417+
text: aalab change [SPRITE][0] [PROPERTY][1] by [VAL][2]
14101418
options:
14111419
PROPERTY:
14121420
'"scale"': size

i18n/locales/source/dashboard/callouts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,8 +1434,8 @@ en:
14341434
courseD_maze_ramp7_1: This is your first challenge puzzle! These are meant to be hard and may take several tries.
14351435
courseD_scrat_ramp8_2018_callout:
14361436
courseD_maze_ramp7_1: This is your first challenge puzzle! These are meant to be hard and may take several tries.
1437-
courseE_aboutme_4_callout:
1438-
courseE_aboutme_4_callout_1: Press here to draw a sprite!
1437+
courseE_aboutme_5_callout:
1438+
courseE_aboutme_4_callout_1: Click here!
14391439
courseE_artist_concept_challenge2_callout: {}
14401440
courseE_artist_concept_challenge2_2018_callout: {}
14411441
courseE_artist_concept_challenge2_2019_callout: {}

i18n/locales/source/dashboard/dsls.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,8 +1990,11 @@ en:
19901990
description here: description here
19911991
title: title
19921992
OPD-K5 Stage4Go: {}
1993+
OPD-K5 Stage4Go2: {}
1994+
OPD-K5 Stage4Review: {}
19931995
OPD-K5 Stage4Start: {}
19941996
OPD-K5 Stage5Go: {}
1997+
OPD-K5 Stage5Review: {}
19951998
OPD-K5 Stage5Start: {}
19961999
OPD-K5 Stage6Go: {}
19972000
OPD-K5 Stage6Start: {}
@@ -4212,6 +4215,7 @@ en:
42124215
Scratch Jr: Scratch Jr
42134216
level_group:
42144217
name:
4218+
CSD U1 End of Unit Test: {}
42154219
CSD Unit 1 Post Project Assessment 2018: {}
42164220
CSP Culminating Assessment: {}
42174221
CSP Cumulative Assess A: {}
@@ -11790,6 +11794,16 @@ en:
1179011794
Scrat will move forward three times, turn, then move forward three more times, making it to the acorn!: Scrat will move forward three times, turn, then move forward three more times, making it to the acorn!
1179111795
Scrat will move forward, then turn and crash.: Scrat will move forward, then turn and crash.
1179211796
This code uses a new block. What do you think will happen when you press "Run"?: This code uses a new block. What do you think will happen when you press "Run"?
11797+
courseE_aboutme_3_multi:
11798+
Great idea! Rikki can't be identified through cartoon drawings.: Great idea! Rikki can't be identified through cartoon drawings.
11799+
'Help! Rikki doesn''t know what other information is safe for her to share. Which ONE of the following would you recommend? ': 'Help! Rikki doesn''t know what other information is safe for her to share. Which ONE of the following would you recommend? '
11800+
No! Rikki's email address should only be shared directly with people or websites she can trust.: No! Rikki's email address should only be shared directly with people or websites she can trust.
11801+
No! Someone could steal Rikki's identity with her student ID number!: No! Someone could steal Rikki's identity with her student ID number!
11802+
No! Someone could steal the photograph and say its a picture of THEIR family. Yikes!: No! Someone could steal the photograph and say its a picture of THEIR family. Yikes!
11803+
Rikki could share a photograph of her family.: Rikki could share a photograph of her family.
11804+
Rikki could share cartoon drawings of herself.: Rikki could share cartoon drawings of herself.
11805+
Rikki could share her email address: Rikki could share her email address
11806+
Rikki could share her student ID number.: Rikki could share her student ID number.
1179311807
courseE_multi_artist_predict1:
1179411808
Based on the code below, what do you think will happen if you press 'Run'?: Based on the code below, what do you think will happen if you press 'Run'?
1179511809
Correct!: Correct!

0 commit comments

Comments
 (0)