summaryrefslogtreecommitdiff
path: root/editor/translations/extract.py
AgeCommit message (Collapse)Author
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-04-01Extract theme property names for localizationHaoyu Qiu
2022-03-30Strip feature tag manually when extracting property pathsHaoyu Qiu
2022-03-30Add more patterns for property path extractionHaoyu Qiu
2022-03-21Refactor editor `extract.py`Haoyu Qiu
2022-03-20More editor `extract.py` improvements and fixesHaoyu Qiu
2022-03-18Improves editor property name extractionHaoyu Qiu
2022-03-18Remap property path based on path substringsHaoyu Qiu
Also added captialization caching.
2022-03-03i18n: Make property paths and categories translatableHaoyu Qiu
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-01-01Update copyright statements to 2021Rémi Verschelde
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 🎆
2020-09-10Remove duplicate or unnecessary Python definitions.Marcel Admiraal
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.