Part of lp.translations.interfaces.translationimporter View In Hierarchy
Method | getFormat | The file format of the import. |
Int | priority | Undocumented |
TextLine | content_type | Undocumented |
List | file_extensions | Undocumented |
Bool | uses_source_string_msgids | Undocumented |
Method | parse | Parse an ITranslationImportQueueEntry into an |
Method | getHeaderFromString | Return the ITranslationHeaderData for the given header string. |
Parameters | file_contents | A seekable file object with the contents of
the file being imported. A returned format may sometimes be
different from the base format of the
ITranslationFormatImporter , and that is determined based on
the contents . |
Returns | A TranslationFileFormat value. |
ITranslationImportQueueEntry
into an
ITranslationFileData
.Parameters | translation_import_queue | An ITranslationImportQueueEntry to
parse. |
Returns | An ITranslationFileData representing the parsed file. |
ITranslationHeaderData
for the given header string.Parameters | header_string | A text representing a header for this concrete file format. |
Returns | An ITranslationHeaderData based on the header string. |