Mon, 25 Aug 2008 11:24:28 +0000 |
cmlenz |
Add message domain support to the `Translations` class. Closes #137.
|
Mon, 25 Aug 2008 10:08:22 +0000 |
cmlenz |
Ported [442:446/trunk] to 0.9.x branch.
stable
|
Mon, 25 Aug 2008 10:06:40 +0000 |
cmlenz |
Added [444] and [445] to ChangeLog.
|
Sun, 24 Aug 2008 14:36:18 +0000 |
aronacher |
Added support for string concatenation to javascript lexer. _("foo" + "bar") is now equivalent to _("foobar")
|
Sat, 16 Aug 2008 22:30:35 +0000 |
aronacher |
JavaScript lexer is now handling escapes in regular expression literals properly. This closes #138.
|
Wed, 06 Aug 2008 10:20:49 +0000 |
cmlenz |
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
|
Tue, 05 Aug 2008 23:30:50 +0000 |
palgarvio |
Fix `babel.support.Translations.__repr__` and make it less stupid; Include the project name and version defined on the catalog loaded.
|
Fri, 18 Jul 2008 13:38:02 +0000 |
cmlenz |
Add `timedelta` function to the `Format` support class.
|
Fri, 18 Jul 2008 13:10:46 +0000 |
cmlenz |
Ported [438] and [439] back to 0.9.x branch.
stable
|
Fri, 18 Jul 2008 13:09:21 +0000 |
cmlenz |
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
|
Wed, 16 Jul 2008 16:28:21 +0000 |
cmlenz |
Make the dependency on pytz for the tests explicit in `setup.py`.
|
Tue, 15 Jul 2008 16:48:02 +0000 |
cmlenz |
Ported [436] to 0.9.x branch.
stable
|
Tue, 15 Jul 2008 16:34:18 +0000 |
cmlenz |
Fixed quarters in date formatting.
|
Tue, 15 Jul 2008 16:02:17 +0000 |
cmlenz |
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
|
Tue, 15 Jul 2008 12:53:52 +0000 |
cmlenz |
Doc improvements for the new `format_timedelta` function.
|
Tue, 15 Jul 2008 10:22:33 +0000 |
aronacher |
alternative repr for plural rules
|
Tue, 15 Jul 2008 10:13:55 +0000 |
aronacher |
Fixed not in plural rules
|
Mon, 14 Jul 2008 22:18:39 +0000 |
aronacher |
Fixed a bug in plural.py that caused a traceback for some locales, changed the `__mod__` DateTimePattern to not raise exceptions but return NotImplemented.
|
Mon, 14 Jul 2008 22:13:44 +0000 |
cmlenz |
Preliminary support for timedelta formatting (see #126), and import/expose the locale plural rules from the CLDR.
|
Mon, 14 Jul 2008 19:46:19 +0000 |
cmlenz |
Ported [424], [425], and [428] back to 0.9.x branch.
stable
|
Mon, 14 Jul 2008 13:02:16 +0000 |
cmlenz |
More graceful `__version__` initialization when Babel is not installed in a way Setuptools knows about it.
|
Mon, 14 Jul 2008 12:48:21 +0000 |
aronacher |
Some refactoring in plural.py
|
Fri, 11 Jul 2008 13:51:20 +0000 |
aronacher |
Added pluralization support module for the plural definitions from the latest CLDR
|
Fri, 11 Jul 2008 13:47:28 +0000 |
cmlenz |
Improve CLDR import of currency-related data to ignore unsupported features such as symbol choice patterns and pluralized display names. See #93.
|
Fri, 11 Jul 2008 08:58:04 +0000 |
jruigrok |
Clarify first_week_day, weekend_start, and weekend_end to point out that
|
Thu, 10 Jul 2008 09:44:38 +0000 |
cmlenz |
Bump up version number on 0.9.x branch.
stable
|
Wed, 09 Jul 2008 16:39:06 +0000 |
cmlenz |
Bump up version number on 0.9.x branch.
stable
|
Wed, 09 Jul 2008 16:38:20 +0000 |
cmlenz |
Ported [417] to 0.9.x branch.
stable
|
Wed, 09 Jul 2008 16:36:54 +0000 |
cmlenz |
Fix dates in ChangeLog.
|
Tue, 08 Jul 2008 21:01:28 +0000 |
cmlenz |
Ported [407:415/trunk] back to 0.9.x branch.
stable
|
Tue, 08 Jul 2008 20:58:02 +0000 |
cmlenz |
Use item access to catalog messages in tests, so that they can be easily ported back to the 0.9.x branch.
|
Tue, 08 Jul 2008 20:50:07 +0000 |
cmlenz |
Use item access to catalog messages in tests, so that they can be easily ported back to the 0.9.x branch.
|
Mon, 07 Jul 2008 20:55:15 +0000 |
cmlenz |
Fix conversion of timestamp to `datetime` in `format_datetime()`
|
Mon, 07 Jul 2008 14:49:16 +0000 |
cmlenz |
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
|
Tue, 01 Jul 2008 09:17:34 +0000 |
aronacher |
Added changelog entry for new `get_plural` function.
|
Tue, 01 Jul 2008 09:16:30 +0000 |
aronacher |
Added babel.messages.plurals.get_plural which returns a special tuple with the plural information.
|
Mon, 30 Jun 2008 16:37:29 +0000 |
palgarvio |
Remove some unused imports.
|
Mon, 30 Jun 2008 16:35:50 +0000 |
palgarvio |
Include fix of [407] in `pybabel`.
|
Mon, 30 Jun 2008 12:23:28 +0000 |
palgarvio |
We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
|
Fri, 27 Jun 2008 15:22:12 +0000 |
cmlenz |
Ported [388:405/trunk] to 0.9.x branch.
stable
|
Fri, 27 Jun 2008 15:11:06 +0000 |
cmlenz |
Block [387] from being backported to 0.9.x.
stable
|
Thu, 26 Jun 2008 21:16:42 +0000 |
palgarvio |
Make sure the fix also works for multiple translator comments. Refs #119.
|
Thu, 26 Jun 2008 21:02:20 +0000 |
palgarvio |
Test and respective fix for gettext calls that spawn multiple lines. Fixes #119.
|
Thu, 26 Jun 2008 16:39:21 +0000 |
palgarvio |
Fix typo and add a test for translator comments with leading spaces.
|
Wed, 25 Jun 2008 17:56:19 +0000 |
aronacher |
Fixed a typo in the message checkers (tests will follow)
|
Wed, 18 Jun 2008 12:39:01 +0000 |
aronacher |
Added documentation to format method in babel.js
|
Wed, 18 Jun 2008 12:29:00 +0000 |
aronacher |
Added contrib folder with a JavaScript support file for babel.
|
Wed, 18 Jun 2008 10:42:07 +0000 |
aronacher |
Fixed logic error in the python format checker.
|
Tue, 17 Jun 2008 22:11:09 +0000 |
aronacher |
Convert format strings to str for nicer error messages (no u prefix) in the python_format checker.
|
Tue, 17 Jun 2008 21:56:50 +0000 |
aronacher |
Updated catalog test case for last commit, flags are now tested too in the clone test case.
|
Tue, 17 Jun 2008 21:55:14 +0000 |
aronacher |
Message.clone doesn't return a shallow copy any longer. This fixes a bug with update where flags where shared.
|
Tue, 17 Jun 2008 21:17:44 +0000 |
aronacher |
Fix scientific notation for 0. closes #99
|
Tue, 17 Jun 2008 20:40:36 +0000 |
aronacher |
Fixed #59 by falling back silently on invalid location comments.
|
Tue, 17 Jun 2008 20:30:02 +0000 |
aronacher |
Refactored the checker system. It's now possible to partially validate translations on a per-message level.
|
Tue, 17 Jun 2008 20:07:08 +0000 |
aronacher |
Moved PYTHON_FORMAT back to catalog.
|
Tue, 17 Jun 2008 19:59:02 +0000 |
aronacher |
Fixed a small bug in the python format string checker that caused the wrong exception to be thrown.
|
Tue, 17 Jun 2008 19:54:34 +0000 |
aronacher |
The builtin checkers don't require setuptools any longer, validate_format and python_format from the checkers module are merged into one now.
|
Tue, 17 Jun 2008 19:32:09 +0000 |
aronacher |
Added `validate_format helper function to `babel.support`.
|
Mon, 16 Jun 2008 16:49:56 +0000 |
cmlenz |
More work on msgctxt support (#54).
|
Mon, 16 Jun 2008 16:07:52 +0000 |
cmlenz |
Ported [385] to 0.9.x branch.
stable
|
Mon, 16 Jun 2008 16:05:35 +0000 |
cmlenz |
Fixes for timezone calculations in time formatting (#83).
|
Mon, 16 Jun 2008 12:50:42 +0000 |
cmlenz |
Blocked some changes from being backported to 0.9.x.
stable
|
Mon, 16 Jun 2008 12:48:43 +0000 |
cmlenz |
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
stable
|
Mon, 16 Jun 2008 12:24:04 +0000 |
cmlenz |
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
|
Mon, 16 Jun 2008 11:37:52 +0000 |
cmlenz |
Fix for incorrect month context lookup in date formatting. Closes #75. Thanks to Andrew Stromnov for reporting the problem and providing a patch.
|
Mon, 16 Jun 2008 10:14:38 +0000 |
cmlenz |
Remove leftover unused code from [365].
|
Mon, 16 Jun 2008 09:53:44 +0000 |
aronacher |
Fixed a bug in pofile (in_msgctxt was not defined). Test follows.
|
Sat, 14 Jun 2008 22:07:41 +0000 |
aronacher |
JavaScript lexer falls back silently now on syntax errors and tries to recover.
|
Sat, 14 Jun 2008 19:00:35 +0000 |
aronacher |
added some newlines to extract and jslexer to stay consistent with the rest of the sourcecode.
|
Thu, 12 Jun 2008 16:26:52 +0000 |
aronacher |
Added !JavaScript extractor
|
Thu, 12 Jun 2008 16:24:25 +0000 |
aronacher |
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
|
Wed, 11 Jun 2008 22:12:09 +0000 |
cmlenz |
Fix iterkeys/iteritems/itervalues/pop/popitem methods on the `odict` utility class. Thanks to Armin Ronacher for the patch.
|
Wed, 11 Jun 2008 20:00:21 +0000 |
cmlenz |
Fix handling of default value of `locales` parameter of the `Translations.load()` method. Thanks to Armin Ronacher for reporting the problem.
|
Wed, 11 Jun 2008 18:56:27 +0000 |
cmlenz |
More preparation for msgctxt support (#54).
|
Tue, 10 Jun 2008 17:05:52 +0000 |
cmlenz |
Add basic MO file reading in preparation for #54.
|
Tue, 10 Jun 2008 16:57:15 +0000 |
cmlenz |
Change Catalog class to retain the plural forms set in the MIME headers.
|
Tue, 10 Jun 2008 10:32:33 +0000 |
cmlenz |
Add test file needed for [368].
|
Fri, 06 Jun 2008 22:06:33 +0000 |
cmlenz |
Fix message catalog compilation for locales with more than two plural forms. Closes #95. Many thanks to Victor Safronovich for the patch.
|
Fri, 06 Jun 2008 21:51:48 +0000 |
cmlenz |
Fix for #97, compilation of message catalogs for locales with more than two plural forms where the translations were empty was failing.
|
Fri, 06 Jun 2008 21:22:29 +0000 |
cmlenz |
Allow extraction method specification to use a dot instead of the colon for separating module and function names. See #105.
|
Fri, 02 May 2008 22:13:17 +0000 |
jruigrok |
Reinstate changeset r362, but this time properly wrap the exception list in
|
Thu, 24 Apr 2008 09:25:09 +0000 |
jruigrok |
Back out last change, this broke extraction.
|
Fri, 11 Apr 2008 12:51:12 +0000 |
cmlenz |
Make dependency on the parser module optional.
|
Wed, 19 Mar 2008 15:32:18 +0000 |
jruigrok |
Actually use UTC to be more correct.
|
Wed, 19 Mar 2008 15:03:07 +0000 |
jruigrok |
Replace Europe/Paris with Universal.
|
Wed, 19 Mar 2008 14:58:15 +0000 |
jruigrok |
Fix typo.
|
Mon, 18 Feb 2008 18:09:30 +0000 |
pjenvey |
fix invalid message extraction methods causing:
|
Mon, 04 Feb 2008 10:57:53 +0000 |
cmlenz |
Ported [353:354] to 0.9.x stable branch.
stable
|
Mon, 04 Feb 2008 10:06:49 +0000 |
cmlenz |
Prepare ChangeLog for [milestone:0.9.2] release.
|
Mon, 04 Feb 2008 09:51:38 +0000 |
cmlenz |
Documentation fixes/updates, closes #70.
|
Fri, 01 Feb 2008 15:41:31 +0000 |
cmlenz |
Ported [335:338], [345], and [351] to 0.9.x stable branch.
stable
|
Fri, 01 Feb 2008 15:30:49 +0000 |
cmlenz |
Fix for #60.
|
Fri, 01 Feb 2008 15:25:20 +0000 |
cmlenz |
Ported [349] to 0.9.x branch.
stable
|
Fri, 01 Feb 2008 15:23:13 +0000 |
cmlenz |
Fix for #79 (location lines wrapping at hyphens).
|
Fri, 01 Feb 2008 14:56:02 +0000 |
cmlenz |
Ported [346] and [347] to 0.9.x branch.
stable
|
Fri, 01 Feb 2008 14:46:32 +0000 |
cmlenz |
Merging catalogs would sometimes mix translations from different runs.
|
Fri, 01 Feb 2008 13:38:09 +0000 |
cmlenz |
Fix catalog updating with fuzzy matches. Closes #82.
|
Sun, 20 Jan 2008 15:32:56 +0000 |
jruigrok |
Add a Plural-Forms for Cymraeg (Welsh).
|
Mon, 14 Jan 2008 13:14:39 +0000 |
cmlenz |
Ported [343] to stable branch.
stable
|
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.
|
Mon, 07 Jan 2008 16:07:11 +0000 |
cmlenz |
Ported [341] to 0.9.x stable branch.
stable
|
Mon, 07 Jan 2008 16:04:38 +0000 |
cmlenz |
Same bug fixed in [339] was also in the setuptools `compile_catalog` command.
|
Mon, 07 Jan 2008 15:11:55 +0000 |
cmlenz |
Ported [339] to 0.9.x branch.
stable
|
Mon, 07 Jan 2008 15:10:46 +0000 |
cmlenz |
Fixed bug where the commandline interface to the compile catalog command actually used the output file for the input file option. Thanks to mitsuhiko for reporting this.
|
Mon, 31 Dec 2007 11:04:28 +0000 |
jruigrok |
Assume that, since Chuvash is a Turkic language, Chuvash follows the same
|
Mon, 31 Dec 2007 10:58:56 +0000 |
jruigrok |
Given Dzongkha's relation to Tibetan for now assume the same plurality rules
|
Mon, 31 Dec 2007 10:55:28 +0000 |
jruigrok |
Add commented ISO 639-1 codes up to 'e'.
|
Sun, 30 Dec 2007 16:03:10 +0000 |
jruigrok |
Add a definition for Lao.
|
Tue, 18 Dec 2007 15:21:31 +0000 |
cmlenz |
Ported [328:333] back to 0.9.x stable branch.
stable
|
Thu, 13 Dec 2007 15:10:12 +0000 |
jruigrok |
Use consistent English names for all language names.
|
Thu, 13 Dec 2007 11:51:36 +0000 |
jruigrok |
When using sys.stdout with a pipe or redirection the sys.stdout.encoding value
|
Wed, 12 Dec 2007 12:01:48 +0000 |
jruigrok |
Add plural forms definition for Tibetan.
|