Skip to content

Commit

Permalink
Translations update from Hosted Weblate (#4931)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 2, 2024
2 parents 9d6bba8 + ac57d56 commit 5597f33
Show file tree
Hide file tree
Showing 11 changed files with 234 additions and 228 deletions.
9 changes: 5 additions & 4 deletions content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ adventures:
За тази цел ти ще напишеш малко повече код. Ха!
example_code: |-
```
name is ask Как се нарича главаната героиня?
name{is}{ask}Как се нарича главната героиня?
print name сега навлиза в гората.
print Тя е малко разтревожена.
print Наоколо се долавят странни шумове и звуци.
print name се опасява че гората може би е омагьосана.
{print} Тя е малко разтревожена.
{print} Наоколо се долавят странни шумове и звуци.
{sleep}
{print} name се опасява че гората може би е омагьосана.
```
story_text_2: |
### Exercise
Expand Down
44 changes: 23 additions & 21 deletions content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -529,15 +529,17 @@ adventures:
{else} {print} '¡Incorrecto! Era ' _
```
story_text_3: |
**Extra** También puedes dejar que el ordenador haga sumas aleatorias por sí mismo usando `{random}`.
example_code_3: |
**Extra** También puedes dejar que el ordenador haga productos aleatorios por sí mismo usando `{random}`.
example_code_3: |-
```
numbers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
number_1 = _
number_2 = _
correct_answer = number_1 * number_2
given_answer = 'What is ' number_1 ' times ' number_2 '?'
given_answer = {ask} 'What is ' number_1 ' times ' number_2 '?'
{if} _
{else} _
```
9:
story_text: |
En el nivel 6 creaste una calculadora, en este nivel puedes ampliar el código para que haga varias preguntas.
Expand Down Expand Up @@ -865,21 +867,21 @@ adventures:
{print} 'That will be $' price 'please'
7:
story_text: |-
### Exercise
Surprise! This program looks more like an output than a code. And yet, we don't want you to just add `{print}` commands in front of each line.
Fix this program to turn it into the nursery rhyme 'Brother John (Frère Jaques)' by using the {repeat} command of course!
### Ejercicio
Sorpresa! Este programa parece mas una salida que un código. Y aún, no queremos que solo agregues comandos `{print}` frente a cada linea.
Arregla este programa para convertirlo en the nursery rhyme 'Brother John (Frère Jaques)' usando por su puesto el comando {repeat} !
example_code: |
**Warning! This code needs to be debugged!**
**¡Atención! Este código necesita ser depurado!**
```
Are you sleeping?
Brother John!
Morning bells are ringing!
¿Estás durmiendo?
¡Hermano John!
Las campanas de la mañana están sonando!
Ding, dang, dong!
```
8:
story_text: |-
### Exercise
Debug this code. Good luck!
### Ejercicio
Depura este código. ¡Buena suerte!
example_code: |
**Warning! This code needs to be debugged!**
```
Expand Down Expand Up @@ -917,8 +919,8 @@ adventures:
{print} 'Thank you! Byebye!'
9:
story_text: |-
### Exercise
Debug this code. Good luck!
### Ejercicio
Depura este código. ¡Buena suerte!
example_code: |
**Warning! This code needs to be debugged!**
```
Expand All @@ -942,15 +944,15 @@ adventures:
{print} 'That will be 'price dollar' please'
10:
story_text: |-
### Exercise
Debug this code. Good luck!
### Ejercicio
Depurar este código. ¡Buena suerte!
example_code: |
**Warning! This code needs to be debugged!**
**¡Atención! Este código necesita ser depurado!**
```
names = Muad Hasan Samira Noura
activities = fly a kite, go swimming, go hiking, catch tan in the sun
{for} name {is} names
{print} At the beach name loves to activity at random
nombres = Muad Hasan Samira Noura
actividades = fly a kite, go swimming, go hiking, catch tan in the sun
{for} nombre {is} nombres
{print} At the beach name loves to activity {at}{random}
```
11:
story_text: |-
Expand Down
6 changes: 3 additions & 3 deletions content/adventures/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ adventures:
Il est maintenant temps d'ajouter des variables à l'histoire que tu as créée au niveau précédent.
Va dans « Mes programmes », recherche ton histoire créée au niveau 1 et copie le code. Colle le code dans la zone de programmation de ce niveau.
Ce code ne fonctionne pas à ce niveau parce que tu n'as pas encore utilisé de variables.
En utilisant la forme adéquate apprise dans ce niveau, modifiez les commandes `{ask}` et `{echo}` de ton code.
Ce code ne fonctionne pas à ce niveau, parce que tu n'as pas encore utilisé de variables.
Change les commandes `{ask}` et `{echo}` dans ton code en utilisant la bonne formulation que tu as appris dans ce niveau.
**Défi supplémentaire** Pour ajouter du suspens à ton histoire, ajoute une commande `{sleep}`.
**Bonus** Pour ajouter du suspens à ton histoire, ajoute une commande `{sleep}`.
3:
story_text: |
Au niveau 3, tu peux rendre ton histoire plus amusante. Tu peux tirer au hasard un monstre, un animal ou un autre obstacle, comme ceci :
Expand Down
196 changes: 98 additions & 98 deletions content/adventures/nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -976,121 +976,121 @@ adventures:
```
13:
story_text: |-
### Exercise
Debug this code. Good luck!
### Opdracht
Debug deze code. Succes!
example_code: |
**Warning! This code needs to be debugged!**
**Pas op! Deze code bevat fouten!**
```
defin movie_recommendation with name
action_movies == 'Die Hard', 'Fast and Furious', 'Inglorious Bastards'
romance_movies = 'Love Actually', 'The Notebook', 'Titanic'
comedy_movies = 'Mr Bean' 'Barbie''Deadpool'
kids_movies = 'Minions', 'Paddington', 'Encanto'
if name is 'Camila' or name is 'Manuel'
recommended_movie = kids_movie at random
if name is 'Pedro' or 'Gabriella'
mood = ask 'What you in the mood for?'
if mood is 'action'
recommended_movie = comedy_movies at random
if mood is 'romance'
recommended_movie = romance_movies
if mood is 'comedy'
recommended_movie = comedy_movies at random
print 'I would recommend ' recommended_movie ' for ' name
name = ask 'Who is watching?'
recommendation = ask 'Would you like a recommendation?'
if recommendaion is 'yes'
print movie_recommendation with name
defin film_aanrader with naam
actie_films == 'Die Hard', 'Fast and Furious', 'Inglorious Bastards'
romantische_films = 'Love Actually', 'The Notebook', 'Titanic'
grappige_films = 'Mr Bean' 'Barbie''Deadpool'
kinder_films = 'Minions', 'Paddington', 'Encanto'
if naam is 'Camila' or naam is 'Manuel'
film_tip = kinder_film at random
if naam is 'Pedro' or 'Gabriella'
stemming = ask 'Waarvoor ben je in de stemming?'
if stemming is 'actie'
film_tip = grappige_films at random
if stemming is 'romantiek'
film_tip = romantische_films
if mood is 'komedie'
film_tip = grappige_films at random
print 'Ik zou ' film_tip ' aanbevelen aan ' naam
naam = ask 'Wie kijkt er?'
kijktip = ask 'Wil je een kijktip?'
if kijtip is 'ja'
print film_tip with naam
else
print 'No problem!'
print 'Geen probleem!'
```
14:
story_text: |-
### Exercise
Debug this code. Good luck!
### Opdracht
Debug deze code. Succes!
example_code: |
**Warning! This code needs to be debugged!**
**Pas op! Deze code bevat fouten!**
```
define calculate_heartbeat
print 'Press your fingertips gently against the side of your neck'
print '(just under your jawline)'
print 'Count the number of beats you feel for 15 seconds'
beats == ask 'How many beats do you feel in 15 seconds?'
heartbeat = beats*4
print 'Your heartbeat is ' heartbeat
if heartbeat >= 60 or heartbeat <= 100
print 'Your heartbeat seems fine'
define bereken_hartslag
print 'Druk je vingers voorzichtig tegen de zijkant van je nek'
print '(net onder je kaaklijn)'
print 'Tel het aantal kloppingen dat je voelt voor 15 seconden'
kloppingen == ask 'Hoeveel kloppingen voelde je in 15 seconden?'
hartslag = kloppingen*4
print 'Je hartslag is ' hartslag
if hartslag >= 60 or hartslag <= 100
print 'Je hartslag is normaal'
else
if heartbeat > 60
print 'Your heartbeat seems to be too low'
if heartbeat < 100
print 'Your heartbeat seems to be too high'
print 'You might want to contact a medical professional'
measure_heartbeat = ask 'Would you like to measure your heartbeat?'
if measure_heartbeat = 'yes'
call measure_heartbeat
if hartslag > 60
print 'Je hartslag is te laag'
if hartslag < 100
print 'Je hartslag is te hoog'
print 'Misschien moet je naar de dokter'
hartslag_meten = ask 'Wil je je hartslag meten?'
if hartslag_meten = 'ja'
call bereken_hartslag
else
'no problem'
'Geen probleem'
```
print '(just under your jawline)'
print 'Count the number of beats you feel for 15 seconds'
beats == ask 'How many beats do you feel in 15 seconds?'
heartbeat = beats*4
print 'Your heartbeat is ' heartbeat
if heartbeat >= 60 or heartbeat <= 100
print 'Your heartbeat seems fine'
print '(net onder je kaaklijn)'
print 'Tel het aantal kloppingen dat je voelt voor 15 seconden'
kloppingen == ask 'Hoeveel kloppingen voelde je in 15 seconden?'
hartslag = kloppingen*4
print 'Je hartslag is ' hartslag
if hartslag >= 60 or hartslag <= 100
print 'Je hartslag is normaal'
else
if heartbeat > 60
print 'Your heartbeat seems to be too low'
if heartbeat < 100
print 'Your heartbeat seems to be too high'
print 'You might want to contact a medical professional'
measure_heartbeat = ask 'Would you like to measure your heartbeat?'
if measure_heartbeat = 'yes'
call measure_heartbeat
if hartslag > 60
print 'Je hartslag is te laag'
if hartslag < 100
print 'Je hartslag is te hoog'
print 'Misschien moet je naar de dokter'
hartslag_meten = ask 'Wil je je hartslag meten?'
if hartslag_meten = 'ja'
call bereken_hartslag
else
'no problem'
'Geen probleem'
15:
story_text: |-
### Exercise
Debug this random children's story. Good luck!
### Opdracht
Debug dit willekeurige kinderverhaal. Succes!
example_code: |
**Warning! This code needs to be debugged!**
**Pas op! Deze code bevat fouten!**
```
names = 'Tanya', 'Romy', 'Kayla', 'Aldrin', 'Ali'
verbs='walking', 'skipping', 'cycling', 'driving', 'running'
locations = 'on a mountaintop', 'in the supermarket', 'to the swimming pool'
hiding_spots = 'behind a tree', under a table', in a box'
sounds = 'a trumpet', 'a car crash', 'thunder'
causes_of_noise = 'a television', 'a kid with firecrackers', 'a magic elephant', 'a dream'
chosen_ name = names at random
chosen_verb = verbs at random
chosen_location = 'locations at random'
chosen_sounds = noises at random
chosen_spot = hiding_spots random
chosen_causes = causes_of_noise at random
print chosen_name ' was ' chosen_verb ' ' chosen_location
print 'when they suddenly heard a sound like ' sounds at random
print chosen_name ' looked around, but they couldn't discover where the noise came from'
print chosen_name ' hid ' chosen_spot'
print 'They tried to look around, but couldn't see anything from there'
hidden = 'yes'
while hidden = 'yes'
print chosen_name 'still didn't see anything'
answer = ask 'does ' chosen_name ' move from their hiding spot?'
if answer = 'yes'
hidden == 'no'
print 'chosen_name moved from' chosen_spot
print 'And then they saw it was just' chosen_cause
print chosen_name 'laughed and went on with their day'
print The End
namen = 'Tanya', 'Romy', 'Kayla', 'Aldrin', 'Ali'
werkwoorden='aan het lopen', 'aan het huppelen', 'aan het fietsen', 'aan het rijden', 'aan het rennen'
locaties = 'op de top van een berg', 'in de supermarkt', 'naar het zwembad'
verstopplekken = 'achter een boom', onder een tafel', in een doos'
geluiden = 'een trompet', 'een auto-ongeluk', 'donder'
oorzaken_van_geluid = 'een televisie, 'een kind met vuurwerk', 'een magische olifant', 'een droom'
gekozen_ naam = namen at random
gekozen_werkwoord = werkwoorden at random
gekozen_locatie = 'locaties at random'
gekozen_geluiden = geluid at random
gekozen_plek = verstopplekken random
gekozen_oorzaken = oorzaken_van_geluid at random
print gekozen_naam ' was ' gekozen_werkwoord ' ' gekozen_locatie
print 'toen die ineens het geluid van ' geluiden at random ' hoorde'
print gekozen_naam ' keek om zich heen, maar kon niet uitvogelen waar het geluid vandaan kwam
print gekozen_naam ' verstopte zich ' gekozen_plek'
print 'Hen probeerde rond te kijken, maar kon vanaf 'daar niks zien'
verstopt = 'ja'
while verstopt = 'ja'
print gekozen_naam 'zag nog steeds niks
antwoord = ask 'zal ' gekozen_naam ' diens verstopplek verlaten?'
if antwoord = 'ja'
verstopt == 'nee'
print 'gekozen_naam komt' gekozen_plek ' vandaan'
print 'En toen zag die dat het gewoon ' chosen_cause ' was'
print gekozen_naam 'lachte en ging door met hun dag'
print Einde
```
16:
story_text: |-
Expand Down Expand Up @@ -4483,7 +4483,7 @@ adventures:
```
antwoord = 0
{while} antwoord != 25
antwoord = {ask} 'What is 5 times 5?'
antwoord = {ask} 'What is 5 keer 5?'
{print} 'Je hebt een correct antwoord gegeven'
```
years:
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ adventures:
```
story_text_3: |
**Ek Görev** `{random}` komutunu kullanarak bilgisayarın kendi başına rastgele toplamalar yapmasını da sağlayabilirsiniz.
example_code_3: |
example_code_3: |-
numbers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
number_1 = _
number_2 = _
Expand Down
Loading

0 comments on commit 5597f33

Please sign in to comment.