From ed125459f35761159e80c5f778120a4f78cbab3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Mon, 28 Aug 2023 10:19:51 +0200 Subject: [PATCH] weblate-merge-po.yml - fixed PO file validation Each PO file needs to be checked individually otherwise msgfmt complains about duplicate messages. --- .github/workflows/weblate-merge-po.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weblate-merge-po.yml b/.github/workflows/weblate-merge-po.yml index 8700618681..244e9b2aa9 100644 --- a/.github/workflows/weblate-merge-po.yml +++ b/.github/workflows/weblate-merge-po.yml @@ -65,7 +65,7 @@ jobs: - name: Validate the PO files working-directory: ./agama - run: msgfmt --check-format -o /dev/null web/po/*.po + run: ls web/po/*.po | xargs -n1 msgfmt --check-format -o /dev/null # any changes besides the timestamps in the PO files? - name: Check changes