I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
init-new-po.sh 314 B
#!/bin/sh
. ./etc/translation.vars
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom

export TZ=UTC

if [ $# -ge 1 ]
then
    for domain in $(ls $BABELCFG); do
        $PYBABEL init -D $domain -i $POTDIR/$domain.pot -d $TRANSDIR -l $1
    done
else
    echo "Usage: ./init-new-po.sh lang"
fi