Merge "Do not generate obsolete translations"

This commit is contained in:
Jenkins 2014-04-14 19:55:53 +00:00 committed by Gerrit Code Review
commit b06d8a1d84
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ 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
python setup.py update_catalog --no-fuzzy-matching --ignore-obsolete=true
fi
# Add all changed files to git
git add $PROJECT/locale/*

View File

@ -34,7 +34,7 @@ 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
python setup.py update_catalog --no-fuzzy-matching --ignore-obsolete=true
fi
# Add all changed files to git
git add $PROJECT/locale/*