Skip to content

Commit

Permalink
Translated using Weblate (English)
Browse files Browse the repository at this point in the history
Currently translated at 100.0% (571 of 571 strings)

Translation: Hedy/Adventures
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/en/
  • Loading branch information
Mark-Giesen authored and weblate committed Feb 7, 2023
1 parent a0a8bef commit 85c0907
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/adventures/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ adventures:
story_text: |-
## The last level!
We arrived at real Python code! That means we need to use parentheses with {print} and {range} from now on.
It also means you can use Hedy code from this level in any Python environment as long as you use the English commands. If you haven't until now, you can switch the toggle in the commands menu to do so.
example_code: |
```
Expand Down Expand Up @@ -1484,7 +1485,7 @@ adventures:
You can also make a dice again in level 5. With the `{repeat}` code you can easily roll a whole hand of dice.
### Exercise
Try to finish the sample code! **(extra)** Think of a game you know that involves a dice and program that using a `{repeat}.`
Try to finish the sample code! **(extra)** Think of a game you know that involves a dice and program that using a `{repeat}`
example_code: |
```
choices = 1, 2, 3, 4, 5, 6
Expand Down Expand Up @@ -1532,10 +1533,9 @@ adventures:
5:
story_text: |
## Press it!
In the introduction you were also told about the new keyword `{pressed}`! Using `{pressed}`
can make coding much more interactive, and you can have live control of what is executed!
In the upcoming levels you will learn how `{pressed}` makes this possible and what uses `{pressed}`
has.
In the introduction you were also told about the new keyword `{pressed}`!
Using `{pressed}` can make coding much more interactive, and you can have live control of what is executed!
In the upcoming levels you will learn how `{pressed}` makes this possible and what uses `{pressed}` has.
Besides printing text, there is a whole other variety of uses for `{pressed}`
For example, you can also link turtle commands to keys! Try it!
example_code: |
Expand Down Expand Up @@ -2310,7 +2310,7 @@ adventures:
{print} 'One ' food ', coming right up!'
drink {is} {ask} 'What would you like to drink with that?'
{if} drink {is} cola {print} 'Im sorry, we are out of cola!' {else} {print} 'Great choice!'
anything {is} {ask} 'Would you like anything {else}?'
anything {is} {ask} 'Would you like anything else?'
{print} 'Let me repeat your order...'
{print} 'One ' food
{if} drink {is} cola {print} 'and...' {else} {print} 'One ' drink
Expand Down

0 comments on commit 85c0907

Please sign in to comment.