Mercurial > pyntnclick
view install-po.sh @ 765:2f1952748cdb i18n
merge i18n and Russian translation
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Tue, 08 Mar 2011 14:37:43 +0200 |
parents | 4ea237bbcef8 |
children | 43b49f1de828 |
line wrap: on
line source
#!/bin/sh # Compiles and installs translation catalogs 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 Resources/locale/$molang/LC_MESSAGES msgfmt $pofile -o Resources/locale/$molang/LC_MESSAGES/suspended-sentence.mo done