Skip to content

Commit

Permalink
Merge branch 'main' into weblate-hedy-adventures
Browse files Browse the repository at this point in the history
  • Loading branch information
Felienne authored Sep 29, 2023
2 parents 1eb9d54 + 77a2b4c commit 544d033
Show file tree
Hide file tree
Showing 48 changed files with 785 additions and 209 deletions.
17 changes: 14 additions & 3 deletions content/adventures/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,20 @@ adventures:
for_command:
levels:
11:
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements."
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
10:
start_code: "animals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal"
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces."
Expand Down
17 changes: 14 additions & 3 deletions content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1863,9 +1863,20 @@ adventures:
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces."
example_code: "```\nanimals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal\n```\n"
11:
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements."
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
17:
start_code: "{for} i {in} {range} 1 {to} 10:\n {print} i\n{print} 'Ready or not, here I come!'"
story_text: "Now we are going to change indentation a little bit. Every time that we need an indentation, we need `:` at the line before the indentation.\n"
Expand Down
17 changes: 14 additions & 3 deletions content/adventures/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2621,9 +2621,20 @@ adventures:
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces।"
example_code: "```\nanimals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal\n```\n"
11:
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements।"
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
17:
start_code: "{for} i {in} {range} 1 {to} 10:\n {print} i\n{print} 'Ready or not, here I come!'"
story_text: "Now we are going to change indentation a little bit. Every time that we need an indentation, we need `:` at the line before the indentation.\n"
Expand Down
17 changes: 14 additions & 3 deletions content/adventures/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,20 @@ adventures:
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces."
example_code: "```\nanimals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal\n```\n"
11:
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements."
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
17:
start_code: "{for} i {in} {range} 1 {to} 10:\n {print} i\n{print} 'Ready or not, here I come!'"
story_text: "Now we are going to change indentation a little bit. Every time that we need an indentation, we need `:` at the line before the indentation.\n"
Expand Down
17 changes: 14 additions & 3 deletions content/adventures/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1116,9 +1116,20 @@ adventures:
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces."
example_code: "```\nanimals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal\n```\n"
11:
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements."
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
17:
start_code: "{for} i {in} {range} 1 {to} 10:\n {print} i\n{print} 'Ready or not, here I come!'"
story_text: "Now we are going to change indentation a little bit. Every time that we need an indentation, we need `:` at the line before the indentation.\n"
Expand Down
17 changes: 14 additions & 3 deletions content/adventures/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -869,9 +869,20 @@ adventures:
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces."
example_code: "```\nanimals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal\n```\n"
11:
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements."
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
17:
start_code: "{for} i {in} {range} 1 {to} 10:\n {print} i\n{print} 'Ready or not, here I come!'"
story_text: "Now we are going to change indentation a little bit. Every time that we need an indentation, we need `:` at the line before the indentation.\n"
Expand Down
17 changes: 14 additions & 3 deletions content/adventures/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -792,9 +792,20 @@ adventures:
story_text: "## For\nIn this level we learn a new code called `{for}`. With `{for}` you can make a list and use all elements.\n`{for}` creates a block, like `{repeat}` and `{if}` so all lines in the block need to start with 4 spaces."
example_code: "```\nanimals {is} dog, cat, blobfish\n{for} animal {in} animals\n {print} 'I love ' animal\n```\n"
11:
start_code: "{for} counter {in} {range} 1 {to} 5\n {print} counter"
story_text: "In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.\nWe do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.\n\nTry the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements."
example_code: "```\n{for} counter {in} {range} 1 {to} 5\n {print} counter\n```\n"
start_code: |-
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
story_text: |-
In this level, we add a new form of the `{for}`. In earlier levels, we used `{for}` with a list, but we can also use `{for}` with numbers.
We do that by adding a variable name, followed by `{in}` `{range}`. We then write the number to start at, `{to}` and the number to end at.
Try the example to see what happens! In this level again, you will need to use indentations in lines below the `{for}` statements.
example_code: |
```
{for} counter {in} {range} 1 {to} 10
{print} counter
{print} 'Ready or not. Here I come!'
```
17:
start_code: "{for} i {in} {range} 1 {to} 10:\n {print} i\n{print} 'Ready or not, here I come!'"
story_text: "Now we are going to change indentation a little bit. Every time that we need an indentation, we need `:` at the line before the indentation.\n"
Expand Down
Loading

0 comments on commit 544d033

Please sign in to comment.