Merge "Do not generate obsolete translations"
This commit is contained in:
commit
b06d8a1d84
@ -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