l.t.b.p.POTemplateViewPreferred(POTemplateView) : class documentation

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

View class that shows only users preferred templates.
Method pofiles Iterate languages shown when viewing this PO template.

Inherited from POTemplateView:

Method initialize Get the requested languages and submit the form.
Method requestPoFiles Yield a POFile or DummyPOFile for each of the languages in the
Method num_messages Undocumented
Method group_parent Return a parent object implementing ITranslationPolicy.
Method has_translation_documentation Are there translation instructions for this project.
Method related_templates_by_source Undocumented
Method more_templates_by_source_link Undocumented
Method has_pofiles Undocumented
Method is_upstream_template Undocumented
Method is_sharing Whether this object is sharing translations or not.
Method sharing_template Undocumented
Method getTranslationSourcePackage See TranslationSharingDetailsMixin.
Method _sortLanguages Undocumented
Method _getPOFileOrDummy Undocumented

Inherited from TranslationsMixin (via POTemplateView):

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

Inherited from TranslationSharingDetailsMixin (via POTemplateView):

Method sharing_details Construct the link to the sharing details page.
def pofiles(self):
Iterate languages shown when viewing this PO template.

Yields a POFileView object for each language this template has been translated into, and for each of the user's languages. Where the template has no POFile for that language, we use a DummyPOFile.

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