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:
12
tasks.py
12
tasks.py
@ -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):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user