l.t.b.p.ProductSeriesView(LaunchpadView, ProductSeriesTranslationsMixin, TranslationSharingDetailsMixin) : class documentation

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

A view to show a series with translations.
Method initialize See LaunchpadFormView.
Method has_exports_enabled Should information about automatic exports be displayed?
Method uses_bzr_sync Should information about automatic imports/exports be displayed?
Method productserieslanguages Get ProductSeriesLanguage objects to display.
Method isPreferredLanguage Undocumented
Method has_translation_documentation Are there translation instructions for this product.
Method single_potemplate Does this ProductSeries have exactly one POTemplate.
Method show_page_content Whether the main content of the page should be shown.
Method can_configure_translations Whether or not the user can configure translations.
Method is_translations_admin Whether or not the user is a translations admin.
Method is_sharing Whether this object is sharing translations or not.
Method sharing_sourcepackage Undocumented
Method getTranslationSourcePackage See TranslationSharingDetailsMixin.

Inherited from ProductSeriesTranslationsMixin:

Method series_title The series title.
Method has_imports_enabled Should information about automatic imports be displayed?
Method request_bzr_import_url URL to request a bazaar import.
Method set_branch_url URL to link the series to a branch.
Method translations_settings_url URL to change the translations for the series.

Inherited from TranslationsMixin (via ProductSeriesTranslationsMixin):

Method translatable_languages Return a set of the Person's translatable languages.
Method answers_url Undocumented

Inherited from TranslationSharingDetailsMixin:

Method sharing_details Construct the link to the sharing details page.
def initialize(self):
See LaunchpadFormView.
@property
def has_exports_enabled(self):
Should information about automatic exports be displayed?

Will be True if an export branch exists for the series and if the user is allowed to view that branch branch.

@property
def uses_bzr_sync(self):
Should information about automatic imports/exports be displayed?

Will be True if either imports or exports are enabled and if the user is allowed to view the import or the export branch (or both).

@property
def productserieslanguages(self):
Get ProductSeriesLanguage objects to display.

Produces a list containing a ProductSeriesLanguage object for each language this product has been translated into, and for each of the user's preferred languages.

def isPreferredLanguage(self, language):
Undocumented
@property
def has_translation_documentation(self):
Are there translation instructions for this product.
@cachedproperty
def single_potemplate(self):
Does this ProductSeries have exactly one POTemplate.
@cachedproperty
def show_page_content(self):
Whether the main content of the page should be shown.
def can_configure_translations(self):
Whether or not the user can configure translations.
def is_translations_admin(self):
Whether or not the user is a translations admin.
def is_sharing(self):
Whether this object is sharing translations or not.
@property
def sharing_sourcepackage(self):
Undocumented
def getTranslationSourcePackage(self):
See TranslationSharingDetailsMixin.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.