comparison install-po.sh @ 769:43b49f1de828 pyntnclick-i18n

Merge i18n for before the pyntnclick split
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 26 Jan 2013 16:57:33 +0200
parents 4ea237bbcef8
children
comparison
equal deleted inserted replaced
763:afe7b1cb16c0 769:43b49f1de828
1 #!/bin/sh
2
3 # Compiles and installs translation catalogs
4
5 for pofile in po/*.po; do
6 molang=`echo $pofile | sed -e 's#po/\(.*\)\\.po#\\1#'`;
7 mofile=`echo $pofile | sed -e 's/\\.po/.mo/'`;
8 mkdir -p data/locale/$molang/LC_MESSAGES
9 msgfmt $pofile -o data/locale/$molang/LC_MESSAGES/suspended-sentence.mo
10 done