From edbe7f1c3d3f2c9b52bcd139d935d335f5878e50 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 10 Jun 2022 23:12:41 +0200 Subject: [PATCH] Also run translation stats on updates --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index ccc4048507..7554bb23b8 100644 --- a/tasks.py +++ b/tasks.py @@ -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!