Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Last-Translator a committer #14

Open
m-aciek opened this issue Dec 21, 2020 · 2 comments
Open

Make Last-Translator a committer #14

m-aciek opened this issue Dec 21, 2020 · 2 comments

Comments

@m-aciek
Copy link
Collaborator

m-aciek commented Dec 21, 2020

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]

- run: git config --local user.email 'maciej.olko@gmail.com'
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

@m-aciek
Copy link
Collaborator Author

m-aciek commented Apr 2, 2021

Alternative: migrate to Weblate.

@m-aciek
Copy link
Collaborator Author

m-aciek commented Jul 24, 2021

Alternative: pass as a feature request for Transifex integration.

@m-aciek m-aciek mentioned this issue Feb 7, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant