Skip to content

fix: do not fetch user info twice during start of the client #6572

fix: do not fetch user info twice during start of the client

fix: do not fetch user info twice during start of the client #6572

# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: GPL-2.0-or-later
name: Check translations
on:
pull_request:
types: [opened, synchronize, reopened]
# Declare default permissions as read only.
permissions: read-all
jobs:
checkGermanTranslations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- 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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- 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