Add drawing canvas (canvas module, DrawingView, drawing_* tests) and levels 13-14 (classes, saved patterns)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-16 17:40:53 +02:00
parent 4689d25700
commit d3b7c611f1
46 changed files with 1250 additions and 22 deletions
+20 -1
View File
@@ -119,5 +119,24 @@
"sync.error.unauthorized": "The server refuses this token.",
"sync.error.unavailable": "No sync server available here. Your local progress is safe.",
"sync.error.rejected": "The server rejected the data sent.",
"sync.error.invalid": "The data received from the server is invalid and was ignored."
"sync.error.invalid": "The data received from the server is invalid and was ignored.",
"reason.drawing_missing": "No drawing was produced: use canvas.line.",
"reason.drawing_too_few": "The drawing is missing some lines.",
"reason.drawing_too_many": "The drawing has too many lines.",
"reason.drawing_line_missing": "An expected line is not in the drawing (position or colour).",
"reason.drawing_color_missing": "An expected colour is not used in the drawing.",
"reason.invalid_test": "This test is badly defined (let the level authors know).",
"drawing.title": "Drawing",
"drawing.alt.empty": "Empty sheet: no line drawn.",
"drawing.alt": "Drawing of {n} line(s). Colours: {colors}.",
"drawing.list": "See the list of lines",
"drawing.segment": "From ({x1}, {y1}) to ({x2}, {y2}), {color}",
"drawing.more": "… and {n} more line(s).",
"drawing.color.black": "black",
"drawing.color.red": "red",
"drawing.color.green": "green",
"drawing.color.blue": "blue",
"drawing.color.orange": "orange",
"drawing.color.purple": "purple",
"drawing.color.gray": "gray"
}