summaryrefslogtreecommitdiff
path: root/tools/translations/extract.py
AgeCommit message (Collapse)Author
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
2016-10-09i18n: Fix string that broke msgmergeRémi Verschelde
2016-06-19i18n: Update and merge translation templatesRémi Verschelde
Also switched the wrapping length to 79 chars instead of 80, which seems to be what Weblate uses by default (as well as Poedit).
2016-05-31i18n: Sort files to parse alphabeticallyRémi Verschelde
This should ensure that python produces the same tools.pot for every user, and thus that the .po will not get useless diffs upon merge.
2016-05-30i18n: Enable parsing RTR stringsRémi Verschelde
TTR is used in the editor, and RTR is for content that it shared between the editor and games (e.g. in scenes/gui)
2016-05-30i18n: Fix parsing bug while adding locations to the templateRémi Verschelde
Also sync the template and PO files to reflect this change + the recent TTR additions/removals.
2016-05-28i18n: Add makefile to handle translation updatesRémi Verschelde
2016-05-21i18n: Add gettext header template to the POTRémi Verschelde
2016-05-21i18n: Disable line numbers in location contextRémi Verschelde
Can be toggled on with --with-line-nb.
2016-05-21i18n: Add location of duplicate strings to the contextRémi Verschelde
2016-05-21i18n: Cosmetic fixes to extract scriptRémi Verschelde
2016-05-17i18n: Make .pot paths hopefully platform-independentRémi Verschelde
2016-05-17i18n: Simple extract.py improvementsRémi Verschelde
Also sync the template with current source.
2016-05-04i18n: remove trailing spaces in scriptRémi Verschelde
2016-05-04forgot thisJuan Linietsky
2016-05-04template is now potJuan Linietsky
2016-05-04base for translationJuan Linietsky