python-docs-pl
python-docs-pl copied to clipboard
Make Last-Translator a committer
Resolving last translator on Transifex while commiting potentially would encourage translators and would make contributions graph closer to truth.
I think of such an algorithm (for first iteration at least):
- find first updated PO file in git diff,
- get last translator from this PO file metadata (Last-Translator field),
- configure git commiter using last translator data [1],
- commit as before [2].
[1] https://github.com/python/python-docs-pl/blob/4a681bb20f51e420c466b80fff1d11f4e05d463b/.github/workflows/update-and-build.yml#L33-L35 [2] https://github.com/python/python-docs-pl/blob/4a681bb20f51e420c466b80fff1d11f4e05d463b/.github/workflows/update-and-build.yml#L37
Alternative: migrate to Weblate.
Alternative: pass as a feature request for Transifex integration.