From 8fe46a012d17eaa874abf63b9be93c6f11b8df97 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Sun, 5 Aug 2007 04:11:46 +0000 Subject: i18n support and german translations --- pocompile.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 pocompile.sh (limited to 'pocompile.sh') 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 -- cgit v1.2.3