Home | Trees | Indices | Help |
|
---|
|
object --+ | Message
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Instance Variables | |
id The message ID |
|
string The message translation |
Properties | |
bool
|
fuzzy Whether the translation is fuzzy. |
bool
|
pluralizable Whether the message is plurizable. |
bool
|
python_format Whether the message contains Python-style parameters. |
Inherited from |
Method Details |
|
|
Property Details |
fuzzyWhether the translation is fuzzy. >>> Message('foo').fuzzy False >>> msg = Message('foo', 'foo', flags=['fuzzy']) >>> msg.fuzzy True >>> msg <Message 'foo' (flags: ['fuzzy'])>
|
pluralizableWhether the message is plurizable. >>> Message('foo').pluralizable False >>> Message(('foo', 'bar')).pluralizable True
|
python_formatWhether the message contains Python-style parameters. >>> Message('foo %(name)s bar').python_format True >>> Message(('foo %(name)s', 'foo %(name)s')).python_format True
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Fri Sep 7 12:36:49 2007 | http://epydoc.sourceforge.net |