diff --git a/.github/workflows/check-translations.yml b/.github/workflows/check-translations.yml index d92f9cc921e72..90a4881afc32e 100644 --- a/.github/workflows/check-translations.yml +++ b/.github/workflows/check-translations.yml @@ -10,7 +10,7 @@ on: permissions: read-all jobs: - checkTranslations: + checkGermanTranslations: runs-on: ubuntu-latest steps: @@ -18,3 +18,17 @@ jobs: - name: Check German run: | [[ $(grep "Benötigt keine Übersetzung" translations/client_de.ts -c) -gt 0 ]] && exit 1 || exit 0 + + checkTranslations: + runs-on: ubuntu-latest + container: ghcr.io/nextcloud/continuous-integration-translations-desktop:latest + + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Check Elipsis + run: | + lupdate -no-obsolete src/gui/ src/cmd/ src/common/ $crashreporter src/csync/ src/libsync/ $resources -ts ../ci-client.ts + if [ $(grep '\.\.\.' ../ci-client.ts | wc -l) -ne 0 ]; then + echo "English source contains three consecutive dots. Unicode … should be used instead" + exit -1 + fi