Skip to content

Commit

Permalink
📜 Fix daily weblate errors (#6109)
Browse files Browse the repository at this point in the history
* Translated using Weblate (Turkish)

Currently translated at 90.9% (424 of 466 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (403 of 403 strings)

Translated using Weblate (Turkish)

Currently translated at 90.7% (423 of 466 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Turkish)

Currently translated at 56.8% (421 of 740 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (67 of 67 strings)

Translated using Weblate (English)

Currently translated at 100.0% (403 of 403 strings)

Translated using Weblate (English)

Currently translated at 100.0% (403 of 403 strings)

Translated using Weblate (English)

Currently translated at 100.0% (466 of 466 strings)

Translated using Weblate (English)

Currently translated at 100.0% (740 of 740 strings)

Translated using Weblate (Ukrainian)

Currently translated at 99.7% (402 of 403 strings)

Translated using Weblate (Turkish)

Currently translated at 62.0% (250 of 403 strings)

Translated using Weblate (Turkish)

Currently translated at 90.7% (423 of 466 strings)

Translated using Weblate (Turkish)

Currently translated at 68.1% (441 of 647 strings)

Translated using Weblate (Turkish)

Currently translated at 56.0% (415 of 740 strings)

Translated using Weblate (English)

Currently translated at 100.0% (403 of 403 strings)

Translated using Weblate (English)

Currently translated at 100.0% (740 of 740 strings)

Co-authored-by: Yılmaz Durmaz <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/en/
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/tr/
Translate-URL: https://hosted.weblate.org/projects/hedy/client-messages/tr/
Translate-URL: https://hosted.weblate.org/projects/hedy/keywords/tr/
Translate-URL: https://hosted.weblate.org/projects/hedy/slides/en/
Translate-URL: https://hosted.weblate.org/projects/hedy/slides/tr/
Translate-URL: https://hosted.weblate.org/projects/hedy/slides/uk/
Translate-URL: https://hosted.weblate.org/projects/hedy/web-texts/tr/
Translate-URL: https://hosted.weblate.org/projects/hedy/webpages/en/
Translate-URL: https://hosted.weblate.org/projects/hedy/webpages/tr/
Translation: Hedy/Adventures
Translation: Hedy/Keywords
Translation: Hedy/Texts
Translation: Hedy/Webpages
Translation: Hedy/client-messages
Translation: Hedy/slides

* Translated using Weblate (Ukrainian)

Currently translated at 99.0% (399 of 403 strings)

Translated using Weblate (Ukrainian)

Currently translated at 99.6% (645 of 647 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (740 of 740 strings)

Translated using Weblate (Ukrainian)

Currently translated at 99.7% (738 of 740 strings)

Co-authored-by: Максим Горпиніч <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/uk/
Translate-URL: https://hosted.weblate.org/projects/hedy/slides/uk/
Translate-URL: https://hosted.weblate.org/projects/hedy/web-texts/uk/
Translation: Hedy/Adventures
Translation: Hedy/Texts
Translation: Hedy/slides

* Translated using Weblate (German)

Currently translated at 90.9% (673 of 740 strings)

Co-authored-by: Bob Idle <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/de/
Translation: Hedy/Adventures

* Translated using Weblate (French)

Currently translated at 60.8% (394 of 647 strings)

Co-authored-by: pinage404 <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/hedy/web-texts/fr/
Translation: Hedy/Texts

* Fix failing and incorrect snippets

* 🤖 Automatically update generated files

---------

Co-authored-by: Yılmaz Durmaz <[email protected]>
Co-authored-by: Максим Горпиніч <[email protected]>
Co-authored-by: Bob Idle <[email protected]>
Co-authored-by: pinage404 <[email protected]>
Co-authored-by: boryanagoncharenko <[email protected]>
  • Loading branch information
6 people authored Jan 17, 2025
1 parent 4e12603 commit d05d8f7
Show file tree
Hide file tree
Showing 20 changed files with 480 additions and 255 deletions.
128 changes: 61 additions & 67 deletions content/adventures/de.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions content/adventures/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2151,18 +2151,18 @@ adventures:
***Paste your code*** Copy your code from the previous adventure and paste the code in the programming field.
***The game*** This games continues playing until Player 2 is game over. Fill in the while command accordingly. Now, Player 2 is allowed to guess a letter, so ask Player 2 to guess a letter.
***The game*** This game continues playing until Player 2 is game over. Fill in the while command accordingly. Now, Player 2 is allowed to guess a letter, so ask Player 2 to guess a letter.
We need to check if their answer is correct, so check if their `guess` is (somewhere) in the (list) `answer`. Then we let the computer figure out which of the letter(s) is the guess. We have already programmed that part for you.
Next we want to compliment the player for finding a correct letter and we want to print the list `guessed_letters`, so the player can see their progress.
Next, we want to compliment the player for finding a correct letter and we want to print the list `guessed_letters`, so the player can see their progress.
The next part we're going to program is what happens when the player has guessed all of the letters. So if their list of `guessed_letters` is the same as our list `answer`.
The next part we're going to program is what happens when the player has guessed all of the letters. So, if their list of `guessed_letters` is the same as our list `answer`.
If the lists are the same, congratulate Player 2 with their victory and set the variable `game_over` to `True`.
Next we'll program what happens when Player 2 guesses wrong (so the `{else}` command). First, tell the player that their guess was wrong. Then increase the `mistakes_made` variable by 1.
Next, we'll program what happens when Player 2 guesses wrong (so the `{else}` command). First, tell the player that their guess was wrong. Then increase the `mistakes_made` variable by 1.
For the last part we'll program what happens when Player 2 has made 10 mistakes. We'll print that Player 1 has won the game. Then we'll print the correct answer. And finally, we'll set our `game_over` variable to `True`, so the game stops.
***Go to the next adventure*** Amazing work! Your game is playable, but wouldn't it be fun if the hangman was actually drawn when Player 2 makes a mistake..?
***Go to the next adventure*** Amazing work! Your game is playable, but wouldn't it be fun if the hangman was actually drawn when Player 2 makes a mistake?
example_code: |
```
# Paste your code here
Expand Down
18 changes: 9 additions & 9 deletions content/adventures/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ adventures:
Hikayenizde `{add}` komutu da kullanışlı olabilir.
example_code_2: |
```
{print} They hear a sound
animals {is} 🐿, 🦔, 🦇, 🦉
animal {is} {ask} What do you think it is?
{add} animal {to_list} animals
{print} it was an animals {at} {random}
{print} Bir ses duydular
hayvanlar {is} 🐿, 🦔, 🦇, 🦉
hayvan {is} {ask} Ne olduğunu düşünüyorsun?
{add} hayvan {to_list} hayvanlar
{print} bu bir hayvanlar {at} {random}
```
story_text_3: |
Bu, hikayenizdeki `{remove}` komutunun bir örneğidir
Expand Down Expand Up @@ -266,12 +266,12 @@ adventures:
add_remove_command:
name: '{add} {to} & {remove} {from}'
default_save_name: ekle_çıkar_komutu
description: '{add} {to_list} ve {remove} {from} giriş'
description: '{add} {to_list} ve {remove} {from} komutlarına giriş'
levels:
3:
story_text: |
## ekle şuraya
Listeye `{add} {to_list}` komutu ile yeni öğeler ekleyebilirsiniz. Listeye bir öğe eklemek için sadece şunu yazın: `{add} penguen {to} hayvanlar` , ya da örnek koddaki gibi `{ask}` komutunu kullanabilirsiniz.
Listeye `{add} {to}` komutu ile yeni öğeler ekleyebilirsiniz. Listeye bir öğe eklemek için sadece şunu yazın: `{add} penguen {to} hayvanlar` , ya da örnek koddaki gibi `{ask}` komutunu kullanabilirsiniz.
example_code: |
```
hayvanlar {is} köpek, kedi, kanguru
Expand Down Expand Up @@ -583,9 +583,9 @@ adventures:
story_text: |
Hedy'ye hoş geldiniz! Seviye 1'de, bir hikaye yazdırarak başlayabilirsiniz.
Programlama alanının altındaki yeşil 'Kodu çalıştır' düğmesini kullanarak kodu kendiniz deneyin.
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!
Hazır mısınız? O zaman ilk komutunuzu öğrenmek için bir sonraki maceraya gidin!
2:
story_text: |
Tebrikler! Seviye 2'ye ulaştınız. Umarım şimdiden bazı harika kodlar yapmışsınızdır!
Expand Down
18 changes: 9 additions & 9 deletions content/adventures/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ adventures:
Команда `{add}` також може стати в нагоді у вашій історії.
example_code_2: |
```
{print} They hear a sound
animals {is} 🐿, 🦔, 🦇, 🦉
animal {is} {ask} What do you think it is?
{add} animal {to_list} animals
{print} it was an animals {at} {random}
{print} Вони чують звук
тварини {is} 🐿, 🦔, 🦇, 🦉
тварина {is} {ask} Як ви думаєте, що це?
{add} тварина {to_list} тварини
{print} це були тварини {at} {random}
```
story_text_3: |
Це приклад команди `{remove}` у вашій історії
Expand Down Expand Up @@ -259,17 +259,17 @@ adventures:
```
add_remove_command:
default_save_name: javascript licenses api веб-сайт go1.13.8
description: '{add} {to_list} і {remove} {from}'
description: 'представляємо {add} {to_list} і {remove} {from}'
levels:
3:
story_text: |
## Додати до
Ви можете додати елементи до списку за допомогою команди `{add} {to_list}`. Щоб додати елемент до списку, ви можете просто ввести: `{add} penguin {to_list} animals` або ви можете скористатися командою `{ask}`, як у прикладі коду.
Ви можете додати елементи до списку за допомогою команди `{add} {to_list}`. Щоб додати елемент до списку, ви можете просто ввести: `{add} penguin {to_list} animals` або ви можете скористатися командою `{ask}`, як у прикладі co
story_text_3: |
### Вправи
Спробуйте нові команди у цьому віртуальному ресторані. Додайте смак, на який гравець сподівається, до списку та видаліть смаки, на які у нього алергія.
story_text_2: "## Видалити з\nЯкщо ви можете додавати елементи до списку, ви, звичайно, можете їх і вилучати. Це робиться за допомогою команди `{remove} {from}`.\n"
example_code: "```\nanimals {is} dog, cat, kangaroo\nlike {is} {ask} What is your favorite animal?\n{add} like {to_list} animals\n{print} I choose animals {at} {random}\n```\n"
example_code: "```\nтварини {is} собака, кіт, кенгуру\nяк {is} {ask} Яка твоя улюблена тварина?\n{add} як {to_list} тварини\n{print} Я вибираю тварини {at} {random}\n```\n"
example_code_3: "```\n{print} Mystery milkshake\nароматизатори{is} полуниця, шоколад, ваніль\nнадія {is} {ask} На який смак ти сподіваєшся?\n_\nалергія {is} {ask} У вас алергія на будь-які смаки?\n_\n{print} Ви отримуєте молочний коктейль зі смаком {at} {random}\n```\n"
example_code_2: "```\nanimals {is} dog, cat, kangaroo\ndislike {is} {ask} What animal do you not like?\n{remove} dislike {from} animals\n{print} I choose animals {at} {random}\n```\n"
name: '{add} {to_list} & {remove} {from}'
Expand Down Expand Up @@ -2781,7 +2781,7 @@ adventures:
hangman_2:
levels:
17:
story_text: "Тепер настав час запрограмувати гру «ката». \n\n### Вправи\n\n***Вставте свій код*** Скопіюйте свій код із попередньої пригоди та вставте код у поле програмування. \n\n***Гра*** Ці ігри тривають, поки гравець 2 не закінчить гру. Заповніть команду while відповідно. Тепер гравцеві 2 дозволено вгадати літеру, тому попросіть гравця 2 вгадати літеру. \nНам потрібно перевірити, чи правильна їхня відповідь, тому перевірте, чи є їхня (десь) у (списку) . Потім ми дозволяємо комп’ютеру визначити, яка з літер є вгадкою. Ми вже запрограмували цю частину для вас. \nДалі ми хочемо похвалити гравця за те, що він знайшов правильну літеру, і ми хочемо надрукувати список `guessed_letters`, щоб гравець міг бачити свій прогрес. \n\nНаступна частина, яку ми плануємо запрограмувати, це те, що станеться, коли гравець вгадає всі літери. Отже, якщо їхній список `answer` збігається з нашим списком `guess`. \nЯкщо списки однакові, привітайте Гравця 2 з перемогою та встановіть для змінної `game_over` значення `True`. \n\nДалі ми запрограмуємо, що станеться, якщо гравець 2 вгадає неправильно (тому команда `{else}`). Спочатку скажіть гравцеві, що його припущення було неправильним. Потім збільште змінну `mistakes_made` на 1. \n\nВ останній частині ми запрограмуємо, що станеться, коли Гравець 2 зробить 10 помилок. Ми надрукуємо, що Гравець 1 виграв гру. Тоді ми надрукуємо правильну відповідь. І, нарешті, ми встановимо для нашої змінної `game_over` значення `True`, щоб гра зупинилася. \n\n***До наступної пригоди*** Чудова робота! У вашу гру можна грати, але хіба не було б весело, якби ката справді витягнули, коли Гравець 2 зробив помилку..?\n"
story_text: "Тепер настав час запрограмувати гру «ката». \n\n### Вправи\n\n***Вставте свій код*** Скопіюйте свій код із попередньої пригоди та вставте код у поле програмування. \n\n***Гра*** Ця гра триває, доки Гравець 2 не закінчить гру. Заповніть команду while відповідно. Тепер гравцеві 2 дозволено вгадати букву, тому попросіть гравця 2 вгадати літеру. \nНам потрібно перевірити, чи правильна їхня відповідь, тому перевірте, чи є їхня припущення (десь) у (списку) відповіді. Потім ми дозволяємо комп’ютеру визначити, яка з літер є вгадкою. Ми вже запрограмували цю частину для вас. \nДалі ми хочемо похвалити гравця за те, що він знайшов правильну літеру, і ми хочемо надрукувати список `guessed_letters`, щоб гравець міг бачити свій прогрес. \n\nНаступна частина, яку ми плануємо запрограмувати, це те, що станеться, коли гравець вгадає всі літери. Отже, якщо їхній список `answer` збігається з нашим списком `guess`. \nЯкщо списки однакові, привітайте Гравця 2 з перемогою та встановіть для змінної `game_over` значення `True`. \n\nДалі ми запрограмуємо, що станеться, якщо гравець 2 вгадає неправильно (тому команда `{else}`). Спочатку скажіть гравцеві, що його припущення було неправильним. Потім збільште змінну `mistakes_made` на 1. \n\nВ останній частині ми запрограмуємо, що станеться, коли Гравець 2 зробить 10 помилок. Ми надрукуємо, що Гравець 1 виграв гру. Тоді ми надрукуємо правильну відповідь. І, нарешті, ми встановимо для нашої змінної `game_over` значення `True`, щоб гра зупинилася. \n\n***До наступної пригоди*** Чудова робота! У вашу гру можна грати, але хіба не було б весело, якби ката справді витягнули, коли Гравець 2 зробив помилку?\n"
example_code: "``` \n# Вставте свій код сюди \n\n# Гра \n{while} game_over _ \n здогадка = _ \n {if} _ \n {for} i {in} {range} 1 {to} сума_букв: \n if answer[i] == guess: \n guessed_letters[i] = здогадка \n {print} _ \n {if} вгадані_літери == _: \n {print} _ \n game_over = _ \n {else}:\n {print} _ \n зроблені_помилки_ \n {if}_ == 10: \n {print} _ \n {print} _ \n _ \n```\n"
name: Шибениця 2
default_save_name: Шибениця_2
Expand Down
11 changes: 9 additions & 2 deletions content/client-messages/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ CheckInternet: İnternet bağlantınızın çalışıp çalışmadığını kont
Connection_error: Sunucuya ulaşamadık.
Empty_output: Bu kod çalışıyor ama hiçbir şey yazdırmıyor. Kodunuzda bir yazdırma komutu kullanın veya bir çıktı almak için kaplumbağayı kullanın.
Errors_found: Bir hata yaptınız! Endişelenmeyin, programı yine de çalıştırdık
Execute_error: Programı çalıştırırken bir şeyler ters gitti.
Execute_error: Bir şeyler ters gitti.
Other_error: Oops! Belki küçük bir hata yapmış olabiliriz.
Program_repair: Bu doğru kod olabilirdi, onu düzeltebilir misin?
Program_too_long: Programınızın çalışması çok uzun sürüyor.
ServerError: Bizim beklemediğimiz bir program yazdınız. Eğer yardım etmek isterseniz, bize [email protected] adresinden ilgili seviye ve programınızla birlikte bir e-posta gönderin. Bu arada, biraz farklı bir şey deneyin ve örneklere bir kez daha göz atın. Teşekkürler!
ServerError: Bulunduğunuz seviyeyi ve programınızı içeren bir e-postayı [email protected] adresine göndererek bize yardımcı olabilirsiniz. Bu arada, biraz farklı bir yaklaşım deneyin. Teşekkürler!
Transpile_error: Programını çalıştıramıyoruz.
Transpile_success:
- Aferin!
Expand All @@ -16,3 +16,10 @@ Transpile_success:
- Çok iyiydin!
Transpile_warning: Uyarı!
Unsaved_Changes: Kaydedilmemiş bir programın var. Kaydetmeden ayrılmak mı istiyorsun?
fortune: 🔮, ✨
dice: 🎲
songs: 🎵,🎶
haunted: 🦇, 👻, 🎃
restaurant: 🍣, 🍕, 🍔
turtle: 🐢
rock: ✂️, 📜, 🗻
17 changes: 17 additions & 0 deletions content/keywords/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,20 @@ while: şu iken
white: beyaz
with: ile
yellow: sarı
comma: ','
d1: '1'
d6: '6'
d7: '7'
d0: '0'
d5: '5'
d8: '8'
quote: "'"
d2: '2'
d3: '3'
d4: '4'
play: oynat
d9: '9'
'false': yanlış
'False': Yanlış
'true': doğru
'True': Doğru
20 changes: 10 additions & 10 deletions content/pages/en.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: Hedy documentation
title: Hedy Documentation
home-sections:
- title: Textual programming made easy!
text: |-
Expand Down Expand Up @@ -53,15 +53,15 @@ join-sections:
learn-more-sections:
- title: The Hedy foundation
text: |-
Hedy is maintained by the Hedy Foundation (Stichting Hedy), Sportmanstaat 8, 2341 JG Oegstgeest, Dutch Chamber of Commerce number 94013985.
Hedy is maintained by the Hedy Foundation (Stichting Hedy), Sportmanstaat 8, 2341 JG Oegstgeest, Dutch Chamber of Commerce number 94013985.
The board of the foundation consists of:
* Felienne Hermans, president
* Eelko Huizing, finance
* Renée Merbis, secretary
The board of Stichting Hedy does not get any financial compensation for their tasks.
The board of the foundation consists of:
* Felienne Hermans, president
* Eelko Huizing, finance
* Renée Merbis, secretary
The board of Stichting Hedy does not get any financial compensation for their tasks.
- title: A deep dive!
text: |-
Want to know more about Hedy's philosophy and design? Check out this talk Felienne gave at the StrangeLoop Conference in 2022:
Expand Down Expand Up @@ -422,7 +422,7 @@ teacher-guide:
- title: Common mistakes
key: common_mistakes
intro: |-
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 programs get longer and longer as the students progress through the levels. That's why we've made a list with frequently made mistakes in each level, and their solutions.
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 programs get longer and longer as the students progress through the levels. That's why we've made a list with frequently made mistakes in each level, and their solutions.
levels:
- level: '1'
sections:
Expand Down
Loading

0 comments on commit d05d8f7

Please sign in to comment.