Mercurial > babel > old > babel-test
annotate ChangeLog @ 533:8262aa9c73da
remove unnecessary import
author | fschwarz |
---|---|
date | Sat, 05 Mar 2011 18:58:33 +0000 |
parents | b6772d07a84b |
children | 2fabf716189a |
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/ |
494 | 3 (? ? 2010 from branches/stable/1.0.x) |
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
|
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). |
427
912e21ea527d
Fix Catalog._set_mime_headers' handing of negative offsets.
jruigrok
parents:
414
diff
changeset
|
8 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). |
449 | 9 * Fixed the case where messages containing square brackets would break with |
10 an unpack error. | |
11 * Updated to CLDR 1.7. | |
468 | 12 * Make the CLDR import script work with Python 2.7. |
494 | 13 * Fix various typos. |
14 * Sort output of list-locales. | |
15 * Make the POT-Creation-Date of the catalog being updated equal to | |
16 POT-Creation-Date of the template used to update (ticket #148). | |
17 * Use a more explicit error message if no option or argument (command) is | |
18 passed to pybabel (ticket #81). | |
19 * Keep the PO-Revision-Date if it is not the default value (ticket #148). | |
20 * Make --no-wrap work by reworking --width's default and mimic xgettext's | |
21 behaviour of always wrapping comments (ticket #145). | |
22 * Add --project and --version options for commandline (ticket #173). | |
23 * Add a __ne__() method to the Local class. | |
24 * Explicitly sort instead of using sorted() and don't assume ordering | |
25 (Jython compatibility). | |
26 * Removed ValueError raising for string formatting message checkers if the | |
27 string does not contain any string formattings (ticket #150). | |
489 | 28 * Fix Serbian plural forms (ticket #213). |
502
0985a4562967
Small speed improvement for format_date() by getting rid of duplicate parse_pattern.
jruigrok
parents:
497
diff
changeset
|
29 * Small speed improvement in format_date() (ticket #216). |
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
|
30 |
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
|
31 |
493 | 32 Version 0.9.6 |
33 http://svn.edgewall.org/repos/babel/tags/0.9.6/ | |
34 (? ? 2010, from branches/stable/0.9.x) | |
35 | |
36 * Backport r493-494: documentation typo fixes. | |
37 * Make the CLDR import script work with Python 2.7. | |
38 * Fix various typos. | |
39 * Sort output of list-locales. | |
40 * Make the POT-Creation-Date of the catalog being updated equal to | |
41 POT-Creation-Date of the template used to update (ticket #148). | |
42 * Use a more explicit error message if no option or argument (command) is | |
43 passed to pybabel (ticket #81). | |
44 * Keep the PO-Revision-Date if it is not the default value (ticket #148). | |
45 * Make --no-wrap work by reworking --width's default and mimic xgettext's | |
46 behaviour of always wrapping comments (ticket #145). | |
47 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). | |
48 * Add --project and --version options for commandline (ticket #173). | |
49 * Add a __ne__() method to the Local class. | |
50 * Explicitly sort instead of using sorted() and don't assume ordering | |
51 (Python 2.3 and Jython compatibility). | |
52 * Removed ValueError raising for string formatting message checkers if the | |
53 string does not contain any string formattings (ticket #150). | |
54 * Fix Serbian plural forms (ticket #213). | |
55 | |
56 | |
454 | 57 Version 0.9.5 |
58 http://svn.edgewall.org/repos/babel/tags/0.9.5/ | |
59 (Apr 6 2010, from branches/stable/0.9.x) | |
60 | |
61 * Fixed the case where messages containing square brackets would break with | |
62 an unpack error. | |
63 * Backport of r467: Fuzzy matching regarding plurals should *NOT* be checked | |
64 against len(message.id) because this is always 2, instead, it's should be | |
65 checked against catalog.num_plurals (ticket #212). | |
66 | |
67 | |
396 | 68 Version 0.9.4 |
69 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
406 | 70 (Aug 25 2008, from branches/stable/0.9.x) |
396 | 71 |
72 * Currency symbol definitions that is defined with choice patterns in the | |
73 CLDR data are no longer imported, so the symbol code will be used instead. | |
74 * 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
|
75 * 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
|
76 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
|
77 * 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
|
78 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
|
79 * 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
|
80 "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
|
81 Manlio Perillo for the suggestion. |
406 | 82 * Fixed JavaScript extraction for regular expression literals (ticket #138) |
83 and concatenated strings. | |
409 | 84 * 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
|
85 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
|
86 (ticket #137). |
396 | 87 |
88 | |
322 | 89 Version 0.9.3 |
90 http://svn.edgewall.org/repos/babel/tags/0.9.3/ | |
380 | 91 (Jul 9 2008, from branches/stable/0.9.x) |
322 | 92 |
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
|
93 * 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
|
94 * 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
|
95 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
|
96 * 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
|
97 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
|
98 * 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
|
99 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
|
100 * 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
|
101 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
|
102 * 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
|
103 * Updated to CLDR 1.6. |
348
6482dc682455
Fixes for timezone calculations in time formatting (#83).
cmlenz
parents:
345
diff
changeset
|
104 * Fixed timezone calculations when formatting datetime and time values. |
374
edc3428a34de
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
105 * 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
|
106 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
|
107 * 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
|
108 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
|
109 (ticket #68). |
339 | 110 |
322 | 111 |
292 | 112 Version 0.9.2 |
113 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
380 | 114 (Feb 4 2008, from branches/stable/0.9.x) |
292 | 115 |
294 | 116 * Fixed catalogs' charset values not being recognized (ticket #66). |
317 | 117 * Numerous improvements to the default plural forms. |
312
61e6b1933af4
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
118 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
315 | 119 * Fixed bug in catalog updating, that in some cases pulled in translations |
120 from different catalogs based on the same template. | |
121 * Location lines in PO files do no longer get wrapped at hyphens in file | |
122 names (ticket #79). | |
317 | 123 * Fixed division by zero error in catalog compilation on empty catalogs |
124 (ticket #60). | |
312
61e6b1933af4
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
125 |
61e6b1933af4
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
126 |
277
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
127 Version 0.9.1 |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
128 http://svn.edgewall.org/repos/babel/tags/0.9.1/ |
285 | 129 (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
|
130 |
285 | 131 * Fixed catalog updating when a message is merged that was previously simple |
132 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
|
133 `ngettext`, or vice versa. |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
134 * 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
|
135 * Fixed output encoding of the `pybabel --list-locales` command. |
320 | 136 * 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
|
137 |
7a3f4ca113e4
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
138 |
160 | 139 Version 0.9 |
140 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
263 | 141 (Aug 20 2007, from branches/stable/0.9.x) |
160 | 142 |
187 | 143 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
144 consistency with the command-line frontend. | |
219 | 145 * Added compilation of message catalogs to MO files (ticket #21). |
146 * Added updating of message catalogs from POT files (ticket #22). | |
213 | 147 * Support for significant digits in number formatting. |
148 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
149 manner. | |
219 | 150 * The number formatting functions now also work with numbers represented by |
151 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
|
152 * Added extensible infrastructure for validating translation catalogs. |
222 | 153 * Fixed the extractor not filtering out messages that didn't validate against |
154 the keyword's specification (ticket #39). | |
155 * Fixed the extractor raising an exception when encountering an empty string | |
156 msgid. It now emits a warning to stderr. | |
157 * Numerous Python message extractor fixes: it now handles nested function | |
158 calls within a gettext function call correctly, uses the correct line number | |
159 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
|
160 * 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
|
161 strings (ticket #57). |
233
bc22f5aef216
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
162 * CLDR upgraded to the 1.5 release. |
bc22f5aef216
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
163 * Improved timezone formatting. |
263 | 164 * Implemented scientific number formatting. |
165 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
166 on including only the language code in the `Accept-Language` header, and | |
167 sometimes even the incorrect language code. | |
160 | 168 |
166 | 169 |
152 | 170 Version 0.8.1 |
171 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
192 | 172 (Jul 2 2007, from branches/stable/0.8.x) |
152 | 173 |
174 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
175 variable contained multiple language codes separated by colon, as is | |
176 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
177 function is called at the module level in some modules, this bug would | |
178 completely break importing these modules on systems where `LANGUAGE` is set | |
179 that way. | |
180 * The character set specified in PO template files is now respected when | |
181 creating new catalog files based on that template. This allows the use of | |
182 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
|
183 * 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
|
184 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
|
185 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
|
186 are now always sorted alphabetically. |
166 | 187 * The Python message extractor now respects the special encoding comment to be |
188 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
|
189 * Added 'N_' (gettext noop) to the extractor's default keywords. |
183 | 190 * Made locale string parsing more robust, and also take the script part into |
191 account (ticket #27). | |
185
170cffc66554
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
192 * Added a function to list all locales for which locale data is available. |
192 | 193 * 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
|
194 available locales (ticket #24). |
192 | 195 * The name of the command-line script has been changed from just `babel` to |
196 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
152 | 197 |
198 | |
139 | 199 Version 0.8 |
200 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
201 (Jun 20 2007, from branches/stable/0.8.x) | |
202 | |
203 * First public release |