hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.27k stars 282 forks source link

Translations update from Hosted Weblate #5511

Closed weblate closed 1 month ago

weblate commented 1 month ago

Translations update from Hosted Weblate for Hedy/Adventures.

It also includes following components:

Current translation status:

Weblate translation status

github-actions[bot] commented 1 month ago

The automatic script made changes

content/adventures/fr.yaml

There was a problem in a level 13 snippet, at adventures.rock.levels.13.example_code:

[!CAUTION] You tried to use the variable ton_choice, but you didn't set it. It is also possible that you were trying to use the word ton_choice but forgot quotation marks. at line [4]

Translation source

options = "pierre", "papier", "ciseaux"
ton_choix = {ask} "Que choisis-tu ?"
choix_ordinateur = options {at} {random}
{print} "Tu as choisis " ton_choice <---- ERROR HERE
{print} "L'ordinateur a choisi " choix_ordinateur
{if} choix_ordinateur {is} ton_choice
    {print} "Match nul"
{if} choix_ordinateur {is} "rock" {and} ton_choice {is} "papier"
    {print} "Tu gagne !"
{if} choix_ordinateur {is} "rock" {and} ton_choice {is} "ciseaux"
    {print} "L'ordinateur gagne !"

Translated version

options = "pierre", "papier", "ciseaux"
ton_choix = demande "Que choisis-tu ?"
choix_ordinateur = options au hasard
affiche "Tu as choisis " ton_choice <---- ERROR HERE
affiche "L'ordinateur a choisi " choix_ordinateur
si choix_ordinateur est ton_choice
    affiche "Match nul"
si choix_ordinateur est "rock" et ton_choice est "papier"
    affiche "Tu gagne !"
si choix_ordinateur est "rock" et ton_choice est "ciseaux"
    affiche "L'ordinateur gagne !"

This snippet has been reverted to English.

mergify[bot] commented 1 month ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).