l.t.i.t.ITranslationsPerson(Interface) : interface documentation

Part of lp.translations.interfaces.translationsperson View In Hierarchy

Translation-related properties of a person.
Attribute translatable_languages Languages this person knows, apart from English
Attribute translation_history The set of POFileTranslator objects that represent work done by this translator.
Attribute translation_groups The set of TranslationGroup objects this person is a member of.
Attribute translators The set of Translator objects this person is a member of.
Bool translations_relicensing_agreement Undocumented
Method getTranslationHistory Query most recent POFileTranslator entries for this person.
Method hasTranslated Has this user done any translation work?
Method getReviewableTranslationFiles List `POFile`s this person should be able to review.
Method getTranslatableFiles List `POFile`s this person should be able to help translate.
translatable_languages =
Languages this person knows, apart from English
translation_history =
The set of POFileTranslator objects that represent work done by this translator.
translation_groups =
The set of TranslationGroup objects this person is a member of.
translators =
The set of Translator objects this person is a member of.
translations_relicensing_agreement =
Undocumented
def getTranslationHistory(no_older_than=None):
Query most recent POFileTranslator entries for this person.
Parametersno_older_thanOptional cutoff date. If given, older POFileTranslator entries are ignored.
Returnsa Storm query result.
def hasTranslated():
Has this user done any translation work?
def getReviewableTranslationFiles(no_older_than=None):
List `POFile`s this person should be able to review.

These are translations that this person has worked on in the
(relatively recent) past and is a reviewer for.

:param no_older_than: Optional cutoff date.  Translations that
    this person hasn't contributed to since this date will be
    ignored.
:return: A query result of `POFile`s ordered by age of oldest
    unreviewed `TranslationMessage` (oldest first).
def getTranslatableFiles(no_older_than=None, urgent_first=True):
List `POFile`s this person should be able to help translate.

These are translations that this person is not a reviewer for,
but has worked on recently.

:param no_older_than: Optional cutoff date to define "recently."
:param urgent_first: If True, sort `POFile`s with the most
    untranslated strings to the front.  If False, sort the other
    way around.
:return: A query result of `POFile`s ordered by number of
    untranslated messages.
API Documentation for Launchpad, generated by pydoctor at 2019-11-13 00:00:10.