Commit 13dc7ed4 by Sarina Canelake

Fix i18n paver command wrt cleanup

parent 65d68a88
......@@ -184,6 +184,7 @@ def i18n_ltr():
@task
@needs(
"pavelib.i18n.i18n_clean",
"pavelib.i18n.i18n_transifex_pull",
"pavelib.i18n.i18n_extract",
"pavelib.i18n.i18n_dummy",
......@@ -193,9 +194,7 @@ def i18n_robot_pull():
"""
Pull source strings, generate po and mo files, and validate
"""
sh('git clean -fdX conf/locale')
# sh('paver test_i18n') # TODO tests were removed from repo, but there should still be tests that cover the translations...
# Validate the recently pulled translations, and give a bail option
cmd = "i18n_tool validate"
print("\n\nValidating translations with `i18n_tool validate`...")
......@@ -213,6 +212,14 @@ def i18n_robot_pull():
@task
def i18n_clean():
"""
Clean the i18n directory of artifacts
"""
sh('git clean -fdX conf/locale')
@task
@needs(
"pavelib.i18n.i18n_extract",
"pavelib.i18n.i18n_transifex_push",
......
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