Titan/webapp/bin/tr_compile.py
2017-11-16 03:37:21 +00:00

8 lines
197 B
Python
Executable File

#!/usr/bin/python3
import os
import sys
if sys.platform == 'win32':
pybabel = 'flask\\Scripts\\pybabel'
else:
pybabel = 'pybabel'
os.system(pybabel + ' compile -d titanembeds/translations')