def handle_translation_project(self, translation_project, **options): """ """ path_glob = "%s*" % translation_project.pootle_path plugin = FSPlugin(translation_project.project) plugin.add(pootle_path=path_glob, update="pootle") plugin.rm(pootle_path=path_glob, update="pootle") plugin.resolve(pootle_path=path_glob, merge=not options["overwrite"]) plugin.sync(pootle_path=path_glob, update="pootle")