Part of lp.translations.interfaces.translationsperson View In Hierarchy
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. |
POFileTranslator
entries for this person.Parameters | no_older_than | Optional cutoff date. If given, older
POFileTranslator entries are ignored. |
Returns | a Storm query result. |
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).
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.