Wed, 22 Aug 2012 21:27:45 +0000 |
fschwarz |
fix spelling
trunk
|
Wed, 22 Aug 2012 20:28:32 +0000 |
fschwarz |
update Translations.load to use new parameter name ('fp' instead of 'fileobj'), regression introduced in r653
trunk
|
Mon, 20 Aug 2012 20:27:35 +0000 |
fschwarz |
"update" command now supports "--width" option (#284)
trunk
|
Mon, 20 Aug 2012 20:24:54 +0000 |
fschwarz |
raise exception if setuptools integration for init catalog uses both 'width' and 'no-wrap' parameter
trunk
|
Mon, 20 Aug 2012 20:07:27 +0000 |
fschwarz |
"init" command support "--width" option (#284)
trunk
|
Mon, 20 Aug 2012 19:34:42 +0000 |
fschwarz |
change constructor for babel.support.Translations to __init__(fp=None, domain=None) as its super class gettext.GNUTranslations uses "fp" as well (even if "fileobj" is a better name)
trunk
|
Mon, 20 Aug 2012 19:31:09 +0000 |
fschwarz |
fix tests on Python 2.4, named tuples are not available there
trunk
|
Mon, 20 Aug 2012 19:24:03 +0000 |
fschwarz |
".load()" (babel.support.Translations) now returns Babel's NullTranslation (babel.support.NullTranslation) instead of gettext.NullTranslations
trunk
|
Mon, 20 Aug 2012 19:21:22 +0000 |
fschwarz |
add babel.support.NullTranslations class similar to gettext.NullTranslations but with all of Babel's new *gettext methods (#277)
trunk
|
Fri, 10 Aug 2012 20:41:22 +0000 |
fschwarz |
don't use class-level variable as default value for method parameters in babel.support.Translations to ease custom inheritance (see #276, initial patch by Christopher A. Stelma)
trunk
|
Thu, 09 Aug 2012 11:44:40 +0000 |
fschwarz |
format_time() and format_datetime() now accept also floats (#242)
trunk
|
Thu, 09 Aug 2012 11:20:25 +0000 |
fschwarz |
resort to hard-coded message extractors/checkers if pkg_resources is installed but no egg-info was found (#230)
trunk
|
Thu, 09 Aug 2012 07:47:09 +0000 |
fschwarz |
fix Locale.default to return Locales with correct territory information
trunk
|
Thu, 09 Aug 2012 07:36:36 +0000 |
fschwarz |
change Locale comparison: Locales are now considered equal if all of their attributes (language, territory, script, variant) are equal. Before __eq__ used the simple string representation which hides errors in Locale instantiation (see #279 and #311 for more information).
trunk
|
Thu, 09 Aug 2012 06:56:23 +0000 |
fschwarz |
change repr output for babel.Locale so all attributes (territory, script, variant) are shown by itself. This should help identifying bad usage of the Locale class (e.g. Locale('de_DE') instead of Locale('de', 'DE'), #279
trunk
|
Wed, 08 Aug 2012 12:36:03 +0000 |
fschwarz |
no warnings when running setup.py without installed setuptools (#262)
trunk
|
Wed, 08 Aug 2012 12:23:20 +0000 |
fschwarz |
disable doctests for babel.numbers in Python 2.4 due to changed Decimal repr output
trunk
|
Mon, 06 Aug 2012 20:19:20 +0000 |
fschwarz |
parse_decimal() now returns Decimals not floats, API change (#178)
trunk
|
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
|
Sat, 04 Aug 2012 20:22:49 +0000 |
fschwarz |
fix indentation in split_number
trunk
|
Sat, 04 Aug 2012 14:35:51 +0000 |
fschwarz |
restore Python 2.4 compatibility (broken in r634)
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
|
Fri, 03 Aug 2012 08:36:21 +0000 |
fschwarz |
fix format_decimal() with small Decimal values (#214, patch from George Lund)
trunk
|
Tue, 31 Jul 2012 08:46:19 +0000 |
fschwarz |
use decorators (as we require Python 2.4+ anyway)
trunk
|
Mon, 30 Jul 2012 21:54:03 +0000 |
fschwarz |
add changelog entry for r631 (#282)
trunk
|
Mon, 30 Jul 2012 21:48:55 +0000 |
fschwarz |
fix format_date() with a datetime parameter (#282)
trunk
|