Files
I2P_Website/extract-messages.sh

15 lines
414 B
Bash
Raw Normal View History

#!/bin/sh
. ./translation.vars
if [ ! -e $POTDIR ]; then
mkdir $POTDIR
fi
for domain in $(ls $BABELCFG); do
TZ=UTC ./pybabel extract --msgid-bugs-address="http://trac.i2p2.de" \
--project=$PROJECT \
--version=$VERSION \
-F $BABELCFG/$domain \
-o $POTDIR/$domain.pot $PROJDIR
done