2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Add script to calculate translation stats

This commit is contained in:
Oliver Walters
2021-01-18 19:13:52 +11:00
parent c517801c5f
commit c392bba196
2 changed files with 72 additions and 0 deletions

View File

@ -186,6 +186,10 @@ def translate(c):
manage(c, "makemessages -e py -e html -e js")
manage(c, "compilemessages")
path = os.path.join('InvenTree', 'script', 'translation_stats.py')
c.run(f'python {path}')
@task
def style(c):
"""