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
|
$PYBABEL compile -D $domain -d $TRANSDIR
|
||||||
done
|
done
|
||||||
fi
|
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"
|
echo "Python files changed, restarting server"
|
||||||
touch $TOUCHFILE
|
touch $TOUCHFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -f ./.pybabel-stamp ] || ./compile-messages.sh
|
||||||
|
Reference in New Issue
Block a user