| Home | Trees | Index | Help |
|---|
| Package Pootle :: Package storage :: Module ddtp :: Class DDTPPackage |
|
object --+
|
DDTPPackage
| Method Summary | |
|---|---|
Create a DDTP package. | |
_export_description(self,
paras)
| |
_parseComment(comment)
(Static method) | |
_split(self,
description)
| |
Export to RFC822-style description. | |
Import RFC822-style description and translation. | |
istranslated(self)
| |
Make a list of translation units for a package description. | |
Parse an iterable of translation units into DDTPPackage objects. (Static method) | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
str |
ddtp_entry_template = 'Package: %(name)s\nDescription-md...
|
| Instance Method Details |
|---|
__init__(self,
name,
md5sum,
paras=None)
|
export(self, lang_key, charset='utf-8')Export to RFC822-style description. |
import_description(self, description, translation)Import RFC822-style description and translation. |
make_units(self, makeunit)Make a list of translation units for a package description. `makeunit` is a callable that creates a translation (typically SomeTranslationStore.makeunit). |
| Static Method Details |
|---|
parse_units(units)Parse an iterable of translation units into DDTPPackage objects. Note that you can just pass in a TranslationStore. Returns a list of DDTPPackages. |
| Class Variable Details |
|---|
ddtp_entry_template
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Aug 22 04:29:46 2006 | http://epydoc.sf.net |