Home | Trees | Indices | Help |
|
---|
|
|
|||
Translatable A node corresponds to a translatable element. |
|||
ParseState Maintain constants and variables used during the walking of a DOM tree (via the function apply). |
|||
IdMaker |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
TranslatableClass = Class('Translatable')
|
Imports: etree, base, accepts, Self, IsCallable, IsOneOf, Any, Class, Number, contextmanager, nested, with_, xpath_breadcrumb, misc, xliff, StringElem
|
|
Run find_translatable_dom_nodes on the current dom_node
|
Return a list of placeables and list with alternating string-placeable objects. The former is useful for directly working with placeables and the latter is what will be used to build the final translatable string.
|
|
|
|
|
Construct a new translation unit, set its source and location information and add it to 'store'.
|
Checks whether translatable contains any chunks of text which contain more than whitespace. If not, then there's nothing to translate.
|
Return a function which, when called with a Translatable will add a unit to 'store'. The placeables will represented as strings according to 'placeable_quoter'.
|
|
Utility function for loading xml_filename
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 15 13:53:52 2009 | http://epydoc.sourceforge.net |