Part of lp.translations.utilities.mozilla_xpi_importer View In Hierarchy
Looks for DTD and properties files, and parses them for messages.
All messages found are left in self.messages
.
Method | extend | Complement self.messages with messages found in contained file. |
Method | _begin | Overridable hook for MozillaZipTraversal . |
Method | _finish | Overridable hook for MozillaZipTraversal . |
Method | _processTranslatableFile | Overridable hook for MozillaZipTraversal . |
Method | _isTemplate | Is this a template? |
Method | _processNestedJar | Overridable hook for MozillaZipTraversal . |
Method | _isCommandKeyMessage | Whether the message represents a command key shortcut. |
Method | _isAccessKeyMessage | Whether the message represents an access key shortcut. |
Inherited from MozillaZipTraversal:
Method | __init__ | Open zip (or XPI, or jar) file and scan its contents. |
Method | _processEntry | Read one zip archive entry, figure out what to do with it. |
MozillaZipTraversal
.
This implementation is only interested in DTD and properties files.
MozillaZipTraversal
.
This implementation complements self.messages
with those found in
the jar file we just parsed.