Mercurial > pyntnclick
view scripts/install-po.sh @ 787:f46c3197e887 pyntnclick
Clear the event queue regularly in GameLogicTestCase
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 26 Jan 2013 20:06:29 +0200 |
parents | 087d3ff0aa08 |
children | abfa4f7e89a0 |
line wrap: on
line source
#!/bin/sh # Compiles and installs translation catalogs set -eu for pofile in po/*.po; do molang=`echo $pofile | sed -e 's#po/\(.*\)\\.po#\\1#'`; mofile=`echo $pofile | sed -e 's/\\.po/.mo/'`; mkdir -p data/locale/$molang/LC_MESSAGES scripts/msgfmt.py -o data/locale/$molang/LC_MESSAGES/suspended-sentence.mo $pofile done