Also run translation stats on updates

This commit is contained in:
Matthias 2022-06-10 23:12:41 +02:00
parent 57fceaae3a
commit edbe7f1c3d
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -194,7 +194,7 @@ def translate(c):
manage(c, "compilemessages")
@task(pre=[install, migrate, static, clean_settings])
@task(pre=[install, migrate, static, clean_settings, translate_stats])
def update(c):
"""Update InvenTree installation.
@ -205,9 +205,9 @@ def update(c):
- install
- migrate
- translate_stats
- static
- clean_settings
- translate_stats
"""
# Recompile the translation files (.mo)
# We do not run 'invoke translate' here, as that will touch the source (.po) files too!