Mercurial > babel > mirror
annotate ChangeLog @ 406:14363af5aab2 trunk
Added [444] and [445] to ChangeLog.
author | cmlenz |
---|---|
date | Mon, 25 Aug 2008 10:06:40 +0000 |
parents | 3ded94255d9a |
children | 62cc40fa04eb |
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). |
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
|
8 |
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
|
9 |
396 | 10 Version 0.9.4 |
11 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
406 | 12 (Aug 25 2008, from branches/stable/0.9.x) |
396 | 13 |
14 * Currency symbol definitions that is defined with choice patterns in the | |
15 CLDR data are no longer imported, so the symbol code will be used instead. | |
16 * 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
|
17 * 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
|
18 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
|
19 * 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
|
20 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
|
21 * 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
|
22 "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
|
23 Manlio Perillo for the suggestion. |
406 | 24 * Fixed JavaScript extraction for regular expression literals (ticket #138) |
25 and concatenated strings. | |
396 | 26 |
27 | |
322 | 28 Version 0.9.3 |
29 http://svn.edgewall.org/repos/babel/tags/0.9.3/ | |
380 | 30 (Jul 9 2008, from branches/stable/0.9.x) |
322 | 31 |
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
|
32 * 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
|
33 * 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
|
34 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
|
35 * 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
|
36 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
|
37 * 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
|
38 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
|
39 * 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
|
40 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
|
41 * 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
|
42 * Updated to CLDR 1.6. |
348
76bfb34282af
Fixes for timezone calculations in time formatting (#83).
cmlenz
parents:
345
diff
changeset
|
43 * Fixed timezone calculations when formatting datetime and time values. |
374
c79e7d5bb3a6
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
44 * 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
|
45 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
|
46 * 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
|
47 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
|
48 (ticket #68). |
339 | 49 |
322 | 50 |
292 | 51 Version 0.9.2 |
52 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
380 | 53 (Feb 4 2008, from branches/stable/0.9.x) |
292 | 54 |
294 | 55 * Fixed catalogs' charset values not being recognized (ticket #66). |
317 | 56 * Numerous improvements to the default plural forms. |
312
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
57 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
315 | 58 * Fixed bug in catalog updating, that in some cases pulled in translations |
59 from different catalogs based on the same template. | |
60 * Location lines in PO files do no longer get wrapped at hyphens in file | |
61 names (ticket #79). | |
317 | 62 * Fixed division by zero error in catalog compilation on empty catalogs |
63 (ticket #60). | |
312
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
64 |
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
65 |
277
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
66 Version 0.9.1 |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
67 http://svn.edgewall.org/repos/babel/tags/0.9.1/ |
285 | 68 (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
|
69 |
285 | 70 * Fixed catalog updating when a message is merged that was previously simple |
71 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
|
72 `ngettext`, or vice versa. |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
73 * 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
|
74 * Fixed output encoding of the `pybabel --list-locales` command. |
320 | 75 * 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
|
76 |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
77 |
160 | 78 Version 0.9 |
79 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
263 | 80 (Aug 20 2007, from branches/stable/0.9.x) |
160 | 81 |
187 | 82 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
83 consistency with the command-line frontend. | |
219 | 84 * Added compilation of message catalogs to MO files (ticket #21). |
85 * Added updating of message catalogs from POT files (ticket #22). | |
213 | 86 * Support for significant digits in number formatting. |
87 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
88 manner. | |
219 | 89 * The number formatting functions now also work with numbers represented by |
90 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
|
91 * Added extensible infrastructure for validating translation catalogs. |
222 | 92 * Fixed the extractor not filtering out messages that didn't validate against |
93 the keyword's specification (ticket #39). | |
94 * Fixed the extractor raising an exception when encountering an empty string | |
95 msgid. It now emits a warning to stderr. | |
96 * Numerous Python message extractor fixes: it now handles nested function | |
97 calls within a gettext function call correctly, uses the correct line number | |
98 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
|
99 * 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
|
100 strings (ticket #57). |
233
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
101 * CLDR upgraded to the 1.5 release. |
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
102 * Improved timezone formatting. |
263 | 103 * Implemented scientific number formatting. |
104 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
105 on including only the language code in the `Accept-Language` header, and | |
106 sometimes even the incorrect language code. | |
160 | 107 |
166 | 108 |
152 | 109 Version 0.8.1 |
110 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
192 | 111 (Jul 2 2007, from branches/stable/0.8.x) |
152 | 112 |
113 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
114 variable contained multiple language codes separated by colon, as is | |
115 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
116 function is called at the module level in some modules, this bug would | |
117 completely break importing these modules on systems where `LANGUAGE` is set | |
118 that way. | |
119 * The character set specified in PO template files is now respected when | |
120 creating new catalog files based on that template. This allows the use of | |
121 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
|
122 * 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
|
123 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
|
124 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
|
125 are now always sorted alphabetically. |
166 | 126 * The Python message extractor now respects the special encoding comment to be |
127 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
|
128 * Added 'N_' (gettext noop) to the extractor's default keywords. |
183 | 129 * Made locale string parsing more robust, and also take the script part into |
130 account (ticket #27). | |
185
6503a227ba93
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
131 * Added a function to list all locales for which locale data is available. |
192 | 132 * 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
|
133 available locales (ticket #24). |
192 | 134 * The name of the command-line script has been changed from just `babel` to |
135 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
152 | 136 |
137 | |
139 | 138 Version 0.8 |
139 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
140 (Jun 20 2007, from branches/stable/0.8.x) | |
141 | |
142 * First public release |