[i18n] Download only current translations on commit

remotes/origin/enhancement/email-actions
David Barragán Merino 2015-05-08 11:12:21 +02:00
parent ffd0741d57
commit 1600590351
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ def fetch(resources=None, languages=None):
for name, dir_ in locale_dirs:
# Transifex pull
if languages is None:
call("tx pull -r {res} -a -f --minimum-perc=5".format(res=_tx_resource_for_name(name)), shell=True)
call("tx pull -r {res} -f --minimum-perc=5".format(res=_tx_resource_for_name(name)), shell=True)
languages = sorted([d for d in os.listdir(dir_) if not d.startswith("_") and os.path.isdir(os.path.join(dir_, d)) and d != "en"])
else:
for lang in languages: