Skip to content

Conversation

@MarleenGilsing
Copy link
Collaborator

@MarleenGilsing MarleenGilsing commented Dec 12, 2025

Some small content issues that can be merged.

@jpelay
Copy link
Member

jpelay commented Dec 16, 2025

Hey Marleen, the test suite is failing due to some inconsistencies between the translations and english, can you take a look?

---------------[ Path in YAML: .adventures.turtle_draw_it.levels, Error: Extra keys in dict ]---------------------
The path .adventures.turtle_draw_it.levels is a dict that contains more keys than the reference file: {14}

Reference file: content/adventures/en.yaml

    1:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n<div cl{...}"
    2:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n<div cl{...}"
    3:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n<div cl{...}"
    4:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n<div cl{...}"
      example_code: '**Extra** Up for a real challenge? Make sure that the colors{...}'
    5:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n**Extra{...}"
      example_code: "Hint:\n```\nchosen_letter {is} {ask} 'Which letter would you l{...}"
    7:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n**Extra{...}"
      example_code: |
        Hint for the square:
        ```
        chosen_color = {ask} _
        ```
    8:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n<div cl{...}"
    9:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n**Extra{...}"
    10:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n**Extra{...}"
      example_code: "Hint for the nested squares:\n```\ncolors = red, blue, orange,{...}"
    11:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n<div cl{...}"
      example_code: "Hint Nested Hexagon:\n```\ndistances = 100, 80, 60, 40, 20\n{fo{...}"
      story_text_2: Christmas lights <img src="[https://github.com/hedyorg/hedy/a{...}](https://github.com/hedyorg/hedy/a%7B...%7D)
      example_code_2: "Hint Christmas Lights:\n\nStart by moving to the left side of {...}"
    12:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\nFirstly{...}"
      example_code: "Hint Bracelet Designing program\n```\n{define} draw_a_square\n_{...}"
    15:
      story_text: "### Exercise\nCreate a program that asks the player how many {...}"
      example_code: "```\n{define} calculate_degrees(amount_of_corners)\n    _ 360 {...}"
    16:
      story_text: "### Exercise\nRecreate the drawings with the turtle!\n\nSpiral {...}"
      example_code: "Spiral\n```\ndistance = 5\n{while} distance < 200\n    distance {...}"
      story_text_2: Fan <img src="[https://github.com/hedyorg/hedy/assets/8067858{...}](https://github.com/hedyorg/hedy/assets/8067858%7B...%7D)
      example_code_2: "Fan\n```\n{define} draw_a_square(side)\n_\n\ni = 100\n{while} i
        > {...}"
      story_text_3: Star <img src="[https://github.com/hedyorg/hedy/assets/806785{...}](https://github.com/hedyorg/hedy/assets/806785%7B...%7D)
      example_code_3: "Star\nA star is usually drawn using 144-degree-turns. If you {...}"
    
Language file: content/adventures/zh_Hans.yaml

    1:
      story_text: "### 练习\n用小海龟重新完成绘画作品!\n\n<div class=\"w-full flex flex-row gap-2{...}"
    2:
      story_text: "### 练习\n用小海龟重画图画!\n\n<div class=\"w-full flex flex-row gap-2\">\n三{...}"
    3:
      story_text: "### Exercise\n用小海龟重画图画!\n\n<div class=\"w-full flex flex-row gap{...}"
    4:
      story_text: "### 练习\n用小海龟重画图画!\n\n<div class=\"w-full flex flex-row gap-2\">\n彩{...}"
      example_code: "**额外**准备迎接真正的挑战吗?确保这些图形的颜色是随机选择的,这样每次运行程序时它们看起来就会不同!\n\n' ' '\n{...}"
    5:
      story_text: "### 练习\n用小海龟重画图画!\n\n**额外**只制作一个代码让玩家决定他们想要看到哪个字母!你还能加上更多的字母吗?\n{...}"
      example_code: |
        提示:
        ```
        选择的字母 {is} {ask} '您想看哪个字母? F, E 或 L?'
        {if} _
        ```
    7:
      story_text: "### 练习\n用小海龟重画图画!\n\n**额外**让玩家决定正方形的颜色。\n\n**额外**你能做出你自己名字的字母和你自己{...}"
      example_code: |
        正方形的提示:
        ```
        选择的颜色 = {ask} _
        ```
    8:
      story_text: "### 练习\n用小海龟重画图画!\n\n<div class=\"w-full flex flex-row gap-2\">\n六{...}"
    9:
      story_text: "### 练习\n用小海龟重画图画!\n\n**额外**括号中的数字表示可以绘制多少行代码。你能用同样的行数来做吗?\n\n<div{...}"
    10:
      story_text: "### 练习\n用小海龟重画图画!\n\n**额外**括号中的数字表示可以绘制多少行代码。你能用同样的行数来做吗?\n\n**额外{...}"
      example_code: "嵌套方块的提示:\n```\ncolord = 红色, 蓝色, 橙色, 黄色, 粉色, 紫色, 绿色, 棕色,黑色\n距离 ={...}"
    11:
      story_text: "### 练习\n用小海龟重画图画!\n\n<div class=\"w-full flex flex-row gap-2\">\n嵌{...}"
      example_code: "嵌套六边形的提示:\n```\n距离列表 = 100, 80, 60, 40, 20\n{for} 距离 {in} 距离列表\n\
        {...}"
      story_text_2: 圣诞灯 <img src="[https://github.com/hedyorg/hedy/assets/8067858{...}](https://github.com/hedyorg/hedy/assets/8067858%7B...%7D)
      example_code_2: "圣诞灯的提示:\n\n首先用一条看不见的白线移动到屏幕的左侧。然后挂上圣诞彩灯!\n```\n{color} white\n\
        {tu{...}"
    12:
      story_text: "### 练习\n用乌龟重新绘制图画!\n\n首先,为您想要在手环上使用的每种形状**定义一个函数。 然后,将形状添加到手镯中,{...}"
      example_code: "提示手链设计程序\n```\n{define} draw_a_square\n_\n\n{color} white\n{turn}
        {...}"
    14:
      story_text: "### 练习\n用小海龟重画图画!\n\n不同大小的街道 <img src=\"[https://github.com/hedyo{...}](https://github.com/hedyo%7B...%7D)"
      example_code: "不同大小的街道的提示\n```\n{define} 画一栋房子 {with} 大小\n_\n\n{call} 画一栋房子 {wit{...}"
    15:
      story_text: "### 练习\n创建一个程序,询问玩家他们的图形应该有多少个角,然后创建那个图形。\n图像中的图形是玩家填充10时的输出。\n{...}"
      example_code: "```\n{define} 计算度数 {with} 角的数量\n    _ 360 / 角的数量\n\n\n{define} 画出{...}"
    16:
      story_text: "### 练习\n用小海龟重画图画!\n\n螺旋 <img src=\"[https://github.com/hedyorg/he{...}](https://github.com/hedyorg/he%7B...%7D)"
      example_code: |
        螺旋
        ```
        距离 = 5
        {while} 距离 < 200
            距离 = 距离 + 5
             _
        ```
      story_text_2: 扇形 <img src="[https://github.com/hedyorg/hedy/assets/80678586{...}](https://github.com/hedyorg/hedy/assets/80678586%7B...%7D)
      example_code_2: "扇形\n```\n{define} 画一个正方形{with} 边长\n_\n\ni = 100\n{while} i > 1\n\
        \   {...}"
      story_text_3: 星星 <img src="[https://github.com/hedyorg/hedy/assets/80678586{...}](https://github.com/hedyorg/hedy/assets/80678586%7B...%7D)
      example_code_3: "星星\n星星通常是用144度旋转来画的。例如,如果您将其稍微更改为143度,并使用`{while}`循环重复该模式多次,则{...}"
    
