From 1439e4965f601ce72941746ba4e85cb409231e50 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 13 Dec 2014 10:03:26 -0600 Subject: [PATCH] Fix the output file to the correct one in the new i18n compile loop --- devtools/update_translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/update_translations.sh b/devtools/update_translations.sh index abc96be6..d82fab1f 100755 --- a/devtools/update_translations.sh +++ b/devtools/update_translations.sh @@ -58,7 +58,7 @@ echo "==> Compiling .mo files" for file in `find mediagoblin/i18n/ -name "*.po"`; do if [ "$file" != "mediagoblin/i18n/jbo/LC_MESSAGES/mediagoblin.po" ]; then ./bin/pybabel compile -i $file \ - -d mediagoblin/i18n/ \ + -o `dirname $file`/mediagoblin.mo \ -l `echo $file | awk -F / '{ print $3 }'`; else echo "Skipping $file which pybabel can't compile :("; -- 2.25.1