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

Translations from Hosted Weblate #5512

Merged
merged 3 commits into from
May 9, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions content/adventures/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ adventures:
```
9:
story_text: |
In a previous level you've created a calculator, in this level you can expand that code so it asks multiple questions.
In a previous level, you've created a calculator. In this level, you can expand that code so it asks multiple questions.

### Exercise 1
Can you finish line 10 to get the code to work?
Expand Down Expand Up @@ -741,12 +741,6 @@ adventures:
mean_grade = {call} _
{print} 'Your mean grade is ' mean_grade
```

total = total + _
return _ / 4

mean_grade = {call} _
{print} 'Your mean grade is ' mean_grade
15:
story_text: |
You can add the `{while}` loop to the calculator game you've learned to make in a previous level.
Expand Down Expand Up @@ -2007,8 +2001,8 @@ adventures:

For example in this code we've programmed the first verse of the song 'My Bonnie is over the ocean'.
In this example code the argument 'place' is used. Place is a variable that is only used in the function, so an argument.
To use 'place' we have placed `{with} place` after `{define} song` .
When the function is called, computer will replace the argument 'place', with the piece of text after `{call} song {with}`.
To use 'place' we have placed `{with} place` after `{define} song`.
When the function is called, the computer will replace the argument 'place', with the piece of text after `{call} song {with}`.

### Exercise
The next verse of this song goes:
Expand Down Expand Up @@ -2880,7 +2874,7 @@ adventures:
_
```
6:
story_text: "Instead of playing notes, you can also play numbers now. Simply type `{play} 1` for the lowest note, `{play} 70` for the highest note, or anything in between.\n\n### Exercise\n This calls for musical maths! Try out the example code a couple of times with different starting numbers. \nThen, see if you can compose a song using the numbers.\n"
story_text: "Instead of playing notes, you can also play numbers now. Simply type `{play} 1` for the lowest note, `{play} 70` for the highest note, or anything in between.\n\n### Exercise\nThis calls for musical maths! Try out the example code a couple of times with different starting numbers.\nThen, see if you can compose a song using the numbers.\n"
example_code: |
```
number = {ask} 'Say a starting number between 1 and 67'
Expand Down
4 changes: 2 additions & 2 deletions content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ adventures:
Copia tu código de la pestaña anterior y haz las variables interactivas usando el comando `{ask}`.
example_code_2: |
```
animales_favoritos {is} {ask} ¿Cuál es tu animal favorito?
{print} Me gusta animales_favoritos
favorite_animal {is} {ask} ¿Cuál es tu animal favorito?
{print} Me gusta favorite_animal
```
18:
story_text: El último cambio que tenemos que hacer para conseguir el código en Python es cambiar `{ask}` por `{input}`.
Expand Down
Loading
Loading