This function generates tuples of the form:
- ``(filename, lineno, message)``
+ ``(filename, lineno, message, comments)``
Which extraction method is used per file is determined by the `method_map`
parameter, which maps extended glob patterns to extraction method names.
that should be recognized as translation functions) to
tuples that specify which of their arguments contain
localizable strings
+ :param comments_tags: a list of translator tags to search for and include
+ in output
:param callback: a function that is called for every file that message are
extracted from, just before the extraction itself is
performed; the function is passed the filename, the name
that should be recognized as translation functions) to
tuples that specify which of their arguments contain
localizable strings
+ :param comments_tags: a list of translator tags to search for and include
+ in output
:param options: a dictionary of additional options (optional)
:return: the list of extracted messages
:rtype: `list`
that should be recognized as translation functions) to
tuples that specify which of their arguments contain
localizable strings
- :param comments_tags: a list of translator tags to search for and include in
- output
+ :param comments_tags: a list of translator tags to search for and include
+ in output
:param options: a dictionary of additional options (optional)
:return: the list of extracted messages
:rtype: `list`
:param fileobj: the file-like object the messages should be extracted from
:param keywords: a list of keywords (i.e. function names) that should be
recognized as translation functions
- :param comments_tags: a list of translator tags to search for and include in
- output
+ :param comments_tags: a list of translator tags to search for and include
+ in output
:param options: a dictionary of additional options (optional)
:return: an iterator over ``(lineno, funcname, message, comments)`` tuples
:rtype: ``iterator``
:param fileobj: the file-like object the messages should be extracted from
:param keywords: a list of keywords (i.e. function names) that should be
recognized as translation functions
- :param comments_tags: a list of translator tags to search for and include in
- output
+ :param comments_tags: a list of translator tags to search for and include
+ in output
:param options: a dictionary of additional options (optional)
:return: an iterator over ``(lineno, funcname, message, comments)`` tuples
:rtype: ``iterator``