Merge "Do not run unneeded update_catalog"

This commit is contained in:
Jenkins 2014-05-27 18:30:44 +00:00 committed by Gerrit Code Review
commit 03435de71a
1 changed files with 1 additions and 6 deletions

View File

@ -27,12 +27,7 @@ setup_project "$PROJECT"
# Update the .pot file
python setup.py extract_messages
PO_FILES=`find ${PROJECT}/locale -name '*.po'`
if [ -n "$PO_FILES" ]
then
# Use updated .pot file to update translations
python setup.py update_catalog --no-fuzzy-matching --ignore-obsolete=true
fi
# Add all changed files to git
git add $PROJECT/locale/*