Commits

Show all
Author Commit Message Labels Comments Date
Felix Schwarz
improve developer experience when using a hg checkout of babel (#314)
Felix Schwarz
ensure .mo file header contains the same information as the source .po file (#199)
Felix Schwarz
fix 'input_dirs' option for setuptools integration (#232, initial patch by Étienne Bersac)
Felix Schwarz
fix spelling
Felix Schwarz
update Translations.load to use new parameter name ('fp' instead of 'fileobj'), regression introduced in r653
Felix Schwarz
"update" command now supports "--width" option (#284)
Felix Schwarz
raise exception if setuptools integration for init catalog uses both 'width' and 'no-wrap' parameter
Felix Schwarz
"init" command support "--width" option (#284)
Felix Schwarz
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)
Felix Schwarz
fix tests on Python 2.4, named tuples are not available there
Felix Schwarz
".load()" (babel.support.Translations) now returns Babel's NullTranslation (babel.support.NullTranslation) instead of gettext.NullTranslations
Felix Schwarz
add babel.support.NullTranslations class similar to gettext.NullTranslations but with all of Babel's new *gettext methods (#277)
Felix Schwarz
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)
Felix Schwarz
format_time() and format_datetime() now accept also floats (#242)
Felix Schwarz
resort to hard-coded message extractors/checkers if pkg_resources is installed but no egg-info was found (#230)
Felix Schwarz
fix Locale.default to return Locales with correct territory information
Felix Schwarz
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).
Felix Schwarz
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
Felix Schwarz
no warnings when running setup.py without installed setuptools (#262)
Felix Schwarz
disable doctests for babel.numbers in Python 2.4 due to changed Decimal repr output
Felix Schwarz
parse_decimal() now returns Decimals not floats, API change (#178)
Felix Schwarz
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
Felix Schwarz
handle irregular multi-line msgstr (no "" as first line) gracefully (#171)
Felix Schwarz
fix indentation in split_number
Felix Schwarz
restore Python 2.4 compatibility (broken in r634)
Felix Schwarz
fix handling of messages containing '\\n' (#171)
Felix Schwarz
small code cleanup in write_po()
Felix Schwarz
fix format_decimal() with small Decimal values (#214, patch from George Lund)
Felix Schwarz
use decorators (as we require Python 2.4+ anyway)
Felix Schwarz
add changelog entry for r631 (#282)
  1. Prev
  2. Next