Skip to content

Commit

Permalink
build(check-desktop-files): explain how to get Weblate pull requests …
Browse files Browse the repository at this point in the history
…passing

This partially reverts commit d4f47e1.

(cherry picked from commit 60f8afb)
  • Loading branch information
cfm authored and legoktm committed Oct 16, 2023
1 parent fd1905f commit 19a6ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -385,7 +385,7 @@ $(POT): securedrop
check-desktop-files: ${DESKTOP_BASE}/*.j2
@echo "███ Checking desktop translation catalogs..."
@$(MAKE) --always-make --no-print-directory update-desktop-files
@git diff --quiet $^ || [[ "$$CIRCLE_PR_USERNAME" == "weblate-fpf" ]] || { echo "Desktop files are out of date. Please run \"make update-desktop-files\" and commit the changes."; exit 1; }
@git diff --quiet $^ || { echo "Desktop files are out of date. Please run \"make update-desktop-files\" and commit the changes. (If this is a translation pull request from Weblate, a maintainer can append the new commit to this branch so that CI passes before merge.)"; exit 1; }

.PHONY: update-desktop-files
update-desktop-files: ${DESKTOP_BASE}/*.j2
Expand Down

0 comments on commit 19a6ca7

Please sign in to comment.