Skip to content

Commit

Permalink
Translations from Hosted Weblate (#5447)
Browse files Browse the repository at this point in the history
This PR merges pending commits from the Weblate repository that are conflicting with changes on `main`, while resolving conflicts in favor of the Weblate side.
  • Loading branch information
hedybot authored Apr 22, 2024
1 parent 362991c commit c56a94c
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 33 deletions.
12 changes: 8 additions & 4 deletions content/adventures/zh_Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1923,10 +1923,12 @@ adventures:
### 练习
这首歌的下一节是:
```not_hedy_code
昨晚我躺在枕头上的时候
昨晚我躺在床上的时候
昨晚我躺在枕头上的时候
我梦见我的邦妮死去了
```
你能用和示例同样的方法编写这段诗句吗?
example_code: |
Expand Down Expand Up @@ -5062,11 +5064,13 @@ adventures:
12:
story_text: |
### 练习
用乌龟重新绘制图纸!
提示:手镯设计程序。首先,为手镯上要使用的每个形状定义一个函数。然后,将形状添加到手镯中,如下所示:
</div>
手镯设计程序 <img src="https://github.com/hedyorg/hedy/assets/80678586/549d7f3a-c492-4b4a-b173-746eb3400951" width="500">
用乌龟重新绘制图画!
首先,为您想要在手环上使用的每种形状**定义一个函数。 然后,将形状添加到手镯中,如下所示:
手链设计程序 <img src="https://github.com/hedyorg/hedy/assets/80678586/549d7f3a-c492-4b4a-b173-746eb3400951" width="500">
example_code: |
提示手链设计程序
```
{define} draw_a_square
_
Expand Down
2 changes: 1 addition & 1 deletion content/slides/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1121,8 +1121,8 @@ levels:
{print} 'Do you even know this person?!'
debug: 'True'
4:
text: Enjoy the adventures in level 16!
header: Let's try it out!
text: Enjoy the adventures in level 16!
17:
1:
header: Welcome to level 17
Expand Down
2 changes: 1 addition & 1 deletion content/slides/hu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,8 @@ levels:
{print} 'Do you even know this person?!'
debug: 'True'
4:
text: Enjoy the adventures in level 16!
header: Let's try it out!
text: Enjoy the adventures in level 16!
17:
1:
header: Welcome to level 17
Expand Down
2 changes: 1 addition & 1 deletion content/slides/ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,8 @@ levels:
{print} 'Do you even know this person?!'
debug: 'True'
4:
text: Enjoy the adventures in level 16!
header: Let's try it out!
text: Enjoy the adventures in level 16!
17:
1:
header: Welcome to level 17
Expand Down
2 changes: 1 addition & 1 deletion content/slides/kmr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,8 @@ levels:
{print} 'Do you even know this person?!'
debug: 'True'
4:
text: Enjoy the adventures in level 16!
header: Let's try it out!
text: Enjoy the adventures in level 16!
17:
1:
header: Welcome to level 17
Expand Down
2 changes: 1 addition & 1 deletion content/slides/pa_PK.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,8 @@ levels:
{print} 'Do you even know this person?!'
debug: 'True'
4:
header: Let's try it out!
text: Enjoy the adventures in level 16!
header: Let's try it out!
17:
1:
header: Welcome to level 17
Expand Down
2 changes: 1 addition & 1 deletion content/slides/sq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,8 @@ levels:
{print} 'Do you even know this person?!'
debug: 'True'
4:
text: Enjoy the adventures in level 16!
header: Let's try it out!
text: Enjoy the adventures in level 16!
17:
1:
header: Welcome to level 17
Expand Down
2 changes: 1 addition & 1 deletion content/slides/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1175,8 +1175,8 @@ levels:
{sleep}
debug: 'True'
5:
header: Let's try it out!
text: Enjoy the adventures in level 17!
header: Let's try it out!
18:
1:
header: Welcome to level 18
Expand Down
44 changes: 22 additions & 22 deletions content/slides/zh_Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,18 +1069,18 @@ levels:
guesses = 10
{while} guess = 0
answer = 'Guess my number:'
answer = '猜猜我的数字:'
{if} answer >= random_number
{print} 'lower'
{print} '小了'
guesses = guesses -1
{if} answer > random_number
{print} 'higher!'
{print} '大了!'
guesses = guesses
{else} answer = random_number
{print} 'correct'
{print} '对了'
guesses = 10
debug: 'True'
debug: '对的'
4:
header: 让我们开始尝试!
text: 享受15级的冒险吧!
Expand All @@ -1104,35 +1104,35 @@ levels:
header: Debugging
text: Let's debug this code!
code: |-
{print} 'Friendship test'
{print} '友情测试'
{subjects} = ['song', 'movie', 'food', 'drink']
answers_player_1 = []
answers_player_2 = []
score = 100
{for} i {in} {range} 1 {to} 4
answer = {ask} 'what is your favorite ' subjects[i]
answer = {ask} '你最爱的' subjects[i]
{add} answer {to} answers_player_1
{print} 'Player 2, your turn!'
{print} '玩家2,轮到你了!'
{for} i {in} {range} 0 {to} 4
answer_player_2 = {ask} 'what is player 1s favorite ' subjects
answer_player_2 = {ask} '什么是玩家1 最喜爱的 ' subjects
{add} answer_player_2 {in} answers_player_2
{if} answers_player_2[2] == answers_player_1[1]
{print} 'Correct!'
{print} '对了!'
{else}
{print} 'Wrong!'
{print} '错了!'
score = score - 25
{print} 'Player 2, you've scored ' score '%'
{print} '玩家2,你的分数 ' score '%'
{if} score = 100
{print} 'You are an amazing friend'
{print} '你是位超赞的朋友'
{if} score < 100 {or} score >= 50
{print} 'You could do better'
{print} '你能作的更好'
{else} score < 50
{print} 'Do you even know this person?!'
debug: 'True'
{print} '你真的认识这个人吗?!'
debug: '对的'
4:
header: 让我们开始尝试!
text: 享受16级的冒险吧!
Expand Down Expand Up @@ -1169,12 +1169,12 @@ levels:
text: Let's debug this code!
code: |-
{define} ask_direction
direction = {ask} 'Where do you want to go?'
{if} direction = 'backwards'
direction = {ask} '你想去哪里?'
{if} direction = '后退'
{turn} 180
{else} direction == 'right'
{else} direction == ''
{turn} 90
{else} direction == 'left'
{else} direction == ''
{turn} 270
{forward} 100
Expand All @@ -1183,9 +1183,9 @@ levels:
{while} continue == 'yes'
{print} ask_direction
{sleep}
continue = 'do you want to draw some more?'
continue = '你想再画一些吗?'
{sleep}
debug: 'True'
debug: '对的'
5:
header: 我们来试一下!
text: 享受第17关的冒险吧!
Expand Down

0 comments on commit c56a94c

Please sign in to comment.