]>
git.ipfire.org Git - thirdparty/babel.git/log
Christopher Lenz [Mon, 4 Feb 2008 10:06:49 +0000 (10:06 +0000)]
Prepare ChangeLog for [milestone:0.9.2] release.
Christopher Lenz [Mon, 4 Feb 2008 09:51:38 +0000 (09:51 +0000)]
Documentation fixes/updates, closes #70.
Christopher Lenz [Fri, 1 Feb 2008 15:30:49 +0000 (15:30 +0000)]
Fix for #60.
Christopher Lenz [Fri, 1 Feb 2008 15:23:13 +0000 (15:23 +0000)]
Fix for #79 (location lines wrapping at hyphens).
Christopher Lenz [Fri, 1 Feb 2008 14:46:32 +0000 (14:46 +0000)]
Merging catalogs would sometimes mix translations from different runs.
Christopher Lenz [Fri, 1 Feb 2008 13:38:09 +0000 (13:38 +0000)]
Fix catalog updating with fuzzy matches. Closes #82.
Jeroen Ruigrok van der Werven [Sun, 20 Jan 2008 15:32:56 +0000 (15:32 +0000)]
Add a Plural-Forms for Cymraeg (Welsh).
See #71
Christopher Lenz [Mon, 14 Jan 2008 12:47:45 +0000 (12:47 +0000)]
Fix for unicode problem when the previous message id is included as a comment in PO serialization. Closes #78.
Christopher Lenz [Mon, 7 Jan 2008 16:04:38 +0000 (16:04 +0000)]
Same bug fixed in [339] was also in the setuptools `compile_catalog` command.
Christopher Lenz [Mon, 7 Jan 2008 15:10:46 +0000 (15:10 +0000)]
Fixed bug where the commandline interface to the compile catalog command actually used the output file for the input file option. Thanks to mitsuhiko for reporting this.
Jeroen Ruigrok van der Werven [Mon, 31 Dec 2007 11:04:28 +0000 (11:04 +0000)]
Assume that, since Chuvash is a Turkic language, Chuvash follows the same
plurality rules as Turkish.
For the interested: Chuvash is spoken by approximately 2 million people in
Russia and uses an augmented Cyrillic alphabet to write their Oghuric-Turkic
language.
Jeroen Ruigrok van der Werven [Mon, 31 Dec 2007 10:58:56 +0000 (10:58 +0000)]
Given Dzongkha's relation to Tibetan for now assume the same plurality rules
are in effect.
For the interested: Dzongkha is the official language of Bhutan.
Jeroen Ruigrok van der Werven [Mon, 31 Dec 2007 10:55:28 +0000 (10:55 +0000)]
Add commented ISO 639-1 codes up to 'e'.
Jeroen Ruigrok van der Werven [Sun, 30 Dec 2007 16:03:10 +0000 (16:03 +0000)]
Add a definition for Lao.
Jeroen Ruigrok van der Werven [Thu, 13 Dec 2007 15:10:12 +0000 (15:10 +0000)]
Use consistent English names for all language names.
Jeroen Ruigrok van der Werven [Thu, 13 Dec 2007 11:51:36 +0000 (11:51 +0000)]
When using sys.stdout with a pipe or redirection the sys.stdout.encoding value
will be set to None instead of what the environment first specified through
any locale setting. As such, fall back to locale.getpreferredencoding() before
the ultimate fallback to ASCII.
OK: cmlenz
closes: #76
Jeroen Ruigrok van der Werven [Wed, 12 Dec 2007 12:01:48 +0000 (12:01 +0000)]
Add plural forms definition for Tibetan.
Discussed in private with Andrew West, well-known and respect Sino-Tibetan
scholar and Unicode contributor.
Jeroen Ruigrok van der Werven [Thu, 6 Dec 2007 10:10:28 +0000 (10:10 +0000)]
Add a plurals definition for Thai.
Philip Jenvey [Fri, 28 Sep 2007 23:47:35 +0000 (23:47 +0000)]
mention the ticket, #66, in the last changelog
Philip Jenvey [Fri, 28 Sep 2007 05:18:27 +0000 (05:18 +0000)]
woops, misplaced changelog
Philip Jenvey [Fri, 28 Sep 2007 05:16:25 +0000 (05:16 +0000)]
fix catalogs' charset values not being recognized
thanks Jose Galvez
Philip Jenvey [Fri, 28 Sep 2007 04:44:55 +0000 (04:44 +0000)]
we must mean options.locale here
Christopher Lenz [Sun, 9 Sep 2007 17:07:45 +0000 (17:07 +0000)]
Fix error in `compile_catalog` distutils command. Closes #65.
Christopher Lenz [Fri, 7 Sep 2007 10:12:35 +0000 (10:12 +0000)]
Updated ChangeLog for [milestone:0.9.1].
Christopher Lenz [Wed, 5 Sep 2007 17:13:22 +0000 (17:13 +0000)]
Fix `__repr__` of `Translations` class. Closes #63.
Christopher Lenz [Wed, 5 Sep 2007 16:40:17 +0000 (16:40 +0000)]
In `Locale.parse()`, only parse the argument if it's a string, otherwise just return the argument. This assumes that a non-string argument is either a `Locale` instance, or a proxy object pretending to be one. That may not be a safe assumption, but at least it allows you to use proxy objects such as Paste's `StackedObjectProxy` for locales.
Christopher Lenz [Wed, 5 Sep 2007 16:32:51 +0000 (16:32 +0000)]
Write PO files in binary mode. Closes #61.
Christopher Lenz [Tue, 4 Sep 2007 15:09:54 +0000 (15:09 +0000)]
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
Jonas Borgström [Sun, 26 Aug 2007 13:43:06 +0000 (13:43 +0000)]
Fixed a bug introduced by [301].
Jonas Borgström [Sun, 26 Aug 2007 13:38:58 +0000 (13:38 +0000)]
Fixed formatting bug with 12-hour clock patterns.
Christopher Lenz [Wed, 22 Aug 2007 15:16:45 +0000 (15:16 +0000)]
Fix typo in docstring.
Christopher Lenz [Wed, 22 Aug 2007 11:32:09 +0000 (11:32 +0000)]
Fix typo in documentation of the default extraction methods. Thanks to Ramiro Morales for pointing out the mistake.
Christopher Lenz [Wed, 22 Aug 2007 09:33:47 +0000 (09:33 +0000)]
Default the encoding of output by the `pybabel --list-locales` command to ASCII with errors replaced, if the output stream has no encoding set. For a reason unknown to me I got an encoding error, but only when when running the output through a pipe on the shell.
Christopher Lenz [Mon, 20 Aug 2007 09:43:26 +0000 (09:43 +0000)]
Bump up version number on trunk.
Christopher Lenz [Mon, 20 Aug 2007 09:04:35 +0000 (09:04 +0000)]
Updated ChangeLog for [milestone:0.9].
Christopher Lenz [Mon, 20 Aug 2007 08:33:44 +0000 (08:33 +0000)]
Fix minor glitch in docstring.
Christopher Lenz [Mon, 20 Aug 2007 08:28:30 +0000 (08:28 +0000)]
Apply patch for #26 to implement locale aliases.
Philip Jenvey [Fri, 17 Aug 2007 05:02:44 +0000 (05:02 +0000)]
skip messages that have less arguments than the keyword spec calls for
avoids potential IndexErrors during extraction
Philip Jenvey [Wed, 15 Aug 2007 18:36:19 +0000 (18:36 +0000)]
add extractor tests for some odder method signatures and concatenated strings
Christopher Lenz [Wed, 15 Aug 2007 13:13:24 +0000 (13:13 +0000)]
Fix typo in [271] that slipped into the check-in.
Christopher Lenz [Wed, 15 Aug 2007 13:12:25 +0000 (13:12 +0000)]
Added examples for using `get_timezone_name` to documentation.
Christopher Lenz [Wed, 15 Aug 2007 12:41:40 +0000 (12:41 +0000)]
Fail more gracefully when formatting the timezone for an unknown/invalid territory.
Christopher Lenz [Wed, 15 Aug 2007 12:35:45 +0000 (12:35 +0000)]
Fix for `get_timezone_name` when falling back to GMT display.
Christopher Lenz [Tue, 14 Aug 2007 17:06:00 +0000 (17:06 +0000)]
Fix typo on distutils/setuptools doc page.
Philip Jenvey [Tue, 14 Aug 2007 07:20:33 +0000 (07:20 +0000)]
don't init new catalogs as fuzzy
Christopher Lenz [Mon, 13 Aug 2007 22:29:03 +0000 (22:29 +0000)]
Soften dependency on setuptools. Extraction methods can now be referenced using a special section in the mapping configuration, mapping short names to fully-qualified function references.
Philip Jenvey [Mon, 13 Aug 2007 04:16:16 +0000 (04:16 +0000)]
added test cases for correct po/mofile sorting, following up r264
Philip Jenvey [Mon, 13 Aug 2007 00:59:09 +0000 (00:59 +0000)]
add a __cmp__ to Message that correctly sorts by id, taking into account plurals
thanks zepolen
Christopher Lenz [Sun, 12 Aug 2007 19:19:43 +0000 (19:19 +0000)]
`get_timezone_gmt()` wasn't getting the locale passed in all cases, which led to test errors when the default locale wasn't configured via environment variables.
Jonas Borgström [Sun, 12 Aug 2007 17:21:39 +0000 (17:21 +0000)]
Updated TODO-items in number.py.
Christopher Lenz [Sat, 11 Aug 2007 22:54:40 +0000 (22:54 +0000)]
Revert accidential change of file header in [260].
Jonas Borgström [Sat, 11 Aug 2007 13:09:02 +0000 (13:09 +0000)]
Added `Decimal` support to the scientific notation formatter and some code cleanup. This closes #52.
Jonas Borgström [Sat, 11 Aug 2007 11:31:05 +0000 (11:31 +0000)]
Added initial support for scientific notation patterns.
Christopher Lenz [Tue, 7 Aug 2007 21:41:35 +0000 (21:41 +0000)]
Finish implementation of day-of-year and day-of-month for now, and fix implementation of year-of-week-of-year field. Closes #46. I suspect there are still cases not entirely covered by this implementation, but those can be filed as separate tickets.
Christopher Lenz [Tue, 7 Aug 2007 20:08:42 +0000 (20:08 +0000)]
Implement day-of-week-in-month field in date formatting. Closes #50.
Christopher Lenz [Tue, 7 Aug 2007 20:01:35 +0000 (20:01 +0000)]
More work on #46 (week-of-year/week-of-month).
Christopher Lenz [Tue, 7 Aug 2007 17:17:28 +0000 (17:17 +0000)]
Again, properly implement week-in-year (#46).
Christopher Lenz [Tue, 7 Aug 2007 17:16:10 +0000 (17:16 +0000)]
Back out [251] which contained an accidential commit.
Christopher Lenz [Tue, 7 Aug 2007 17:13:45 +0000 (17:13 +0000)]
Properly implement week-in-year (#46).
Christopher Lenz [Tue, 7 Aug 2007 13:07:37 +0000 (13:07 +0000)]
Documentation stuff moved to a shared repository.
Christopher Lenz [Fri, 3 Aug 2007 09:00:28 +0000 (09:00 +0000)]
Clear executable bit on logos.
Christopher Lenz [Wed, 1 Aug 2007 14:15:35 +0000 (14:15 +0000)]
Add more `since` tags to stuff added in trunk.
Christopher Lenz [Wed, 1 Aug 2007 12:32:20 +0000 (12:32 +0000)]
Upgraded to CLDR 1.5 and improved timezone formatting.
Christopher Lenz [Mon, 30 Jul 2007 20:28:43 +0000 (20:28 +0000)]
Use logging module for output from CLI frontend.
Christopher Lenz [Sun, 29 Jul 2007 20:04:17 +0000 (20:04 +0000)]
Use proper logging in distutils `compile_catalog` command.
Christopher Lenz [Tue, 24 Jul 2007 21:25:19 +0000 (21:25 +0000)]
Forgot to update test method name after copy/paste.
Christopher Lenz [Tue, 24 Jul 2007 21:16:57 +0000 (21:16 +0000)]
Remove duplicate locations of catalog messages.
Christopher Lenz [Fri, 20 Jul 2007 16:47:08 +0000 (16:47 +0000)]
Follow-up to [239]: also combine duplicate comments when writing PO files.
Christopher Lenz [Fri, 20 Jul 2007 16:20:43 +0000 (16:20 +0000)]
Fix tests broken by [233], and add new tests.
Pedro Algarvio [Fri, 20 Jul 2007 14:22:50 +0000 (14:22 +0000)]
Only write unique comments, no duplicates.
Christopher Lenz [Fri, 20 Jul 2007 12:52:40 +0000 (12:52 +0000)]
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
Pedro Algarvio [Fri, 20 Jul 2007 12:43:20 +0000 (12:43 +0000)]
Fix for message extractors which return `None` as the gettext call.
Philip Jenvey [Wed, 18 Jul 2007 20:49:12 +0000 (20:49 +0000)]
fix skipping of class definitions without parens
fixes #55
Philip Jenvey [Wed, 18 Jul 2007 00:29:04 +0000 (00:29 +0000)]
o extract_python fixes:
- now returns None for non-string arguments
- no longer extracts strings from nested function calls
refs #38
- use the correct starting line number in multi-line gettext function
calls
- avoids falsely identifying string keyword arg defaults from
function definition names that match a keyword, e.g.:
def gettext(foo='bar')
- avoid capturing translator comments embedded within a gettext
function call
- default the file encoding to iso-8859-1 instead of ascii when
missing a magic encoding comment, to emulate pre Python 2.5
behavior. Python warns about 'non-ascii' chars when there is no magic
encoding comment, but < 2.5 actually treats them as iso-8859-1 for
backwards compat (PEP 263). >= 2.5 treats them as strict ascii
o extract fixes:
- filter out messages that don't contain strings where the keyword
specification calls for
fixes #39
- filter out empty string messages and emit a warning about them,
like xgettext
Christopher Lenz [Mon, 16 Jul 2007 20:51:49 +0000 (20:51 +0000)]
Implement day-of-year date format field. Closes #49.
Christopher Lenz [Mon, 16 Jul 2007 16:57:49 +0000 (16:57 +0000)]
Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
Christopher Lenz [Mon, 16 Jul 2007 16:55:08 +0000 (16:55 +0000)]
Updated ChangeLog.
Jonas Borgström [Mon, 16 Jul 2007 15:35:34 +0000 (15:35 +0000)]
Added Decimal support to the number formatter.
Christopher Lenz [Mon, 16 Jul 2007 06:30:01 +0000 (06:30 +0000)]
Implement milliseconds in day (#48).
Christopher Lenz [Sun, 15 Jul 2007 22:09:02 +0000 (22:09 +0000)]
Support for fractional seconds field in date formatting. Closes #47.
Christopher Lenz [Fri, 13 Jul 2007 22:22:03 +0000 (22:22 +0000)]
Dummy/stub implementation for week-in-year and week-in-month date format fields. Also, treat extended year the same as the regular year field, not even ICU seems to handle it specially.
Christopher Lenz [Fri, 13 Jul 2007 16:33:28 +0000 (16:33 +0000)]
More robust handling of argument indices in message extraction.
Christopher Lenz [Fri, 13 Jul 2007 15:59:42 +0000 (15:59 +0000)]
Added ChangeLog entries for [216:217].
Jonas Borgström [Tue, 10 Jul 2007 21:20:07 +0000 (21:20 +0000)]
Switched to using our own round() implementation.
This way we can be sure the correct rounding algorithm (banker's rounding)
is used on all platforms.
Jonas Borgström [Tue, 10 Jul 2007 20:14:05 +0000 (20:14 +0000)]
Added support for siginificant digits in number patterns.
Christopher Lenz [Thu, 5 Jul 2007 17:25:13 +0000 (17:25 +0000)]
When parsing catalog headers, look for the content-type first, to be able to use a specified encoding on all other headers.
Christopher Lenz [Thu, 5 Jul 2007 08:02:26 +0000 (08:02 +0000)]
Include percentage in statistics output.
Pedro Algarvio [Wed, 4 Jul 2007 16:09:05 +0000 (16:09 +0000)]
Make frontends that make use of a ''loop all'' fail if no message catalogs are found.
Pedro Algarvio [Wed, 4 Jul 2007 15:24:32 +0000 (15:24 +0000)]
Implement translations statistics, closes #18.
Christopher Lenz [Wed, 4 Jul 2007 12:25:28 +0000 (12:25 +0000)]
Preserve language-team header in catalogs on update. Closes #35 again.
Christopher Lenz [Wed, 4 Jul 2007 06:54:07 +0000 (06:54 +0000)]
Fix another bug introduced in [208].
Christopher Lenz [Wed, 4 Jul 2007 06:52:03 +0000 (06:52 +0000)]
Fix for bug introduced in [208]. Closes #37.
Christopher Lenz [Tue, 3 Jul 2007 21:19:27 +0000 (21:19 +0000)]
Minor changes to how previous msgids are processed.
Pedro Algarvio [Tue, 3 Jul 2007 19:20:28 +0000 (19:20 +0000)]
Doctest for changes on [205].
Pedro Algarvio [Tue, 3 Jul 2007 18:00:42 +0000 (18:00 +0000)]
Minor typo correction.
Pedro Algarvio [Tue, 3 Jul 2007 17:55:34 +0000 (17:55 +0000)]
Added `--no-fuzzy-matching` to the frontends and also `--previous` which adds the old msgid's as comments. The latest closes #31.
Christopher Lenz [Tue, 3 Jul 2007 16:29:22 +0000 (16:29 +0000)]
Handle obsolete messages when parsing catalogs. Closes #32.
Christopher Lenz [Tue, 3 Jul 2007 16:01:41 +0000 (16:01 +0000)]
Correctly handle non-ASCII chars in the catalog MIME headers.
Christopher Lenz [Tue, 3 Jul 2007 13:12:36 +0000 (13:12 +0000)]
Fix for #36: avoid corrupting the catalog on update when there's an error in the writing process.
Christopher Lenz [Tue, 3 Jul 2007 12:52:44 +0000 (12:52 +0000)]
Fix for #35, and a minor improvement to how we parse the catalog fuzzy bit.