Run compilejsi18n when we make dummy strings
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user