Moved babel.cfg and translation.vars into common subdir

This commit is contained in:
str4d
2013-07-13 05:39:15 +00:00
parent 57b0011a3d
commit ad21b2aea5
6 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/sh
. ./translation.vars
. ./babel/translation.vars
TZ=UTC env/bin/pybabel compile -d $TRANSDIR

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./translation.vars
. ./babel/translation.vars
TZ=UTC ./pybabel extract --msgid-bugs-address="http://trac.i2p2.de" \
--project=$PROJECT \

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./translation.vars
. ./babel/translation.vars
if [ $# -ge 1 ]
then

View File

@ -1,4 +1,4 @@
#!/bin/sh
. ./translation.vars
. ./babel/translation.vars
TZ=UTC env/bin/pybabel update -i $POTFILE -d $TRANSDIR