Mercurial > babel > mirror
annotate ChangeLog @ 493:3efc6839b1e6 trunk
Add 0.9.6 entries.
author | jruigrok |
---|---|
date | Mon, 19 Apr 2010 09:33:53 +0000 |
parents | 87efa3a28846 |
children | d9e2c78c7293 |
rev | line source |
---|---|
395
a0457635279d
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 |
a0457635279d
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/ |
a0457635279d
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) |
a0457635279d
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 |
a0457635279d
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. |
a0457635279d
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 |
a0457635279d
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
05487ae7696e
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
de2b8a211501
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. |
489 | 14 * Fix Serbian plural forms (ticket #213). |
395
a0457635279d
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 |
a0457635279d
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
|
16 |
493 | 17 Version 0.9.6 |
18 http://svn.edgewall.org/repos/babel/tags/0.9.6/ | |
19 (? ? 2010, from branches/stable/0.9.x) | |
20 | |
21 * Backport r493-494: documentation typo fixes. | |
22 * Make the CLDR import script work with Python 2.7. | |
23 * Fix various typos. | |
24 * Sort output of list-locales. | |
25 * Make the POT-Creation-Date of the catalog being updated equal to | |
26 POT-Creation-Date of the template used to update (ticket #148). | |
27 * Use a more explicit error message if no option or argument (command) is | |
28 passed to pybabel (ticket #81). | |
29 * Keep the PO-Revision-Date if it is not the default value (ticket #148). | |
30 * Make --no-wrap work by reworking --width's default and mimic xgettext's | |
31 behaviour of always wrapping comments (ticket #145). | |
32 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). | |
33 * Add --project and --version options for commandline (ticket #173). | |
34 * Add a __ne__() method to the Local class. | |
35 * Explicitly sort instead of using sorted() and don't assume ordering | |
36 (Python 2.3 and Jython compatibility). | |
37 * Removed ValueError raising for string formatting message checkers if the | |
38 string does not contain any string formattings (ticket #150). | |
39 * Fix Serbian plural forms (ticket #213). | |
40 | |
41 | |
454 | 42 Version 0.9.5 |
43 http://svn.edgewall.org/repos/babel/tags/0.9.5/ | |
44 (Apr 6 2010, from branches/stable/0.9.x) | |
45 | |
46 * Fixed the case where messages containing square brackets would break with | |
47 an unpack error. | |
48 * Backport of r467: Fuzzy matching regarding plurals should *NOT* be checked | |
49 against len(message.id) because this is always 2, instead, it's should be | |
50 checked against catalog.num_plurals (ticket #212). | |
51 | |
52 | |
396 | 53 Version 0.9.4 |
54 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
406 | 55 (Aug 25 2008, from branches/stable/0.9.x) |
396 | 56 |
57 * Currency symbol definitions that is defined with choice patterns in the | |
58 CLDR data are no longer imported, so the symbol code will be used instead. | |
59 * Fixed quarter support in date formatting. | |
399
953a531232ca
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
cmlenz
parents:
396
diff
changeset
|
60 * Fixed a serious memory leak that was introduces by the support for CLDR |
953a531232ca
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
cmlenz
parents:
396
diff
changeset
|
61 aliases in 0.9.3 (ticket #128). |
403
3ded94255d9a
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
62 * Locale modifiers such as "@euro" are now stripped from locale identifiers |
3ded94255d9a
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
63 when parsing (ticket #136). |
3ded94255d9a
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
64 * The system locales "C" and "POSIX" are now treated as aliases for |
3ded94255d9a
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
65 "en_US_POSIX", for which the CLDR provides the appropriate data. Thanks to |
3ded94255d9a
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
399
diff
changeset
|
66 Manlio Perillo for the suggestion. |
406 | 67 * Fixed JavaScript extraction for regular expression literals (ticket #138) |
68 and concatenated strings. | |
409 | 69 * The `Translation` class in `babel.support` can now manage catalogs with |
408
62cc40fa04eb
Add message domain support to the `Translations` class. Closes #137.
cmlenz
parents:
406
diff
changeset
|
70 different message domains, and exposes the family of `d*gettext` functions |
62cc40fa04eb
Add message domain support to the `Translations` class. Closes #137.
cmlenz
parents:
406
diff
changeset
|
71 (ticket #137). |
396 | 72 |
73 | |
322 | 74 Version 0.9.3 |
75 http://svn.edgewall.org/repos/babel/tags/0.9.3/ | |
380 | 76 (Jul 9 2008, from branches/stable/0.9.x) |
322 | 77 |
338
b39145076d8a
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
|
78 * Fixed invalid message extraction methods causing an UnboundLocalError. |
345
e818b03b370f
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
79 * Extraction method specification can now use a dot instead of the colon to |
e818b03b370f
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
80 separate module and function name (ticket #105). |
e818b03b370f
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
81 * Fixed message catalog compilation for locales with more than two plural |
e818b03b370f
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
82 forms (ticket #95). |
e818b03b370f
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
83 * Fixed compilation of message catalogs for locales with more than two plural |
e818b03b370f
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
339
diff
changeset
|
84 forms where the translations were empty (ticket #97). |
338
b39145076d8a
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
|
85 * The stripping of the comment tags in comments is optional now and |
b39145076d8a
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
|
86 is done for each line in a comment. |
375
4eca63af0a12
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
|
87 * Added a JavaScript message extractor. |
4eca63af0a12
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
|
88 * Updated to CLDR 1.6. |
348
76bfb34282af
Fixes for timezone calculations in time formatting (#83).
cmlenz
parents:
345
diff
changeset
|
89 * Fixed timezone calculations when formatting datetime and time values. |
374
c79e7d5bb3a6
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
90 * Added a `get_plural` function into the plurals module that returns the |
c79e7d5bb3a6
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
91 correct plural forms for a locale as tuple. |
375
4eca63af0a12
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
|
92 * Added support for alias definitions in the CLDR data files, meaning that |
4eca63af0a12
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
|
93 the chance for items missing in certain locales should be greatly reduced |
4eca63af0a12
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
|
94 (ticket #68). |
339 | 95 |
322 | 96 |
292 | 97 Version 0.9.2 |
98 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
380 | 99 (Feb 4 2008, from branches/stable/0.9.x) |
292 | 100 |
294 | 101 * Fixed catalogs' charset values not being recognized (ticket #66). |
317 | 102 * Numerous improvements to the default plural forms. |
312
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
103 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
315 | 104 * Fixed bug in catalog updating, that in some cases pulled in translations |
105 from different catalogs based on the same template. | |
106 * Location lines in PO files do no longer get wrapped at hyphens in file | |
107 names (ticket #79). | |
317 | 108 * Fixed division by zero error in catalog compilation on empty catalogs |
109 (ticket #60). | |
312
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
110 |
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
111 |
277
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
112 Version 0.9.1 |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
113 http://svn.edgewall.org/repos/babel/tags/0.9.1/ |
285 | 114 (Sep 7 2007, from branches/stable/0.9.x) |
277
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
115 |
285 | 116 * Fixed catalog updating when a message is merged that was previously simple |
117 but now has a plural form, for example by moving from `gettext` to | |
277
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
118 `ngettext`, or vice versa. |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
119 * Fixed time formatting for 12 am and 12 pm. |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
120 * Fixed output encoding of the `pybabel --list-locales` command. |
320 | 121 * MO files are now written in binary mode on windows (ticket #61). |
277
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
122 |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
123 |
160 | 124 Version 0.9 |
125 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
263 | 126 (Aug 20 2007, from branches/stable/0.9.x) |
160 | 127 |
187 | 128 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
129 consistency with the command-line frontend. | |
219 | 130 * Added compilation of message catalogs to MO files (ticket #21). |
131 * Added updating of message catalogs from POT files (ticket #22). | |
213 | 132 * Support for significant digits in number formatting. |
133 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
134 manner. | |
219 | 135 * The number formatting functions now also work with numbers represented by |
136 Python `Decimal` objects (ticket #53). | |
220
97b4b289e792
Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents:
219
diff
changeset
|
137 * Added extensible infrastructure for validating translation catalogs. |
222 | 138 * Fixed the extractor not filtering out messages that didn't validate against |
139 the keyword's specification (ticket #39). | |
140 * Fixed the extractor raising an exception when encountering an empty string | |
141 msgid. It now emits a warning to stderr. | |
142 * Numerous Python message extractor fixes: it now handles nested function | |
143 calls within a gettext function call correctly, uses the correct line number | |
144 for multi-line function calls, and other small fixes (tickets #38 and #39). | |
225
4f7f1f0e3b30
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
222
diff
changeset
|
145 * Improved support for detecting Python string formatting fields in message |
4f7f1f0e3b30
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
222
diff
changeset
|
146 strings (ticket #57). |
233
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
147 * CLDR upgraded to the 1.5 release. |
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
148 * Improved timezone formatting. |
263 | 149 * Implemented scientific number formatting. |
150 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
151 on including only the language code in the `Accept-Language` header, and | |
152 sometimes even the incorrect language code. | |
160 | 153 |
166 | 154 |
152 | 155 Version 0.8.1 |
156 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
192 | 157 (Jul 2 2007, from branches/stable/0.8.x) |
152 | 158 |
159 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
160 variable contained multiple language codes separated by colon, as is | |
161 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
162 function is called at the module level in some modules, this bug would | |
163 completely break importing these modules on systems where `LANGUAGE` is set | |
164 that way. | |
165 * The character set specified in PO template files is now respected when | |
166 creating new catalog files based on that template. This allows the use of | |
167 characters outside the ASCII range in POT files (ticket #17). | |
154
31478eb3fb9e
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
|
168 * The default ordering of messages in generated POT files, which is based on |
31478eb3fb9e
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
|
169 the order those messages are found when walking the source tree, is no |
31478eb3fb9e
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
|
170 longer subject to differences between platforms; directory and file names |
31478eb3fb9e
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
|
171 are now always sorted alphabetically. |
166 | 172 * The Python message extractor now respects the special encoding comment to be |
173 able to handle files containing non-ASCII characters (ticket #23). | |
179
31beb381d62f
added 'N_' (gettext noop) to the extractor's default keywords
pjenvey
parents:
166
diff
changeset
|
174 * Added 'N_' (gettext noop) to the extractor's default keywords. |
183 | 175 * Made locale string parsing more robust, and also take the script part into |
176 account (ticket #27). | |
185
6503a227ba93
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
177 * Added a function to list all locales for which locale data is available. |
192 | 178 * Added a command-line option to the `pybabel` command which prints out all |
185
6503a227ba93
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
179 available locales (ticket #24). |
192 | 180 * The name of the command-line script has been changed from just `babel` to |
181 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
152 | 182 |
183 | |
139 | 184 Version 0.8 |
185 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
186 (Jun 20 2007, from branches/stable/0.8.x) | |
187 | |
188 * First public release |