]> git.ipfire.org Git - thirdparty/babel.git/log
thirdparty/babel.git
18 years agoStarted docs on number formatting/parsing.
Christopher Lenz [Mon, 4 Jun 2007 12:06:25 +0000 (12:06 +0000)] 
Started docs on number formatting/parsing.

18 years agoRaise error on unsupported locales. Closes #5.
Christopher Lenz [Mon, 4 Jun 2007 11:29:55 +0000 (11:29 +0000)] 
Raise error on unsupported locales. Closes #5.

18 years agoAdd missing import.
Christopher Lenz [Mon, 4 Jun 2007 10:54:26 +0000 (10:54 +0000)] 
Add missing import.

18 years agoMore work on timezones.
Christopher Lenz [Mon, 4 Jun 2007 10:51:38 +0000 (10:51 +0000)] 
More work on timezones.

18 years agoImport basic timezone info from CLDR (see #3). Still missing a couple other pieces...
Christopher Lenz [Sun, 3 Jun 2007 20:25:19 +0000 (20:25 +0000)] 
Import basic timezone info from CLDR (see #3). Still missing a couple other pieces in the puzzle.

18 years agoChanging `write_po` to include licensing info, same as the project. Since the method...
Pedro Algarvio [Sun, 3 Jun 2007 15:30:07 +0000 (15:30 +0000)] 
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.

18 years ago * Reduce size of locale data pickles by only storing the data provided by each local...
Christopher Lenz [Sun, 3 Jun 2007 15:27:27 +0000 (15:27 +0000)] 
 * Reduce size of locale data pickles by only storing the data provided by each locale itself, and merging inherited data at runtime.
 * Move locale data loading from `babel.core` into a separate `babel.localedata` module.
 * Add curency names and symbols to locale data.

18 years agoAdd doc section on calender display names.
Christopher Lenz [Fri, 1 Jun 2007 16:15:56 +0000 (16:15 +0000)] 
Add doc section on calender display names.

18 years agoReimplement line wrapping for PO writing (as the `textwrap` module is too destructive...
Christopher Lenz [Fri, 1 Jun 2007 15:36:00 +0000 (15:36 +0000)] 
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).

18 years agoAdded line-wrap support for `write_po`.
Pedro Algarvio [Thu, 31 May 2007 22:44:57 +0000 (22:44 +0000)] 
Added line-wrap support for `write_po`.
Fixed bug on the distutils frontend regarding the `keywords`.

18 years agoImplemented babel.numbers.format_percent
Jonas Borgström [Thu, 31 May 2007 19:52:57 +0000 (19:52 +0000)] 
Implemented babel.numbers.format_percent

18 years agoChange pot header's first line, "Translations Template for %%(project)s." instead...
Pedro Algarvio [Thu, 31 May 2007 18:04:41 +0000 (18:04 +0000)] 
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.

18 years agoFix typo in doc.
Christopher Lenz [Thu, 31 May 2007 17:58:38 +0000 (17:58 +0000)] 
Fix typo in doc.

18 years agoMoved some datetime tests from doctest to unittest, to avoid breaking docutils/epydoc...
Christopher Lenz [Thu, 31 May 2007 17:56:14 +0000 (17:56 +0000)] 
Moved some datetime tests from doctest to unittest, to avoid breaking docutils/epydoc doctest block detection.

18 years agoStarted documentation for date formatting, plus some code tweaks in that area.
Christopher Lenz [Thu, 31 May 2007 17:10:47 +0000 (17:10 +0000)] 
Started documentation for date formatting, plus some code tweaks in that area.

18 years agoRecognize python-format messages also for unnamed parameters.
Christopher Lenz [Thu, 31 May 2007 17:07:49 +0000 (17:07 +0000)] 
Recognize python-format messages also for unnamed parameters.

18 years agoHandle escape chars in datetime patterns.
Christopher Lenz [Thu, 31 May 2007 14:37:31 +0000 (14:37 +0000)] 
Handle escape chars in datetime patterns.

18 years agoMinor date formatting improvements.
Christopher Lenz [Thu, 31 May 2007 14:20:04 +0000 (14:20 +0000)] 
Minor date formatting improvements.

18 years agoAdd a temporary/placeholder logo. Not the real thing, I promise ;-)
Christopher Lenz [Thu, 31 May 2007 11:41:03 +0000 (11:41 +0000)] 
Add a temporary/placeholder logo. Not the real thing, I promise ;-)

18 years agoExtended and documented `LazyProxy`.
Christopher Lenz [Thu, 31 May 2007 10:27:47 +0000 (10:27 +0000)] 
Extended and documented `LazyProxy`.

18 years ago * Removed pkg_resources/setuptools requirement from various places.
Christopher Lenz [Thu, 31 May 2007 08:38:54 +0000 (08:38 +0000)] 
 * Removed pkg_resources/setuptools requirement from various places.
 * Fixed copyright year in a couple of file headers.
 * Some cleanup.

18 years agoBoth Babel's [source:trunk/babel/catalog/frontend.py frontend] and [source:trunk...
Pedro Algarvio [Wed, 30 May 2007 22:48:11 +0000 (22:48 +0000)] 
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.

18 years agoAdd basic support for number format patterns.
Jonas Borgström [Wed, 30 May 2007 21:30:14 +0000 (21:30 +0000)] 
Add basic support for number format patterns.

18 years agoPull in some supplemental data from the CLDR, for things like the first day of the...
Christopher Lenz [Wed, 30 May 2007 17:39:43 +0000 (17:39 +0000)] 
Pull in some supplemental data from the CLDR, for things like the first day of the week.

18 years agoFix usage of `write_po` in frontends (follow-up to [7]).
Christopher Lenz [Wed, 30 May 2007 11:55:02 +0000 (11:55 +0000)] 
Fix usage of `write_po` in frontends (follow-up to [7]).

18 years agoAdd basic PO file parsing, and change the PO writing procedure to also take flags...
Christopher Lenz [Wed, 30 May 2007 11:52:46 +0000 (11:52 +0000)] 
Add basic PO file parsing, and change the PO writing procedure to also take flags (such as "python-format" or "fuzzy").

18 years ago * The creation-date header in generated PO files now includes the timezone offset.
Christopher Lenz [Wed, 30 May 2007 10:16:37 +0000 (10:16 +0000)] 
 * The creation-date header in generated PO files now includes the timezone offset.
 * The distutils frontend pulls the project name and version from the distribution object.

18 years agoFixes for the extended translations class.
Christopher Lenz [Wed, 30 May 2007 08:43:51 +0000 (08:43 +0000)] 
Fixes for the extended translations class.

18 years agoForgot to check in the doc directory.
Christopher Lenz [Wed, 30 May 2007 07:37:26 +0000 (07:37 +0000)] 
Forgot to check in the doc directory.

18 years agoImport of initial code base.
Christopher Lenz [Tue, 29 May 2007 20:33:55 +0000 (20:33 +0000)] 
Import of initial code base.

18 years agoBasic directory layout.
Christopher Lenz [Tue, 29 May 2007 20:22:12 +0000 (20:22 +0000)] 
Basic directory layout.