Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations update from Hosted Weblate #5343

Merged
merged 5 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/adventures/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3643,7 +3643,7 @@ adventures:
À partir de ce niveau, tu peux utiliser les nombres décimaux pour rendre ton menu plus réaliste.

### Exercice
Peux-tu écrire le code pour donner à tes amis et à ta famille une réduction de 15% ?
Peux-tu écrire le code pour donner à tes amis et à ta famille une réduction de 15 % ?
example_code: |
```
total = 0.0
Expand Down
28 changes: 15 additions & 13 deletions content/adventures/pt_BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3008,12 +3008,12 @@ adventures:
print_command:
name: '{print}'
default_save_name: imprima
description: Introduction print command
description: Introdução ao comando imprima
levels:
1:
story_text: |
## The print command
You can print text to the screen using the `{print}` command.
## O comando imprima
Você pode imprimir texto na tela usando o comando `{print}`.
example_code: |
```
{print} Olá, programador(a)!
Expand All @@ -3028,26 +3028,28 @@ adventures:
Have fun!
example_code_2: |
```
_ Hello!
_ Olá!
```
18:
story_text: |-
We arrived at real Python code! That means we need to use parentheses with `{print}` and `{range}` from now on.
It also means you can use Hedy code from this level in any Python environment as long as you use the English commands. If you haven't until now, you can switch the toggle in the commands menu to do so.
Chegamos ao código real de Python! Isso significa que teremos de usar parênteses com `{print}` e `{range}` de agora em diante.
Também significa que você pode usar códigos Hedy deste nível em qualquer ambiente Python contanto que você use os comandos em inglês. Caso ainda não tenha tentado, você pode trocar o idioma de comandos no menu de comandos.
example_code: |
```
{print}('Hello!')
{print}('Olá!')
{for} i {in} {range}(1, 10):
{print}('This is line ', i)
{print}('Essa é a linha ', i)
```
story_text_2: If you want to print more than one item, you need to separate them by commas.
story_text_2: Se quiser imprimir mais de um item, terá de separá-los por vírgulas.
example_code_2: |
```
temperature = 25
{print}('It is ', temperature, ' degrees outside')
temperatura = 25
{print}('Está ', temperatura, ' graus lá fora.')
```
```
nome = 'Hedy'
{print}('Meu nome é ', nome)
```

{print}('My name is ', name)
quizmaster:
name: Quizmaster
default_save_name: Quizmaster
Expand Down
2 changes: 1 addition & 1 deletion content/keywords/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ not_in: pas dans
or: ou
orange: orange
pink: rose
play: play
play: joue
pressed: pressé
print: affiche
purple: violet
Expand Down
31 changes: 8 additions & 23 deletions content/parsons/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,28 +235,13 @@ levels:
{print} "Félicitations !"
12:
1:
story: |-
Sing the song 'What shall we do with the drunken sailor'. In case you don't know it, the song goed like this:

What will we do with the drunken sailor
What will we do with the drunken sailor
What will we do with the drunken sailor
Early in the morning
Way hey and up she rises
Way hey and up she rises
Way hey and up she rises
Early in the morning
code: |-
verses = 'What will we do with the drunken sailor', 'Way hey and up she rises'
{for} verse {in} verses
{for} count {in} {range} 1 {to} 3
{print} verse
{print} 'Early in the morning'
story: "Sing the song 'What shall we do with the drunken sailor'. In case you don't know it, the song goed like this:\n\nWhat will we do with the drunken sailor\nWhat will we do with the drunken sailor\nWhat will we do with the drunken sailor\nEarly in the morning\nWay hey and up she rises\nWay hey and up she rises\nWay hey and up she rises\nEarly in the morning"
code: "verses = 'What will we do with the drunken sailor', 'Way hey and up she rises'\n{for} verse {in} verses\n {for} count {in} {range} 1 {to} 3\n {print} verse\n {print} 'Early in the morning'"
2:
story: Play a game of Twister with us! First define the variable people, then limbs, then colors.
story: Joue avec nous le jeux du Twister ! Commencer par définir la variable « personnes », puis « membres », et enfin « couleurs »
code: |-
people = 'Jess', 'Nick', 'Winston'
limbs = 'left hand', 'left foot', 'right hand', 'right foot'
colors = 'red', 'blue', 'green', 'yellow'
{for} person {in} people
{print} person ', put your ' limbs {at} {random} ' on ' colors {at} {random}
personnes = "Jess", "Nicolas", "Willy"
membres = "main gauche", "pied gauche", "main droite", "pied droit"
couleurs = "rouge", "bleu", "vert", "jaune"
{for} personne {in} personnes
{print} personne ", " membres {at} {random} " sur " couleurs {at} {random}
6 changes: 3 additions & 3 deletions content/parsons/sl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ levels:
story: "Make a program that calculates how old you are in dog and cat years.\nFirst ask the age of the user and start calculating.\nFirst calculate the dogyears then the catyears.\nShow the user the different ages."
code: "age = {ask} 'How old are you?'\ndog_age = age * 7\ncat_age = age * 5\n{print} 'In dog years you are ' dog_age ' years old.'\n{print} 'In cat years you are ' cat_age ' years old.'"
2:
story: Create a program that helps you calculate how many cakes you should buy for your birthday party.
code: "{print} 'It is your birthday!'\npeople = {ask} 'How many people do you want to give a slice of cake?'\ncakes_amount = people/8\n{print} 'You will have to buy ' cakes_amount ' cakes'"
story: Ustvarite program, ki vam pomaga izračunati, koliko tort morate kupiti za rojstnodnevno zabavo.
code: "{print} 'Danes imate rojstni dan!'\nljudje = {ask} 'Kolikim ljudem želite dati košček torte?'\nštevilo_tort = ljudje/8\n{print} 'Kupiti boste morali ' število_tort ' torte'"
7:
1:
story: Complete the baby shark song. First comes baby shark, then mommy and finally daddy shark.
story: Dokončajte pesem Baby Shark. Najprej pride Baby Shartk, nato njegova mama in na koncu še oče morski pes.
code: "{repeat} 3 {times} {print} 'Baby shark tututututudu'\n{print} 'Baby shark'\n{repeat} 3 {times} {print} 'Mommy shark tututututudu'\n{print} 'Mommy shark'\n{repeat} 3 {times} {print} 'Daddy shark tututututudu'\n{print} 'Daddy shark'"
2:
story: Create the song 'The wheels on the bus go round and round'
Expand Down
6 changes: 3 additions & 3 deletions content/quizzes/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2640,9 +2640,9 @@ levels:
feedback: Alright!
- option: |-
```
flavors = 'vanilla, strawberry, chocolate'
{print} 'I would like a ' flavors {at} {random} ' cake.'
```
flavors = 'vanilla, strawberry, chocolate'
{print} 'I would like a ' flavors {at} {random} ' cake.'
```
feedback: All the different values of flavors should be in quotation marks.
hint: The second line is the same in each code, pay attention to the first line
correct_answer: C
Expand Down
Loading
Loading