Fri, 08 Jun 2007 11:54:01 +0000 |
cmlenz |
Move `Translations` and `LazyProxy` to new `babel.support` module, which should contain any convenience code that is useful for applications using Babel/I18n, but not used by Babel itself.
trunk
|
Fri, 08 Jun 2007 11:44:28 +0000 |
cmlenz |
Fix typo in [58].
trunk
|
Fri, 08 Jun 2007 11:35:06 +0000 |
palgarvio |
Fix 2nd typo of [58].
trunk
|
Fri, 08 Jun 2007 11:32:27 +0000 |
cmlenz |
Fix typo in [58].
trunk
|
Fri, 08 Jun 2007 11:28:15 +0000 |
cmlenz |
* The `extract_messages` distutils command now operators on configurable input directories again, instead of the complete current directory. The `input_dirs` default to the package directories.
trunk
|
Fri, 08 Jun 2007 11:08:03 +0000 |
cmlenz |
Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
trunk
|
Fri, 08 Jun 2007 10:37:47 +0000 |
palgarvio |
`new_catalog` now accepts another argument, `--domain`, which is used to build the output file path, which now is of the form `<output_dir>/<locale>/<domain>.po`, the correct form.
trunk
|
Fri, 08 Jun 2007 09:16:32 +0000 |
cmlenz |
Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names.
trunk
|
Thu, 07 Jun 2007 23:11:32 +0000 |
cmlenz |
Add `english_name` property to `Locale` class.
trunk
|
Thu, 07 Jun 2007 22:59:25 +0000 |
cmlenz |
Support sub-commands in command-line interface, and renamed the generated script wrapper to `babel`. See #9.
trunk
|
Thu, 07 Jun 2007 22:48:47 +0000 |
palgarvio |
Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
trunk
|
Thu, 07 Jun 2007 22:00:43 +0000 |
jonas |
Added round-half-even (banker's rounding) support.
trunk
|
Thu, 07 Jun 2007 00:15:27 +0000 |
cmlenz |
Support a `message_extractors` keyword argument directly in `setup()`. Closes #4.
trunk
|
Wed, 06 Jun 2007 23:17:18 +0000 |
cmlenz |
Move the mapping configuration file format to `ConfigParser`, and add some more documentation about it.
trunk
|
Wed, 06 Jun 2007 21:03:24 +0000 |
cmlenz |
Support passing extraction method mapping and options from the frontends (see #4). No distutils/setuptools keyword supported yet, but the rest seems to be working okay.
trunk
|
Wed, 06 Jun 2007 20:54:11 +0000 |
cmlenz |
Minor docstring fixes.
trunk
|
Wed, 06 Jun 2007 20:52:32 +0000 |
cmlenz |
Fix copy&paste error in documentation stylesheet.
trunk
|
Wed, 06 Jun 2007 17:40:35 +0000 |
cmlenz |
Some work towards #4.
trunk
|
Wed, 06 Jun 2007 12:18:55 +0000 |
cmlenz |
Add setup config to get the SVN revision in the version number.
trunk
|
Wed, 06 Jun 2007 12:14:01 +0000 |
cmlenz |
Add new function to module exports.
trunk
|
Wed, 06 Jun 2007 12:12:44 +0000 |
cmlenz |
Load locale data lazily to avoid penalizing usage of `Locale` objects when no locale data is actually needed.
trunk
|
Wed, 06 Jun 2007 11:02:48 +0000 |
cmlenz |
Syntax highlighting for the docs.
trunk
|
Wed, 06 Jun 2007 11:02:24 +0000 |
cmlenz |
Move function for determining the system default locale to `babel.core`, and make it available as a class method on `Locale`.
trunk
|
Tue, 05 Jun 2007 22:59:24 +0000 |
cmlenz |
Started implementation of datetime parsing, using a very basic approach for now.
trunk
|
Tue, 05 Jun 2007 10:38:11 +0000 |
cmlenz |
Add optional pytz dependency to `INSTALL.txt`.
trunk
|
Mon, 04 Jun 2007 21:30:52 +0000 |
cmlenz |
Fix for #8: fix extraction of strings from Python source using prefixes ('u' or 'r') or triple quotes.
trunk
|
Mon, 04 Jun 2007 16:14:03 +0000 |
cmlenz |
Add note on daylight savings time.
trunk
|
Mon, 04 Jun 2007 16:03:12 +0000 |
cmlenz |
Extended time-zone support.
trunk
|
Mon, 04 Jun 2007 14:28:54 +0000 |
cmlenz |
* Import datetime patterns from CLDR.
trunk
|
Mon, 04 Jun 2007 12:06:25 +0000 |
cmlenz |
Started docs on number formatting/parsing.
trunk
|
Mon, 04 Jun 2007 11:29:55 +0000 |
cmlenz |
Raise error on unsupported locales. Closes #5.
trunk
|
Mon, 04 Jun 2007 10:54:26 +0000 |
cmlenz |
Add missing import.
trunk
|
Mon, 04 Jun 2007 10:51:38 +0000 |
cmlenz |
More work on timezones.
trunk
|
Sun, 03 Jun 2007 20:25:19 +0000 |
cmlenz |
Import basic timezone info from CLDR (see #3). Still missing a couple other pieces in the puzzle.
trunk
|
Sun, 03 Jun 2007 15:30:07 +0000 |
palgarvio |
Changing `write_po` to include licensing info, same as the project. Since the method is also to create the initial pot file, we also include the year in the copyright. We also mark the translations catalog template as fuzzy as it should be, only localized translations catalogs ready to be compiled should not include the fuzzy bit on the header.
trunk
|
Sun, 03 Jun 2007 15:27:27 +0000 |
cmlenz |
* Reduce size of locale data pickles by only storing the data provided by each locale itself, and merging inherited data at runtime.
trunk
|
Fri, 01 Jun 2007 16:15:56 +0000 |
cmlenz |
Add doc section on calender display names.
trunk
|
Fri, 01 Jun 2007 15:36:00 +0000 |
cmlenz |
Reimplement line wrapping for PO writing (as the `textwrap` module is too destructive with white space) and move it to the `normalize` function (which was already doing some handling of line breaks).
trunk
|
Thu, 31 May 2007 22:44:57 +0000 |
palgarvio |
Added line-wrap support for `write_po`.
trunk
|
Thu, 31 May 2007 19:52:57 +0000 |
jonas |
Implemented babel.numbers.format_percent
trunk
|
Thu, 31 May 2007 18:04:41 +0000 |
palgarvio |
Change pot header's first line, "Translations Template for %%(project)s." instead of "SOME DESCRIPTIVE TITLE.". '''`project`''' and '''`version`''' now default to '''PROJECT''' and '''VERSION''' respectively. Fixed a bug regarding '''Content-Transfer-Encoding''', it shouldn't be the charset, and we're defaulting to `8bit` untill someone complains.
trunk
|
Thu, 31 May 2007 17:58:38 +0000 |
cmlenz |
Fix typo in doc.
trunk
|
Thu, 31 May 2007 17:56:14 +0000 |
cmlenz |
Moved some datetime tests from doctest to unittest, to avoid breaking docutils/epydoc doctest block detection.
trunk
|
Thu, 31 May 2007 17:10:47 +0000 |
cmlenz |
Started documentation for date formatting, plus some code tweaks in that area.
trunk
|
Thu, 31 May 2007 17:07:49 +0000 |
cmlenz |
Recognize python-format messages also for unnamed parameters.
trunk
|
Thu, 31 May 2007 14:37:31 +0000 |
cmlenz |
Handle escape chars in datetime patterns.
trunk
|
Thu, 31 May 2007 14:20:04 +0000 |
cmlenz |
Minor date formatting improvements.
trunk
|
Thu, 31 May 2007 11:41:03 +0000 |
cmlenz |
Add a temporary/placeholder logo. Not the real thing, I promise ;-)
trunk
|
Thu, 31 May 2007 10:27:47 +0000 |
cmlenz |
Extended and documented `LazyProxy`.
trunk
|
Thu, 31 May 2007 08:38:54 +0000 |
cmlenz |
* Removed pkg_resources/setuptools requirement from various places.
trunk
|
Thu, 31 May 2007 07:50:51 +0000 |
cmlenz |
Remove locale data pickles from repository for now, as they add significant to bloat to checkouts and changesets. They now need to be generated using a CLDR download and the `import_cldr.py` script, but will of course be included in source tarballs and other releases.
trunk
|
Wed, 30 May 2007 22:48:11 +0000 |
palgarvio |
Both Babel's [source:trunk/babel/catalog/frontend.py frontend] and [source:trunk/babel/catalog/extract.py extract] now handle keyword indices. Also added an extra boolean flag so that the default keywords defined by Babel are not included in the keywords to search for when extracting strings.
trunk
|
Wed, 30 May 2007 21:30:14 +0000 |
jonas |
Add basic support for number format patterns.
trunk
|
Wed, 30 May 2007 17:39:43 +0000 |
cmlenz |
Pull in some supplemental data from the CLDR, for things like the first day of the week.
trunk
|
Wed, 30 May 2007 11:55:02 +0000 |
cmlenz |
Fix usage of `write_po` in frontends (follow-up to [7]).
trunk
|
Wed, 30 May 2007 11:52:46 +0000 |
cmlenz |
Add basic PO file parsing, and change the PO writing procedure to also take flags (such as "python-format" or "fuzzy").
trunk
|
Wed, 30 May 2007 10:16:37 +0000 |
cmlenz |
* The creation-date header in generated PO files now includes the timezone offset.
trunk
|
Wed, 30 May 2007 08:43:51 +0000 |
cmlenz |
Fixes for the extended translations class.
trunk
|
Wed, 30 May 2007 07:38:18 +0000 |
cmlenz |
Set proper MIME type for reStructuredText files.
trunk
|
Wed, 30 May 2007 07:37:26 +0000 |
cmlenz |
Forgot to check in the doc directory.
trunk
|