aboutsummaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-12-13 10:03:26 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-12-13 10:04:10 -0600
commit1439e4965f601ce72941746ba4e85cb409231e50 (patch)
tree66cbb684ec2f905e70b382442cf4669c4795ed1e /devtools
parentf5a829fabf7ad541e7be3f3435787d9f2e74756d (diff)
downloadmediagoblin-1439e4965f601ce72941746ba4e85cb409231e50.tar.lz
mediagoblin-1439e4965f601ce72941746ba4e85cb409231e50.tar.xz
mediagoblin-1439e4965f601ce72941746ba4e85cb409231e50.zip
Fix the output file to the correct one in the new i18n compile loop
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/update_translations.sh2
1 files changed, 1 insertions, 1 deletions
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 :(";