Files
i2p.www/update-existing-po.sh

12 lines
268 B
Bash
Raw Normal View History

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