Mercurial > babel > old > mirror
annotate ChangeLog @ 534:169aa16b3c57
added some more items to svn:ignore
author | fschwarz |
---|---|
date | Sat, 05 Mar 2011 17:13:13 +0000 |
parents | e57f6c0e371b |
children | 6069dbf79115 |
rev | line source |
---|---|
397
ff9a6a37eb72
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:
382
diff
changeset
|
1 Version 1.0 |
ff9a6a37eb72
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:
382
diff
changeset
|
2 http://svn.edgewall.org/repos/babel/tags/1.0.0/ |
496 | 3 (? ? 2010 from branches/stable/1.0.x) |
397
ff9a6a37eb72
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:
382
diff
changeset
|
4 |
ff9a6a37eb72
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:
382
diff
changeset
|
5 * Added support for the locale plural rules defined by the CLDR. |
ff9a6a37eb72
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:
382
diff
changeset
|
6 * Added `format_timedelta` function to support localized formatting of |
ff9a6a37eb72
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:
382
diff
changeset
|
7 relative times with strings such as "2 days" or "1 month" (ticket #126). |
429
08e2d18163d9
Fix Catalog._set_mime_headers' handing of negative offsets.
jruigrok
parents:
416
diff
changeset
|
8 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). |
451 | 9 * Fixed the case where messages containing square brackets would break with |
10 an unpack error. | |
11 * Updated to CLDR 1.7. | |
470 | 12 * Make the CLDR import script work with Python 2.7. |
496 | 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). | |
491 | 28 * Fix Serbian plural forms (ticket #213). |
504
c3fb31644920
Small speed improvement for format_date() by getting rid of duplicate parse_pattern.
jruigrok
parents:
499
diff
changeset
|
29 * Small speed improvement in format_date() (ticket #216). |
397
ff9a6a37eb72
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:
382
diff
changeset
|
30 |
ff9a6a37eb72
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:
382
diff
changeset
|
31 |
495 | 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 | |
456 | 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 | |
398 | 68 Version 0.9.4 |
69 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
408 | 70 (Aug 25 2008, from branches/stable/0.9.x) |
398 | 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. | |
401
3bfce5e0030d
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
cmlenz
parents:
398
diff
changeset
|
75 * Fixed a serious memory leak that was introduces by the support for CLDR |
3bfce5e0030d
Fix for memory leak reported in #128. Thanks to Manlio Perillo for reporting the problem.
cmlenz
parents:
398
diff
changeset
|
76 aliases in 0.9.3 (ticket #128). |
405
209a1ec1ee38
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
401
diff
changeset
|
77 * Locale modifiers such as "@euro" are now stripped from locale identifiers |
209a1ec1ee38
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
401
diff
changeset
|
78 when parsing (ticket #136). |
209a1ec1ee38
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
401
diff
changeset
|
79 * The system locales "C" and "POSIX" are now treated as aliases for |
209a1ec1ee38
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
401
diff
changeset
|
80 "en_US_POSIX", for which the CLDR provides the appropriate data. Thanks to |
209a1ec1ee38
Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
cmlenz
parents:
401
diff
changeset
|
81 Manlio Perillo for the suggestion. |
408 | 82 * Fixed JavaScript extraction for regular expression literals (ticket #138) |
83 and concatenated strings. | |
411 | 84 * The `Translation` class in `babel.support` can now manage catalogs with |
410
dc5b9feeab62
Add message domain support to the `Translations` class. Closes #137.
cmlenz
parents:
408
diff
changeset
|
85 different message domains, and exposes the family of `d*gettext` functions |
dc5b9feeab62
Add message domain support to the `Translations` class. Closes #137.
cmlenz
parents:
408
diff
changeset
|
86 (ticket #137). |
398 | 87 |
88 | |
324 | 89 Version 0.9.3 |
90 http://svn.edgewall.org/repos/babel/tags/0.9.3/ | |
382 | 91 (Jul 9 2008, from branches/stable/0.9.x) |
324 | 92 |
340
292c639506a3
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
aronacher
parents:
324
diff
changeset
|
93 * Fixed invalid message extraction methods causing an UnboundLocalError. |
347
c22f292731be
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
341
diff
changeset
|
94 * Extraction method specification can now use a dot instead of the colon to |
c22f292731be
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
341
diff
changeset
|
95 separate module and function name (ticket #105). |
c22f292731be
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
341
diff
changeset
|
96 * Fixed message catalog compilation for locales with more than two plural |
c22f292731be
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
341
diff
changeset
|
97 forms (ticket #95). |
c22f292731be
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
341
diff
changeset
|
98 * Fixed compilation of message catalogs for locales with more than two plural |
c22f292731be
Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents:
341
diff
changeset
|
99 forms where the translations were empty (ticket #97). |
340
292c639506a3
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
aronacher
parents:
324
diff
changeset
|
100 * The stripping of the comment tags in comments is optional now and |
292c639506a3
Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
aronacher
parents:
324
diff
changeset
|
101 is done for each line in a comment. |
377
841858d5b567
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:
376
diff
changeset
|
102 * Added a JavaScript message extractor. |
841858d5b567
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:
376
diff
changeset
|
103 * Updated to CLDR 1.6. |
350
e5db561bf70e
Fixes for timezone calculations in time formatting (#83).
cmlenz
parents:
347
diff
changeset
|
104 * Fixed timezone calculations when formatting datetime and time values. |
376
69260c099d9f
Added changelog entry for new `get_plural` function.
aronacher
parents:
350
diff
changeset
|
105 * Added a `get_plural` function into the plurals module that returns the |
69260c099d9f
Added changelog entry for new `get_plural` function.
aronacher
parents:
350
diff
changeset
|
106 correct plural forms for a locale as tuple. |
377
841858d5b567
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:
376
diff
changeset
|
107 * Added support for alias definitions in the CLDR data files, meaning that |
841858d5b567
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:
376
diff
changeset
|
108 the chance for items missing in certain locales should be greatly reduced |
841858d5b567
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:
376
diff
changeset
|
109 (ticket #68). |
341 | 110 |
324 | 111 |
294 | 112 Version 0.9.2 |
113 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
382 | 114 (Feb 4 2008, from branches/stable/0.9.x) |
294 | 115 |
296 | 116 * Fixed catalogs' charset values not being recognized (ticket #66). |
319 | 117 * Numerous improvements to the default plural forms. |
314
5c0bda4f20b1
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
296
diff
changeset
|
118 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
317 | 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). | |
319 | 123 * Fixed division by zero error in catalog compilation on empty catalogs |
124 (ticket #60). | |
314
5c0bda4f20b1
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
296
diff
changeset
|
125 |
5c0bda4f20b1
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
296
diff
changeset
|
126 |
279
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
127 Version 0.9.1 |
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
128 http://svn.edgewall.org/repos/babel/tags/0.9.1/ |
287 | 129 (Sep 7 2007, from branches/stable/0.9.x) |
279
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
130 |
287 | 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 | |
279
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
133 `ngettext`, or vice versa. |
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
134 * Fixed time formatting for 12 am and 12 pm. |
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
135 * Fixed output encoding of the `pybabel --list-locales` command. |
322 | 136 * MO files are now written in binary mode on windows (ticket #61). |
279
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
137 |
3308e9971fab
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
265
diff
changeset
|
138 |
162 | 139 Version 0.9 |
140 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
265 | 141 (Aug 20 2007, from branches/stable/0.9.x) |
162 | 142 |
189 | 143 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
144 consistency with the command-line frontend. | |
221 | 145 * Added compilation of message catalogs to MO files (ticket #21). |
146 * Added updating of message catalogs from POT files (ticket #22). | |
215 | 147 * Support for significant digits in number formatting. |
148 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
149 manner. | |
221 | 150 * The number formatting functions now also work with numbers represented by |
151 Python `Decimal` objects (ticket #53). | |
222
bd8b1301b27e
Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents:
221
diff
changeset
|
152 * Added extensible infrastructure for validating translation catalogs. |
224 | 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). | |
227
f358dd40a960
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
224
diff
changeset
|
160 * Improved support for detecting Python string formatting fields in message |
f358dd40a960
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
224
diff
changeset
|
161 strings (ticket #57). |
235
d0cd235ede46
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
227
diff
changeset
|
162 * CLDR upgraded to the 1.5 release. |
d0cd235ede46
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
227
diff
changeset
|
163 * Improved timezone formatting. |
265 | 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. | |
162 | 168 |
168 | 169 |
154 | 170 Version 0.8.1 |
171 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
194 | 172 (Jul 2 2007, from branches/stable/0.8.x) |
154 | 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). | |
156
0a41bd313985
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:
154
diff
changeset
|
183 * The default ordering of messages in generated POT files, which is based on |
0a41bd313985
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:
154
diff
changeset
|
184 the order those messages are found when walking the source tree, is no |
0a41bd313985
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:
154
diff
changeset
|
185 longer subject to differences between platforms; directory and file names |
0a41bd313985
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:
154
diff
changeset
|
186 are now always sorted alphabetically. |
168 | 187 * The Python message extractor now respects the special encoding comment to be |
188 able to handle files containing non-ASCII characters (ticket #23). | |
181
5c85c0ec4ef8
added 'N_' (gettext noop) to the extractor's default keywords
pjenvey
parents:
168
diff
changeset
|
189 * Added 'N_' (gettext noop) to the extractor's default keywords. |
185 | 190 * Made locale string parsing more robust, and also take the script part into |
191 account (ticket #27). | |
187
d3bde66ac8a9
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
185
diff
changeset
|
192 * Added a function to list all locales for which locale data is available. |
194 | 193 * Added a command-line option to the `pybabel` command which prints out all |
187
d3bde66ac8a9
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
185
diff
changeset
|
194 available locales (ticket #24). |
194 | 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). | |
154 | 197 |
198 | |
141 | 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 |