Fix compiling plugin locales

The po/pot files are often marked as fuzzy so we need to allo compiling
such files as well.
This commit is contained in:
Adrian Moennich 2020-11-30 13:12:10 +01:00
parent 8f11af2bee
commit 9df423228b

View File

@ -48,7 +48,7 @@ for plugin in $(find . -name setup.py -exec sh -c 'basename $(dirname $0)' {} \;
pybabel update -i "./indico_${plugin}/translations/messages.pot" -l "$LOCALE" -d "./indico_${plugin}/translations"
elif [[ "$ACTION" == "compile" ]]; then
require_locale
pybabel compile -d "./indico_${plugin}/translations/" -l "$LOCALE"
pybabel compile -f -d "./indico_${plugin}/translations/" -l "$LOCALE"
fi
popd >/dev/null
done