From f78743c4ac0c7e43d84949f5a8d70d4d89e1e5c0 Mon Sep 17 00:00:00 2001 From: janezd Date: Fri, 10 Nov 2023 23:30:04 +0100 Subject: [PATCH] Fixes in translations --- .github/workflows/translations.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 757cf2c8442..fb2e43b517c 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -16,6 +16,8 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 + with: + python-version: '3.x' - name: Install Trubar run: | @@ -44,10 +46,16 @@ jobs: echo "::endgroup::" fi done + echo "-------------------------------" trubar stat new.jaml + echo "-------------------------------" if [ -f Missing.jaml ] || [ -f Obsolete.jaml ] then + echo "### Missing or obsolete translations" >> $GITHUB_STEP_SUMMARY + echo "::error::Missing or obsolete translations" echo "Run 'trubar collect -s Orange i18n/si.jaml'" echo "and see the changes in the message file, i18n/si.jaml" exit 1 + else + echo "### All translations are up to date" >> $GITHUB_STEP_SUMMARY fi