Skip to content

Commit

Permalink
Translations update from Hosted Weblate (hedyorg#3653)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Nov 16, 2022
2 parents aa5c2bb + dcf2140 commit 224dee5
Show file tree
Hide file tree
Showing 75 changed files with 1,387 additions and 500 deletions.
53 changes: 37 additions & 16 deletions content/adventures/ar.yaml

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ adventures:
```
start_code: "print Твоята история започва тук"
story_text_2: "## Challenge\nCan you make your own story in Hedy now by using `{print}` , `{ask}` and `{echo}`?\n"
2:
story_text: |
## Съчини история
Expand Down Expand Up @@ -542,6 +543,8 @@ adventures:
You can now repeat lines 2 to 9 as many times as you want by copying the lines.
start_code: "{print} 'Baby shark'"
story_text_2: "## 5 Little Monkeys jumping on the bed\nThis children's song counts down from 5 little monkeys to 1 monkey.\nIf you copy line 2 - 7 and paste it under the the code, you can sing the whole song!\n"
example_code_2: "```\nnumber = 6\nnumber = number - 1\nprint number ' little monkeys jumping on the bed'\nprint 'One fell off and bumped his head'\nprint 'Mama called the doctor and the doctor said'\nprint 'NO MORE MONKEYS JUMPING ON THE BED!'\nsleep\n```\n"
7:
story_text: |
## Songs
Expand Down Expand Up @@ -1006,6 +1009,8 @@ adventures:
story_text: "## Parrot\nCreate your own online pet parrot that will copy you!\n"
example_code: "```\n{print} Im Hedy the parrot\nname {is} {ask} whats your name?\n{print} name\n{sleep}\n{print} squawk\n{sleep}\n{print} name\n```\n"
start_code: '{print} Im Hedy the parrot!'
example_code_2: "```\n{print} Im Hedy the parrot\nname {is} {ask} whats your name?\n{print} name\n{sleep}\n{print} name\nsurname {is} {ask} whats your surname?\n_\n{sleep}\n_\n```\n"
story_text_2: "## Challenge\nYou can use variables to make the parrot say more than only your name. Can you complete this code?\n"
5:
story_text: "## Parrot\nReward your parrot {if} it says the correct word!\n"
example_code: "```\nwords {is} squawk, Hedy\n{print} 'Train your parrot!'\nnew_word {is} {ask} 'Which word do you want to teach them?'\n{add} new_word {to_list} words\nsaid_word {is} words {at} {random}\n{print} '\U0001F9D2 Say ' new_word ', Hedy!'\n{print} '\U0001F99C ' said_word\n{if} said_word {is} new_word {print} '\U0001F9D2 Great job, Hedy! \U0001F36A'\n{else} {print} '\U0001F9D2 No, Hedy! Say ' new_word\n```\n"
Expand All @@ -1014,6 +1019,8 @@ adventures:
story_text: "## Parrot\nCreate your own online pet parrot that will copy you!\n"
example_code: "```\n{print} Im Hedy the parrot\n{ask} whats your name?\n{echo}\n{echo}\n```\n"
start_code: '{print} Im Hedy the parrot'
story_text_2: "## Challenge\nCan you make the parrot ask a different question? Fill in the blanks in the example!\n"
example_code_2: "```\n{print} Im Hedy the parrot\n{ask} _\n{echo}\n{echo}\n"
3:
example_code: "```\nwords {is} squawk, Hedy\n{print} Train your parrot!\nnew_word {is} {ask} Which word do you want to teach them?\n{add} new_word {to_list} words\n{print} \U0001F9D2 Say new_word , Hedy!\n{print} \U0001F99C words {at} {random}\n```\n"
story_text: "## Parrot\nTeach your parrot a new word with `{add}`.\n"
Expand Down Expand Up @@ -1054,6 +1061,8 @@ adventures:
example_code: "```\nchoices {is} 1, 2, 3, 4, 5, earthworm\n{print} choices {at} {random}\n```\n"
start_code: '{print} What will the die indicate this time?'
story_text: "## Dice\nIn this level we can choose from a list. With that we can let the computer choose one side of the die.\nTake a look at the games you have in your closet at home.\nAre there games with a (special) die? You can also copy it with this code.\nFor example, the dice of the game Earthworms with the numbers 1 to 5 and an earthworm on it.\n\n![Die of earthworms with 1 to 5 and an earthworm on it](https://cdn.jsdelivr.net/gh/felienne/hedy@24f19e9ac16c981517e7243120bc714912407eb5/coursedata/img/dobbelsteen.jpeg)\n"
example_code_2: "```\nchoices {is} _\n```\n"
story_text_2: "## Challenge\nThe dice in the example above are dice for a specific game. Can you make normal dice?\nOr other special dice from a different game?\n"
default_save_name: Dice
rock:
name: Rock, paper, scissors
Expand All @@ -1075,6 +1084,8 @@ adventures:
example_code: "\n```\nchoices {is} rock, paper, scissors\n{print} choices {at} {random}\n```\n"
story_text: "## Rock, paper, scissors\n\nIn this level we can enter lists and choose things from them.\nYou first make a list with `{is}`. Then you can let the computer choose something from the list with `{at} {random}`.\nFor example, you can let the computer pick from rock, paper and scissors.\n"
start_code: '{print} Welcome to your own rock scissors paper!'
story_text_2: "## Challenge\nNow you only have one player, so can you add a second player?\nYou can even use variables to name player 1 and player 2.\n"
example_code_2: "```\nchoices {is} rock, paper, scissors\n{print} player 1 chooses... choices {at} {random}\n{print} player 2 _\n```\n"
2:
story_text: "## Rock, paper, scissors\nIn this level you can practise using the variables, so that you can make the rock, paper, scissors game in the next level!\n"
example_code: "```\nchoice {is} _\n{print} I choose choice\n```\n"
Expand All @@ -1087,6 +1098,8 @@ adventures:
story_text: "## Rock, paper, scissors\nIn level 1 you can start with a rock, paper, scissors game.\n\nWith `{ask}` you can make a choice, and with `{echo}` you can repeat that choice.\n"
example_code: "\n```\n{print} what do you choose?\n{ask} choose {from} rock, paper or scissors\n{echo} so your choice was:\n```\nInstead of using words, you could also use emojis of course: ✊✋✌\n"
start_code: '{print} Welcome to your own rock scissors paper!'
story_text_2: "## Challenge\nInstead of using words, you could also use emojis: ✊✋✌\nCan you create a code using emojis?\n"
example_code_2: "```\n{print} what do you choose?\n{ask} choose from _\n{echo} so your choice was:\n```\n"
9:
story_text: "## Rock, paper, scissors\nIn this level you can program the whole rock, paper, scissors game by nesting the {if}-commands. Can you finish the code?\n"
example_code: "```\nchoices {is} rock, paper, scisscors\nyour_choice {is} {ask} 'What do you choose?'\n{print} 'You choose ' your_choice\ncomputer_choice {is} choices {at} {random}\n{print} 'The computer chooses ' computer_choice\n{if} computer_choice {is} your_choice\n {print} 'Tie'\n{if} computer_choice {is} 'rock'\n {if} your_choice {is} 'paper'\n {print} 'You win!'\n {if} your_choice {is} 'scissors'\n {print} 'You lose!'\n```\n"
Expand Down Expand Up @@ -1118,6 +1131,8 @@ adventures:
story_text: "## Calculator\nNow that you can calculate, you can also create a program to practice maths calculations. You can make up the calculations yourself, for example:\n"
example_code_2: "```\ntables = 4, 5, 6, 8\nnumbers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\ntable = tables {at} {random}\nnumber = numbers {at} {random}\ncorrect_answer = table * number\nanswer = {ask} 'how much is ' table ' times ' number '?'\n{if} answer {is} correct_answer {print} 'okay'\n{else} {print} 'mistake! it was ' correct_answer\n```\n"
example_code: "```\ncorrect_answer = 11 * 27\nanswer = {ask} 'How much is 11 times 27?'\n{if} answer {is} correct_answer {print} 'good job!'\n{else} {print} 'Wrong! It was ' correct_answer\n```\n"
story_text_3: "## Random numbers\nYou can also let the computer do random sums on its own using random.\nThis is how you choose a number of tables to practice, and from that you always get a different sum:\n"
example_code_3: "```\ntables = 4, 5, 6, 8\nnumbers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\ntable = tables {at} {random}\nnumber = numbers {at} {random}\ncorrect_answer = table * number\nanswer = {ask} 'how much is ' table ' times ' number '?'\n{if} answer {is} correct_answer {print} 'okay'\n{else} {print} 'mistake! it was ' correct_answer\n```\n"
10:
story_text: "## Calculator\nThis calculator game helps you practise your tables of multiplication!\nIf you add more numbers to the list, you can practise all the multiplications.\n"
example_code: "```\nnumbers = 1, 2, 3\n{for} number1 {in} numbers\n {for} number2 {in} numbers\n answer = {ask} 'How much is ' number2 ' times ' number1 '?'\n correct = number1 * number2\n {if} answer {is} correct\n {print} 'Great job!'\n {else}\n {print} 'Thats wrong. The right answer is ' correct\n```\n"
Expand Down Expand Up @@ -1166,6 +1181,8 @@ adventures:
{print} Your food and drinks will be right there!
```
start_code: "# place your code here"
example_code_2: "```\n{print} Welcome to Hedy's restaurant!\n{print} Today we're serving pizza or lasagna.\nfood {is} {ask} What would you like to eat?\n{print} Great choice! The food is my favorite!\ntopping {is} {ask} Would you like meat or veggies on that?\n{print} food with topping is on its way!\ndrinks {is} _\n```\n"
story_text_2: "## Challenge\nCan you make this code more elaborate? For example by adding drinks to the order? Or...?\n"
3:
story_text: |
## Random Restaurant
Expand Down Expand Up @@ -1588,6 +1605,8 @@ adventures:
{print} But as you enter monster_3 attacks you!
```
start_code: "monster1 {is} _"
story_text_2: "## Challenge\nIn the example above the monsters are predetermined. So each time you run your code, the output is the same.\nCan you add `{ask}` commands to make the haunted house interactive and have the players choose the monsters they come across?\n"
example_code_2: "```\nmonster_1 {is} _\nmonster_2 {is} _\nmonster_3 {is} _\n{print} You enter the haunted house.\n{print} Suddenly you see a monster_1\n{print} You run into the other room, but a monster_2 is waiting there for you!\n{print} Oh no! Quickly get to the kitchen.\n{print} But as you enter monster_3 attacks you!\n```\n"
3:
story_text: |
## Haunted house game
Expand Down Expand Up @@ -1615,6 +1634,8 @@ adventures:
Lastly, we'd like to challenge you to change this game into a gameshow (like the ones on tv) where you choose a door or suitcase and it contains a big price!
Can you do it?
start_code: "# place your code here"
example_code_3: "```\n{print} The big gameshow!\n{print} There are 3 suitcases in front of you...\n{print} One of them contains _\n_\n```\n"
story_text_3: "## Change the game into a tv gameshow!\nLastly, we'd like to challenge you to change this game into a gameshow (like the ones on tv) where you choose a door or suitcase and it contains a big price!\nCan you do it?\n"
4:
story_text: |
## Haunted house
Expand Down
21 changes: 21 additions & 0 deletions content/adventures/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ adventures:
{print} He's afraid this is a haunted forest
```
start_code: "{print} Your story starts here"
story_text_2: "## Challenge\nCan you make your own story in Hedy now by using `{print}` , `{ask}` and `{echo}`?\n"
2:
story_text: |
## Story
Expand Down Expand Up @@ -566,6 +567,8 @@ adventures:
{echo}
```
start_code: "{print} Im Hedy the parrot"
story_text_2: "## Challenge\nCan you make the parrot ask a different question? Fill in the blanks in the example!\n"
example_code_2: "```\n{print} Im Hedy the parrot\n{ask} _\n{echo}\n{echo}\n"
2:
story_text: |
## Parrot
Expand All @@ -581,6 +584,8 @@ adventures:
{print} name
```
start_code: "{print} Im Hedy the parrot!"
story_text_2: "## Challenge\nYou can use variables to make the parrot say more than only your name. Can you complete this code?\n"
example_code_2: "```\n{print} Im Hedy the parrot\nname {is} {ask} whats your name?\n{print} name\n{sleep}\n{print} name\nsurname {is} {ask} whats your surname?\n_\n{sleep}\n_\n```\n"
3:
story_text: |
## Parrot
Expand Down Expand Up @@ -634,6 +639,8 @@ adventures:
You can now repeat lines 2 to 9 as many times as you want by copying the lines.
start_code: "{print} 'Baby shark'"
story_text_2: "## 5 Little Monkeys jumping on the bed\nThis children's song counts down from 5 little monkeys to 1 monkey.\nIf you copy line 2 - 7 and paste it under the the code, you can sing the whole song!\n"
example_code_2: "```\nnumber = 6\nnumber = number - 1\nprint number ' little monkeys jumping on the bed'\nprint 'One fell off and bumped his head'\nprint 'Mama called the doctor and the doctor said'\nprint 'NO MORE MONKEYS JUMPING ON THE BED!'\nsleep\n```\n"
7:
story_text: |
## Songs
Expand Down Expand Up @@ -1098,6 +1105,8 @@ adventures:
{print} choices {at} {random}
```
start_code: "{print} What will the die indicate this time?"
example_code_2: "```\nchoices {is} _\n```\n"
story_text_2: "## Challenge\nThe dice in the example above are dice for a specific game. Can you make normal dice?\nOr other special dice from a different game?\n"
4:
story_text: |
## Dice
Expand Down Expand Up @@ -1208,6 +1217,8 @@ adventures:
```
Instead of using words, you could also use emojis of course: ✊✋✌
start_code: "{print} Welcome to your own rock scissors paper!"
story_text_2: "## Challenge\nInstead of using words, you could also use emojis: ✊✋✌\nCan you create a code using emojis?\n"
example_code_2: "```\n{print} what do you choose?\n{ask} choose from _\n{echo} so your choice was:\n```\n"
2:
story_text: |
## Rock, paper, scissors
Expand All @@ -1233,6 +1244,8 @@ adventures:
{print} choices {at} {random}
```
start_code: "{print} Welcome to your own rock scissors paper!"
example_code_2: "```\nchoices {is} rock, paper, scissors\n{print} player 1 chooses... choices {at} {random}\n{print} player 2 _\n```\n"
story_text_2: "## Challenge\nNow you only have one player, so can you add a second player?\nYou can even use variables to name player 1 and player 2.\n"
4:
story_text: |
## Rock, paper, scissors
Expand Down Expand Up @@ -1376,6 +1389,8 @@ adventures:
```
start_code: "{print} 'Welcome to this calculator!'"
story_text_3: "## Random numbers\nYou can also let the computer do random sums on its own using random.\nThis is how you choose a number of tables to practice, and from that you always get a different sum:\n"
example_code_3: "```\ntables = 4, 5, 6, 8\nnumbers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\ntable = tables {at} {random}\nnumber = numbers {at} {random}\ncorrect_answer = table * number\nanswer = {ask} 'how much is ' table ' times ' number '?'\n{if} answer {is} correct_answer {print} 'okay'\n{else} {print} 'mistake! it was ' correct_answer\n```\n"
9:
story_text: |
## Calculator
Expand Down Expand Up @@ -1509,6 +1524,8 @@ adventures:
{print} Your food and drinks will be right there!
```
start_code: "# place your code here"
story_text_2: "## Challenge\nCan you make this code more elaborate? For example by adding drinks to the order? Or...?\n"
example_code_2: "```\n{print} Welcome to Hedy's restaurant!\n{print} Today we're serving pizza or lasagna.\nfood {is} {ask} What would you like to eat?\n{print} Great choice! The food is my favorite!\ntopping {is} {ask} Would you like meat or veggies on that?\n{print} food with topping is on its way!\ndrinks {is} _\n```\n"
3:
story_text: |
## Random Restaurant
Expand Down Expand Up @@ -2088,6 +2105,8 @@ adventures:
{print} But as you enter monster_3 attacks you!
```
start_code: "monster1 {is} _"
story_text_2: "## Challenge\nIn the example above the monsters are predetermined. So each time you run your code, the output is the same.\nCan you add `{ask}` commands to make the haunted house interactive and have the players choose the monsters they come across?\n"
example_code_2: "```\nmonster_1 {is} _\nmonster_2 {is} _\nmonster_3 {is} _\n{print} You enter the haunted house.\n{print} Suddenly you see a monster_1\n{print} You run into the other room, but a monster_2 is waiting there for you!\n{print} Oh no! Quickly get to the kitchen.\n{print} But as you enter monster_3 attacks you!\n```\n"
3:
story_text: |
## Haunted house game
Expand All @@ -2114,6 +2133,8 @@ adventures:
Lastly, we'd like to challenge you to change this game into a gameshow (like the ones on tv) where you choose a door or suitcase and it contains a big price!
Can you do it?
start_code: "# place your code here"
example_code_3: "```\n{print} The big gameshow!\n{print} There are 3 suitcases in front of you...\n{print} One of them contains _\n_\n```\n"
story_text_3: "## Change the game into a tv gameshow!\nLastly, we'd like to challenge you to change this game into a gameshow (like the ones on tv) where you choose a door or suitcase and it contains a big price!\nCan you do it?\n"
4:
story_text: |
## Haunted house
Expand Down
Loading

0 comments on commit 224dee5

Please sign in to comment.