-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed as not planned
Description
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]
python-docs-pl/.github/workflows/update-and-build.yml
Lines 33 to 35 in 4a681bb
| - run: git config --local user.email '[email protected]' | |
| name: Run git config --local user.email '…' | |
| - run: git config --local user.name "GitHub Action's update-translation job" |
[2]
| - run: git commit -m 'Update translation from Transifex' || true |
Metadata
Metadata
Assignees
Labels
No labels