From 711db94590e1c7e2b093a5df2a877e60b89cf826 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Fri, 20 Jan 2023 13:53:57 +0100 Subject: [PATCH] check German translation for wrong wording Signed-off-by: tobiasKaminsky --- .github/workflows/check-translations.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/check-translations.yml diff --git a/.github/workflows/check-translations.yml b/.github/workflows/check-translations.yml new file mode 100644 index 0000000000..168312deee --- /dev/null +++ b/.github/workflows/check-translations.yml @@ -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