Do not run unneeded update_catalog
update_catalog updates the po translation files from our pot file. Since we only push the pot file, the changes to pot files are completely ignored and can be removed. Note that the other two upstream scripts (for horizon and manuals) already do not update the po files. Change-Id: Ib73405fa86fd96261030a98c18a6c8b628052c91
This commit is contained in:
parent
85e3221f0b
commit
aff6fad769
@ -30,12 +30,7 @@ tx set --auto-local -r ${PROJECT}.${PROJECT}-translations "${PROJECT}/locale/<la
|
||||
|
||||
# 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/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user