Add recent pot file for crowdin to auto translate project

This commit is contained in:
Jeremy Zhang
2018-01-27 20:47:58 +00:00
parent 67375612ce
commit e09685b455
4 changed files with 208 additions and 5 deletions

View File

@ -5,6 +5,6 @@ if sys.platform == 'win32':
pybabel = 'flask\\Scripts\\pybabel'
else:
pybabel = 'pybabel'
os.system(pybabel + ' extract -F babel.cfg -k lazy_gettext -o messages.pot titanembeds')
os.system(pybabel + ' extract -F babel.cfg -k lazy_gettext -o titanembeds/translations/messages.pot titanembeds')
os.system(pybabel + ' update -i messages.pot -d titanembeds/translations')
os.unlink('messages.pot')