forked from I2P_Developers/i2p.www
Moved babel.cfg and translation.vars into common subdir
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
PROJECT=I2P
|
||||
VERSION=website
|
||||
CONFDIR=babel
|
||||
PROJDIR=i2p2www
|
||||
BABELCFG=$PROJDIR/babel.cfg
|
||||
BABELCFG=$CONFDIR/babel.cfg
|
||||
POTFILE=messages.pot
|
||||
TRANSDIR=$PROJDIR/translations
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./babel/translation.vars
|
||||
|
||||
TZ=UTC env/bin/pybabel compile -d $TRANSDIR
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./babel/translation.vars
|
||||
|
||||
TZ=UTC ./pybabel extract --msgid-bugs-address="http://trac.i2p2.de" \
|
||||
--project=$PROJECT \
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./babel/translation.vars
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./babel/translation.vars
|
||||
|
||||
TZ=UTC env/bin/pybabel update -i $POTFILE -d $TRANSDIR
|
||||
|
Reference in New Issue
Block a user