Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.4k
Description
Documentation on module turtledemo
Currently turtledemo documentation provides a table of listing demo scripts, which are expected to be run as:
python-mturtledemo.clock
Nevertheless the script names are not marked as code and, in some cases, they represent words and get translated by internationalization teams. As an example the scriptclock got translated torelógio inBrazilian Portuguese and asreloj inSpanish.
The same table also presents a column showcasing the features of each script, which is a typically a small description and/or a list of functions being used in a given script. Some of these functions are properly marked as functions, while others aren't. This implies it is also possible that some of them got translated by internationalization teams. As an example, the functionupdate (which is a method fromturtle.screen.update) was eventually translated asatualizar inBrazilian Portuguese.
The solution for these issues is similar and consists in marking them as code usingreStructuredText markups used on this repo. I already tested this locally and will submit a PR in the following.
(I would like to thank the python pt-br translation team, particularly@adorilson and Rafael for pointing that the problem should be bigger than the translation to brazilian portuguese alone.)