l.t.b.p.POFileView(LaunchpadView) : class documentation

Part of lp.translations.browser.pofile View In Hierarchy

Known subclasses: lp.translations.browser.pofile.POFileDetailsView, lp.translations.browser.pofile.POFileUploadView

A basic view for a POFile
Method contributors Undocumented
Method user_can_edit Does the user have full edit rights for this translation?
Method user_can_suggest Is the user allowed to make suggestions here?
Method has_translationgroup Is there a translation group for this translation?
Method is_managed Is a translation group member assigned to this translation?
Method managers List translation groups and translation teams for this translation.
@cachedproperty
def contributors(self):
Undocumented
@cachedproperty
def user_can_edit(self):
Does the user have full edit rights for this translation?
@cachedproperty
def user_can_suggest(self):
Is the user allowed to make suggestions here?
@cachedproperty
def has_translationgroup(self):
Is there a translation group for this translation?
@cachedproperty
def is_managed(self):
Is a translation group member assigned to this translation?
@cachedproperty
def managers(self):
List translation groups and translation teams for this translation.

Returns a list of descriptions of who may manage this translation. Each entry contains a "group" (the TranslationGroup) and a "team" (the translation team, or possibly a single person). The team is None for groups that haven't assigned a translation team for this translation's language.

Duplicates are eliminated; every translation group will occur at most once.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.