l.t.b.t.CurrentTranslationMessageZoomedView(CurrentTranslationMessageView) : class documentation

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

A view that displays a TranslationMessage, but zoomed in.

See TranslationMessagePageView.

Method zoom_url Return the URL where we should from the zoom icon.
Method zoom_alt Undocumented
Method zoom_icon Undocumented
Method max_entries Return the max number of entries to show as suggestions.

Inherited from CurrentTranslationMessageView:

Method __init__ Primes the view with information that is gathered by a parent view.
Method initialize Undocumented
Method getOfficialTranslation Return current translation on either side for plural form 'index'.
Method getCurrentTranslation Return the current translation for the pluralform 'index'.
Method getOtherTranslation Return the other-side translation for the pluralform 'index'.
Method getSharedTranslation Return the shared translation for the pluralform 'index'.
Method getSubmittedTranslation Return the translation submitted for the pluralform 'index'.
Method is_plural Return whether there are plural forms.
Method message_must_be_hidden Whether this message must be hidden from anonymous viewers.
Method translation_credits Return automatically created translation if defined, or None.
Method singular_text Return the singular form prepared to render in a web page.
Method plural_text Return a plural form prepared to render in a web page.
Method text_has_tab Whether the text to translate contain tab chars.
Method text_has_newline Whether the text to translate contain newline chars.
Method text_has_leading_or_trailing_space Whether the text to translate contain leading/trailing spaces.
Method source_comment Return the source code comments for this ITranslationMessage.
Method comment Return the translator comments for this ITranslationMessage.
Method file_references Return the file references for this ITranslationMessage.
Method zoom_link_id Undocumented
Method dismissable_class The class string for dismissable parts.
Method dismissable_class_other The class string for dismissable other translations.
Method _set_dismiss_flags Set dismissal flags.
Method _buildAllSuggestions Builds all suggestions and puts them into suggestions_block.
Method _buildTranslationMessageSuggestions Build filtered list of submissions to be shown in the view.
@property
def zoom_url(self):
Return the URL where we should from the zoom icon.
@property
def zoom_alt(self):
Undocumented
@property
def zoom_icon(self):
Undocumented
@property
def max_entries(self):
Return the max number of entries to show as suggestions.

If there is no limit, we return None.

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