Commit 947fd66d authored by Michal Čihař's avatar Michal Čihař

Propagate update event in linked repos (issue #63)

parent 951eed81
......@@ -541,6 +541,10 @@ class SubProject(models.Model):
logger.info('checking %s', path)
Translation.objects.update_from_blob(self, code, path, blob_hash, force)
# Process linked repos
for sp in self.get_linked_childs():
sp.create_translations(force)
def get_lang_code(self, path):
'''
Parses language code from path.
......
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