Commit 0265ce0a by Sarina Canelake

Clean i18n directories before validating

parent 3a250c13
......@@ -196,6 +196,8 @@ def i18n_robot_pull():
"""
# 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
sh('git clean -fdX conf/locale/rtl')
sh('git clean -fdX conf/locale/eo')
cmd = "i18n_tool validate"
print("\n\nValidating translations with `i18n_tool validate`...")
sh("{cmd}".format(cmd=cmd))
......
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