2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

Migrate "translate" command

This commit is contained in:
Oliver Walters
2020-08-21 21:13:28 +10:00
parent ec1e646de0
commit af50e29e2c
2 changed files with 12 additions and 6 deletions

View File

@ -145,6 +145,18 @@ def update(c):
"""
pass
@task
def translate(c):
"""
Regenerate translation files.
Run this command after added new translatable strings,
or after adding translations for existing strings.
"""
manage(c, "makemigrations")
manage(c, "compilemessages")
@task
def style(c):
"""