diff --git a/apps/code/catalog.de.i18n b/apps/code/catalog.de.i18n index e280edea8..465fc8a06 100644 --- a/apps/code/catalog.de.i18n +++ b/apps/code/catalog.de.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Set the orientation to a degrees" PythonTurtleSetposition = "Positionne la tortue" PythonTurtleShowturtle = "Show the turtle" PythonTurtleSpeed = "Drawing speed between 0 and 10" +PythonTurtleWrite = "Display a text" PythonUniform = "Floating point number in [a,b]" diff --git a/apps/code/catalog.en.i18n b/apps/code/catalog.en.i18n index 24f2399be..e158cda8b 100644 --- a/apps/code/catalog.en.i18n +++ b/apps/code/catalog.en.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Set the orientation to a degrees" PythonTurtleSetposition = "Positionne la tortue" PythonTurtleShowturtle = "Show the turtle" PythonTurtleSpeed = "Drawing speed between 0 and 10" +PythonTurtleWrite = "Display a text" PythonUniform = "Floating point number in [a,b]" diff --git a/apps/code/catalog.es.i18n b/apps/code/catalog.es.i18n index 4e281d393..8503f7ed7 100644 --- a/apps/code/catalog.es.i18n +++ b/apps/code/catalog.es.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Set the orientation to a degrees" PythonTurtleSetposition = "Positionne la tortue" PythonTurtleShowturtle = "Show the turtle" PythonTurtleSpeed = "Drawing speed between 0 and 10" +PythonTurtleWrite = "Display a text" PythonUniform = "Floating point number in [a,b]" diff --git a/apps/code/catalog.fr.i18n b/apps/code/catalog.fr.i18n index b0a22c8cd..8a263636c 100644 --- a/apps/code/catalog.fr.i18n +++ b/apps/code/catalog.fr.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Met un cap de a degrés" PythonTurtleSetposition = "Positionne la tortue" PythonTurtleShowturtle = "Affiche la tortue" PythonTurtleSpeed = "Vitesse du tracé entre 0 et 10" +PythonTurtleWrite = "Affiche un texte" PythonUniform = "Nombre décimal dans [a,b]" diff --git a/apps/code/catalog.it.i18n b/apps/code/catalog.it.i18n index fd87c729d..893feb525 100644 --- a/apps/code/catalog.it.i18n +++ b/apps/code/catalog.it.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Imposta l'orientamento per a gradi" PythonTurtleSetposition = "Posiziona la tartaruga" PythonTurtleShowturtle = "Mostra la tartaruga" PythonTurtleSpeed = "Velocità di disegno (x tra 0 e 10)" +PythonTurtleWrite = "Mostra un testo" PythonUniform = "Numero decimale tra [a,b]" diff --git a/apps/code/catalog.nl.i18n b/apps/code/catalog.nl.i18n index a681f468d..843d9b3ab 100644 --- a/apps/code/catalog.nl.i18n +++ b/apps/code/catalog.nl.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Zet de oriëntatie op a graden" PythonTurtleSetposition = "Plaats de schildpad" PythonTurtleShowturtle = "Laat de schildpad zien" PythonTurtleSpeed = "Tekensnelheid tussen 0 and 10" +PythonTurtleWrite = "Display a text" PythonUniform = "Zwevendekommagetal in [a,b]" diff --git a/apps/code/catalog.pt.i18n b/apps/code/catalog.pt.i18n index cc903f2a3..7d11881ef 100644 --- a/apps/code/catalog.pt.i18n +++ b/apps/code/catalog.pt.i18n @@ -193,4 +193,5 @@ PythonTurtleSetheading = "Definir a orientação por a graus" PythonTurtleSetposition = "Positionne la tortue" PythonTurtleShowturtle = "Mostrar o turtle" PythonTurtleSpeed = "Velocidade do desenho entre 0 e 10" +PythonTurtleWrite = "Mostrar um texto" PythonUniform = "Número decimal em [a,b]" diff --git a/apps/code/catalog.universal.i18n b/apps/code/catalog.universal.i18n index 1f3d1a084..12a5b394a 100644 --- a/apps/code/catalog.universal.i18n +++ b/apps/code/catalog.universal.i18n @@ -231,4 +231,5 @@ PythonTurtleCommandRight = "right(a)" PythonTurtleCommandSetheading = "setheading(a)" PythonTurtleCommandSetposition = "setposition(x,[y])" PythonTurtleCommandShowturtle = "showturtle()" -PythonTurtleCommandSpeed = "speed(x)" \ No newline at end of file +PythonTurtleCommandSpeed = "speed(x)" +PythonTurtleCommandWrite = "write(\"text\")" diff --git a/apps/code/python_toolbox.cpp b/apps/code/python_toolbox.cpp index 4610872e9..aecd3bfbc 100644 --- a/apps/code/python_toolbox.cpp +++ b/apps/code/python_toolbox.cpp @@ -152,6 +152,7 @@ const ToolboxMessageTree TurtleModuleChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandPenup, I18n::Message::PythonTurtlePenup, false), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandPensize, I18n::Message::PythonTurtlePensize), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandIsdown, I18n::Message::PythonTurtleIsdown, false), + ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandWrite, I18n::Message::PythonTurtleWrite), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandReset, I18n::Message::PythonTurtleReset, false), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandShowturtle, I18n::Message::PythonTurtleShowturtle, false), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandHideturtle, I18n::Message::PythonTurtleHideturtle, false), @@ -423,6 +424,7 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandTurtleFunction, I18n::Message::PythonTurtleFunction, false, I18n::Message::PythonCommandTurtleFunctionWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandUniform, I18n::Message::PythonUniform), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandColorWhite, I18n::Message::PythonColorWhite, false), + ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandWrite, I18n::Message::PythonTurtleWrite), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandColorYellow, I18n::Message::PythonColorYellow, false), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandImag, I18n::Message::PythonImag, false, I18n::Message::PythonCommandImagWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandReal, I18n::Message::PythonReal, false, I18n::Message::PythonCommandRealWithoutArg)