Part of lp.translations.browser.pofile View In Hierarchy
POFile
or a DummyPOFile
.
This view is based on BaseTranslationView
and implements the API
defined by that class.
DummyPOFile`s are presented where there is no `POFile
in the
database but the user may want to translate. See how POTemplate
traversal is done for details about how we decide between a POFile
or a DummyPOFile
.
Method | initialize | Undocumented |
Method | completeness | Undocumented |
Method | autofocus_html_id | Undocumented |
Method | translations_order | Undocumented |
Method | is_upstream_pofile | Undocumented |
Method | is_sharing | Undocumented |
Method | sharing_pofile | Undocumented |
Method | _buildBatchNavigator | See BaseTranslationView._buildBatchNavigator. |
Method | _initializeTranslationMessageViews | See BaseTranslationView._initializeTranslationMessageViews. |
Method | _buildTranslationMessageViews | Build translation message views for all potmsgsets given. |
Method | _submitTranslations | See BaseTranslationView._submitTranslations. |
Method | _observeTranslationUpdate | see BaseTranslationView . |
Method | _buildRedirectParams | Construct parameters for redirection. |
Method | _initializeShowOption | Undocumented |
Method | _handleShowAll | Get `POTMsgSet`s when filtering for "all" (but possibly searching). |
Method | _getSelectedPOTMsgSets | Return a list of the POTMsgSets that will be rendered. |
Method | _messages_html_id | Undocumented |
Inherited from BaseTranslationView:
Method | label | The label will be used as the main page heading. |
Method | share_with_other_side | Should these translations be shared with the other side? |
Method | user_is_official_translator | Determine whether the current user is an official translator. |
Method | form_is_writeable | Whether the form should accept write operations. |
Method | _extractLockTimestamp | Extract the lock timestamp from the request. |
Method | _checkSubmitConditions | Verify that this submission is possible and valid. |
Method | _receiveTranslations | Process and store submitted translations for potmsgset . |
Method | _storeTranslations | Store the translation submitted for a POTMsgSet. |
Method | _approveTranslation | Approve message . |
Method | _areSuggestionsEmpty | Return true if all suggestions are empty strings or None. |
Method | _prepareView | Collect data and build a TranslationMessageView for display. |
Method | _initializeAltLanguage | Initialize the alternative language widget and check form data. |
Method | _extractFormPostedTranslations | Look for translations for this POTMsgSet in the form submitted. |
Method | _redirect | Redirect to the given url adding the selected filtering rules. |
Method | _redirectToNextPage | After a successful submission, redirect to the next batch page. |
Inherited from POFileMetadataViewMixin:
Method | translation_group | Is there a translation group for this translation? |
Method | translator_entry | The translator entry or None if none is assigned. |
Method | translator | Who is assigned for translations to this language? |
Method | user_is_new_translator | Is this user someone who has done no translation work yet? |
Method | translation_group_guide | URL to translation group's translation guide, if any. |
Method | translation_team_guide | URL to translation team's translation guide, if any. |
Method | has_any_documentation | Return whether there is any documentation for this POFile. |
Method | introduction_link | Link to introductory documentation, if appropriate. |
Method | guide_links | Links to translation group/team guidelines, if available. |
Method | documentation_link_bubble | Reference to documentation, if appropriate. |
Redefine this method if you have additional parameters to preserve.