diff --git a/modules/jenkins/files/slave_scripts/propose_translation_update.sh b/modules/jenkins/files/slave_scripts/propose_translation_update.sh index a37965edf7..ddda4d54df 100755 --- a/modules/jenkins/files/slave_scripts/propose_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_translation_update.sh @@ -48,6 +48,13 @@ $COMMIT_MSG EOF git review -t transifex/translations - # Push changes to transifex - tx --debug --traceback push -st + # Push .pot changes to transifex + tx --debug --traceback push -s + # Push translation changes to transifex + # Disable -e as we can live with failed translation pushes (failures + # occur when a translation file has no translations in it not really + # error worthy but they occur) + set +e + tx --debug --traceback push -t --skip + set -e fi diff --git a/modules/jenkins/files/slave_scripts/upstream_translation_update.sh b/modules/jenkins/files/slave_scripts/upstream_translation_update.sh index a6db9f223a..24c59465fb 100755 --- a/modules/jenkins/files/slave_scripts/upstream_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/upstream_translation_update.sh @@ -25,6 +25,13 @@ git add $PROJECT/locale/* if [ ! `git diff-index --quiet HEAD --` ] then - # Push changes to transifex - tx --debug --traceback push -st + # Push .pot changes to transifex + tx --debug --traceback push -s + # Push translation changes to transifex + # Disable -e as we can live with failed translation pushes (failures + # occur when a translation file has no translations in it not really + # error worthy but they occur) + set +e + tx --debug --traceback push -t --skip + set -e fi