`ngettext`, or vice versa.
* Fixed time formatting for 12 am and 12 pm.
* Fixed output encoding of the `pybabel --list-locales` command.
+ * PO files are now written in binary mode on windows (ticket #61).
Version 0.9
log.info('compiling catalog %r to %r', po_file, mo_file)
- outfile = open(mo_file, 'w')
+ outfile = open(mo_file, 'wb')
try:
write_mo(outfile, catalog, use_fuzzy=self.use_fuzzy)
finally:
self.log.info('compiling catalog %r to %r', po_file, mo_file)
- outfile = open(mo_file, 'w')
+ outfile = open(mo_file, 'wb')
try:
write_mo(outfile, catalog, use_fuzzy=options.use_fuzzy)
finally: