Do not include incomplete translations in release.

Currently the threshold is set to 50%, but the discussion is still open
on mailing list and it might change.
This commit is contained in:
Michal Čihař
2011-04-05 12:05:15 +02:00
parent f5eedbbadd
commit 297035b853
2 changed files with 49 additions and 0 deletions

View File

@@ -119,6 +119,10 @@ fi
if [ $GETTEXT -eq 1 ] ; then
echo "* Generating mo files"
./scripts/generate-mo
if [ -f ./scripts/remove-incomplete-mo ] ; then
echo "* Removing incomplete translations"
./scripts/remove-incomplete-mo
fi
echo "* Removing gettext source files"
rm -rf po
fi