l.t.i.t.ITranslationHeaderData(Interface) : interface documentation

Part of lp.translations.interfaces.translationcommonformat View In Hierarchy

Translation header interface.
Bool is_fuzzy Undocumented
Datetime template_creation_date Undocumented
Datetime translation_revision_date Undocumented
TextLine language_team Undocumented
Bool has_plural_forms Undocumented
Int number_plural_forms Undocumented
TextLine plural_form_expression Undocumented
TextLine charset Undocumented
Datetime launchpad_export_date Undocumented
Text comment Undocumented
Method getRawContent Return header raw content in its native file format.
Method updateFromTemplateHeader Update header with some content from the given template header.
Method getLastTranslator Return a tuple of name and email for last translator.
Method setLastTranslator Set last translator information.
is_fuzzy =
Undocumented
template_creation_date =
Undocumented
translation_revision_date =
Undocumented
language_team =
Undocumented
has_plural_forms =
Undocumented
number_plural_forms =
Undocumented
plural_form_expression =
Undocumented
charset =
Undocumented
launchpad_export_date =
Undocumented
comment =
Undocumented
def getRawContent():
Return header raw content in its native file format.
def updateFromTemplateHeader(template_header):
Update header with some content from the given template header.

The fields copied depend on the file format.

Parameterstemplate_headerAn ITranslationHeaderData for an IPOTemplate.
def getLastTranslator():
Return a tuple of name and email for last translator.

name and/or email would be None if there is no such information.

def setLastTranslator(email, name=None):
Set last translator information.
ParametersemailA string with the email address for last translator.
nameThe name for the last translator or None.
API Documentation for Launchpad, generated by pydoctor at 2019-08-25 00:00:07.