check German translation for wrong wording

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2023-01-20 13:53:57 +01:00 committed by Claudio Cambra
parent 475cb58cdb
commit 711db94590
No known key found for this signature in database
GPG Key ID: C839200C384636B0
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
name: "Check translations"
on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
checkTranslations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
- name: Check German
run: |
[[ $(grep "Benötigt keine Übersetzung" translations/client_de.ts -c) -gt 0 ]] && exit 1 || exit 0