Add workaround for incompilable Interlingua locale

For now we cannot compile Interlingua (ia) locale; please see issue
1070 for details.
This commit is contained in:
Boris Bobrov 2016-01-07 19:50:27 +03:00
parent e75a45c00f
commit ab53aea8f4

View File

@ -28,13 +28,16 @@ fi
## This used to be a lot simpler...
##
## But now we have a Lojban translation that we can't compile
## But now we have several translations that we can't compile
## currently. We don't want to get rid of it because we want it... see
## https://issues.mediagoblin.org/ticket/1070
## to track progress.
##
## List of uncompilable translations: Lojban (jbo), Interlingua (ia)
for file in `find mediagoblin/i18n/ -name "*.po"`; do
if [ "$file" != "mediagoblin/i18n/jbo/mediagoblin.po" ] && \
[ "$file" != "mediagoblin/i18n/ia/mediagoblin.po" ] && \
[ "$file" != "mediagoblin/i18n/templates/en/mediagoblin.po" ]; then
mkdir -p `dirname $file`/LC_MESSAGES/;
$PYBABEL compile -i $file \