X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=.github%2Fworkflows%2Ftransifex.yml;h=b775b08441a2381a89b87a17c4b3ee2b45e73e3a;hb=0e2f4b682580ecf7d5c55044e484b98ea75f2047;hp=b56ae395f2f72a281f0f7c1bb754f3b5009cb576;hpb=2a431b580f2e8f6a596e84175932e793678cde63;p=friendica.git diff --git a/.github/workflows/transifex.yml b/.github/workflows/transifex.yml index b56ae395f2..b775b08441 100644 --- a/.github/workflows/transifex.yml +++ b/.github/workflows/transifex.yml @@ -20,8 +20,9 @@ jobs: echo "::group::Check messages.po" # Skip first 4 lines in possible diff, because they're header # Skip all lines of the git diff starting with "@@" or comments or starting "POT-Creation-Date" - if [[ $(git diff -U0 ./view/lang/C/messages.po | awk '!/@@|-"POT-Creation-Date|+"POT-Creation-Date|-#|+#/{print }' | wc -l) > 4 ]]; then + if [[ $(git diff -U0 ./view/lang/C/messages.po | awk '!/@@|-"POT-Creation-Date|+"POT-Creation-Date|-#|+#/{print }' | wc -l) -gt 4 ]]; then echo "::error file=messages.po::messages.po is out of date" + echo "$(git diff ./view/lang/C/messages.po)" exit 1 else echo "Nothing to update"