Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/check-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,25 @@ on:
permissions: read-all

jobs:
checkTranslations:
checkGermanTranslations:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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
Loading