forked from I2P_Developers/i2p.www
15 lines
314 B
Bash
Executable File
15 lines
314 B
Bash
Executable File
#!/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
|