Mercurial > babel > old > mirror
annotate 0.9.x/ChangeLog @ 492:5dd7b2ac7014 stable
Merged revisions 540 via svnmerge from
http://svn.edgewall.org/repos/babel/trunk
........
r540 | jruigrok | 2010-04-11 11:27:20 +0200 (zo, 11 apr 2010) | 4 lines
Fix Serbian plural forms (ticket #213).
Submitted by: Patrice Neff
........
author | jruigrok |
---|---|
date | Sun, 11 Apr 2010 09:28:11 +0000 |
parents | 58bd100bb5ed |
children | 4faca8f11408 |
rev | line source |
---|---|
465 | 1 Version 0.9.6 |
2 http://svn.edgewall.org/repos/babel/tags/0.9.6/ | |
3 (? ? 2010, from branches/stable/0.9.x) | |
4 | |
466 | 5 * Backport r493-494: documentation typo fixes. |
471 | 6 * Make the CLDR import script work with Python 2.7. |
472 | 7 * Fix various typos. |
8 * Sort output of list-locales. | |
474 | 9 * Make the POT-Creation-Date of the catalog being updated equal to |
10 POT-Creation-Date of the template used to update (ticket #148). | |
476 | 11 * Use a more explicit error message if no option or argument (command) is |
12 passed to pybabel (ticket #81). | |
477 | 13 * Keep the PO-Revision-Date if it is not the default value (ticket #148). |
478 | 14 * Make --no-wrap work by reworking --width's default and mimic xgettext's |
15 behaviour of always wrapping comments (ticket #145). | |
481 | 16 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). |
484 | 17 * Add --project and --version options for commandline (ticket #173). |
485 | 18 * Add a __ne__() method to the Local class. |
487 | 19 * Explicitly sort instead of using sorted() and don't assume ordering |
20 (Python 2.3 and Jython compatibility). | |
490 | 21 * Removed ValueError raising for string formatting message checkers if the |
22 string does not contain any string formattings (ticket #150). | |
492 | 23 * Fix Serbian plural forms (ticket #213). |
466 | 24 |
465 | 25 |
450
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
26 Version 0.9.5 |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
27 http://svn.edgewall.org/repos/babel/tags/0.9.5/ |
455 | 28 (Apr 6 2010, from branches/stable/0.9.x) |
450
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
29 |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
30 * Fixed the case where messages containing square brackets would break with |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
31 an unpack error. |
454 | 32 * Backport of r467: Fuzzy matching regarding plurals should *NOT* be checked |
33 against len(message.id) because this is always 2, instead, it's should be | |
34 checked against catalog.num_plurals (ticket #212). | |
450
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
35 |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
36 |
399 | 37 Version 0.9.4 |
38 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
409 | 39 (Aug 25 2008, from branches/stable/0.9.x) |
399 | 40 |
41 * Currency symbol definitions that is defined with choice patterns in the | |
42 CLDR data are no longer imported, so the symbol code will be used instead. | |
43 * Fixed quarter support in date formatting. | |
402 | 44 * Fixed a serious memory leak that was introduces by the support for CLDR |
45 aliases in 0.9.3 (ticket #128). | |
409 | 46 * Locale modifiers such as "@euro" are now stripped from locale identifiers |
47 when parsing (ticket #136). | |
48 * The system locales "C" and "POSIX" are now treated as aliases for | |
49 "en_US_POSIX", for which the CLDR provides the appropriate data. Thanks to | |
50 Manlio Perillo for the suggestion. | |
51 * Fixed JavaScript extraction for regular expression literals (ticket #138) | |
52 and concatenated strings. | |
415 | 53 * The `Translation` class in `babel.support` can now manage catalogs with |
54 different message domains, and exposes the family of `d*gettext` functions | |
55 (ticket #137). | |
399 | 56 |
57 | |
348
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
58 Version 0.9.3 |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
59 http://svn.edgewall.org/repos/babel/tags/0.9.3/ |
383 | 60 (Jul 9 2008, from branches/stable/0.9.x) |
348
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
61 |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
62 * Fixed invalid message extraction methods causing an UnboundLocalError. |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
63 * Extraction method specification can now use a dot instead of the colon to |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
64 separate module and function name (ticket #105). |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
65 * Fixed message catalog compilation for locales with more than two plural |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
66 forms (ticket #95). |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
67 * Fixed compilation of message catalogs for locales with more than two plural |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
68 forms where the translations were empty (ticket #97). |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
69 * The stripping of the comment tags in comments is optional now and |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
70 is done for each line in a comment. |
381 | 71 * Added a JavaScript message extractor. |
72 * Updated to CLDR 1.6. | |
351 | 73 * Fixed timezone calculations when formatting datetime and time values. |
381 | 74 * Added a `get_plural` function into the plurals module that returns the |
75 correct plural forms for a locale as tuple. | |
76 * Added support for alias definitions in the CLDR data files, meaning that | |
77 the chance for items missing in certain locales should be greatly reduced | |
78 (ticket #68). | |
348
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
79 |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
80 |
295 | 81 Version 0.9.2 |
82 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
383 | 83 (Feb 4 2008, from branches/stable/0.9.x) |
295 | 84 |
297 | 85 * Fixed catalogs' charset values not being recognized (ticket #66). |
320
cd588918443e
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
318
diff
changeset
|
86 * Numerous improvements to the default plural forms. |
316 | 87 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
318 | 88 * Fixed bug in catalog updating, that in some cases pulled in translations |
89 from different catalogs based on the same template. | |
90 * Location lines in PO files do no longer get wrapped at hyphens in file | |
91 names (ticket #79). | |
320
cd588918443e
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
318
diff
changeset
|
92 * Fixed division by zero error in catalog compilation on empty catalogs |
cd588918443e
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
318
diff
changeset
|
93 (ticket #60). |
316 | 94 |
95 | |
280 | 96 Version 0.9.1 |
97 http://svn.edgewall.org/repos/babel/tags/0.9.1/ | |
288 | 98 (Sep 7 2007, from branches/stable/0.9.x) |
280 | 99 |
288 | 100 * Fixed catalog updating when a message is merged that was previously simple |
101 but now has a plural form, for example by moving from `gettext` to | |
280 | 102 `ngettext`, or vice versa. |
103 * Fixed time formatting for 12 am and 12 pm. | |
104 * Fixed output encoding of the `pybabel --list-locales` command. | |
323 | 105 * MO files are now written in binary mode on windows (ticket #61). |
280 | 106 |
107 | |
263 | 108 Version 0.9 |
109 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
266 | 110 (Aug 20 2007, from branches/stable/0.9.x) |
263 | 111 |
112 * The `new_catalog` distutils command has been renamed to `init_catalog` for | |
113 consistency with the command-line frontend. | |
114 * Added compilation of message catalogs to MO files (ticket #21). | |
115 * Added updating of message catalogs from POT files (ticket #22). | |
116 * Support for significant digits in number formatting. | |
117 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
118 manner. | |
119 * The number formatting functions now also work with numbers represented by | |
120 Python `Decimal` objects (ticket #53). | |
121 * Added extensible infrastructure for validating translation catalogs. | |
122 * Fixed the extractor not filtering out messages that didn't validate against | |
123 the keyword's specification (ticket #39). | |
124 * Fixed the extractor raising an exception when encountering an empty string | |
125 msgid. It now emits a warning to stderr. | |
126 * Numerous Python message extractor fixes: it now handles nested function | |
127 calls within a gettext function call correctly, uses the correct line number | |
128 for multi-line function calls, and other small fixes (tickets #38 and #39). | |
129 * Improved support for detecting Python string formatting fields in message | |
130 strings (ticket #57). | |
131 * CLDR upgraded to the 1.5 release. | |
132 * Improved timezone formatting. | |
266 | 133 * Implemented scientific number formatting. |
134 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
135 on including only the language code in the `Accept-Language` header, and | |
136 sometimes even the incorrect language code. | |
263 | 137 |
138 | |
139 Version 0.8.1 | |
140 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
141 (Jul 2 2007, from branches/stable/0.8.x) | |
142 | |
143 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
144 variable contained multiple language codes separated by colon, as is | |
145 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
146 function is called at the module level in some modules, this bug would | |
147 completely break importing these modules on systems where `LANGUAGE` is set | |
148 that way. | |
149 * The character set specified in PO template files is now respected when | |
150 creating new catalog files based on that template. This allows the use of | |
151 characters outside the ASCII range in POT files (ticket #17). | |
152 * The default ordering of messages in generated POT files, which is based on | |
153 the order those messages are found when walking the source tree, is no | |
154 longer subject to differences between platforms; directory and file names | |
155 are now always sorted alphabetically. | |
156 * The Python message extractor now respects the special encoding comment to be | |
157 able to handle files containing non-ASCII characters (ticket #23). | |
158 * Added 'N_' (gettext noop) to the extractor's default keywords. | |
159 * Made locale string parsing more robust, and also take the script part into | |
160 account (ticket #27). | |
161 * Added a function to list all locales for which locale data is available. | |
162 * Added a command-line option to the `pybabel` command which prints out all | |
163 available locales (ticket #24). | |
164 * The name of the command-line script has been changed from just `babel` to | |
165 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
166 | |
167 | |
168 Version 0.8 | |
169 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
170 (Jun 20 2007, from branches/stable/0.8.x) | |
171 | |
172 * First public release |