Mercurial > babel > old > babel-test
annotate ChangeLog @ 468:e19ceb39952e
Document the Python 2.7 ElementTree fix.
author | jruigrok |
---|---|
date | Thu, 08 Apr 2010 09:17:34 +0000 |
parents | 4facc0d65745 |
children | eb42dbd6b9d6 |
rev | line source |
---|---|
395
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
1 Version 1.0 |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
2 http://svn.edgewall.org/repos/babel/tags/1.0.0/ |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
3 (???, from branches/stable/1.0.x) |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
4 |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
5 * Added support for the locale plural rules defined by the CLDR. |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
6 * Added `format_timedelta` function to support localized formatting of |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
7 relative times with strings such as "2 days" or "1 month" (ticket #126). |
414
ea0da9db79ef
fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
pjenvey
parents:
409
diff
changeset
|
8 * Fixed Python 2.3 compatibility (ticket #146). |
427
912e21ea527d
Fix Catalog._set_mime_headers' handing of negative offsets.
jruigrok
parents:
414
diff
changeset
|
9 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). |
449 | 10 * Fixed the case where messages containing square brackets would break with |
11 an unpack error. | |
12 * Updated to CLDR 1.7. | |
468 | 13 * Make the CLDR import script work with Python 2.7. |
395
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
14 |
b4d207b1522d
The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
cmlenz
parents:
380
diff
changeset
|
15 |
454 | 16 Version 0.9.5 |
17 http://svn.edgewall.org/repos/babel/tags/0.9.5/ | |
18 (Apr 6 2010, from branches/stable/0.9.x) | |
19 | |
20 * Fixed the case where messages containing square brackets would break with | |
21 an unpack error. | |
22 * Backport of r467: Fuzzy matching regarding plurals should *NOT* be checked | |
23 against len(message.id) because this is always 2, instead, it's should be | |
24 checked against catalog.num_plurals (ticket #212). | |
25 | |
26 | |
396 | 27 Version 0.9.4 |
28 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
406 | 29 (Aug 25 2008, from branches/stable/0.9.x) |
396 | 30 |
31 * Currency symbol definitions that is defined with choice patterns in the | |
32 CLDR data are no longer imported, so the symbol code will be used instead. | |
33 * Fixed quarter support in date formatting. | |
399
3510257d57d3
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
cmlenz
parents:
396
diff
changeset
|
34 * Fixed a serious memory leak that was introduces by the support for CLDR |
3510257d57d3
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
cmlenz
parents:
396
diff
changeset
|
35 aliases in 0.9.3 (ticket #128). |
403
dc2f49f83087
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
36 * Locale modifiers such as "@euro" are now stripped from locale identifiers |
dc2f49f83087
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
37 when parsing (ticket #136). |
dc2f49f83087
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
38 * The system locales "C" and "POSIX" are now treated as aliases for |
dc2f49f83087
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
39 "en_US_POSIX", for which the CLDR provides the appropriate data. Thanks to |
dc2f49f83087
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
40 Manlio Perillo for the suggestion. |
406 | 41 * Fixed JavaScript extraction for regular expression literals (ticket #138) |
42 and concatenated strings. | |
409 | 43 * The `Translation` class in `babel.support` can now manage catalogs with |
408
94d992d409c7
Add message domain support to the `Translations` class. Closes #137.
cmlenz
parents:
406
diff
changeset
|
44 different message domains, and exposes the family of `d*gettext` functions |
94d992d409c7
Add message domain support to the `Translations` class. Closes #137.
cmlenz
parents:
406
diff
changeset
|
45 (ticket #137). |
396 | 46 |
47 | |
322 | 48 Version 0.9.3 |
49 http://svn.edgewall.org/repos/babel/tags/0.9.3/ | |
380 | 50 (Jul 9 2008, from branches/stable/0.9.x) |
322 | 51 |
338
6fe060286ff0
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
aronacher
parents:
322
diff
changeset
|
52 * Fixed invalid message extraction methods causing an UnboundLocalError. |
345
64d340f76701
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
53 * Extraction method specification can now use a dot instead of the colon to |
64d340f76701
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
54 separate module and function name (ticket #105). |
64d340f76701
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
55 * Fixed message catalog compilation for locales with more than two plural |
64d340f76701
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
56 forms (ticket #95). |
64d340f76701
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
57 * Fixed compilation of message catalogs for locales with more than two plural |
64d340f76701
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
58 forms where the translations were empty (ticket #97). |
338
6fe060286ff0
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
aronacher
parents:
322
diff
changeset
|
59 * The stripping of the comment tags in comments is optional now and |
6fe060286ff0
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
aronacher
parents:
322
diff
changeset
|
60 is done for each line in a comment. |
375
369300a7ebd3
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
cmlenz
parents:
374
diff
changeset
|
61 * Added a JavaScript message extractor. |
369300a7ebd3
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
cmlenz
parents:
374
diff
changeset
|
62 * Updated to CLDR 1.6. |
348
6482dc682455
Fixes for timezone calculations in time formatting (#83).
cmlenz
parents:
345
diff
changeset
|
63 * Fixed timezone calculations when formatting datetime and time values. |
374
edc3428a34de
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
64 * Added a `get_plural` function into the plurals module that returns the |
edc3428a34de
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
65 correct plural forms for a locale as tuple. |
375
369300a7ebd3
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
cmlenz
parents:
374
diff
changeset
|
66 * Added support for alias definitions in the CLDR data files, meaning that |
369300a7ebd3
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
cmlenz
parents:
374
diff
changeset
|
67 the chance for items missing in certain locales should be greatly reduced |
369300a7ebd3
Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
cmlenz
parents:
374
diff
changeset
|
68 (ticket #68). |
339 | 69 |
322 | 70 |
292 | 71 Version 0.9.2 |
72 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
380 | 73 (Feb 4 2008, from branches/stable/0.9.x) |
292 | 74 |
294 | 75 * Fixed catalogs' charset values not being recognized (ticket #66). |
317 | 76 * Numerous improvements to the default plural forms. |
312
61e6b1933af4
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
77 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
315 | 78 * Fixed bug in catalog updating, that in some cases pulled in translations |
79 from different catalogs based on the same template. | |
80 * Location lines in PO files do no longer get wrapped at hyphens in file | |
81 names (ticket #79). | |
317 | 82 * Fixed division by zero error in catalog compilation on empty catalogs |
83 (ticket #60). | |
312
61e6b1933af4
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
84 |
61e6b1933af4
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
85 |
277
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
86 Version 0.9.1 |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
87 http://svn.edgewall.org/repos/babel/tags/0.9.1/ |
285 | 88 (Sep 7 2007, from branches/stable/0.9.x) |
277
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
89 |
285 | 90 * Fixed catalog updating when a message is merged that was previously simple |
91 but now has a plural form, for example by moving from `gettext` to | |
277
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
92 `ngettext`, or vice versa. |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
93 * Fixed time formatting for 12 am and 12 pm. |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
94 * Fixed output encoding of the `pybabel --list-locales` command. |
320 | 95 * MO files are now written in binary mode on windows (ticket #61). |
277
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
96 |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
97 |
160 | 98 Version 0.9 |
99 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
263 | 100 (Aug 20 2007, from branches/stable/0.9.x) |
160 | 101 |
187 | 102 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
103 consistency with the command-line frontend. | |
219 | 104 * Added compilation of message catalogs to MO files (ticket #21). |
105 * Added updating of message catalogs from POT files (ticket #22). | |
213 | 106 * Support for significant digits in number formatting. |
107 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
108 manner. | |
219 | 109 * The number formatting functions now also work with numbers represented by |
110 Python `Decimal` objects (ticket #53). | |
220
677147547e2d
Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents:
219
diff
changeset
|
111 * Added extensible infrastructure for validating translation catalogs. |
222 | 112 * Fixed the extractor not filtering out messages that didn't validate against |
113 the keyword's specification (ticket #39). | |
114 * Fixed the extractor raising an exception when encountering an empty string | |
115 msgid. It now emits a warning to stderr. | |
116 * Numerous Python message extractor fixes: it now handles nested function | |
117 calls within a gettext function call correctly, uses the correct line number | |
118 for multi-line function calls, and other small fixes (tickets #38 and #39). | |
225
3703ded648ab
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
222
diff
changeset
|
119 * Improved support for detecting Python string formatting fields in message |
3703ded648ab
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
222
diff
changeset
|
120 strings (ticket #57). |
233
bc22f5aef216
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
121 * CLDR upgraded to the 1.5 release. |
bc22f5aef216
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
122 * Improved timezone formatting. |
263 | 123 * Implemented scientific number formatting. |
124 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
125 on including only the language code in the `Accept-Language` header, and | |
126 sometimes even the incorrect language code. | |
160 | 127 |
166 | 128 |
152 | 129 Version 0.8.1 |
130 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
192 | 131 (Jul 2 2007, from branches/stable/0.8.x) |
152 | 132 |
133 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
134 variable contained multiple language codes separated by colon, as is | |
135 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
136 function is called at the module level in some modules, this bug would | |
137 completely break importing these modules on systems where `LANGUAGE` is set | |
138 that way. | |
139 * The character set specified in PO template files is now respected when | |
140 creating new catalog files based on that template. This allows the use of | |
141 characters outside the ASCII range in POT files (ticket #17). | |
154
4d2117dfd7f5
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
142 * The default ordering of messages in generated POT files, which is based on |
4d2117dfd7f5
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
143 the order those messages are found when walking the source tree, is no |
4d2117dfd7f5
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
144 longer subject to differences between platforms; directory and file names |
4d2117dfd7f5
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
145 are now always sorted alphabetically. |
166 | 146 * The Python message extractor now respects the special encoding comment to be |
147 able to handle files containing non-ASCII characters (ticket #23). | |
179
10f9fd9e730b
added 'N_' (gettext noop) to the extractor's default keywords
pjenvey
parents:
166
diff
changeset
|
148 * Added 'N_' (gettext noop) to the extractor's default keywords. |
183 | 149 * Made locale string parsing more robust, and also take the script part into |
150 account (ticket #27). | |
185
170cffc66554
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
151 * Added a function to list all locales for which locale data is available. |
192 | 152 * Added a command-line option to the `pybabel` command which prints out all |
185
170cffc66554
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
153 available locales (ticket #24). |
192 | 154 * The name of the command-line script has been changed from just `babel` to |
155 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
152 | 156 |
157 | |
139 | 158 Version 0.8 |
159 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
160 (Jun 20 2007, from branches/stable/0.8.x) | |
161 | |
162 * First public release |