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:
parent
e75a45c00f
commit
ab53aea8f4
@ -28,13 +28,16 @@ fi
|
|||||||
|
|
||||||
## This used to be a lot simpler...
|
## 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
|
## currently. We don't want to get rid of it because we want it... see
|
||||||
## https://issues.mediagoblin.org/ticket/1070
|
## https://issues.mediagoblin.org/ticket/1070
|
||||||
## to track progress.
|
## to track progress.
|
||||||
|
##
|
||||||
|
## List of uncompilable translations: Lojban (jbo), Interlingua (ia)
|
||||||
|
|
||||||
for file in `find mediagoblin/i18n/ -name "*.po"`; do
|
for file in `find mediagoblin/i18n/ -name "*.po"`; do
|
||||||
if [ "$file" != "mediagoblin/i18n/jbo/mediagoblin.po" ] && \
|
if [ "$file" != "mediagoblin/i18n/jbo/mediagoblin.po" ] && \
|
||||||
|
[ "$file" != "mediagoblin/i18n/ia/mediagoblin.po" ] && \
|
||||||
[ "$file" != "mediagoblin/i18n/templates/en/mediagoblin.po" ]; then
|
[ "$file" != "mediagoblin/i18n/templates/en/mediagoblin.po" ]; then
|
||||||
mkdir -p `dirname $file`/LC_MESSAGES/;
|
mkdir -p `dirname $file`/LC_MESSAGES/;
|
||||||
$PYBABEL compile -i $file \
|
$PYBABEL compile -i $file \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user