python-docs-pl icon indicating copy to clipboard operation
python-docs-pl copied to clipboard

Make Last-Translator a committer

Open m-aciek opened this issue 4 years ago • 2 comments

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

m-aciek avatar Dec 21 '20 12:12 m-aciek

Alternative: migrate to Weblate.

m-aciek avatar Apr 02 '21 16:04 m-aciek

Alternative: pass as a feature request for Transifex integration.

m-aciek avatar Jul 24 '21 04:07 m-aciek