diff --git a/tools/i18n/sync-translations b/tools/i18n/sync-translations index 911262055c..67a126382e 100755 --- a/tools/i18n/sync-translations +++ b/tools/i18n/sync-translations @@ -14,5 +14,5 @@ find ./locale \ -regex '^\./locale/.*/\(mobile\|translations\).json$' \ -exec ./tools/i18n/unescape-contents {} \; -./manage.py compilemessages +./manage.py compilemessages --ignore='*' ./tools/i18n/process-mobile-i18n diff --git a/tools/lib/provision_inner.py b/tools/lib/provision_inner.py index 843342d24d..da6520e99a 100755 --- a/tools/lib/provision_inner.py +++ b/tools/lib/provision_inner.py @@ -286,7 +286,7 @@ def main(options: argparse.Namespace) -> int: print("No need to regenerate the test DB.") if options.is_force or need_to_run_compilemessages(): - run(["./manage.py", "compilemessages"]) + run(["./manage.py", "compilemessages", "--ignore=*"]) write_new_digest( "last_compilemessages_hash", compilemessages_paths(), diff --git a/tools/update-prod-static b/tools/update-prod-static index 894ff900e9..24143808ff 100755 --- a/tools/update-prod-static +++ b/tools/update-prod-static @@ -49,7 +49,7 @@ run(["./tools/webpack", "--quiet"]) run(["./manage.py", "collectstatic", "-v0", "--noinput"]) # Compile translation strings to generate `.mo` files. -run(["./manage.py", "compilemessages", "-v0"]) +run(["./manage.py", "compilemessages", "-v0", "--ignore=*"]) # Needed if PRODUCTION os.makedirs("prod-static", exist_ok=True)