Do not generate obsolete translations

Call update_catalog with option --ignore-obsolete=true to not generate
any obsolete translation entries.

Change-Id: Ia898149f6203ebf024a64b8bf3ecbffd75261ce8
Related-Bug: #1299349
This commit is contained in:
Andreas Jaeger 2014-04-08 11:30:51 +02:00
parent c9705508c9
commit ba1020368a
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/*