Skip to content

Commit

Permalink
🤖 Automatically update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate authored and actions-user committed Oct 29, 2024
1 parent 44b814a commit c6d9055
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions content/slides/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ levels:
2:
header: '{while}'
text: "We are going to learn a new loop, the while loop! The loop continues as long as the statement is true. So don't forget to change the value in the loop.\n\nIn the example code, we continue until a correct answer has been given. If the correct answer is never given, the loop will never end!"
code: "answer = 0\n{while} answer!= 25\n answer = {ask} 'What is 5 times 5?'\n{print} 'A correct answer has been given'"
code: "answer = 0\n{while} answer != 25\n answer = {ask} 'What is 5 times 5?'\n{print} 'A correct answer has been given'"
16:
1:
text: In this level you will learn about the [square brackets] and how to use them.
Expand All @@ -462,7 +462,7 @@ levels:
header: Let's try it out!
17:
3:
code: "prices = ['1 million dollars', 'an apple pie', 'nothing']\nyour_price = prices[{random}]\n{print} 'You win ' your_price\n{if} your_price == '1 million dollars' :\n {print} 'Yeah! You are rich!'\n{elif} your_price == 'an apple pie' :\n {print} 'Lovely, an apple pie!'\n{else}:\n {print} 'Better luck next time..'"
code: "prices = ['1 million dollars', 'an apple pie', 'nothing']\nyour_price = prices[{random}]\n{print} 'You win ' your_price\n{if} your_price == '1 million dollars' :\n {print} 'Yeah! You are rich!'\n{elif} your_price == 'an apple pie' :\n {print} 'Lovely, an apple pie!'\n{else}:\n {print} 'Better luck next time..'"
text: 'In this level you can also use a new command: elif. elif is short for else if and you need it when you want to make 3 (or more!) options. Check it out!'
header: Elif
4:
Expand All @@ -473,7 +473,7 @@ levels:
2:
header: Colon
text: 'Now we are going to change indentation a little bit. Every time that we need an indentation, we need : at the line before the indentation.'
code: "prices = ['1 million dollars', 'an apple pie', 'nothing']\nyour_price = prices[{random}]\n{print} 'You win ' your_price\n{if} your_price == '1 million dollars' :\n {print} 'Yeah! You are rich!'\n{else}:\n {print} 'Better luck next time..'"
code: "prices = ['1 million dollars', 'an apple pie', 'nothing']\nyour_price = prices[{random}]\n{print} 'You win ' your_price\n{if} your_price == '1 million dollars' :\n {print} 'Yeah! You are rich!'\n{else}:\n {print} 'Better luck next time..'"
1:
text: in this level you will learn how to use a colon and you will learn the elif command.
header: Welcome to level 17
Expand Down Expand Up @@ -635,4 +635,4 @@ levels:
3:
text: "You can also use:\n\n== is the same as.\n\n!= is not\n\n== is used in `{if}` statements."
header: Symbols
code: "answer = {ask} 'Do you want to learn more?'\n{if} answer == 'yes'\n {print} 'Go to the next adventure!'\n{if} answer!= 'yes'\n {print} 'That is a shame!'"
code: "answer = {ask} 'Do you want to learn more?'\n{if} answer == 'yes'\n {print} 'Go to the next adventure!'\n{if} answer != 'yes'\n {print} 'That is a shame!'"
14 changes: 7 additions & 7 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -60773,16 +60773,16 @@ ${o3}` : i3;
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"bn": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
"Empty_output": "This code works but does not print anything. Add a print command to your code or use the turtle to get output.",
"CheckInternet": "Check whether your Internet connection is working\u0964",
"Connection_error": "We couldn't reach the server\u0964",
"Empty_output": "This code works but does not print anything. Add a print command to your code or use the turtle to get output\u0964",
"Errors_found": "You made a mistake! Don't worry, we still ran the program",
"Execute_error": "Something went wrong while running the program.",
"Other_error": "Oops! Maybe we made a little mistake.",
"Execute_error": "Something went wrong while running the program\u0964",
"Other_error": "Oops! Maybe we made a little mistake\u0964",
"Program_repair": "This could be the correct code, can you fix it?",
"Program_too_long": "Your program takes too long to run.",
"Program_too_long": "Your program takes too long to run\u0964",
"ServerError": "You wrote a program we weren't expecting. If you want to help, send us an email with the level and your program at [email protected]. In the meantime, try something a little different and take another look at the examples. Thanks!",
"Transpile_error": "We can't run your program.",
"Transpile_error": "We can't run your program\u0964",
"Transpile_success": "Good job!\nAmazing!\nWell done!\nExcellent!\nYou did great!",
"Transpile_warning": "Warning!",
"Unsaved_Changes": "You have an unsaved program. Do you want to leave without saving it?",
Expand Down
2 changes: 1 addition & 1 deletion static/js/appbundle.js.map

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions static/js/message-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ export const TRANSLATIONS: Record<string, Record<MessageKey, string>> = {
"unsaved_class_changes": "There are unsaved changes, are you sure you want to leave this page?"
},
"bn": {
"CheckInternet": "Check whether your Internet connection is working.",
"Connection_error": "We couldn't reach the server.",
"Empty_output": "This code works but does not print anything. Add a print command to your code or use the turtle to get output.",
"CheckInternet": "Check whether your Internet connection is working",
"Connection_error": "We couldn't reach the server",
"Empty_output": "This code works but does not print anything. Add a print command to your code or use the turtle to get output",
"Errors_found": "You made a mistake! Don't worry, we still ran the program",
"Execute_error": "Something went wrong while running the program.",
"Other_error": "Oops! Maybe we made a little mistake.",
"Execute_error": "Something went wrong while running the program",
"Other_error": "Oops! Maybe we made a little mistake",
"Program_repair": "This could be the correct code, can you fix it?",
"Program_too_long": "Your program takes too long to run.",
"Program_too_long": "Your program takes too long to run",
"ServerError": "You wrote a program we weren't expecting. If you want to help, send us an email with the level and your program at [email protected]. In the meantime, try something a little different and take another look at the examples. Thanks!",
"Transpile_error": "We can't run your program.",
"Transpile_error": "We can't run your program",
"Transpile_success": "Good job!\nAmazing!\nWell done!\nExcellent!\nYou did great!",
"Transpile_warning": "Warning!",
"Unsaved_Changes": "You have an unsaved program. Do you want to leave without saving it?",
Expand Down

0 comments on commit c6d9055

Please sign in to comment.