Commit e2109b97 by Ned Batchelder

Run compilejsi18n when we make dummy strings

parent a368982c
......@@ -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':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment