Translation server: have check/fix script for weblate components
Originally created by @hefee on #16524 (Redmine)
Sometimes a script or a human make some mistakes and we have to update the Weblate components acorrding to the git repository. That means the script should do:
- Remove additional languages files from git, if those were forgotten to delete.
- Add additional languages files in git, if the
{DEFAULTLANG}.po
file exists. - Scan through the list of Weblate components and add missing components and delete leftovers.
Feature Branch: https://salsa.debian.org/hefee/puppet-tails/tree/hefee/dev/translation-server
Parent Task: tails#10034 (closed)
Related issues
- Blocks #16521 (closed)
Edited by hefee