Class | BabelMakoExtractor |
Undocumented |
Function | extract |
Extract messages from Mako templates. |
Parameters | |
fileobj | the file-like object the messages should be extracted from |
keywords | a list of keywords (i.e. function names) that should be recognized as translation functions |
comment_tags | a list of translator tags to search for and include in the results |
options | a dictionary of additional options (optional) |
Returns | |
iterator | an iterator over (lineno, funcname, message, comments) tuples |