diff options
author | necoro <> | 2007-08-05 04:11:46 +0000 |
---|---|---|
committer | necoro <> | 2007-08-05 04:11:46 +0000 |
commit | 8fe46a012d17eaa874abf63b9be93c6f11b8df97 (patch) | |
tree | 517e994fa610586e83d297997a4865f7b3b86af4 /pocompile.sh | |
parent | 0087f656a2d9fe962d874ae73f5759dbfc09f634 (diff) | |
download | portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.gz portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.bz2 portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.zip |
i18n support and german translations
Diffstat (limited to 'pocompile.sh')
-rwxr-xr-x | pocompile.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pocompile.sh b/pocompile.sh new file mode 100755 index 0000000..b895b9a --- /dev/null +++ b/pocompile.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Helper script to compile all .po files in the i18n directroy into .mo files. + +# Copied from porthole :) +cd i18n +for ITEM in *.po; do + ITEM2=${ITEM/.po/} + LANG=${ITEM2/_??/} + mkdir ${LANG}/LC_MESSAGES -p + msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo +done |