]> git.ipfire.org Git - thirdparty/babel.git/log
thirdparty/babel.git
14 years agouse cPickle instead of pickle for better performance (fixes #225)
Felix Schwarz [Sun, 20 Mar 2011 06:01:11 +0000 (06:01 +0000)] 
use cPickle instead of pickle for better performance (fixes #225)

import_cldr on my system was about 20% faster with this patch (13.9 sec vs. 16.9 sec)

14 years agotest refactoring: clear global babel logger handlers to decrease test interdependenci...
Felix Schwarz [Sat, 19 Mar 2011 21:13:34 +0000 (21:13 +0000)] 
test refactoring: clear global babel logger handlers to decrease test interdependencies (follow-up on #227)

14 years agobabel.messages.pofile should only apply encoding when actually writing a file (eases...
Felix Schwarz [Sat, 19 Mar 2011 19:50:21 +0000 (19:50 +0000)] 
babel.messages.pofile should only apply encoding when actually writing a file (eases Python 3 transition, closes #251)

14 years agorename babel.localedata.list() to ease Python 3 transition (fixes #250)
Felix Schwarz [Sat, 19 Mar 2011 19:48:23 +0000 (19:48 +0000)] 
rename babel.localedata.list() to ease Python 3 transition (fixes #250)

14 years agoCatalog class should not do decoding of input strings (fixes #256)
Felix Schwarz [Sat, 19 Mar 2011 19:34:40 +0000 (19:34 +0000)] 
Catalog class should not do decoding of input strings (fixes #256)

14 years agocatalog.add() now returns the message instance (closes #245)
Felix Schwarz [Sat, 19 Mar 2011 19:28:59 +0000 (19:28 +0000)] 
catalog.add() now returns the message instance (closes #245)

14 years agofix a couple of frontend tests so they actually test something (fixes #260)
Felix Schwarz [Wed, 16 Mar 2011 14:31:44 +0000 (14:31 +0000)] 
fix a couple of frontend tests so they actually test something (fixes #260)

14 years agoadd actual unit tests for #227 and add missing changelog entry
Felix Schwarz [Fri, 11 Mar 2011 16:48:36 +0000 (16:48 +0000)] 
add actual unit tests for #227 and add missing changelog entry

14 years agoadd missing changelog entries in 0.9.6 section of trunk changelog
Felix Schwarz [Fri, 11 Mar 2011 16:42:37 +0000 (16:42 +0000)] 
add missing changelog entries in 0.9.6 section of trunk changelog

14 years agoadd changelog entry for #200
Felix Schwarz [Fri, 11 Mar 2011 16:40:21 +0000 (16:40 +0000)] 
add changelog entry for #200

14 years agocatch exception if environment contains an invalid locale setting (fixes #200)
Felix Schwarz [Fri, 11 Mar 2011 16:20:57 +0000 (16:20 +0000)] 
catch exception if environment contains an invalid locale setting (fixes #200)

14 years agoremove unnecessary import
Felix Schwarz [Sat, 5 Mar 2011 18:58:33 +0000 (18:58 +0000)] 
remove unnecessary import

14 years agocleanup: remove unused imports
Felix Schwarz [Sat, 5 Mar 2011 16:40:24 +0000 (16:40 +0000)] 
cleanup: remove unused imports

14 years agoUpdate the copyright line.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 15:22:28 +0000 (15:22 +0000)] 
Update the copyright line.

14 years agoBump the copyright.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 15:12:39 +0000 (15:12 +0000)] 
Bump the copyright.

14 years agoCopy is imported, but never used. Get rid of it.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 15:10:01 +0000 (15:10 +0000)] 
Copy is imported, but never used. Get rid of it.

14 years agoGet rid of the utility code for itemgetter(), we now simply import this
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 15:06:28 +0000 (15:06 +0000)] 
Get rid of the utility code for itemgetter(), we now simply import this
from operator.

14 years agoGet rid of the utility set here as well.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 15:05:28 +0000 (15:05 +0000)] 
Get rid of the utility set here as well.

14 years agoCleanup round #1: get rid of the frozenset/set utility code and imports.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 14:59:20 +0000 (14:59 +0000)] 
Cleanup round #1: get rid of the frozenset/set utility code and imports.
This is no longer needed with 2.4 and onward.

14 years agoshorten the __init__() method of !CommandLineInterface by extracting the logging...
Felix Schwarz [Sat, 5 Mar 2011 14:53:03 +0000 (14:53 +0000)] 
shorten the __init__() method of !CommandLineInterface by extracting the logging configuration into another method

14 years agoGet rid of some unused imports.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 14:50:16 +0000 (14:50 +0000)] 
Get rid of some unused imports.

14 years agoprevent !CommandLineInterface.run from accumulating logging handlers (fixes #227)
Felix Schwarz [Sat, 5 Mar 2011 14:48:59 +0000 (14:48 +0000)] 
prevent !CommandLineInterface.run from accumulating logging handlers (fixes #227)

14 years agoJust use the rsplit() since we do not need to support 2.3 in trunk.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 14:43:28 +0000 (14:43 +0000)] 
Just use the rsplit() since we do not need to support 2.3 in trunk.

14 years agofix expected output from !FormatTimedeltaTestCase in babel.tests.dates and ensure...
Felix Schwarz [Sat, 5 Mar 2011 10:22:59 +0000 (10:22 +0000)] 
fix expected output from !FormatTimedeltaTestCase in babel.tests.dates and ensure it will be executed during the normal test run (see #259)

14 years agoChange occurence of 'metainfo' to 'metazone_info'. 'metainfo' was not
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 09:59:28 +0000 (09:59 +0000)] 
Change occurence of 'metainfo' to 'metazone_info'. 'metainfo' was not
used anywhere and the test was made against 'metazone_info', similar to the
'info' test above.

14 years agofixed spelling in docstring
Felix Schwarz [Sat, 5 Mar 2011 09:55:42 +0000 (09:55 +0000)] 
fixed spelling in docstring

14 years agoImport of tzinfo is not necessary.
Jeroen Ruigrok van der Werven [Sat, 5 Mar 2011 09:33:08 +0000 (09:33 +0000)] 
Import of tzinfo is not necessary.

14 years agomention that pytz is not optional to run the automated tests (closes #249)
Felix Schwarz [Fri, 4 Mar 2011 22:54:21 +0000 (22:54 +0000)] 
mention that pytz is not optional to run the automated tests (closes #249)

14 years agoadd tests from r563 to trunk
Felix Schwarz [Fri, 4 Mar 2011 22:36:22 +0000 (22:36 +0000)] 
add tests from r563 to trunk

14 years agotrunk actually does not support Python 2.3 anymore, so mention 2.4 as minimally suppo...
Felix Schwarz [Fri, 4 Mar 2011 11:11:51 +0000 (11:11 +0000)] 
trunk actually does not support Python 2.3 anymore, so mention 2.4 as minimally supported version of Python

14 years agoBack out r549 for now.
Jeroen Ruigrok van der Werven [Tue, 22 Feb 2011 16:01:21 +0000 (16:01 +0000)] 
Back out r549 for now.

14 years agoSmall speed improvement for format_date() by getting rid of duplicate parse_pattern.
Jeroen Ruigrok van der Werven [Tue, 22 Feb 2011 15:16:13 +0000 (15:16 +0000)] 
Small speed improvement for format_date() by getting rid of duplicate parse_pattern.

Issue: #216
Submitted by: Stéphane Démurget

14 years agoPrevent multiple handlers being attached to the same logger.
Jeroen Ruigrok van der Werven [Tue, 22 Feb 2011 14:30:22 +0000 (14:30 +0000)] 
Prevent multiple handlers being attached to the same logger.

Issue: #227
Submitted by: dfraser

15 years agoFix documentation: double 'to' and stray reference to POT, which should be MO.
Jeroen Ruigrok van der Werven [Mon, 26 Apr 2010 11:28:07 +0000 (11:28 +0000)] 
Fix documentation: double 'to' and stray reference to POT, which should be MO.

15 years agoUpdate ChangeLog.
Jeroen Ruigrok van der Werven [Mon, 19 Apr 2010 09:48:56 +0000 (09:48 +0000)] 
Update ChangeLog.

15 years agoAdd 0.9.6 entries.
Jeroen Ruigrok van der Werven [Mon, 19 Apr 2010 09:33:53 +0000 (09:33 +0000)] 
Add 0.9.6 entries.

15 years agoFix Serbian plural forms (ticket #213).
Jeroen Ruigrok van der Werven [Sun, 11 Apr 2010 09:27:20 +0000 (09:27 +0000)] 
Fix Serbian plural forms (ticket #213).

Submitted by: Patrice Neff

15 years agoFix typos.
Jeroen Ruigrok van der Werven [Sun, 11 Apr 2010 08:43:36 +0000 (08:43 +0000)] 
Fix typos.

15 years agoDocument the Python 2.7 ElementTree fix.
Jeroen Ruigrok van der Werven [Thu, 8 Apr 2010 09:17:34 +0000 (09:17 +0000)] 
Document the Python 2.7 ElementTree fix.

15 years agoFix the ElementTree find()/findall() syntax to be compatible with Python 2.7.
Jeroen Ruigrok van der Werven [Thu, 8 Apr 2010 09:16:53 +0000 (09:16 +0000)] 
Fix the ElementTree find()/findall() syntax to be compatible with Python 2.7.

15 years agoFix test to run under Python 2.3.
Jeroen Ruigrok van der Werven [Thu, 8 Apr 2010 08:26:22 +0000 (08:26 +0000)] 
Fix test to run under Python 2.3.

15 years agoRename the ''CVS'' directory in the test data to ''ignored'', as quite a number of...
Christopher Lenz [Wed, 7 Apr 2010 07:33:59 +0000 (07:33 +0000)] 
Rename the ''CVS'' directory in the test data to ''ignored'', as quite a number of tools are configured or even hardcoded to ignore CVS directories. For example, I couldn't find a way to include the directory in the sdist tarball.

15 years agoWorkaround for a weird bug with newer versions of pytz, which fails when `utcoffset...
Christopher Lenz [Tue, 6 Apr 2010 11:45:01 +0000 (11:45 +0000)] 
Workaround for a weird bug with newer versions of pytz, which fails when `utcoffset()` gets passed a `None` argument. Which it shouldn't be getting in the first place.

15 years agoAdd the 0.9.5 release notes.
Jeroen Ruigrok van der Werven [Tue, 6 Apr 2010 10:29:43 +0000 (10:29 +0000)] 
Add the 0.9.5 release notes.

15 years agoFix some more typos.
Jeroen Ruigrok van der Werven [Sat, 27 Feb 2010 11:15:18 +0000 (11:15 +0000)] 
Fix some more typos.

15 years agoTypo correction.
Pedro Algarvio [Sat, 27 Feb 2010 10:32:54 +0000 (10:32 +0000)] 
Typo correction.

15 years agoDocument the square bracket and CLDR 1.7 work.
Jeroen Ruigrok van der Werven [Wed, 24 Feb 2010 13:01:47 +0000 (13:01 +0000)] 
Document the square bracket and CLDR 1.7 work.

15 years agoForgot to bump the copyright line.
Jeroen Ruigrok van der Werven [Wed, 24 Feb 2010 12:27:32 +0000 (12:27 +0000)] 
Forgot to bump the copyright line.

15 years agoActually make the msgid_plural be a plural as per typical use case.
Jeroen Ruigrok van der Werven [Fri, 19 Feb 2010 14:15:56 +0000 (14:15 +0000)] 
Actually make the msgid_plural be a plural as per typical use case.

15 years agoMore than two plural forms work nowadays. Adjust the test.
Jeroen Ruigrok van der Werven [Fri, 19 Feb 2010 14:12:41 +0000 (14:12 +0000)] 
More than two plural forms work nowadays. Adjust the test.

15 years agoPut the square brackets test after all the normal plural tests. It's more
Jeroen Ruigrok van der Werven [Fri, 19 Feb 2010 13:45:25 +0000 (13:45 +0000)] 
Put the square brackets test after all the normal plural tests. It's more
logical.

15 years agoAdd a test for a locale with one plural form.
Jeroen Ruigrok van der Werven [Fri, 19 Feb 2010 13:38:24 +0000 (13:38 +0000)] 
Add a test for a locale with one plural form.

15 years agoFix testcase name typo.
Jeroen Ruigrok van der Werven [Fri, 19 Feb 2010 13:16:08 +0000 (13:16 +0000)] 
Fix testcase name typo.
Switch to use a locale that uses a different singular and plural form instead
of just one form for both singular and plural.

15 years agoMake sure to only strip on the first occurence of ].
Jeroen Ruigrok van der Werven [Fri, 19 Feb 2010 13:08:56 +0000 (13:08 +0000)] 
Make sure to only strip on the first occurence of ].

Submitted by: Benoit Boissinot

15 years agoremove sorted and don't assume dict ordering (Python 2.3 & Jython compat)
Philip Jenvey [Fri, 25 Sep 2009 20:29:11 +0000 (20:29 +0000)] 
remove sorted and don't assume dict ordering (Python 2.3 & Jython compat)

16 years agoCurrent CDLR has implemented the full type specifiers on the dateTimeFormats,
Jeroen Ruigrok van der Werven [Sat, 22 Aug 2009 12:53:45 +0000 (12:53 +0000)] 
Current CDLR has implemented the full type specifiers on the dateTimeFormats,
as a result you cannot call None on the dictionary anymore since it's no
longer a key for it.

16 years agoThe date now returns 52 with the current data, adjust the test accordingly.
Jeroen Ruigrok van der Werven [Sat, 22 Aug 2009 12:13:40 +0000 (12:13 +0000)] 
The date now returns 52 with the current data, adjust the test accordingly.

16 years agoRevert part of the commits with relation to the de locale's use of \xa0 as
Jeroen Ruigrok van der Werven [Sat, 22 Aug 2009 12:09:29 +0000 (12:09 +0000)] 
Revert part of the commits with relation to the de locale's use of \xa0 as
thousands separator, this is still a proposed change and not the active one.

16 years agoFix the import script to skip alt or draft items in the numbers/symbols
Jeroen Ruigrok van der Werven [Sat, 22 Aug 2009 12:03:44 +0000 (12:03 +0000)] 
Fix the import script to skip alt or draft items in the numbers/symbols
subtree of a locale.

16 years agoAdd extra doctest for formatting a number in de_DE since it uses a
Jeroen Ruigrok van der Werven [Fri, 21 Aug 2009 12:51:17 +0000 (12:51 +0000)] 
Add extra doctest for formatting a number in de_DE since it uses a
non-breaking space (nbsp).

16 years agoAdjust tests to match the data in CLDR: German doesn't use a . as thousands
Jeroen Ruigrok van der Werven [Fri, 21 Aug 2009 12:26:00 +0000 (12:26 +0000)] 
Adjust tests to match the data in CLDR: German doesn't use a . as thousands
separator, but a non-breaking whitespace.

16 years agoMark up two docstrings as raw (r""") in order to get the escaped characters
Jeroen Ruigrok van der Werven [Fri, 21 Aug 2009 12:11:39 +0000 (12:11 +0000)] 
Mark up two docstrings as raw (r""") in order to get the escaped characters
properly picked up in the doctest.

16 years agoAdd a __ne__ method for the Locale class.
Jeroen Ruigrok van der Werven [Wed, 19 Aug 2009 12:15:13 +0000 (12:15 +0000)] 
Add a __ne__ method for the Locale class.

Submitted by: mitsuhiko

16 years agoMake sure to note CLDR 1.7 in installation details.
Jeroen Ruigrok van der Werven [Wed, 29 Jul 2009 10:05:01 +0000 (10:05 +0000)] 
Make sure to note CLDR 1.7 in installation details.

16 years agoFirst changes to accomodate CLDR 1.7's changes.
Jeroen Ruigrok van der Werven [Wed, 29 Jul 2009 10:00:32 +0000 (10:00 +0000)] 
First changes to accomodate CLDR 1.7's changes.

16 years agoadd `--project` and `--version` options for commandline (fixes #173)
Christopher Lenz [Fri, 8 May 2009 08:05:03 +0000 (08:05 +0000)] 
add `--project` and `--version` options for commandline (fixes #173)

16 years agoFix for msgctxt parsing in PO files. Thanks to Asheesh Laroia for the patch. Closes...
Christopher Lenz [Tue, 17 Mar 2009 22:26:03 +0000 (22:26 +0000)] 
Fix for msgctxt parsing in PO files. Thanks to Asheesh Laroia for the patch. Closes #159.

16 years agoFix Catalog._set_mime_headers' handing of negative offsets.
Jeroen Ruigrok van der Werven [Mon, 16 Mar 2009 17:49:48 +0000 (17:49 +0000)] 
Fix Catalog._set_mime_headers' handing of negative offsets.

Submitted by: Asheesh Laroia (Creative Commons)
Closes: #165
16 years agoTypo.
Pedro Algarvio [Thu, 12 Mar 2009 15:58:33 +0000 (15:58 +0000)] 
Typo.

16 years agoFuzzy matching regarding plurals should *NOT* be checked against `len(message.id...
Pedro Algarvio [Sat, 10 Jan 2009 22:42:01 +0000 (22:42 +0000)] 
Fuzzy matching regarding plurals should *NOT* be checked against `len(message.id)` because this is always 2, instead, it's should be checked against `catalog.num_plurals`.

16 years agoUse a more explicit error message if no option or argument(command) is passed to...
Pedro Algarvio [Tue, 23 Dec 2008 01:12:59 +0000 (01:12 +0000)] 
Use a more explicit error message if no option or argument(command) is passed to `pybabel`. Fixes #81.

16 years agoNow, the `--width` option, although with a default value of 76, it's not set to any...
Pedro Algarvio [Tue, 23 Dec 2008 01:03:40 +0000 (01:03 +0000)] 
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.
With the above bug, another one was found where Babel was not mimic'ing xgtettext's behaviour regarding the `--no-wrap` option where comments are wrapped anyway to the width of 76, and, if `--width` is passed then that value is used to wrap the comments too.

16 years agoFinal and complete fix for #148.
Pedro Algarvio [Thu, 18 Dec 2008 01:36:14 +0000 (01:36 +0000)] 
Final and complete fix for #148.

16 years agoInclude patch from Asheesh Laroia. Fixes #45.
Pedro Algarvio [Thu, 18 Dec 2008 00:19:47 +0000 (00:19 +0000)] 
Include patch from Asheesh Laroia. Fixes #45.

16 years agoAdd support for `msgctxt`. See #54.
Pedro Algarvio [Thu, 18 Dec 2008 00:14:40 +0000 (00:14 +0000)] 
Add support for `msgctxt`. See #54.

16 years agoTestcase for fix of #148.
Pedro Algarvio [Tue, 16 Dec 2008 13:35:23 +0000 (13:35 +0000)] 
Testcase for fix of #148.

16 years agoMake the `POT-Creation-Date` of the catalog being updated equal to `POT-Creation...
Pedro Algarvio [Mon, 15 Dec 2008 23:47:54 +0000 (23:47 +0000)] 
Make the `POT-Creation-Date` of the catalog being updated equal to `POT-Creation-Date` of the template used to update. Fixes #148.

16 years agoTypo's and sorted output of `list-locales`.
Pedro Algarvio [Mon, 15 Dec 2008 23:14:50 +0000 (23:14 +0000)] 
Typo's and sorted output of `list-locales`.

16 years agoRemoved `ValueError` raising for string formatting message checkers if the string...
Armin Ronacher [Fri, 31 Oct 2008 16:13:59 +0000 (16:13 +0000)] 
Removed `ValueError` raising for string formatting message checkers if the string does not contain any string formattings.  The new behavior is undefined.  This fixes at least one of the problems of the #150 ticket.

16 years ago2.3 compat: fix another usage of set
Philip Jenvey [Thu, 9 Oct 2008 17:13:26 +0000 (17:13 +0000)] 
2.3 compat: fix another usage of set
refs #146

16 years agofix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
Philip Jenvey [Wed, 8 Oct 2008 22:42:55 +0000 (22:42 +0000)] 
fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
usage. still has a few, unimportant failing tests

17 years agoMore plural module cleanup and fixes.
Christopher Lenz [Mon, 25 Aug 2008 11:49:19 +0000 (11:49 +0000)] 
More plural module cleanup and fixes.

17 years agoFix some epydoc usage in the `plural` module.
Christopher Lenz [Mon, 25 Aug 2008 11:33:35 +0000 (11:33 +0000)] 
Fix some epydoc usage in the `plural` module.

17 years agoFix type in ChangeLog.
Christopher Lenz [Mon, 25 Aug 2008 11:32:56 +0000 (11:32 +0000)] 
Fix type in ChangeLog.

17 years agoAdd message domain support to the `Translations` class. Closes #137.
Christopher Lenz [Mon, 25 Aug 2008 11:24:28 +0000 (11:24 +0000)] 
Add message domain support to the `Translations` class. Closes #137.

17 years agoAdded [444] and [445] to ChangeLog.
Christopher Lenz [Mon, 25 Aug 2008 10:06:40 +0000 (10:06 +0000)] 
Added [444] and [445] to ChangeLog.

17 years agoAdded support for string concatenation to javascript lexer. _("foo" + "bar") is now...
Armin Ronacher [Sun, 24 Aug 2008 14:36:18 +0000 (14:36 +0000)] 
Added support for string concatenation to javascript lexer. _("foo" + "bar") is now equivalent to _("foobar")

17 years agoJavaScript lexer is now handling escapes in regular expression literals properly...
Armin Ronacher [Sat, 16 Aug 2008 22:30:35 +0000 (22:30 +0000)] 
JavaScript lexer is now handling escapes in regular expression literals properly.  This closes #138.

17 years agoStrip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases...
Christopher Lenz [Wed, 6 Aug 2008 10:20:49 +0000 (10:20 +0000)] 
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.

17 years agoFix `babel.support.Translations.__repr__` and make it less stupid; Include the projec...
Pedro Algarvio [Tue, 5 Aug 2008 23:30:50 +0000 (23:30 +0000)] 
Fix `babel.support.Translations.__repr__` and make it less stupid; Include the project name and version defined on the catalog loaded.

17 years agoAdd `timedelta` function to the `Format` support class.
Christopher Lenz [Fri, 18 Jul 2008 13:38:02 +0000 (13:38 +0000)] 
Add `timedelta` function to the `Format` support class.

17 years agoFix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the...
Christopher Lenz [Fri, 18 Jul 2008 13:09:21 +0000 (13:09 +0000)] 
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.

17 years agoMake the dependency on pytz for the tests explicit in `setup.py`.
Christopher Lenz [Wed, 16 Jul 2008 16:28:21 +0000 (16:28 +0000)] 
Make the dependency on pytz for the tests explicit in `setup.py`.

17 years agoFixed quarters in date formatting.
Christopher Lenz [Tue, 15 Jul 2008 16:34:18 +0000 (16:34 +0000)] 
Fixed quarters in date formatting.

17 years agoThe `format_timedelta` function now returns, for example, “1 day” instead of “0 days...
Christopher Lenz [Tue, 15 Jul 2008 16:02:17 +0000 (16:02 +0000)] 
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.

17 years agoDoc improvements for the new `format_timedelta` function.
Christopher Lenz [Tue, 15 Jul 2008 12:53:52 +0000 (12:53 +0000)] 
Doc improvements for the new `format_timedelta` function.

17 years agoalternative repr for plural rules
Armin Ronacher [Tue, 15 Jul 2008 10:22:33 +0000 (10:22 +0000)] 
alternative repr for plural rules

17 years agoFixed not in plural rules
Armin Ronacher [Tue, 15 Jul 2008 10:13:55 +0000 (10:13 +0000)] 
Fixed not in plural rules

17 years agoFixed a bug in plural.py that caused a traceback for some locales, changed the `__mod...
Armin Ronacher [Mon, 14 Jul 2008 22:18:39 +0000 (22:18 +0000)] 
Fixed a bug in plural.py that caused a traceback for some locales, changed the `__mod__` DateTimePattern to not raise exceptions but return NotImplemented.

17 years agoPreliminary support for timedelta formatting (see #126), and import/expose the locale...
Christopher Lenz [Mon, 14 Jul 2008 22:13:44 +0000 (22:13 +0000)] 
Preliminary support for timedelta formatting (see #126), and import/expose the locale plural rules from the CLDR.