Skip to content

Commit

Permalink
Translations update from Hosted Weblate (#4572)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 6, 2023
2 parents e0aa440 + d4ec310 commit f7823ac
Show file tree
Hide file tree
Showing 109 changed files with 1,519 additions and 992 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ If it is a new idea, [start a discussion](https://github.com/hedyorg/hedy/discus
* New meanings for existing keywords
* Experimental improvements to the parser/transpiler

Please note that we want to be a friendly and welcoming open source project. If you submit an issue, refrain from saying things are "bad", or "wrong" or "broken". Assume that code that is there was made by people that do their best! Neutrally phrased messages are nicer for everyone. For example use "did not do what I expected", "appears not to work" or "could be improved". For full community guideline, please read the [Hedy Wiki](https://github.com/hedyorg/hedy/wiki)
Please note that we want to be a friendly and welcoming open source project. If you submit an issue, refrain from saying things are "bad", or "wrong" or "broken". Assume that code that is there was made by people that do their best! Neutrally phrased messages are nicer for everyone. For example use "did not do what I expected", "appears not to work" or "could be improved". For full community guideline, please read the [Hedy Wiki](https://github.com/hedyorg/hedy/wiki)
Also feel free to join our [Discord](https://discord.gg/8yY7dEme9r) channel to discuss ideas, get in touch with us our show of your Hedy related creations.

Want to help improve Hedy?
--------------------------

We would love to have a few more programmers join the Hedy team as regular contributors!
We would love to have a few more programmers join the Hedy team as regular contributors!
If you are interested, please consult [Hedy Wiki](https://github.com/hedyorg/hedy/wiki)

225 changes: 117 additions & 108 deletions content/adventures/ca.yaml

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions content/adventures/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -632,13 +632,13 @@ adventures:
13:
story_text: |4
### Übung 1
Wir wollen das Übungsprogramm etwas schwieriger gestalten. Der Spieler muss nun zwei Fragen richtig beantworten. Fülle die Lücken aus, um das Programm zu vervollständigen.
### Übung 1
Wir wollen das Übungsprogramm etwas schwieriger gestalten. Der Spieler muss nun zwei Fragen richtig beantworten. Fülle die Lücken aus, um das Programm zu vervollständigen.
### Übung 2 (extra)
Manchmal gibt es bei Berechnungen mehrere richtige Antworten. Zum Beispiel kann 10 durch 5 und durch 2 geteilt werden. Die Frage "Welche Zahl teilt 10?" kann also durch 2 und durch 5 beantwortet werden.
Frage nach einer Berechnung, die mehrere richtige Antworten hat, bitte die Spielerin, sie zu beantworten, und bestimme mit `{or}`, ob die Antwort richtig ist.
Leere das Programmierfeld und erstelle deine eigene Lösung.
### Übung 2 (extra)
Manchmal gibt es bei Berechnungen mehrere richtige Antworten. Zum Beispiel kann 10 durch 5 und durch 2 geteilt werden. Die Frage "Welche Zahl teilt 10?" kann also durch 2 und durch 5 beantwortet werden.
Frage nach einer Berechnung, die mehrere richtige Antworten hat, bitte die Spielerin, sie zu beantworten, und bestimme mit `{or}`, ob die Antwort richtig ist.
Leere das Programmierfeld und erstelle deine eigene Lösung.
example_code: |
```
antwort1 = {ask} 'Was ist 10 mal 7?'
Expand Down Expand Up @@ -1044,7 +1044,7 @@ adventures:
```
example_code_2: |4
Ist es dir gelungen, die Gesamtpunktzahl für 8 Würfel auszurechnen? Dafür musstest du ganz schön viel hin und her kopieren, oder?In Level 7 machen wir das einfacher!
Ist es dir gelungen, die Gesamtpunktzahl für 8 Würfel auszurechnen? Dafür musstest du ganz schön viel hin und her kopieren, oder?In Level 7 machen wir das einfacher!
start_code: '{print} ''Was wird der Würfel diesmal anzeigen?'''
7:
story_text: |
Expand Down
19 changes: 18 additions & 1 deletion content/adventures/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ adventures:
{if} order {is} fries food_price {is} 2
drink {is} {ask} 'What would you like to drink?'
{if} drink {is} water drink_price {is} 0
else drink_price {is} 3
{else} drink_price {is} 3
total_price {is} food_price + drink_price
{print} 'That will be ' total_price ' dollars, please'
```
Expand Down Expand Up @@ -3724,6 +3724,23 @@ adventures:
{color} {black}
```
start_code: '# place your code here'
10:
story_text: |
In this level you can make the turtle draw a figure.
The turtle will travel the distances in the list, one by one, making bigger and bigger steps.
### Exercise 1
Add a 90 degree turn in the loop, so that a spiral is drawn.
Add at least 5 numbers to the list, so the spiral grows larger.
**(extra)** can you change the spiral into another shape? Experiment with numbers for the turn!
### Exercise 2
The spiral is drawn outwards, make it go inwards?
example_code: |
```
{turn} 90
distances = 10, 20, 30, 40, 50, 60
{for} distance {in} distances
{forward} distance
start_code: ''
while_command:
name: '{while}'
default_save_name: while_command
Expand Down
4 changes: 2 additions & 2 deletions content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ adventures:
Prueba el código por ti mismo con el botón verde 'Ejecutar código' bajo el bloque de programación.
¿Preparado? ¡Entonces ve a la siguiente pestaña para aprender tu primer comando!
start_code: '`{print}` ¡hola mundo!'
start_code: '{print} ¡hola mundo!'
2:
story_text: |
¡Enhorabuena! Has alcanzado el nivel 2. ¡Espero que ya hayas hecho algunos códigos increíbles!
Expand Down Expand Up @@ -804,7 +804,7 @@ adventures:
{if} pedido {is} precio_comida patatas fritas {is} 2
bebida {is} {ask} '¿Qué le gustaría beber?'
{if} bebida {is} precio_bebida agua {is} 0
demás precio_bebida {is} 3
{else} precio_bebida {is} 3
precio_total {is} precio_comida + precio_bebida
{print} 'Serán ' precio_total ' dólares, por favor'
```
Expand Down
40 changes: 20 additions & 20 deletions content/adventures/nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ adventures:
{if} bestelling {is} friet eten_prijs {is} 2
drinken {is} {ask} 'Wat wilt u daarbij drinken?'
{if} drinken {is} water drinken_prijs {is} 0
else drinken_prijs {is} 3
{else} drinken_prijs {is} 3
totaal_prijs {is} eten_prijs + drinken_prijs
{print} 'Dat wordt dan ' totaal_prijs ' euro, alstublieft'
```
Expand Down Expand Up @@ -1029,9 +1029,8 @@ adventures:
{print} 'dat zijn dan ' punten ' punten'
```
Kun jij de code nu zo maken dat je de totaalscore krijgt voor 8 dobbelstenen? Daarvoor moet je sommige stukken van de code knippen en plakken.
example_code_2: |4
Is het gelukt om de score met 8 dobbelstenen te berekenen? Daar had je dan veel knip en plak werk voor nodig, toch? Dit gaan we eenvoudiger maken in level 7!
example_code_2: |
Did you manage to calculate the score for 8 dice? That required a lot of cutting and pasting, right? We are going to make that easier in level 7!
start_code: '{print} ''Wat zal de dobbelsteen deze keer aangeven?'''
7:
story_text: |
Expand Down Expand Up @@ -1539,12 +1538,12 @@ adventures:
Hedy kiest willekeurig of je overleeft of niet...
example_code: |
```
_ Escape from the haunted house!
_ There are 3 doors in front of you...
_ _ _ Which door do you choose?
_ You picked door ... choice
monsters _ a zombie, a vampire, NOTHING YOUVE ESCAPED
_ You see...
_ Ontsnap uit het spookhuis!
_ Er zijn drie deuren voor je neus...
_ _ _ Welke deur kies jij?
_ Je opent deur ... keuze
monsters _ een zombie, een vampire, LEEG JE BENT ONTSNAPT
_ Daar zie je...
{sleep}
_ _ _ _
```
Expand Down Expand Up @@ -2393,12 +2392,12 @@ adventures:
description: repeat command
levels:
7:
story_text: |4
In dit level kun je het `{repeat}` commando gebruiken. `{repeat}` gebruik je om een regel code meerdere keren te herhalen. Zoals hier:
story_text: |
## Repeat! Repeat! Repeat!
Level 7 adds the `{repeat}` command. `{repeat}` can be used to execute one line of code multiple times. Like this:
### Opdracht
Probeer het nieuwe commando uit. Kun jij het verjaardagsliedje in je startcode maken met maar 3 regels code in plaats van 4?
### Exercise
Play around with the repeat command. Can you make the happy birthday song in only 3 lines of code instead of 4 now?
example_code: |
```
{repeat} 3 {times} {print} 'Hedy is leuk!'
Expand Down Expand Up @@ -2575,7 +2574,8 @@ adventures:
Gebruik dan het `{print}` en het `{at} {random}` commando om de klant te vertellen wat hij vanavond voorgeschoteld krijgt.
example_code_2: |
```
voorgerechten
{print} Welkom in restaurant de Willekeur
voorgerechten {is} _
hoofdgerechten {is} _
toetjes {is} _
drinken {is} _
Expand Down Expand Up @@ -2850,10 +2850,10 @@ adventures:
start_code: '# Schrijf jouw code hier'
3:
story_text: |
You can use the `{at} {random}` command to let the computer pick rock, paper or scissors!
Je kunt het `{at} {random}` commando gebruiken om de computer steen, papier of schaar te laten kiezen!
### Exercise
Finish the code by using the `{at} {random}` command.
### Opdracht
Maak de code af door het `{at} {random}` commando te gebruiken.
example_code: |
```
keuzes {is} steen, papier, schaar
Expand Down Expand Up @@ -3407,7 +3407,7 @@ adventures:
17:
story_text: "In de vorige levels was je boter kaas en eieren spel nog vervelend om te spelen. Na elke x of o die je zette vroeg het spel namelijk of je gewonnen had of niet. \nDit maakte het spel wel speelbaar, maar erg traag. In dit level heb je het `{elif}` commando geleerd, dat dit\
\ probleem kan oplossen. \nMet `{elif}` kun je Hedy laten checken of er een speler gewonnen heeft. Hiervoor heb je wel wat extra regels nodig.\n\nIn de voorbeeld code zie je dat we de voorwaarden om te winnen (3 op een rij)hebben toegevoegd. \nJe vindt ze op regel 46 tot 69. Je kunt\
\ zien dat elke keer als een speler 3 op een rij heeft, het spel de variabele spel op 'uit' zet. \nDit betekent dat de {while} lus wordt gestopt en dat het spel stopgezet wordt.\n"
\ zien dat elke keer als een speler 3 op een rij heeft, het spel de variabele spel op 'uit' zet. \nDit betekent dat de `{while}` lus wordt gestopt en dat het spel stopgezet wordt.\n"
example_code: |
```
teken = 'x'
Expand Down
4 changes: 2 additions & 2 deletions content/adventures/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ adventures:
Programlama alanının altındaki yeşil 'Kodu çalıştır' düğmesini kullanarak kodu kendiniz deneyin.
Hazır mısınız? O zaman ilk komutunuzu öğrenmek için bir sonraki sekmeye gidin!
start_code: '`{print}` Merhaba Dünya!'
start_code: '{print} Merhaba Dünya!'
2:
story_text: |
Tebrikler! Seviye 2'ye ulaştınız. Umarım şimdiden bazı harika kodlar yapmışsınızdır!
Expand Down Expand Up @@ -827,7 +827,7 @@ adventures:
{if} sipariş {is} kızartma yemek_ücreti {is} 2
içecek {is} {ask} 'Ne içmek istersiniz?'
{if} içecek {is} su içecek_ücreti {is} 0
değilse içecek_ücreti {is} 3
{else} içecek_ücreti {is} 3
toplam_ücret {is} yemek_ücreti + içecek_ücreti
{print} 'Toplamda 'toplam_ücret ' lira ödeyin, lütfen'
```
Expand Down
2 changes: 1 addition & 1 deletion content/cheatsheets/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
color {is} {ask} What is your favorite color?
{print} color is your favorite!
- name: '{sleep}'
explanation: '`{sleep}` let Hedy pause for a (couple of) second(s).'
explanation: With `{sleep}`, you can let Hedy pause for a (couple of) second(s).
demo_code: |-
{print} Let me think for one second...
{sleep}
Expand Down
2 changes: 1 addition & 1 deletion content/cheatsheets/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
color {is} {ask} ¿Cuál es tu color favorito?
{print} El color es tú favorito!
- name: '{sleep}'
explanation: '`{sleep}` Permite a Hedy tomar una pausa por un (par de) segundo(s).'
explanation: Con `{sleep}`, puedes dejar que Hedy haga una pausa de un (par de) segundo(s).
demo_code: |-
{print} Déjame pensar por un segundo...
{sleep}
Expand Down
4 changes: 2 additions & 2 deletions content/cheatsheets/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
renk {is} {ask} En sevdiğin renk nedir?
{print} renk senin favorin!
- name: '{sleep}'
explanation: '`{sleep}` ile Hedy''nin (birkaç) saniye duraklamasını sağlayın.'
explanation: '`{sleep}` ile Hedy''nin bir(kaç) saniye duraklamasını sağlayın.'
demo_code: |-
{print} Bir saniye düşünmeme izin verin.
{sleep}
Expand Down Expand Up @@ -209,7 +209,7 @@
{print} 'Oops!'
{print} 'Cevap 10 olacaktı'
12:
- name: doğrudan yüzmek
- name: doğrudan ondalıklı
explanation: Ondalık sayılar.
demo_code: |-
{print} 'Hesaplayın!'
Expand Down
12 changes: 12 additions & 0 deletions content/pages/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1067,3 +1067,15 @@ sections:
You can learn from your mistakes, especially in coding!
Making mistakes is unavoidable, and a great opportunity to learn, but for teachers it can be a challenge to find the correct fix for a mistake!
Especially as the codes get longer and longer as the levels progress. That's why we've made a list with frequently made mistakes in each level, and their solutions.
start-sections:
- title: Getting started with Hedy
text: '*Something about teachers accounts, slides etc*'
- title: What other teachers say
text: "A while ago we ran a few short Hedy teachers surveys. \nThe questions span between suggestions of improvement and Hedy’s best features. \nBelow is a testimony of their thoughts:\n\nSimple interface and good examples. *Teacher: 3rd - 6th grades (elementary)*\n\nMultilingual programming and just\
\ the gradual programming concept itself. - *US: middle school, 6th-8th grade*\n\nThe gradual nature of introducing programming. *Australia: High school*\n\nThe construction is so good. *Netherlands: Lower secondary school HAVO-VWO*\n\nI can keep the pace of the class. *Netherlands: group 7 en\
\ 8* \n\nContinues automatically. *Netherlands: 2 HAVO-VWO*\n\nBoth that the explanation can be in Dutch (and the code in English), and that it builds up with more \nand more possibilities. *Netherlands: Plus class group 7*\n\nThe 'realness' of programming, it resembles how it is in reality. *Netherlands:\
\ Plus class group 4 to 8*\n\nStep-by-step activities. Fun activities. *Netherlands: 1e All levels, 2e VWO/HAVO 2e VWO +, 3e HAVO 3e VWO*\n\nBut Hedy and its gradual levels... what an idea, \nI wanted to personally thank you for creating this. I cannot thank you enough. Also, I have never seen\
\ the level of engagement and enthusiasm of my \nstudents, as I have seen with Hedy. We have covered till level 5, and plan to spend one more week on it in classes and labs, \nbefore starting Python. *Pakistan*\n\nI really like Hedy very much and it is also nicely set up, which makes it good\
\ to use in primary school. \nHedy's gradual approach works very well. \nThe short explanation at the beginning of each level and the short example programs help to give the children a quick insight into what is new in the chosen level. \nThe different assignments that the children can choose\
\ also work very well. \nYou see the children choose assignments that appeal to them and they then get to work with them, \nthrough the levels. Hedy is great fun for children who are good at programming and want to get a \ntaste of a real programming language. It is good preparation for secondary\
\ school as soon as more ICT \neducation is given there. *Netherlands: Oegstgeest Montessori school*\n\n<img width=\"500px\" src=\"static/images/teacherfeedback/Fkids1.JPG\"></img>"
Loading

0 comments on commit f7823ac

Please sign in to comment.