Skip to content

Commit

Permalink
Translations update from Hosted Weblate (#5826)
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate authored Oct 3, 2024
1 parent 99148df commit bd2a7c9
Show file tree
Hide file tree
Showing 15 changed files with 123 additions and 138 deletions.
84 changes: 43 additions & 41 deletions content/adventures/nl.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/keywords/el.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
add: add
and: and
and: και
ask: ask
at: at
black: black
Expand Down
12 changes: 6 additions & 6 deletions content/parsons/nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ levels:
story: |-
In een schaaktoernooi zijn nog drie spelers over.
Maak een programma dat beslist welke twee spelers als eerst tegen elkaar mogen schaken.
Print eerst de twee spelers die tegen elkaar spelen en print vervolgens de tegen wie de winnaar mag spelen.
Print eerst de twee spelers die tegen elkaar spelen en print vervolgens tegen wie de winnaar van dat potje moet spelen.
code: |-
spelers {is} Freek, Bart, Emma
speler_1 {is} spelers {at} {random}
Expand Down Expand Up @@ -159,7 +159,7 @@ levels:
{repeat} 3 {times}
nummer = nummers {at} {random}
correct_antwoord = 5 * nummer
antwoord = {ask} 'Wat is 5 keer' nummer '?'
antwoord = {ask} 'Wat is 5 keer ' nummer '?'
{if} antwoord = correct_antwoord
{print} 'Super!'
{else}
Expand Down Expand Up @@ -195,18 +195,18 @@ levels:
{remove} gekozen_diner {from} diner_opties
2:
story: |-
This make-over robot will decide your new hairstyle for you. If you do not agree with the first choice, you can try again.
**Mind** The variable people is defined in the first line. The variable hairstyles in the second.
Deze make-over robot beslist jouw nieuwe kapsel voor je. Als je het niet eens bent met de eerste keuze, kun je het opnieuw proberen.
**Let op** De lijstvariabele mensen is gedefinieerd in de eerste regel. De lijstvariabele haarstijl in de tweede.
code: |-
mensen = Betty, Amanda, Marc
haarstijl = een kaal hoofd, een hanekam, een paardenstaart, stekeltjes
haarstijl = een kaal hoofd, een hanenkam, een paardenstaart, stekeltjes
{for} mens {in} mensen
{print} mens ' krijgt nu ' haarstijl {at} {random}
tevreden = {ask} mens ', ben je blij met deze keuze?'
{if} tevreden {is} ja
{print} 'Fantastisch'
{else}
{print} 'We proberen het opniew... ' mens ' krijgt ' haarstijl {at} {random}
{print} 'We proberen het opnieuw... ' mens ' krijgt ' haarstijl {at} {random}
11:
1:
story: Maak een aftelklok voor oudjaarsavond! Het programma moet de getallen van 10 tot 1 één seconde tonen en je dan een gelukkig nieuwjaar wensen!
Expand Down
2 changes: 1 addition & 1 deletion content/quizzes/el.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
levels:
1:
1:
question_text: What's this programming language called?
question_text: Πώς λέγεται αυτή η γλώσσα προγραμματισμού;
mp_choice_options:
- option: Hedy
feedback: Good job!
Expand Down
60 changes: 30 additions & 30 deletions content/quizzes/nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ levels:
correct_answer: C
question_score: '10'
5:
question_text: Hoeveel moeten je betalen als je met 5 mensen komt eten?
question_text: Hoeveel moet je betalen als je met 5 mensen komt eten?
code: |-
{print} 'Welkom in restaurant Hedy!'
mensen {is} {ask} 'Met hoeveel mensen komt u vanavond eten?'
Expand Down Expand Up @@ -1804,7 +1804,7 @@ levels:
eten = {ask} 'Wat wil je eten?'
{if} eten {is} friet
saus = {ask} 'Welke saus wil je?'
{print} 'Een frietje met with ' saus
{print} 'Een frietje met ' saus
{if} eten {is} pizza
beleg = {ask} 'Wat wil je erop?'
{print} 'Een pizza met ' beleg
Expand Down Expand Up @@ -1868,7 +1868,7 @@ levels:
actie = {ask} 'Openen of verkopen?'
{if} actie {is} verkopen
{print} 'Jij verkoop de koffer voor 500 dollar'
{if} action {is} open
{if} actie {is} open
{print} 'Je opent de koffer en wint een miljoen dollar!'
mp_choice_options:
- option: Koffer 1, verkopen
Expand Down Expand Up @@ -2011,7 +2011,7 @@ levels:
code: |-
leeftijd = {ask} 'Gefeliciteerd! Hoe oud ben je?'
zingen = {ask} 'Wil je dat we gaan zingen?'
if zingen {is} ja
{if} zingen {is} ja
{repeat} jaar {times}
{print} 'Hiep hiep hoera!'
mp_choice_options:
Expand Down Expand Up @@ -2493,7 +2493,7 @@ levels:
correct_answer: C
question_score: '10'
9:
question_text: Hoevaak roept Hedy 'Hieperdepiep Hoera'voor je?
question_text: Hoevaak roept Hedy 'Hieperdepiep Hoera' voor je?
code: |-
leeftijd {is} {ask} 'Hoe oud ben je?'
{for} i {in} {range} 1 {to} leeftijd
Expand Down Expand Up @@ -2576,25 +2576,25 @@ levels:
mp_choice_options:
- option: |-
```
smaken = vanille, aarbeien, chocolade
smaken = vanille, aardbeien, chocolade
{print} 'Ik wil ' smaken {at} {random} 'ijs.'
```
feedback: Alle smaakjes moeten binnen aanhalingstekens.
- option: |-
```
'smaken = vanille, aarbeien, chocolade'
'smaken = vanille, aardbeien, chocolade'
{print} 'Ik wil ' smaken {at} {random} 'ijs.'
```
feedback: Alle smaakjes moeten binnen aanhalingstekens
- option: |-
```
smaken = 'vanille', 'aarbeien', 'chocolade'
smaken = 'vanille', 'aardbeien', 'chocolade'
{print} 'Ik wil ' smaken {at} {random} 'ijs.'
```
feedback: Goed!
- option: |-
```
smaken = 'vanille, aarbeien, chocolade'
smaken = 'vanille, aardbeien, chocolade'
{print} 'Ik wil ' smaken {at} {random} 'ijs.'
```
feedback: All the different values of flavors should be in quotation marks.
Expand All @@ -2604,8 +2604,8 @@ levels:
3:
question_text: Wat is er mis met deze code?
code: |-
leukste_dier = ask 'Wat vind jij het leukste dier?'
print 'Ik hou ook van ' leukstedier
leukste_dier = {ask} 'Wat vind jij het leukste dier?'
{print} 'Ik hou ook van ' leukstedier
mp_choice_options:
- option: De naam van de variabele is anders in regel 1 dan in regel 2.
feedback: Correct!
Expand Down Expand Up @@ -2745,17 +2745,17 @@ levels:
feedback: Zo win je helaas geen prijzen
- option: |-
```
prizes = 'een miljoen euro, niets'
prijzen = 'een miljoen euro, niets'
```
feedback: Zo win je niets
- option: |-
```
prizes = 'one miljoen euro', 'niets'
prijzen = 'one miljoen euro', 'niets'
```
feedback: Winnaar!
- option: |-
```
'prizes' = 'een miljoen euro', 'niets'
'prijzen' = 'een miljoen euro', 'niets'
```
feedback: Zo win je niets
hint: De items op de lijst moeten tussen aanhalingstekens
Expand Down Expand Up @@ -3386,10 +3386,10 @@ levels:
question_text: Wat is er mis met deze code?
code: |-
levens = 100
{while} levens != 0
{while} levens != 0
antwoord = {ask} 'Ben je al boos?'
{if} antwoord == 'ja'
levens = levens - 1
{if} antwoord == 'ja'
levens = levens - 1
mp_choice_options:
- option: '{while} moet {if} zijn.'
feedback: Nee dat klopt niet
Expand All @@ -3406,7 +3406,7 @@ levels:
question_text: Wat moet er in deze code veranderen?
code: |-
{print} 'Raad mijn getal'
numemrs = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
nummers = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
nummer = nummers {at} {random}
game = 'aan'
{if} game == 'aan'
Expand Down Expand Up @@ -3455,12 +3455,12 @@ levels:
question_text: Wat zegt de dieetapp als je 1600 caloriëen hebt gegeten die dag?
code: |-
calorie = {ask} 'Hoeveel calorieën heb je vandaag gegeten?'
{while} calorie <= 1000
{print} 'Je kunt nog wat eten'
{while} calorie > 1000 and calorie =< 2000
{print} 'Prima'
{while} calorie > 2000
{print} 'Je hebt genoeg gehad'
{while} calorie <= 1000
{print} 'Je kunt nog wat eten'
{while} calorie > 1000 {and} calorie =< 2000
{print} 'Prima'
{while} calorie > 2000
{print} 'Je hebt genoeg gehad'
mp_choice_options:
- option: Niets. 1600 calorieën is niet geprogrammeerd
feedback: Nee
Expand Down Expand Up @@ -4034,12 +4034,12 @@ levels:
insects = ['🐝', '🦋', '🕷', '🐞']
your_favorite = {ask} 'what is your favorite insect?'
{for} insect in insects:
{if} your_favorite == '🐝' {or} your_favorite == '🐞':
{print} 'very useful'
{elif} your_favorite == '🕷':
{print} 'it can catch mosquitoes'
{else}:
{print} 'almost all insects can be useful one way or another'
{if} your_favorite == '🐝' {or} your_favorite == '🐞':
{print} 'very useful'
{elif} your_favorite == '🕷':
{print} 'it can catch mosquitoes'
{else}:
{print} 'almost all insects can be useful one way or another'
mp_choice_options:
- option: '`{or}` cannot be used with `{if}`.'
feedback: Try again.
Expand Down
2 changes: 1 addition & 1 deletion content/slides/el.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
levels:
0:
1:
header: Welcome to Hedy!
header: Καλώς ήρθατε στο Hedy!
text: Hedy is a programming language.
2:
header: Programming
Expand Down
2 changes: 1 addition & 1 deletion grammars/keywords-el.lark
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ _IN: _SPACE ("in" | "in") _SPACE
_NOT_IN: _SPACE ("not in" | "not in") _SPACE
_IF: ("if" | "if") _SPACE
_ELSE: "else" | "else"
_AND: _SPACE? ("and" | "and") _SPACE
_AND: _SPACE? ("και" | "and") _SPACE
_REPEAT: ("repeat" | "repeat") _SPACE
_TIMES: _SPACE ("times" | "times")
_FOR: ("for" | "for") _SPACE
Expand Down
2 changes: 1 addition & 1 deletion highlighting/highlighting-trad.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
"False": "False",
"True": "True",
"add": "add",
"and": "and",
"and": "και|and",
"ask": "ask",
"at": "at",
"black": "black",
Expand Down
6 changes: 3 additions & 3 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -61942,9 +61942,9 @@ ${o3}` : i3;
"Transpile_success": "Goed gedaan!\nGa zo door!\nTopper!\nSuper!\nBravo!",
"Transpile_warning": "Let op!",
"Unsaved_Changes": "Jouw programma is niet opgeslagen. Wil je weggaan zonder het op te slaan?",
"adventures_completed": "Adventuren afgerond: {number_of_adventures}",
"adventures_completed": "Avonturen afgerond: {number_of_adventures}",
"adventures_restored": "De standaardavonturen zijn terug gezet.",
"adventures_tried": "Adventuren geprobeerd",
"adventures_tried": "Avonturen geprobeerd",
"copy_link_to_share": "Kopieer link voor delen",
"customization_deleted": "Personalisatie succesvol verwijderd.",
"dice": "\u{1F3B2}",
Expand Down Expand Up @@ -97174,7 +97174,7 @@ def note_with_error(value, err):
False: "False",
True: "True",
add: "add",
and: "and",
and: "\u03BA\u03B1\u03B9|and",
ask: "ask",
at: "at",
black: "black",
Expand Down
2 changes: 1 addition & 1 deletion static/js/appbundle.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/js/message-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1257,9 +1257,9 @@ export const TRANSLATIONS: Record<string, Record<MessageKey, string>> = {
"Transpile_success": "Goed gedaan!\nGa zo door!\nTopper!\nSuper!\nBravo!",
"Transpile_warning": "Let op!",
"Unsaved_Changes": "Jouw programma is niet opgeslagen. Wil je weggaan zonder het op te slaan?",
"adventures_completed": "Adventuren afgerond: {number_of_adventures}",
"adventures_completed": "Avonturen afgerond: {number_of_adventures}",
"adventures_restored": "De standaardavonturen zijn terug gezet.",
"adventures_tried": "Adventuren geprobeerd",
"adventures_tried": "Avonturen geprobeerd",
"copy_link_to_share": "Kopieer link voor delen",
"customization_deleted": "Personalisatie succesvol verwijderd.",
"dice": "🎲",
Expand Down
9 changes: 1 addition & 8 deletions translations/el/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ msgstr ""
"X-Generator: Weblate 5.8-dev\n"
"Generated-By: Babel 2.14.0\n"

#, fuzzy
msgid "Access Before Assign"
msgstr "You tried to use the variable {name} on line {access_line_number}, but you set it on line {definition_line_number}. Set a variable before using it."
msgstr "Διαπιστώσαμε ότι μια μεταβλητή \"{name}\" χρησιμοποιείται στη γραμμή {access_line_number} πριν οριστεί. Μπορείτε να ορίσετε τη μεταβλητή πριν χρησιμοποιηθεί"

#, fuzzy
msgid "Cyclic Var Definition"
Expand Down Expand Up @@ -2637,9 +2636,3 @@ msgstr "Your program"
#~ msgid "student_not_allowed_in_class"
#~ msgstr "Student not allowed in class"

#~ msgid "next_adventure"
#~ msgstr ""

#~ msgid "previous_adventure"
#~ msgstr ""

18 changes: 9 additions & 9 deletions translations/es/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2000-01-01 00:00+0000\n"
"PO-Revision-Date: 2024-10-01 06:17+0000\n"
"PO-Revision-Date: 2024-10-03 00:12+0000\n"
"Last-Translator: gallegonovato <[email protected]>\n"
"Language-Team: es <[email protected]>\n"
"Language: es\n"
Expand Down Expand Up @@ -353,7 +353,7 @@ msgid "classes_info"
msgstr "En Hedy, puedes crear tantas clases como quieras. Cada clase también puede tener varios profesores, cada uno con un rol específico. También puedes personalizar tus clases ordenando las aventuras ¡o incluso agregando las tuyas! Puedes ver más información acerca de las clases en el <a href=\"https://hedy.org/for-teachers/manual/preparations#for-teachers\">manual de profesores</a>."

msgid "clear"
msgstr ""
msgstr "Limpiar"

msgid "clone"
msgstr "Clonar"
Expand All @@ -377,7 +377,7 @@ msgid "commands"
msgstr "Comandos"

msgid "complete"
msgstr ""
msgstr "Completado"

msgid "congrats_message"
msgstr "¡Felicitaciones, {username}, has alcanzado los siguientes resultados con Hedy!"
Expand All @@ -392,7 +392,7 @@ msgid "content_invalid"
msgstr "Esta aventura no es válida."

msgid "continue"
msgstr ""
msgstr "Continuar"

msgid "contributor"
msgstr "Contribuidor"
Expand Down Expand Up @@ -476,7 +476,7 @@ msgid "dash"
msgstr "un guión"

msgid "debug"
msgstr ""
msgstr "Depurar"

msgid "default_401"
msgstr "Parece que no tienes autorización..."
Expand Down Expand Up @@ -1341,7 +1341,7 @@ msgid "public_profile_updated"
msgstr "Perfil público actualizado, la página se recargará."

msgid "put"
msgstr ""
msgstr "Poner"

msgid "question mark"
msgstr "un signo de interrogación"
Expand Down Expand Up @@ -1434,7 +1434,7 @@ msgid "reset_view"
msgstr "Resetear"

msgid "restart"
msgstr ""
msgstr "Restablecer"

msgid "retrieve_adventure_error"
msgstr "¡No puedes ver esta aventura!"
Expand Down Expand Up @@ -1521,7 +1521,7 @@ msgid "settings"
msgstr "Mi configuración personal"

msgid "share"
msgstr ""
msgstr "Compartir"

msgid "share_by_giving_link"
msgstr "Muestra tu programa a otras personas dándoles el siguiente enlace:"
Expand Down Expand Up @@ -1584,7 +1584,7 @@ msgid "stepper_variable_role"
msgstr "paso a paso"

msgid "stop"
msgstr ""
msgstr "Parar"

msgid "stop_code_button"
msgstr "Detener programa"
Expand Down
Loading

0 comments on commit bd2a7c9

Please sign in to comment.