Package translate :: Package storage :: Module pocommon :: Class pofile
[hide private]
[frames] | no frames]

Class pofile

source code

           object --+    
                    |    
base.TranslationStore --+
                        |
    poheader.poheader --+
                        |
                       pofile
Known Subclasses:

Nested Classes [hide private]

Inherited from base.TranslationStore: UnitClass

Instance Methods [hide private]
 
makeheader(self, **kwargs)
create a header for the given filename.
source code

Inherited from base.TranslationStore: __init__, __str__, addsourceunit, addunit, findunit, getunits, isempty, makeindex, parse, save, savefile, translate, unit_iter

Inherited from base.TranslationStore (private): _assignname

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Inherited from poheader.poheader: getheaderplural, header, makeheaderdict, mergeheaders, parseheader, tzstring, updatecontributor, updateheader, updateheaderplural

Class Methods [hide private]

Inherited from base.TranslationStore: parsefile, parsestring

Class Variables [hide private]

Inherited from poheader.poheader: header_order, x_generator

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

makeheader(self, **kwargs)

source code 

create a header for the given filename. arguments are specially handled, kwargs added as key: value pot_creation_date can be None (current date) or a value (datetime or string) po_revision_date can be None (form), False (=pot_creation_date), True (=now), or a value (datetime or string)