Skip to content

Commit

Permalink
📜 Fix quizzes in all languages (#5479)
Browse files Browse the repository at this point in the history
Correcting a few mistakes in the Quiz section.

Fixes #5478 

**Checklist**

- [x] Contains one of the PR categories in the name
- [ ] Describes changes in the format above **Details in Issue**
- [x] Links to an existing issue or discussion
- [ ] Has a "How to test" section **It is content**
  • Loading branch information
pepa65 committed May 1, 2024
1 parent 3bd2c8c commit 82e6ec0
Show file tree
Hide file tree
Showing 51 changed files with 230 additions and 213 deletions.
8 changes: 4 additions & 4 deletions content/quizzes/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3816,11 +3816,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4050,7 +4050,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3832,11 +3832,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4066,7 +4066,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3832,11 +3832,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4066,7 +4066,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3853,11 +3853,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4087,7 +4087,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3832,11 +3832,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4066,7 +4066,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3841,11 +3841,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4075,7 +4075,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3853,11 +3853,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4087,7 +4087,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3735,11 +3735,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -3969,7 +3969,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3832,11 +3832,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4066,7 +4066,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3858,11 +3858,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4092,7 +4092,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
10 changes: 5 additions & 5 deletions content/quizzes/eo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3829,11 +3829,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4063,7 +4063,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down Expand Up @@ -4153,7 +4153,7 @@ levels:
-2 is negative
-1 is negative
0 is positive
1 is positive
1 is positiveLast nitpick from Kelly:
2 is positive
3 is positive
mp_choice_options:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3813,11 +3813,11 @@ levels:
code: |-
{print} 'El sorteo de libros va a empezar pronto'
{print} '¡Compra tus boletos ahora!'
{books} = ['Narnia', 'El Hobbit', 'Oliver Twist', 'Harry Potter', 'Huevos verdes con jamón']
books = ['Narnia', 'El Hobbit', 'Oliver Twist', 'Harry Potter', 'Huevos verdes con jamón']
gente = {ask} '¿Cuántos tickets has vendido?'
lista_numeros_sorteo = [1, 2]
lista_de_numeros = [1, 2]
{for} i {in} {range} 3 {to} gente
{add} i {to} lista_numeros_sorteo
{add} i {to} lista_de_numeros
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4047,7 +4047,7 @@ levels:
code: |-
nombre = {ask} 'Cuál es tu nombre?'
{if} nombre == 'Hedy':
contraseña = {ask} 'Cuál es tu contraseña?'
contraseña = {ask} 'Cuál es tu contraseña?'
{if} contraseña =='tortuga123':
{print} 'Yeah'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/et.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3835,11 +3835,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4069,7 +4069,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/fa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3832,11 +3832,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4066,7 +4066,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/fi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3841,11 +3841,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4075,7 +4075,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
8 changes: 4 additions & 4 deletions content/quizzes/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3847,11 +3847,11 @@ levels:
code: |-
{print} 'The book raffle will start soon'
{print} 'Get your tickets now!'
{books} = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
books = ['Narnia', 'The Hobbit', 'Oliver Twist', 'Harry Potter', 'Green eggs and ham']
people = {ask} 'How many raffle tickets are sold?'
list_of_raffle_numbers = [1, 2]
list_of_numbers = [1, 2]
{for} i {in} {range} 3 {to} people
{add} i {to} list_of_raffle_numbers
{add} i {to} list_of_numbers
{for} i {in} {range} 1 {to} 5
mp_choice_options:
- option: |-
Expand Down Expand Up @@ -4081,7 +4081,7 @@ levels:
code: |-
name = {ask} 'What is your name?'
{if} name == 'Hedy':
password = {ask} 'What is your password?'
password = {ask} 'What is your password?'
{if} password =='turtle123':
{print} 'Yey'
{else}:
Expand Down
Loading

0 comments on commit 82e6ec0

Please sign in to comment.