From 68db8b783ca5ea4709d67a64cacb668e72c2dc72 Mon Sep 17 00:00:00 2001 From: eltos Date: Sun, 8 Sep 2024 20:31:49 +0200 Subject: [PATCH] Translation update info --- .github/workflows/crowdin_sync.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/crowdin_sync.yml b/.github/workflows/crowdin_sync.yml index 27cd003..85306de 100644 --- a/.github/workflows/crowdin_sync.yml +++ b/.github/workflows/crowdin_sync.yml @@ -102,6 +102,11 @@ jobs: - name: Collect statistics run: | + echo 'DIFF<> $GITHUB_ENV + echo "+ $(git diff | grep -c -E '\+\s*') translations added" >> $GITHUB_ENV + echo "- $(git diff | grep -c -E '\-\s*') translations removed" >> $GITHUB_ENV + git diff --stat | sed 's:.*/::g' >> $GITHUB_ENV + echo 'EOF' >> $GITHUB_ENV echo 'INFO<> $GITHUB_ENV crowdin status -v $ARGS >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV @@ -117,13 +122,20 @@ jobs: translation body: | Translation updates from [Crowdin project](https://crowdin.com/project/PasteIntoFile) + ```diff + ${{ env.DIFF }} + ``` See [recent activity](https://crowdin.com/project/PasteIntoFile/activity-stream) +
Translation info + ``` ${{ env.INFO }} ``` +
+ ---- - To re-sync and update this PR include /sync in a comment.