Files
i2p.www/init-new-po.sh

12 lines
241 B
Bash
Executable File

#!/bin/sh
. ./etc/translation.vars
if [ $# -ge 1 ]
then
for domain in $(ls $BABELCFG); do
TZ=UTC env/bin/pybabel init -D $domain -i $POTDIR/$domain.pot -d $TRANSDIR -l $1
done
else
echo "Usage: ./init-new-po.sh lang"
fi