Language file: content/adventures/uk.yaml

    10:
      example_code: "Підказка для вкладених квадратів: \n``` \nкольори = червоний, {...}"
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n**Екстра** Кіл{...}"
    11:
      example_code: "Вкладений шестикутник підказки: \n``` \nвідстані = 100, 80, 60{...}"
      story_text_2: Різдвяні вогні <img src="[https://github.com/hedyorg/hedy/ass{...}](https://github.com/hedyorg/hedy/ass%7B...%7D)
      story_text: "### Вправа\nВідтворіть малюнки разом з черепахою!\n\n<div class{...}"
      example_code_2: "Різдвяні вогні:\n\nПочати переїзд на ліву сторону екрана з нев{...}"
    12:
      story_text: "### Вправи\nВідтворіть малюнки разом з черепахою!\n\nПо-перше, {...}"
      example_code: "Програма для проектування браслетів Hint\n``` \n{define} draw_{...}"
    16:
      example_code: "Спіраль\nй й\nвідстань = 5\n{while} відстань < 200\nвідстань = в{...}"
      story_text_3: Зірка <img src="[https://github.com/hedyorg/hedy/assets/80678{...}](https://github.com/hedyorg/hedy/assets/80678%7B...%7D)
      example_code_3: "Зірки\nЗірка зазвичай тягнеться за допомогою 144-дегре-поверн{...}"
      example_code_2: "Вентилятор\nй й\n{define} Draw_a_square {with} сторона\nУ\n\nдо
        1{...}"
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\nSpiral <img sr{...}"
      story_text_2: Вентилятор <img src="[https://github.com/hedyorg/hedy/assets/{...}](https://github.com/hedyorg/hedy/assets/%7B...%7D)
    1:
      story_text: "### Вправи\nВідтворіть малюнки разом з черепахою!\n\n<div class{...}"
    2:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n<div class=\"w-{...}"
    3:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n<div class=\"w-{...}"
    4:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n<div class=\"w-{...}"
      example_code: '**Екстра** Включити реальний виклик? Переконайтеся, що кольо{...}'
    7:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n**Екстра** Вир{...}"
      example_code: "Hint for the square:\n```\nchosen_color = {ask}_\n```\n"
    9:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n**Екстра** Кіл{...}"
    14:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\nВулиця в різни{...}"
      example_code: "Hint Street в різних розмірах\nй й\n{define} Draw_a_house {wit{...}"
    15:
      story_text: "### Exercise\nСтворіть програму, яка просить гравця, скільки {...}"
      example_code: "й й\n{define} обчислення_degrees {with} amount_of_corners\n_ 3{...}"
    5:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n**Екстра*** Зр{...}"
      example_code: "Хін:\nй й\nselect_letter {is} {ask} 'Числовий лист вам сподоба{...}"
    8:
      story_text: "### Exercise\nВідтворити малюнки з черепахою!\n\n<div class=\"w-{...}"

@jpelay
Copy link
Member

jpelay commented Jan 20, 2026

Hello Marleen! Is this PR related to #6467 ?

@MarleenGilsing
Copy link
Collaborator Author

They both fix issues from #6449, but this issue is a constanly growing to-do list, so that's why they are kinda related, but they shouldn't interfere with each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress
Status: Review for relevance

Development

Successfully merging this pull request may close these issues.

3 participants