Dangerous colors

rafael shared this problem 11 years ago
New

Hello,


I think this is not a bug but rather an exceptional behavior, and may be unwanted, of a command. Normally, the interface language has no effect on construction, because all commands "change their skin", adapting to the new language. All? Hum ... The argument "color" ("red", "blue", etc..) of SetColor command is not translated (388). If we introduce it into a script, the construction will only work in the original language and fail to choose another language for the interface.


Cheers,

Rafa

PS For example, in the attachment I typed the script Colores[A,"rojo"] and then I choosed English language. "Colores" becomes SetColor, but "rojo" doesn't become "red". Then, the construction fails.

https://ggbm.at/551033

© 2022 International GeoGebra Institute