compile translations when site-updater.sh is run for the first time
This commit is contained in:
@ -11,3 +11,4 @@ else
|
||||
$PYBABEL compile -D $domain -d $TRANSDIR
|
||||
done
|
||||
fi
|
||||
touch ./.pybabel-stamp
|
||||
|
@ -21,3 +21,5 @@ if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TM
|
||||
echo "Python files changed, restarting server"
|
||||
touch $TOUCHFILE
|
||||
fi
|
||||
|
||||
[ -f ./.pybabel-stamp ] || ./compile-messages.sh
|
||||
|
Reference in New Issue
Block a user