l.t.p.detect_intltool : module documentation
Part of
lp
.
translations
.
pottery
Functions to detect if intltool can be used to generate a POT file for the package in the current directory.
Function
read_lock_tree
Context manager to claim a read lock on a bzr tree.
Function
is_intltool_structure
Does this source tree look like it's set up for intltool?
@contextmanager
def read_lock_tree(tree):
Context manager to claim a read lock on a bzr tree.
def is_intltool_structure(tree):
Does this source tree look like it's set up for intltool?
Currently this just checks for the existence of POTFILES.in.
Parameters
tree
A bzrlib.Tree object to search for the intltool structure.
Returns
True if signs of an intltool structure were found.
API Documentation
for Launchpad, generated by
pydoctor
at 2022-06-16 00:00:12.