comparison install-po.sh @ 478:a9925aaf5f61 1.0.1

i18n and Russian translation
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 08 Mar 2011 12:29:14 +0200
parents
children 4ea237bbcef8
comparison
equal deleted inserted replaced
477:51055400a9a8 478:a9925aaf5f61
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 Resources/locale/$molang/LC_MESSAGES
9 msgfmt $pofile -o Resources/locale/$molang/LC_MESSAGES/suspended-sentence.mo
10 done