ci: update locales weekly, not for every commit (#2403)
This commit is contained in:
parent
719d7cff36
commit
cced09f1ac
4 changed files with 25 additions and 23 deletions
|
@ -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 $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue