ci: update locales weekly, not for every commit (#2403)

This commit is contained in:
Jonas L 2023-02-26 18:07:04 +01:00 committed by GitHub
parent 719d7cff36
commit cced09f1ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 23 deletions

View file

@ -32,15 +32,6 @@ update:
find ./locale -name $(PO_FILE) -exec msgmerge $(MSGMERGE_ARGS) "{}" $(PO_FILE) \;
rm $(PO_FILE)
update-foreach-commit:
git rebase main -x "$(MAKE) -C legacy/locale update"
check-update: update
if git status --porcelain -- */LC_MESSAGES/$(PO_FILE) | grep -q '^ M'; then \
git --no-pager diff -- */LC_MESSAGES/$(PO_FILE); \
exit 1; \
fi
%.mo: %.po
msgfmt $< -o $@