Mercurial > babel > old > mirror
comparison doc/setup.txt @ 53:52dbebdd3789
Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
Renamed old `write_po` to `write_pot` which is what it actually does and also adds space to the new `write_po`. Changed tests accordingly.
Added support to create new localized catalogs from a catalog template, `write_po`..
author | palgarvio |
---|---|
date | Thu, 07 Jun 2007 22:48:47 +0000 |
parents | 3664c93860f1 |
children | 27d55a07c897 |
comparison
equal
deleted
inserted
replaced
52:4df5e8994657 | 53:52dbebdd3789 |
---|---|
57 --output-file (-o) name of the output file | 57 --output-file (-o) name of the output file |
58 --width (-w) set output line width (default 76) | 58 --width (-w) set output line width (default 76) |
59 --no-wrap do not break long message lines, longer than the | 59 --no-wrap do not break long message lines, longer than the |
60 output line width, into several lines | 60 output line width, into several lines |
61 | 61 |
62 Running the command will produce a PO file:: | 62 Running the command will produce a PO template file:: |
63 | 63 |
64 $ ./setup.py extract_messages --output-file foobar/locale/messages.pot | 64 $ ./setup.py extract_messages --output-file foobar/locale/messages.pot |
65 running extract_messages | 65 running extract_messages |
66 extracting messages from foobar/__init__.py | 66 extracting messages from foobar/__init__.py |
67 extracting messages from foobar/core.py | 67 extracting messages from foobar/core.py |
68 ... | 68 ... |
69 writing PO file to foobar/locale/messages.pot | 69 writing PO template file to foobar/locale/messages.pot |
70 | 70 |
71 | 71 |
72 Method Mapping | 72 Method Mapping |
73 -------------- | 73 -------------- |
74 | 74 |