From faee99b51beca21c9e6610ac35bb4f88d8c132ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Tue, 11 Feb 2020 16:19:27 +0100 Subject: [PATCH] [apps/code] Fix list items of the toolbox --- apps/code/catalog.de.i18n | 12 +++++------- apps/code/catalog.en.i18n | 12 +++++------- apps/code/catalog.es.i18n | 12 +++++------- apps/code/catalog.fr.i18n | 20 +++++++++----------- apps/code/catalog.pt.i18n | 12 +++++------- apps/code/catalog.universal.i18n | 28 ++++++++++++++++++---------- apps/code/python_toolbox.cpp | 21 ++++++++++----------- 7 files changed, 57 insertions(+), 60 deletions(-) diff --git a/apps/code/catalog.de.i18n b/apps/code/catalog.de.i18n index 10d8548e6..af4c4de57 100644 --- a/apps/code/catalog.de.i18n +++ b/apps/code/catalog.de.i18n @@ -12,7 +12,7 @@ PythonSingleQuote = "Einfaches Anführungszeichen" PythonAbs = "Absolute/r Wert/Größe" PythonAcos = "Arkuskosinus" PythonAcosh = "Hyperbelkosinus" -PythonAppend = "Add an item to the end of the list" +PythonAppend = "Add x to the end of the list" PythonAsin = "Arkussinus" PythonAsinh = "Hyperbelsinus" PythonAtan = "Arkustangens" @@ -25,11 +25,10 @@ PythonClear = "Empty the list" PythonCmathFunction = "cmath-Modul-Funktionspräfix" PythonColor = "Definiere eine RGB-Farbe" PythonComplex = "a+ib zurückgeben" -PythonCopy = "Returns a copy of the list" PythonCopySign = "Return x with the sign of y" PythonCos = "Kosinus" PythonCosh = "Hyperbolic cosine" -PythonCount = "Count the number of occurrences" +PythonCount = "Count the occurrences of x" PythonDegrees = "Convert x from radians to degrees" PythonDivMod = "Quotient and remainder" PythonDrawString = "Display a text from pixel (x,y)" @@ -56,9 +55,9 @@ PythonImportRandom = "Import random module" PythonImportMath = "Import math module" PythonImportTime = "Import time module" PythonImportTurtle = "Import turtle module" -PythonIndex = "Index of the first occurrence" +PythonIndex = "Index of the first x occurrence" PythonInput = "Prompt a value" -PythonInsert = "Insert an item" +PythonInsert = "Insert x at index i in the list" PythonInt = "Convert x to an integer" PythonIonFunction = "ion module function prefix" PythonIsFinite = "Check if x is finite" @@ -127,7 +126,7 @@ PythonOct = "Convert integer to octal" PythonPhase = "Phase of z" PythonConstantPi = "3.141592653589794" PythonPolar = "z in polar coordinates" -PythonPop = "Remove and return an item" +PythonPop = "Remove and return the last item" PythonPower = "x raised to the power y" PythonPrint = "Print object" PythonRadians = "Convert x from degrees to radians" @@ -147,7 +146,6 @@ PythonSin = "Sine" PythonSinh = "Hyperbolic sine" PythonSleep = "Suspend the execution for t seconds" PythonSort = "Sort the list" -PythonSorted = "Sort a list" PythonSqrt = "Square root" PythonSum = "Sum the items of a list" PythonTan = "Tangent" diff --git a/apps/code/catalog.en.i18n b/apps/code/catalog.en.i18n index 80431a0a5..489a1148d 100644 --- a/apps/code/catalog.en.i18n +++ b/apps/code/catalog.en.i18n @@ -12,7 +12,7 @@ PythonSingleQuote = "Single quote" PythonAbs = "Absolute value/Magnitude" PythonAcos = "Arc cosine" PythonAcosh = "Arc hyperbolic cosine" -PythonAppend = "Add an item to the end of the list" +PythonAppend = "Add x to the end of the list" PythonAsin = "Arc sine" PythonAsinh = "Arc hyperbolic sine" PythonAtan = "Arc tangent" @@ -25,11 +25,10 @@ PythonClear = "Empty the list" PythonCmathFunction = "cmath module function prefix" PythonColor = "Define a rgb color" PythonComplex = "Return a+ib" -PythonCopy = "Returns a copy of the list" PythonCopySign = "Return x with the sign of y" PythonCos = "Cosine" PythonCosh = "Hyperbolic cosine" -PythonCount = "Count the number of occurrences" +PythonCount = "Count the occurrences of x" PythonDegrees = "Convert x from radians to degrees" PythonDivMod = "Quotient and remainder" PythonDrawString = "Display a text from pixel (x,y)" @@ -56,9 +55,9 @@ PythonImportRandom = "Import random module" PythonImportMath = "Import math module" PythonImportTime = "Import time module" PythonImportTurtle = "Import turtle module" -PythonIndex = "Index of the first occurrence" +PythonIndex = "Index of the first x occurrence" PythonInput = "Prompt a value" -PythonInsert = "Insert an item" +PythonInsert = "Insert x at index i in the list" PythonInt = "Convert x to an integer" PythonIonFunction = "ion module function prefix" PythonIsFinite = "Check if x is finite" @@ -127,7 +126,7 @@ PythonOct = "Convert integer to octal" PythonPhase = "Phase of z" PythonConstantPi = "3.141592653589794" PythonPolar = "z in polar coordinates" -PythonPop = "Remove and return an item" +PythonPop = "Remove and return the last item" PythonPower = "x raised to the power y" PythonPrint = "Print object" PythonRadians = "Convert x from degrees to radians" @@ -147,7 +146,6 @@ PythonSin = "Sine" PythonSinh = "Hyperbolic sine" PythonSleep = "Suspend the execution for t seconds" PythonSort = "Sort the list" -PythonSorted = "Sort a list" PythonSqrt = "Square root" PythonSum = "Sum the items of a list" PythonTan = "Tangent" diff --git a/apps/code/catalog.es.i18n b/apps/code/catalog.es.i18n index 80431a0a5..489a1148d 100644 --- a/apps/code/catalog.es.i18n +++ b/apps/code/catalog.es.i18n @@ -12,7 +12,7 @@ PythonSingleQuote = "Single quote" PythonAbs = "Absolute value/Magnitude" PythonAcos = "Arc cosine" PythonAcosh = "Arc hyperbolic cosine" -PythonAppend = "Add an item to the end of the list" +PythonAppend = "Add x to the end of the list" PythonAsin = "Arc sine" PythonAsinh = "Arc hyperbolic sine" PythonAtan = "Arc tangent" @@ -25,11 +25,10 @@ PythonClear = "Empty the list" PythonCmathFunction = "cmath module function prefix" PythonColor = "Define a rgb color" PythonComplex = "Return a+ib" -PythonCopy = "Returns a copy of the list" PythonCopySign = "Return x with the sign of y" PythonCos = "Cosine" PythonCosh = "Hyperbolic cosine" -PythonCount = "Count the number of occurrences" +PythonCount = "Count the occurrences of x" PythonDegrees = "Convert x from radians to degrees" PythonDivMod = "Quotient and remainder" PythonDrawString = "Display a text from pixel (x,y)" @@ -56,9 +55,9 @@ PythonImportRandom = "Import random module" PythonImportMath = "Import math module" PythonImportTime = "Import time module" PythonImportTurtle = "Import turtle module" -PythonIndex = "Index of the first occurrence" +PythonIndex = "Index of the first x occurrence" PythonInput = "Prompt a value" -PythonInsert = "Insert an item" +PythonInsert = "Insert x at index i in the list" PythonInt = "Convert x to an integer" PythonIonFunction = "ion module function prefix" PythonIsFinite = "Check if x is finite" @@ -127,7 +126,7 @@ PythonOct = "Convert integer to octal" PythonPhase = "Phase of z" PythonConstantPi = "3.141592653589794" PythonPolar = "z in polar coordinates" -PythonPop = "Remove and return an item" +PythonPop = "Remove and return the last item" PythonPower = "x raised to the power y" PythonPrint = "Print object" PythonRadians = "Convert x from degrees to radians" @@ -147,7 +146,6 @@ PythonSin = "Sine" PythonSinh = "Hyperbolic sine" PythonSleep = "Suspend the execution for t seconds" PythonSort = "Sort the list" -PythonSorted = "Sort a list" PythonSqrt = "Square root" PythonSum = "Sum the items of a list" PythonTan = "Tangent" diff --git a/apps/code/catalog.fr.i18n b/apps/code/catalog.fr.i18n index 6a4102d84..d7228dda4 100644 --- a/apps/code/catalog.fr.i18n +++ b/apps/code/catalog.fr.i18n @@ -12,7 +12,7 @@ PythonSingleQuote = "Apostrophe" PythonAbs = "Valeur absolue/Module" PythonAcos = "Arc cosinus" PythonAcosh = "Arc cosinus hyperbolique" -PythonAppend = "Insérer à la fin de la liste" +PythonAppend = "Insère x à la fin de la liste" PythonAsin = "Arc sinus" PythonAsinh = "Arc sinus hyperbolique" PythonAtan = "Arc tangente" @@ -21,15 +21,14 @@ PythonAtanh = "Arc tangente hyperbolique" PythonBin = "Conversion d'un entier en binaire" PythonCeil = "Plafond" PythonChoice = "Nombre aléatoire dans la liste" -PythonClear = "Vider la liste" +PythonClear = "Vide la liste" PythonCmathFunction = "Préfixe fonction du module cmath" PythonColor = "Définit une couleur rvb" PythonComplex = "Renvoie a+ib" -PythonCopy = "Renvoie une copie de la liste" PythonCopySign = "Renvoie x avec le signe de y" PythonCos = "Cosinus" PythonCosh = "Cosinus hyperbolique" -PythonCount = "Compte le nombre d'occurrences" +PythonCount = "Compte les occurrences de x" PythonDegrees = "Conversion de radians en degrés" PythonDivMod = "Quotient et reste" PythonDrawString = "Affiche un texte au pixel (x,y)" @@ -56,9 +55,9 @@ PythonImportRandom = "Importation du module random" PythonImportMath = "Importation du module math" PythonImportTurtle = "Importation du module turtle" PythonImportTime = "Importation du module time" -PythonIndex = "Indice de la première occurrence" +PythonIndex = "Indice première occurrence de x" PythonInput = "Entrer une valeur" -PythonInsert = "Insérer un élément" +PythonInsert = "Insère x en i-ème position" PythonInt = "Conversion en entier" PythonIonFunction = "Préfixe fonction module ion" PythonIsFinite = "Teste si x est fini" @@ -127,7 +126,7 @@ PythonOct = "Conversion en octal" PythonPhase = "Argument de z" PythonConstantPi = "3.141592653589793" PythonPolar = "Conversion en polaire" -PythonPop = "Supprimer et renvoyer un élément" +PythonPop = "Supprime le dernier élément" PythonPower = "x à la puissance y" PythonPrint = "Affiche l'objet" PythonRadians = "Conversion de degrés en radians" @@ -138,7 +137,7 @@ PythonRandrange = "Nombre dans range(start, stop)" PythonRangeStartStop = "Liste de start à stop-1" PythonRangeStop = "Liste de 0 à stop-1" PythonRect = "Conversion en algébrique" -PythonRemove = "Supprimer la première occurrence de x" +PythonRemove = "Supprime la première occurrence de x" PythonReverse = "Inverse les éléments de la liste" PythonRound = "Arrondi à n décimales" PythonSeed = "Initialiser générateur aléatoire" @@ -146,10 +145,9 @@ PythonSetPixel = "Colore le pixel (x,y)" PythonSin = "Sinus" PythonSinh = "Sinus hyperbolique" PythonSleep = "Suspend l'exécution t secondes" -PythonSort = "Tri d'une liste" -PythonSorted = "Tri d'une liste" +PythonSort = "Trie la liste" PythonSqrt = "Racine carrée" -PythonSum = "Somme des éléments d'une liste" +PythonSum = "Somme des éléments de la liste" PythonTan = "Tangente" PythonTanh = "Tangente hyperbolique" PythonTimeFunction = "Préfixe fonction module time" diff --git a/apps/code/catalog.pt.i18n b/apps/code/catalog.pt.i18n index 3849ec02b..b42fccfac 100644 --- a/apps/code/catalog.pt.i18n +++ b/apps/code/catalog.pt.i18n @@ -12,7 +12,7 @@ PythonReal = "Real part of z" PythonAbs = "Absolute value/Magnitude" PythonAcos = "Arc cosine" PythonAcosh = "Arc hyperbolic cosine" -PythonAppend = "Add an item to the end of the list" +PythonAppend = "Add x to the end of the list" PythonAsin = "Arc sine" PythonAsinh = "Arc hyperbolic sine" PythonAtan = "Arc tangent" @@ -25,11 +25,10 @@ PythonClear = "Empty the list" PythonCmathFunction = "cmath module function prefix" PythonColor = "Define a rgb color" PythonComplex = "Return a+ib" -PythonCopy = "Returns a copy of the list" PythonCopySign = "Return x with the sign of y" PythonCos = "Cosine" PythonCosh = "Hyperbolic cosine" -PythonCount = "Count the number of occurrences" +PythonCount = "Count the occurrences of x" PythonDegrees = "Convert x from radians to degrees" PythonDivMod = "Quotient and remainder" PythonDrawString = "Display a text from pixel (x,y)" @@ -56,9 +55,9 @@ PythonImportRandom = "Import random module" PythonImportMath = "Import math module" PythonImportTime = "Import time module" PythonImportTurtle = "Import turtle module" -PythonIndex = "Index of the first occurrence" +PythonIndex = "Index of the first x occurrence" PythonInput = "Prompt a value" -PythonInsert = "Insert an item" +PythonInsert = "Insert x at index i in the list" PythonInt = "Convert x to an integer" PythonIonFunction = "ion module function prefix" PythonIsFinite = "Check if x is finite" @@ -127,7 +126,7 @@ PythonOct = "Convert integer to octal" PythonPhase = "Phase of z" PythonConstantPi = "3.141592653589794" PythonPolar = "z in polar coordinates" -PythonPop = "Remove and return an item" +PythonPop = "Remove and return the last item" PythonPower = "x raised to the power y" PythonPrint = "Print object" PythonRadians = "Convert x from degrees to radians" @@ -147,7 +146,6 @@ PythonSin = "Sine" PythonSinh = "Hyperbolic sine" PythonSleep = "Suspend the execution for t seconds" PythonSort = "Sort the list" -PythonSorted = "Sort a list" PythonSqrt = "Square root" PythonSum = "Sum the items of a list" PythonTan = "Tangent" diff --git a/apps/code/catalog.universal.i18n b/apps/code/catalog.universal.i18n index 1d9711c9f..add77021b 100644 --- a/apps/code/catalog.universal.i18n +++ b/apps/code/catalog.universal.i18n @@ -10,7 +10,8 @@ PythonCommand1J = "1j" PythonCommandAbs = "abs(x)" PythonCommandAcos = "acos(x)" PythonCommandAcosh = "acosh(x)" -PythonCommandAppend = "append(x)" +PythonCommandAppend = "list.append(x)" +PythonCommandAppendWithoutArg = ".append(\x11)" PythonCommandAsin = "asin(x)" PythonCommandAsinh = "asinh(x)" PythonCommandAtan = "atan(x)" @@ -19,18 +20,19 @@ PythonCommandAtanh = "atanh(x)" PythonCommandBin = "bin(x)" PythonCommandCeil = "ceil(x)" PythonCommandChoice = "choice(list)" -PythonCommandClear = "clear()" +PythonCommandClear = "list.clear()" +PythonCommandClearWithoutArg = ".clear()" PythonCommandCmathFunction = "cmath.function" PythonCommandCmathFunctionWithoutArg = "cmath.\x11" PythonCommandColor = "color(r,g,b)" PythonCommandComplex = "complex(a,b)" PythonCommandConstantPi = "pi" -PythonCommandCopy = "copy()" PythonCommandCopySign = "copysign(x,y)" PythonCommandCos = "cos(x)" PythonCommandCosComplex = "cos(z)" PythonCommandCosh = "cosh(x)" -PythonCommandCount = "count(x)" +PythonCommandCount = "list.count(x)" +PythonCommandCountWithoutArg = ".count(\x11)" PythonCommandDegrees = "degrees(x)" PythonCommandDivMod = "divmod(a,b)" PythonCommandDrawString = "draw_string(\"text\",x,y)" @@ -67,9 +69,11 @@ PythonCommandImportMath = "import math" PythonCommandImportRandom = "import random" PythonCommandImportTime = "import time" PythonCommandImportTurtle = "import turtle" -PythonCommandIndex = "index(x,start,end)" +PythonCommandIndex = "list.index(x)" +PythonCommandIndexWithoutArg = ".index(\x11)" PythonCommandInput = "input(\"text\")" -PythonCommandInsert = "insert(i,x)" +PythonCommandInsert = "list.insert(i,x)" +PythonCommandInsertWithoutArg = ".insert(\x11,)" PythonCommandInt = "int(x)" PythonCommandIonFunction = "ion.function" PythonCommandIonFunctionWithoutArg = "ion.\x11" @@ -141,7 +145,8 @@ PythonCommandMonotonic = "monotonic()" PythonCommandOct = "oct(x)" PythonCommandPhase = "phase(z)" PythonCommandPolar = "polar(z)" -PythonCommandPop = "pop(i)" +PythonCommandPop = "list.pop()" +PythonCommandPopWithoutArg = ".pop()" PythonCommandPower = "pow(x,y)" PythonCommandPrint = "print(object)" PythonCommandRadians = "radians(x)" @@ -155,8 +160,10 @@ PythonCommandRangeStop = "range(stop)" PythonCommandReal = "z.real" PythonCommandRealWithoutArg = "\x11.real" PythonCommandRect = "rect(r, arg)" -PythonCommandRemove = "remove(x)" -PythonCommandReverse = "reverse()" +PythonCommandRemove = "list.remove(x)" +PythonCommandRemoveWithoutArg = ".remove(\x11)" +PythonCommandReverse = "list.reverse()" +PythonCommandReverseWithoutArg = ".reverse()" PythonCommandRound = "round(x, n)" PythonCommandSeed = "seed(x)" PythonCommandSetPixel = "set_pixel(x,y,color)" @@ -164,7 +171,8 @@ PythonCommandSin = "sin(x)" PythonCommandSinComplex = "sin(z)" PythonCommandSinh = "sinh(x)" PythonCommandSleep = "sleep(t)" -PythonCommandSort = "sort()" +PythonCommandSort = "list.sort()" +PythonCommandSortWithoutArg = ".sort()" PythonCommandSorted = "sorted(list)" PythonCommandSqrt = "sqrt(x)" PythonCommandSqrtComplex = "sqrt(z)" diff --git a/apps/code/python_toolbox.cpp b/apps/code/python_toolbox.cpp index 9ff0ab212..7ca525419 100644 --- a/apps/code/python_toolbox.cpp +++ b/apps/code/python_toolbox.cpp @@ -251,7 +251,7 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAbs, I18n::Message::PythonAbs), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAcos, I18n::Message::PythonAcos), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAcosh, I18n::Message::PythonAcosh), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAppend, I18n::Message::PythonAppend), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAppend, I18n::Message::PythonAppend, false, I18n::Message::PythonCommandAppendWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAsin, I18n::Message::PythonAsin), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAsinh, I18n::Message::PythonAsinh), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandAtan, I18n::Message::PythonAtan), @@ -265,15 +265,14 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCeil, I18n::Message::PythonCeil), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandChoice, I18n::Message::PythonChoice), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandCircle, I18n::Message::PythonTurtleCircle), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandClear, I18n::Message::PythonClear, false), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandClear, I18n::Message::PythonClear, false, I18n::Message::PythonCommandClearWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCmathFunction, I18n::Message::PythonCmathFunction, false, I18n::Message::PythonCommandCmathFunctionWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandColor, I18n::Message::PythonColor), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandComplex, I18n::Message::PythonComplex), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCopy, I18n::Message::PythonCopy, false), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCopySign, I18n::Message::PythonCopySign), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCos, I18n::Message::PythonCos), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCosh, I18n::Message::PythonCosh), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCount, I18n::Message::PythonCount), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandCount, I18n::Message::PythonCount, false, I18n::Message::PythonCommandCountWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandDegrees, I18n::Message::PythonDegrees), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandDivMod, I18n::Message::PythonDivMod), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandDrawString, I18n::Message::PythonDrawString), @@ -313,9 +312,9 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandImportRandom, I18n::Message::PythonImportRandom, false), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandImportTurtle, I18n::Message::PythonImportTurtle, false), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandImportTime, I18n::Message::PythonImportTime, false), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandIndex, I18n::Message::PythonIndex), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandIndex, I18n::Message::PythonIndex, false, I18n::Message::PythonCommandIndexWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandInput, I18n::Message::PythonInput), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandInsert, I18n::Message::PythonInsert), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandInsert, I18n::Message::PythonInsert, false, I18n::Message::PythonCommandInsertWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandInt, I18n::Message::PythonInt), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandIonFunction, I18n::Message::PythonIonFunction, false, I18n::Message::PythonCommandIonFunctionWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandIsdown, I18n::Message::PythonTurtleIsdown, false), @@ -345,7 +344,7 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandConstantPi, I18n::Message::PythonConstantPi, false), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandPink, I18n::Message::PythonTurtlePink, false), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandPolar, I18n::Message::PythonPolar), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandPop, I18n::Message::PythonPop), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandPop, I18n::Message::PythonPop, false, I18n::Message::PythonCommandPopWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandPosition, I18n::Message::PythonTurtlePosition, false), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandPower, I18n::Message::PythonPower), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandPrint, I18n::Message::PythonPrint), @@ -359,9 +358,9 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandRangeStop, I18n::Message::PythonRangeStop), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandRect, I18n::Message::PythonRect), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandRed, I18n::Message::PythonTurtleRed, false), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandRemove, I18n::Message::PythonRemove), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandRemove, I18n::Message::PythonRemove, false, I18n::Message::PythonCommandRemoveWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandReset, I18n::Message::PythonTurtleReset, false), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandReverse, I18n::Message::PythonReverse, false), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandReverse, I18n::Message::PythonReverse, false, I18n::Message::PythonCommandReverseWithoutArg), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandRight, I18n::Message::PythonTurtleRight), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandRound, I18n::Message::PythonRound), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandSetheading, I18n::Message::PythonTurtleSetheading), @@ -371,8 +370,8 @@ const ToolboxMessageTree catalogChildren[] = { ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSin, I18n::Message::PythonSin), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSinh, I18n::Message::PythonSinh), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSleep, I18n::Message::PythonSleep), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSort, I18n::Message::PythonSort, false), - ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSorted, I18n::Message::PythonSorted), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSort, I18n::Message::PythonSort, false, I18n::Message::PythonCommandSortWithoutArg), + ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSorted, I18n::Message::PythonSort), ToolboxMessageTree::Leaf(I18n::Message::PythonTurtleCommandSpeed, I18n::Message::PythonTurtleSpeed), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSqrt, I18n::Message::PythonSqrt), ToolboxMessageTree::Leaf(I18n::Message::PythonCommandSum, I18n::Message::PythonSum),