__init__(self,
id,
string=u'',
locations=(),
flags=(),
auto_comments=(),
user_comments=(),
previous_id=(),
lineno=None)
(Constructor)
|
|
Create the message object.
- Parameters:
id - the message ID, or a (singular, plural) tuple for
pluralizable messages
string - the translated message string, or a
(singular, plural) tuple for pluralizable messages
locations - a sequence of (filenname, lineno) tuples
flags - a set or sequence of flags
auto_comments - a sequence of automatic comments for the message
user_comments - a sequence of user comments for the message
previous_id - the previous message ID, or a (singular, plural)
tuple for pluralizable messages
lineno - the line number on which the msgid line was found in the
PO file, if any
- Overrides:
object.__init__
|