Mercurial > babel > mirror
diff babel/messages/pofile.py @ 334:1786dce4b1b0 trunk
Add basic MO file reading in preparation for #54.
author | cmlenz |
---|---|
date | Tue, 10 Jun 2008 17:05:52 +0000 |
parents | 59c7849d8b32 |
children | 4db404d0c19b |
line wrap: on
line diff
--- a/babel/messages/pofile.py +++ b/babel/messages/pofile.py @@ -122,8 +122,8 @@ means it's a template) :param domain: the message domain :param ignore_obsolete: whether to ignore obsolete messages in the input - :return: an iterator over ``(message, translation, location)`` tuples - :rtype: ``iterator`` + :return: a catalog object representing the parsed PO file + :rtype: `Catalog` """ catalog = Catalog(locale=locale, domain=domain)