Mon, 06 Aug 2012 07:41:21 +0000 |
fschwarz |
fix doctests on Python 2.4: In 2.4 re.sub(..., ..., u'') will return '' (str, not unicode) so just fill in some msgstr to avoid that problem
trunk
|
Sat, 04 Aug 2012 23:10:41 +0000 |
fschwarz |
handle irregular multi-line msgstr (no "" as first line) gracefully (#171)
trunk
|
Fri, 03 Aug 2012 22:41:49 +0000 |
fschwarz |
fix handling of messages containing '\\n' (#171)
trunk
|
Fri, 03 Aug 2012 19:17:50 +0000 |
fschwarz |
small code cleanup in write_po()
trunk
|
Tue, 24 Jul 2012 07:33:43 +0000 |
fschwarz |
add "--no-wrap" option for init/update commands (#289)
trunk
|
Mon, 26 Sep 2011 16:57:21 +0000 |
fschwarz |
remove/simplify useless code lines
trunk
|
Sat, 19 Mar 2011 19:50:21 +0000 |
fschwarz |
babel.messages.pofile should only apply encoding when actually writing a file (eases Python 3 transition, closes #251)
trunk
|
Sat, 19 Mar 2011 19:28:59 +0000 |
fschwarz |
catalog.add() now returns the message instance (closes #245)
trunk
|
Sat, 05 Mar 2011 16:40:24 +0000 |
fschwarz |
cleanup: remove unused imports
trunk
|
Sat, 05 Mar 2011 15:22:28 +0000 |
jruigrok |
Update the copyright line.
trunk
|
Sat, 05 Mar 2011 14:59:20 +0000 |
jruigrok |
Cleanup round #1: get rid of the frozenset/set utility code and imports.
trunk
|
Fri, 04 Mar 2011 13:14:03 +0000 |
fschwarz |
Python 2.3 compatibility: backporting r456 and r457 to 0.9 branch (see #233)
stable-0.9.x
|
Thu, 15 Apr 2010 14:20:11 +0000 |
jruigrok |
Commit the resulting files after a 2to3 -nvw run.
experimental-babel3
|
Sun, 11 Apr 2010 08:40:17 +0000 |
jruigrok |
Merged revisions 465 via svnmerge from
stable-0.9.x
|
Wed, 24 Feb 2010 12:59:35 +0000 |
jruigrok |
Backport r483. This fixes messages containing square brackets from failing
stable-0.9.x
|
Fri, 19 Feb 2010 13:08:56 +0000 |
jruigrok |
Make sure to only strip on the first occurence of ].
trunk
|
Tue, 17 Mar 2009 22:26:03 +0000 |
cmlenz |
Fix for msgctxt parsing in PO files. Thanks to Asheesh Laroia for the patch. Closes #159.
trunk
|
Tue, 23 Dec 2008 01:03:40 +0000 |
palgarvio |
Now, the `--width` option, although with a default value of 76, it's not set to any value initially so that the `--no-wrap` option can be passed without throwing an error. Fixes #145.
trunk
|
Thu, 18 Dec 2008 00:19:47 +0000 |
palgarvio |
Include patch from Asheesh Laroia. Fixes #45.
trunk
|
Wed, 08 Oct 2008 22:42:55 +0000 |
pjenvey |
fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
trunk
|
Tue, 08 Jul 2008 21:01:28 +0000 |
cmlenz |
Ported [407:415/trunk] back to 0.9.x branch.
stable-0.9.x
|
Mon, 30 Jun 2008 12:23:28 +0000 |
palgarvio |
We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
trunk
|
Fri, 27 Jun 2008 15:22:12 +0000 |
cmlenz |
Ported [388:405/trunk] to 0.9.x branch.
stable-0.9.x
|
Tue, 17 Jun 2008 20:40:36 +0000 |
aronacher |
Fixed #59 by falling back silently on invalid location comments.
trunk
|
Mon, 16 Jun 2008 09:53:44 +0000 |
aronacher |
Fixed a bug in pofile (in_msgctxt was not defined). Test follows.
trunk
|
Wed, 11 Jun 2008 18:56:27 +0000 |
cmlenz |
More preparation for msgctxt support (#54).
trunk
|
Tue, 10 Jun 2008 17:05:52 +0000 |
cmlenz |
Add basic MO file reading in preparation for #54.
trunk
|
Fri, 01 Feb 2008 15:23:13 +0000 |
cmlenz |
Fix for #79 (location lines wrapping at hyphens).
trunk
|
Mon, 14 Jan 2008 12:47:45 +0000 |
cmlenz |
Fix for unicode problem when the previous message id is included as a comment in PO serialization. Closes #78.
trunk
|
Mon, 13 Aug 2007 00:59:09 +0000 |
pjenvey |
add a __cmp__ to Message that correctly sorts by id, taking into account plurals
trunk
|
Tue, 24 Jul 2007 21:16:57 +0000 |
cmlenz |
Remove duplicate locations of catalog messages.
trunk
|
Fri, 20 Jul 2007 16:20:43 +0000 |
cmlenz |
Fix tests broken by [233], and add new tests.
trunk
|
Fri, 20 Jul 2007 14:22:50 +0000 |
palgarvio |
Only write unique comments, no duplicates.
trunk
|
Mon, 16 Jul 2007 16:57:49 +0000 |
cmlenz |
Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
trunk
|
Tue, 03 Jul 2007 21:19:27 +0000 |
cmlenz |
Minor changes to how previous msgids are processed.
trunk
|
Tue, 03 Jul 2007 17:55:34 +0000 |
palgarvio |
Added `--no-fuzzy-matching` to the frontends and also `--previous` which adds the old msgid's as comments. The latest closes #31.
trunk
|
Tue, 03 Jul 2007 16:29:22 +0000 |
cmlenz |
Handle obsolete messages when parsing catalogs. Closes #32.
trunk
|
Tue, 03 Jul 2007 12:52:44 +0000 |
cmlenz |
Fix for #35, and a minor improvement to how we parse the catalog fuzzy bit.
trunk
|
Sun, 01 Jul 2007 17:59:44 +0000 |
cmlenz |
Add an option to the frontend commands for catalog updating that removes completely any obsolete messages, instead of putting them comments.
trunk
|
Sun, 01 Jul 2007 17:45:27 +0000 |
cmlenz |
Correctly write out obsolete messages spanning multiple lines. Fixes #33.
trunk
|
Thu, 28 Jun 2007 10:28:25 +0000 |
cmlenz |
The frontends now provide ways to update existing translations catalogs from a template. Closes #22.
trunk
|
Wed, 27 Jun 2007 14:38:20 +0000 |
cmlenz |
Minor change to what symbols are ?exported?, primarily for the generated docs.
trunk
|
Tue, 26 Jun 2007 16:46:56 +0000 |
palgarvio |
Changed the `__repr__` output to include the flags(it can be changed back, but it was usefull to implement the fuzzy header parsing).
trunk
|
Thu, 21 Jun 2007 16:12:38 +0000 |
cmlenz |
Slightly simplified CLI-frontend class.
trunk
|
Thu, 21 Jun 2007 12:10:59 +0000 |
cmlenz |
Minor cleanup in the `pofile` module.
trunk
|
Wed, 20 Jun 2007 20:31:24 +0000 |
cmlenz |
Respect charset specified in PO headers in `read_po()`. Fixes #17.
trunk
|
Tue, 19 Jun 2007 12:13:46 +0000 |
cmlenz |
More fixes for Windows compatibility:
trunk
|
Fri, 15 Jun 2007 22:18:59 +0000 |
cmlenz |
Added tests for `new_catalog` distutils command.
trunk
|
Thu, 14 Jun 2007 19:13:51 +0000 |
palgarvio |
Fixed a bug introduced in [106].
trunk
|
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`.
trunk
|
Thu, 14 Jun 2007 06:24:28 +0000 |
palgarvio |
`Message`, `read_po` and `write_po` now all handle user/auto comments correctly.
trunk
|
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.
trunk
|
Wed, 13 Jun 2007 21:46:41 +0000 |
cmlenz |
Implement wrapping of header comments in PO(T) output. Related to #14.
trunk
|
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()`.
trunk
|
Tue, 12 Jun 2007 20:09:35 +0000 |
cmlenz |
Renamed `LOCAL` to `LOCALTZ`.
trunk
|
Tue, 12 Jun 2007 19:57:18 +0000 |
palgarvio |
Also use tzinfo for `write_po`.
trunk
|
Tue, 12 Jun 2007 05:20:34 +0000 |
palgarvio |
Updated `read_po` to add user comments besides just auto comments.
trunk
|
Sun, 10 Jun 2007 18:03:46 +0000 |
cmlenz |
Some cosmetic changes for the new translator comments support.
trunk
|
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.
trunk
|
Sun, 10 Jun 2007 09:39:26 +0000 |
palgarvio |
Implemented item 4 from #12. Set the copyright holder in the output.
trunk
|