class PoFileParser(object):
Method | __init__ |
Undocumented |
Method | _add_message |
Add a message to the catalog based on the current parser state and clear the state ready to process the next message. |
Method | _finish_current_message |
Undocumented |
Method | _invalid_pofile |
Undocumented |
Method | _process_comment |
Undocumented |
Method | _process_keyword_line |
Undocumented |
Method | _process_message_line |
Undocumented |
Method | _process_string_continuation_line |
Undocumented |
Method | _reset_message_state |
Undocumented |
Method | parse |
Reads from the file-like object fileobj and adds any po file units found in it to the Catalog supplied to the constructor. |
Class Variable | _keywords |
Undocumented |
Instance Variable | abort_invalid |
Undocumented |
Instance Variable | auto_comments |
Undocumented |
Instance Variable | catalog |
Undocumented |
Instance Variable | context |
Undocumented |
Instance Variable | counter |
Undocumented |
Instance Variable | flags |
Undocumented |
Instance Variable | ignore_obsolete |
Undocumented |
Instance Variable | in_msgctxt |
Undocumented |
Instance Variable | in_msgid |
Undocumented |
Instance Variable | in_msgstr |
Undocumented |
Instance Variable | locations |
Undocumented |
Instance Variable | messages |
Undocumented |
Instance Variable | obsolete |
Undocumented |
Instance Variable | offset |
Undocumented |
Instance Variable | translations |
Undocumented |
Instance Variable | user_comments |
Undocumented |
fileobj
and adds any po file
units found in it to the Catalog
supplied to the constructor.