class documentation

class BuildFile:

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):

Undocumented

def cleanup(self):
Remove a preprocessed copy of a translatable file (if any).
def postprocess_messages(self, msgs):

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):
Preprocess (if necessary) a translatable file before passing it to xgettext GNU gettext utility.
command =

Undocumented

domain =

Undocumented

translatable =

Undocumented

@cached_property
is_templatized =

Undocumented

@cached_property
path =

Undocumented

@cached_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.