From e2109b97db0671b6a57dd5086928edb82a04fd34 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 30 Mar 2016 16:32:37 -0400 Subject: [PATCH] Run compilejsi18n when we make dummy strings --- pavelib/i18n.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pavelib/i18n.py b/pavelib/i18n.py index f63709e0f8..f50602a0e8 100644 --- a/pavelib/i18n.py +++ b/pavelib/i18n.py @@ -75,6 +75,10 @@ def i18n_dummy(): # Need to then compile the new dummy strings sh("i18n_tool generate") + # Generate static i18n JS files. + for system in ['lms', 'cms']: + sh(django_cmd(system, DEFAULT_SETTINGS, 'compilejsi18n')) + @task def i18n_validate_gettext(): @@ -193,10 +197,6 @@ def i18n_robot_pull(): print "\n\nValidating translations with `i18n_tool validate`..." sh("i18n_tool validate") - # Generate static i18n JS files. - for system in ['lms', 'cms']: - sh(django_cmd(system, DEFAULT_SETTINGS, 'compilejsi18n')) - con = raw_input("Continue with committing these translations (y/n)? ") if con.lower() == 'y':