summaryrefslogtreecommitdiff
path: root/editor/translations/extract.py
AgeCommit message (Collapse)Author
2020-08-25Add translators comments extraction for EditorSkyJJ
2020-08-19Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.SkyJJ
2020-08-19Updated Translation architecture to have TranslationPO, did some commit ↵SkyJJ
fixes and updated class Reference.
2020-08-19Update POT generation to handle context and pluralsSkyJJ
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-20i18n: Add header strings to translation catalogRémi Verschelde
2020-01-12i18n: Sync translation template with current sourceRémi Verschelde
Prevent parsing 'thirdparty' sources, there are invalid UTF-8 files among Bullet sources.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-06-29Pylint warning for extract.pyhbina085
pylint is complaining that an "Anomalous backslash in string: '\-'" The string constant might be missing an 'r' prefix.
2019-06-16i18n: Fix extract.py support for new TTRCRémi Verschelde
Also make compatible with Python 3.
2019-04-08Add ability to edit editor feature profilesJuan Linietsky
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-08-23i18n: Fix extract.py after #17440Rémi Verschelde
As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
2018-03-11Properly closing all files in Python codeViktor Ferenczi
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.