Remove deleted translations from Weblate PO files

Automate it in the update script.
This commit is contained in:
Rémi Verschelde
2021-12-16 15:35:37 +01:00
parent 323e869a6c
commit b1873567bc
38 changed files with 1 additions and 57779 deletions

View File

@@ -120,6 +120,7 @@ if [ "$update_weblate_po" = true ]; then
echo "Merging $po..."
msgmerge -w 79 "$po" $WEBLATE_TEMPLATE > "$po".new
mv -f "$po".new "$po"
msgattrib --output-file=$po --no-obsolete $po
done
fi