Skip to content

Commit

Permalink
remove if
Browse files Browse the repository at this point in the history
  • Loading branch information
oshi97 committed Jan 28, 2022
1 parent b456a8a commit 62c657a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/run_translation_verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ fi

# Verify that translations are present for all languages
cd conf/i18n/translations
if [[ $GITHUB_REF_NAME == release/*
|| $GITHUB_REF_NAME == hotfix/*
|| $GITHUB_REF_NAME == master
|| $GITHUB_REF_NAME == support/* ]]
then
for po_file in *.po
do msgcmp $po_file messages.pot
done
else
echo "Skipping the verification that all translations are present"
fi

for po_file in *.po
do msgcmp $po_file messages.pot
done

0 comments on commit 62c657a

Please sign in to comment.