summaryrefslogtreecommitdiffstats
path: root/editor/translations/extract.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Remove duplicate or unnecessary Python definitions.Marcel Admiraal2020-09-101-2/+0
|
* Add translators comments extraction for EditorSkyJJ2020-08-251-7/+132
|
* Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.SkyJJ2020-08-191-2/+0
|
* Updated Translation architecture to have TranslationPO, did some commit ↵SkyJJ2020-08-191-3/+1
| | | | fixes and updated class Reference.
* Update POT generation to handle context and pluralsSkyJJ2020-08-191-15/+84
|
* SCons: Format buildsystem files with psf/blackRémi Verschelde2020-03-301-19/+21
| | | | | | | | | | | | | | | | | | | | | 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.
* i18n: Add header strings to translation catalogRémi Verschelde2020-03-201-1/+3
|
* i18n: Sync translation template with current sourceRémi Verschelde2020-01-121-4/+1
| | | | | Prevent parsing 'thirdparty' sources, there are invalid UTF-8 files among Bullet sources.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Pylint warning for extract.pyhbina0852019-06-291-2/+2
| | | | | pylint is complaining that an "Anomalous backslash in string: '\-'" The string constant might be missing an 'r' prefix.
* i18n: Fix extract.py support for new TTRCRémi Verschelde2019-06-161-4/+4
| | | | Also make compatible with Python 3.
* Add ability to edit editor feature profilesJuan Linietsky2019-04-081-1/+1
| | | | Allows enabling/disabling parts of the editor and storing/loading profiles for that.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Misc. typosluz.paz2018-09-121-1/+1
| | | Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
* i18n: Fix extract.py after #17440Rémi Verschelde2018-08-231-0/+2
| | | | As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
* Properly closing all files in Python codeViktor Ferenczi2018-03-111-9/+7
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Improve documentation of thirdparty code snippetsRémi Verschelde2017-05-071-1/+2
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-0/+121
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.