Enable extraction, update and compilation of a single gettext domain
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
|
||||
for domain in $(ls $BABELCFG); do
|
||||
TZ=UTC env/bin/pybabel compile -D $domain -d $TRANSDIR
|
||||
done
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
TZ=UTC env/bin/pybabel compile -D $1 -d $TRANSDIR
|
||||
else
|
||||
for domain in $(ls $BABELCFG); do
|
||||
TZ=UTC env/bin/pybabel compile -D $domain -d $TRANSDIR
|
||||
done
|
||||
fi
|
||||
|
Reference in New Issue
Block a user