Beispiel #1
0
 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
Beispiel #2
0
 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