class documentation

class BuildFile: (source)

View In Hierarchy

Represent the state of a translatable file during the build process.

Method __init__ Undocumented
Method cleanup Remove a preprocessed copy of a translatable file (if any).
Method postprocess_messages Postprocess messages generated by xgettext GNU gettext utility.
Method preprocess Preprocess (if necessary) a translatable file before passing it to xgettext GNU gettext utility.
Instance Variable command Undocumented
Instance Variable domain Undocumented
Instance Variable translatable Undocumented
Property is_templatized Undocumented
Property path Undocumented
Property work_path Path to a file which is being fed into GNU gettext pipeline. This may be either a translatable or its preprocessed version.
def __init__(self, command, domain, translatable): (source)

Undocumented

def cleanup(self): (source)

Remove a preprocessed copy of a translatable file (if any).

def postprocess_messages(self, msgs): (source)

Postprocess messages generated by xgettext GNU gettext utility. Transform paths as if these messages were generated from original translatable files rather than from preprocessed versions.

def preprocess(self): (source)

Preprocess (if necessary) a translatable file before passing it to xgettext GNU gettext utility.

Undocumented

Undocumented

translatable = (source)

Undocumented

Undocumented

Path to a file which is being fed into GNU gettext pipeline. This may be either a translatable or its preprocessed version.