From 731224abcab9cfbde7ad69849bbbecc843843d90 Mon Sep 17 00:00:00 2001 From: Boris Bobrov Date: Thu, 7 Jan 2016 19:50:27 +0300 Subject: [PATCH] Add workaround for incompilable Interlingua locale For now we cannot compile Interlingua (ia) locale; please see issue 1070 for details. (cherry picked from commit ab53aea8f4185a63f053e9367811f400a6dffcf2) --- devtools/compile_translations.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devtools/compile_translations.sh b/devtools/compile_translations.sh index fa84e9a7..398cb5ca 100755 --- a/devtools/compile_translations.sh +++ b/devtools/compile_translations.sh @@ -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 \ -- 2.25.1