Mercurial > boomslang
comparison install-po.sh @ 479:4ea237bbcef8 1.0.1
Tidy up the i18n changes
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Tue, 08 Mar 2011 13:25:20 +0200 |
parents | a9925aaf5f61 |
children | 43b49f1de828 |
comparison
equal
deleted
inserted
replaced
478:a9925aaf5f61 | 479:4ea237bbcef8 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 #Compiles and installs translation catalogs | 3 # Compiles and installs translation catalogs |
4 | 4 |
5 for pofile in po/*.po; do | 5 for pofile in po/*.po; do |
6 molang=`echo $pofile | sed -e 's#po/\(.*\)\\.po#\\1#'`; | 6 molang=`echo $pofile | sed -e 's#po/\(.*\)\\.po#\\1#'`; |
7 mofile=`echo $pofile | sed -e 's/\\.po/.mo/'`; | 7 mofile=`echo $pofile | sed -e 's/\\.po/.mo/'`; |
8 mkdir -p Resources/locale/$molang/LC_MESSAGES | 8 mkdir -p Resources/locale/$molang/LC_MESSAGES |