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:
parent
c9705508c9
commit
ba1020368a
@ -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/*
|
||||
|
@ -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/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user