Hello Mario, Le 31/12/2020 à 10:02, Mario Blättermann a écrit : > In general, it would be very helpful if the committer of a .po file > would run the script use-for-compendium.sh for that file. This way the > translation can be written back to other .po files, which saves time. > But before committing such changes, always run »git diff« to see what > would be changed.
Could this be done automatically in a git hook? I would see something like this: - The translator changes a .po file and commits it. - The git hook (pre-commit, probably) runs use-for-compendium.sh. - If the script didn't change anything, the commit goes on. Otherwise, the commit is stopped and a message is displayed to advise the translator to add the changed files. What would you think about this? Thanks for all your work on manpages! Thomas
OpenPGP_signature
Description: OpenPGP digital signature