Thu, 14 Jun 2007 09:49:00 +0000 |
cmlenz |
Fix for #16: the header message (`msgid = ""`) is now treated specially by `read_po` and `Catalog`.
|
Thu, 14 Jun 2007 06:24:28 +0000 |
palgarvio |
`Message`, `read_po` and `write_po` now all handle user/auto comments correctly.
|
Wed, 13 Jun 2007 23:02:24 +0000 |
cmlenz |
Merged `write_pot` and `write_po` functions by moving more functionality to the `Catalog` class. This is certainly not perfect yet, but moves us in the right direction.
|
Wed, 13 Jun 2007 21:46:41 +0000 |
cmlenz |
Implement wrapping of header comments in PO(T) output. Related to #14.
|
Wed, 13 Jun 2007 20:50:34 +0000 |
cmlenz |
Project name and version, and the charset are available via the `Catalog` object, and do not need to be passed to `write_pot()`.
|
Wed, 13 Jun 2007 08:26:23 +0000 |
cmlenz |
Add wrapper class bundling the various formatting functions bound to a specific locale and time-zone.
|
Wed, 13 Jun 2007 08:03:48 +0000 |
pjenvey |
o fix misnamed vars in LazyProxy
|
Wed, 13 Jun 2007 07:52:20 +0000 |
pjenvey |
unused import
|
Wed, 13 Jun 2007 07:48:06 +0000 |
cmlenz |
Add `--without-apidocs` switch to `build_doc` command for quicker doc-edit/review cycles.
|
Tue, 12 Jun 2007 20:09:35 +0000 |
cmlenz |
Renamed `LOCAL` to `LOCALTZ`.
|
Tue, 12 Jun 2007 19:57:18 +0000 |
palgarvio |
Also use tzinfo for `write_po`.
|
Tue, 12 Jun 2007 18:40:39 +0000 |
cmlenz |
Fix for #11 (use local timezone in timestamps of generated POT).
|
Tue, 12 Jun 2007 05:20:34 +0000 |
palgarvio |
Updated `read_po` to add user comments besides just auto comments.
|
Mon, 11 Jun 2007 23:59:54 +0000 |
palgarvio |
Commiting patch provided by pjenvey: Translator comments don't apply unless they immediately preceed the message.
|
Mon, 11 Jun 2007 23:29:45 +0000 |
palgarvio |
Fixed bug introduced in [92], bad use of `lstrip()`. Added a unittest to test multiple translator comment tags.
|
Mon, 11 Jun 2007 22:27:24 +0000 |
palgarvio |
Changed translator comments extraction behaviour in python source code. Match is now true only if the TAG is on the start of the comment. The TAG will also be stripped from the comment. Added a unittest which tests this.
|
Mon, 11 Jun 2007 20:43:15 +0000 |
cmlenz |
Some doc improvements on distutils integration.
|
Mon, 11 Jun 2007 20:22:49 +0000 |
palgarvio |
Unittest for the problem reported by pjenvey fixed on [88].
|
Mon, 11 Jun 2007 19:43:58 +0000 |
palgarvio |
Completely fixed the bug reported by pjenvey, partially addressed on [87].
|
Mon, 11 Jun 2007 00:48:07 +0000 |
palgarvio |
Fixed a bug on Catalog. `__setitem__` was not updating the translator comments. Thanks pjenvey!
|
Sun, 10 Jun 2007 22:41:50 +0000 |
palgarvio |
Fixed a bug on the CLI frontend introduced on [81]. Thanks pjenvey!
|
Sun, 10 Jun 2007 21:14:38 +0000 |
palgarvio |
Fixed de-pluralization bug introduced in [85] regarding the extraction of translator comments.
|
Sun, 10 Jun 2007 18:03:46 +0000 |
cmlenz |
Some cosmetic changes for the new translator comments support.
|
Sun, 10 Jun 2007 17:37:50 +0000 |
cmlenz |
Add unit tests for extracting translator comments from python sources.
|
Sun, 10 Jun 2007 16:46:55 +0000 |
palgarvio |
Missed some param's documentation regarding translator comments.
|
Sun, 10 Jun 2007 16:32:23 +0000 |
palgarvio |
Fixed and added some documentation about the translator comments implemented in [81].
|
Sun, 10 Jun 2007 14:21:01 +0000 |
palgarvio |
Added support for translator comments at the API and frontends levels.(See #12, item 1). Updated docs and tests accordingly.
|
Sun, 10 Jun 2007 09:39:26 +0000 |
palgarvio |
Implemented item 4 from #12. Set the copyright holder in the output.
|
Sun, 10 Jun 2007 08:42:21 +0000 |
palgarvio |
Fixed the plurals header on `Catalog` which should only be written if it's not a catalog template.
|
Fri, 08 Jun 2007 23:27:35 +0000 |
cmlenz |
Updated frontend screens for added sorting features.
|
Fri, 08 Jun 2007 23:16:38 +0000 |
palgarvio |
Typo on `doc/catalogs.txt`.
|
Fri, 08 Jun 2007 21:54:56 +0000 |
cmlenz |
Fixed MIME type of new doc page.
|
Fri, 08 Jun 2007 21:40:59 +0000 |
cmlenz |
Extended the docs a bit.
|
Fri, 08 Jun 2007 21:40:44 +0000 |
cmlenz |
Extended the docs a bit.
|
Fri, 08 Jun 2007 19:10:51 +0000 |
cmlenz |
More explicit module-level function names in `babel.core`. Added `Locale.negotiate` class method.
|
Fri, 08 Jun 2007 17:30:12 +0000 |
palgarvio |
Implemented message sorting, see #7.
|
Fri, 08 Jun 2007 16:22:10 +0000 |
cmlenz |
Fix for mixed singular/plural messages, follow-up to [70].
|
Fri, 08 Jun 2007 16:16:08 +0000 |
cmlenz |
Message catalogs can have multiple messages with the same ID, where some of them have plural strings, and others don't. Still the same message.
|
Fri, 08 Jun 2007 15:47:00 +0000 |
cmlenz |
Add back POT header broken in previous check-in.
|
Fri, 08 Jun 2007 15:32:06 +0000 |
cmlenz |
Enhance catalog to also manage the MIME headers.
|
Fri, 08 Jun 2007 14:29:49 +0000 |
palgarvio |
Implemented the `init` subcommand, aka, `new_catalog` for the distutils/setuptools implmentation.
|
Fri, 08 Jun 2007 13:22:37 +0000 |
cmlenz |
Add Babel soruce path to CLDR import script automatically for asmodai ;-).
|
Fri, 08 Jun 2007 13:15:32 +0000 |
cmlenz |
`read_po` now returns a `Catalog`.
|
Fri, 08 Jun 2007 12:53:57 +0000 |
palgarvio |
Added the available commands list to the `--help` output of Babel's binary.
|
Fri, 08 Jun 2007 12:41:00 +0000 |
cmlenz |
The order of extraction methods is now preserved (see #10).
|
Fri, 08 Jun 2007 11:54:01 +0000 |
cmlenz |
Move `Translations` and `LazyProxy` to new `babel.support` module, which should contain any convenience code that is useful for applications using Babel/I18n, but not used by Babel itself.
|
Fri, 08 Jun 2007 11:44:28 +0000 |
cmlenz |
Fix typo in [58].
|
Fri, 08 Jun 2007 11:35:06 +0000 |
palgarvio |
Fix 2nd typo of [58].
|
Fri, 08 Jun 2007 11:32:27 +0000 |
cmlenz |
Fix typo in [58].
|
Fri, 08 Jun 2007 11:28:15 +0000 |
cmlenz |
* The `extract_messages` distutils command now operators on configurable input directories again, instead of the complete current directory. The `input_dirs` default to the package directories.
|
Fri, 08 Jun 2007 11:08:03 +0000 |
cmlenz |
Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
|
Fri, 08 Jun 2007 10:37:47 +0000 |
palgarvio |
`new_catalog` now accepts another argument, `--domain`, which is used to build the output file path, which now is of the form `<output_dir>/<locale>/<domain>.po`, the correct form.
|
Fri, 08 Jun 2007 09:16:32 +0000 |
cmlenz |
Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names.
|
Thu, 07 Jun 2007 23:11:32 +0000 |
cmlenz |
Add `english_name` property to `Locale` class.
|
Thu, 07 Jun 2007 22:59:25 +0000 |
cmlenz |
Support sub-commands in command-line interface, and renamed the generated script wrapper to `babel`. See #9.
|
Thu, 07 Jun 2007 22:48:47 +0000 |
palgarvio |
Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
|
Thu, 07 Jun 2007 22:00:43 +0000 |
jonas |
Added round-half-even (banker's rounding) support.
|
Thu, 07 Jun 2007 00:15:27 +0000 |
cmlenz |
Support a `message_extractors` keyword argument directly in `setup()`. Closes #4.
|
Wed, 06 Jun 2007 23:17:18 +0000 |
cmlenz |
Move the mapping configuration file format to `ConfigParser`, and add some more documentation about it.
|
Wed, 06 Jun 2007 21:03:24 +0000 |
cmlenz |
Support passing extraction method mapping and options from the frontends (see #4). No distutils/setuptools keyword supported yet, but the rest seems to be working okay.
|