mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
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:
parent
8f11af2bee
commit
9df423228b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user