def person_is_translator(self): """Is this person active in translations?""" if self.context.is_team: return False person = ITranslationsPerson(self.context) history = person.getTranslationHistory(self.history_horizon).any() return history is not None
def person_is_translator(self): """Is this person active in translations?""" if self.context.is_team: return False person = ITranslationsPerson(self.context) history = person.getTranslationHistory(self.history_horizon).any() return history is not None