Part of lp.translations.browser.person View In Hierarchy
Known subclasses: lp.translations.browser.person.PersonTranslationReviewView
|Method||recent_activity||Recent translation activity by this person.|
|Method||latest_activity||Single latest translation activity by this person.|
|Method||translation_groups||Return translation groups a person is a member of.|
|Method||translators||Return translators a person is a member of.|
|Method||person_is_reviewer||Is this person in a translation group?|
|Method||person_is_translator||Is this person active in translations?|
|Method||person_includes_me||Is the current user (a member of) this person?|
|Method||requires_preferred_languages||Does this person need to set preferred languages?|
|Method||should_display_message||Should a certain
|Method||all_projects_and_packages_to_review||Top projects and packages for this person to review.|
|Method||top_projects_and_packages_to_review||Suggest translations for this person to review.|
|Method||num_projects_and_packages_to_review||How many translations do we suggest for reviewing?|
|Method||top_projects_and_packages_to_translate||Suggest translations for this person to help complete.|
|Method||_review_targets||Query and aggregate the top targets for review.|
|Method||_getTargetsForTranslation||Get translation targets for this person to translate.|
If the translation activity is associated with a project, we ensure that the project is active.
Return False if user is not logged in and message may contain sensitive data such as email addresses.
Otherwise, return True.
Query and aggregate the top targets for review. :return: a list of translation targets. Multiple `POFile`s may be aggregated together into a single target.
Results are ordered from most to fewest untranslated messages.
This is for use in showing top-10 ists of translations a user should help review or complete.
|Parameters||existing_targets||Translation targets that are already being listed.|
|new_targets||Translation targets to add. Ones that were
already in |
|max_items||Maximum number of targets from |
|max_overall||Maximum overall size of the resulting list.
What happens if |
|Returns||A list of translation targets containing all of