diff options
author | necoro <> | 2007-08-05 04:33:32 +0000 |
---|---|---|
committer | necoro <> | 2007-08-05 04:33:32 +0000 |
commit | f8c45cec4d4cb4c82475516910c94911909c9e9b (patch) | |
tree | 8e475e4b64e0cb431881e10e796e65ef34cc0886 /pocompile.sh | |
parent | 06cb734dafe155dd6a22c7d6baf6fdd4b1fb2804 (diff) | |
download | portato-f8c45cec4d4cb4c82475516910c94911909c9e9b.tar.gz portato-f8c45cec4d4cb4c82475516910c94911909c9e9b.tar.bz2 portato-f8c45cec4d4cb4c82475516910c94911909c9e9b.zip |
pocompile test
Diffstat (limited to '')
-rwxr-xr-x | pocompile.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pocompile.sh b/pocompile.sh index b895b9a..1800c58 100755 --- a/pocompile.sh +++ b/pocompile.sh @@ -7,5 +7,10 @@ for ITEM in *.po; do ITEM2=${ITEM/.po/} LANG=${ITEM2/_??/} mkdir ${LANG}/LC_MESSAGES -p - msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo + + if [ $1 == "-emerge" ]; then + msgfmt ${ITEM} -o portato.${LANG} + else + msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo + fi done |