From 9df423228bc86be5aadf83347fb996787432a564 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Mon, 30 Nov 2020 13:12:10 +0100 Subject: [PATCH] Fix compiling plugin locales The po/pot files are often marked as fuzzy so we need to allo compiling such files as well. --- manage-i18n.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage-i18n.sh b/manage-i18n.sh index 159cd01..38d815c 100755 --- a/manage-i18n.sh +++ b/manage-i18n.sh @@ -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