Author Commit Message Labels Comments Date
Felix Schwarz avatarFelix Schwarz
merge r661 from trunk into 0.9 maintenance branch
Branches
stable-0.9.x
Felix Schwarz avatarFelix Schwarz
improve developer experience when using a hg checkout of babel (#314)
Default avatar convert-repo
update tags
Branches
tags
Felix Schwarz avatarFelix Schwarz
ensure .mo file header contains the same information as the source .po file (#199)
Felix Schwarz avatarFelix Schwarz
fix 'input_dirs' option for setuptools integration (#232, initial patch by Étienne Bersac)
Felix Schwarz avatarFelix Schwarz
fix spelling
Felix Schwarz avatarFelix Schwarz
update Translations.load to use new parameter name ('fp' instead of 'fileobj'), regression introduced in r653
Felix Schwarz avatarFelix Schwarz
"update" command now supports "--width" option (#284)
Felix Schwarz avatarFelix Schwarz
raise exception if setuptools integration for init catalog uses both 'width' and 'no-wrap' parameter
Felix Schwarz avatarFelix Schwarz
"init" command support "--width" option (#284)
Felix Schwarz avatarFelix 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 avatarFelix Schwarz
fix tests on Python 2.4, named tuples are not available there
Felix Schwarz avatarFelix Schwarz
".load()" (babel.support.Translations) now returns Babel's NullTranslation (babel.support.NullTranslation) instead of gettext.NullTranslations
Felix Schwarz avatarFelix Schwarz
add babel.support.NullTranslations class similar to gettext.NullTranslations but with all of Babel's new *gettext methods (#277)
Felix Schwarz avatarFelix 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 avatarFelix Schwarz
format_time() and format_datetime() now accept also floats (#242)
Felix Schwarz avatarFelix Schwarz
resort to hard-coded message extractors/checkers if pkg_resources is installed but no egg-info was found (#230)
Felix Schwarz avatarFelix Schwarz
fix Locale.default to return Locales with correct territory information
Felix Schwarz avatarFelix 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 avatarFelix 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 avatarFelix Schwarz
no warnings when running setup.py without installed setuptools (#262)
Felix Schwarz avatarFelix Schwarz
disable doctests for babel.numbers in Python 2.4 due to changed Decimal repr output
Felix Schwarz avatarFelix Schwarz
parse_decimal() now returns Decimals not floats, API change (#178)
Felix Schwarz avatarFelix 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 avatarFelix Schwarz
handle irregular multi-line msgstr (no "" as first line) gracefully (#171)
Felix Schwarz avatarFelix Schwarz
fix indentation in split_number
Felix Schwarz avatarFelix Schwarz
restore Python 2.4 compatibility (broken in r634)
Felix Schwarz avatarFelix Schwarz
fix handling of messages containing '\\n' (#171)
Felix Schwarz avatarFelix Schwarz
small code cleanup in write_po()
Felix Schwarz avatarFelix Schwarz
fix format_decimal() with small Decimal values (#214, patch from George Lund)
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.