Mercurial > babel > mirror
annotate ChangeLog @ 600:e61e27d9347d trunk
"init" command support "--width" option (#284)
author | fschwarz |
---|---|
date | Mon, 20 Aug 2012 20:07:27 +0000 |
parents | f63a07d648b6 |
children | 7a8ee579f31e |
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/ |
574
99c48a6ca1d6
add "--no-wrap" option for init/update commands (#289)
fschwarz
parents:
569
diff
changeset
|
3 (? ? 2012 from trunk) |
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
|
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). |
427
de2b8a211501
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
046f43201bec
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). |
539
6d5452061971
add actual unit tests for #227 and add missing changelog entry
fschwarz
parents:
537
diff
changeset
|
30 * Fix so frontend.CommandLineInterface.run does not accumulate logging |
6d5452061971
add actual unit tests for #227 and add missing changelog entry
fschwarz
parents:
537
diff
changeset
|
31 handlers (#227, reported with initial patch by dfraser) |
536 | 32 * Fix exception if environment contains an invalid locale setting (#200) |
549
1de26da5aa25
use cPickle instead of pickle for better performance (fixes #225)
fschwarz
parents:
539
diff
changeset
|
33 * use cPickle instead of pickle for better performance (#225) |
557
4e561e6411ba
Only use bankers round algorithm as a tie breaker if there are two nearest numbers, round as usual if there is only one nearest number (#267, patch by Martin)
fschwarz
parents:
550
diff
changeset
|
34 * Only use bankers round algorithm as a tie breaker if there are two nearest |
4e561e6411ba
Only use bankers round algorithm as a tie breaker if there are two nearest numbers, round as usual if there is only one nearest number (#267, patch by Martin)
fschwarz
parents:
550
diff
changeset
|
35 numbers, round as usual if there is only one nearest number (#267, patch by |
4e561e6411ba
Only use bankers round algorithm as a tie breaker if there are two nearest numbers, round as usual if there is only one nearest number (#267, patch by Martin)
fschwarz
parents:
550
diff
changeset
|
36 Martin) |
569
1b801a0cb2cb
Support for context-aware methods during message extraction (fixes #229, patch by David Rios)
fschwarz
parents:
559
diff
changeset
|
37 * Allow disabling cache behaviour in LazyProxy (#208, initial patch from Pedro |
559
8831b754f81e
Allow disabling cache behaviour in LazyProxy (fixes #208, initial patch Pedro Algarvio)
fschwarz
parents:
557
diff
changeset
|
38 Algarvio) |
569
1b801a0cb2cb
Support for context-aware methods during message extraction (fixes #229, patch by David Rios)
fschwarz
parents:
559
diff
changeset
|
39 * Support for context-aware methods during message extraction (#229, patch |
1b801a0cb2cb
Support for context-aware methods during message extraction (fixes #229, patch by David Rios)
fschwarz
parents:
559
diff
changeset
|
40 from David Rios) |
574
99c48a6ca1d6
add "--no-wrap" option for init/update commands (#289)
fschwarz
parents:
569
diff
changeset
|
41 * "init" and "update" commands support "--no-wrap" option (#289) |
576
e77dd06c40ef
fix formatting of fraction in format_decimal() if the input value is a float with more than 7 significant digits (#183)
fschwarz
parents:
574
diff
changeset
|
42 * fix formatting of fraction in format_decimal() if the input value is a float |
e77dd06c40ef
fix formatting of fraction in format_decimal() if the input value is a float with more than 7 significant digits (#183)
fschwarz
parents:
574
diff
changeset
|
43 with more than 7 significant digits (#183) |
578 | 44 * fix format_date() with datetime parameter (#282, patch from Xavier Morel) |
580
ea413a4d754b
fix format_decimal() with small Decimal values (#214, patch from George Lund)
fschwarz
parents:
578
diff
changeset
|
45 * fix format_decimal() with small Decimal values (#214, patch from George Lund) |
585
5c9dba5dd311
handle irregular multi-line msgstr (no "" as first line) gracefully (#171)
fschwarz
parents:
582
diff
changeset
|
46 * fix handling of messages containing '\\n' (#198) |
5c9dba5dd311
handle irregular multi-line msgstr (no "" as first line) gracefully (#171)
fschwarz
parents:
582
diff
changeset
|
47 * handle irregular multi-line msgstr (no "" as first line) gracefully (#171) |
587
964cd2ec6f94
parse_decimal() now returns Decimals not floats, API change (#178)
fschwarz
parents:
585
diff
changeset
|
48 * parse_decimal() now returns Decimals not floats, API change (#178) |
589
c8bef607128c
no warnings when running setup.py without installed setuptools (#262)
fschwarz
parents:
587
diff
changeset
|
49 * no warnings when running setup.py without installed setuptools (#262) |
591
d1618dfaf114
change Locale comparison: Locales are now considered equal if all of their attributes (language, territory, script, variant) are equal. Before __eq__ used the simple string representation which hides errors in Locale instantiation (see #279 and #311 for more information).
fschwarz
parents:
589
diff
changeset
|
50 * modified Locale.__eq__ method so Locales are only equal if all of their |
d1618dfaf114
change Locale comparison: Locales are now considered equal if all of their attributes (language, territory, script, variant) are equal. Before __eq__ used the simple string representation which hides errors in Locale instantiation (see #279 and #311 for more information).
fschwarz
parents:
589
diff
changeset
|
51 attributes (language, territory, script, variant) are equal |
593
99983baf1067
resort to hard-coded message extractors/checkers if pkg_resources is installed but no egg-info was found (#230)
fschwarz
parents:
591
diff
changeset
|
52 * resort to hard-coded message extractors/checkers if pkg_resources is |
99983baf1067
resort to hard-coded message extractors/checkers if pkg_resources is installed but no egg-info was found (#230)
fschwarz
parents:
591
diff
changeset
|
53 installed but no egg-info was found (#230) |
594
5ba68e40d1d0
format_time() and format_datetime() now accept also floats (#242)
fschwarz
parents:
593
diff
changeset
|
54 * format_time() and format_datetime() now accept also floats (#242) |
596
f63a07d648b6
add babel.support.NullTranslations class similar to gettext.NullTranslations but with all of Babel's new *gettext methods (#277)
fschwarz
parents:
594
diff
changeset
|
55 * add babel.support.NullTranslations class similar to gettext.NullTranslations |
f63a07d648b6
add babel.support.NullTranslations class similar to gettext.NullTranslations but with all of Babel's new *gettext methods (#277)
fschwarz
parents:
594
diff
changeset
|
56 but with all of Babel's new *gettext methods (#277) |
600 | 57 * "init" command support "--width" option (#284) |
578 | 58 |
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
|
59 |
493 | 60 Version 0.9.6 |
61 http://svn.edgewall.org/repos/babel/tags/0.9.6/ | |
550 | 62 (Mar 17 2011, from branches/stable/0.9.x) |
493 | 63 |
64 * Backport r493-494: documentation typo fixes. | |
65 * Make the CLDR import script work with Python 2.7. | |
66 * Fix various typos. | |
537
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
67 * Fixed Python 2.3 compatibility (ticket #146, #233). |
493 | 68 * Sort output of list-locales. |
69 * Make the POT-Creation-Date of the catalog being updated equal to | |
70 POT-Creation-Date of the template used to update (ticket #148). | |
71 * Use a more explicit error message if no option or argument (command) is | |
72 passed to pybabel (ticket #81). | |
73 * Keep the PO-Revision-Date if it is not the default value (ticket #148). | |
74 * Make --no-wrap work by reworking --width's default and mimic xgettext's | |
75 behaviour of always wrapping comments (ticket #145). | |
76 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). | |
77 * Add --project and --version options for commandline (ticket #173). | |
78 * Add a __ne__() method to the Local class. | |
79 * Explicitly sort instead of using sorted() and don't assume ordering | |
80 (Python 2.3 and Jython compatibility). | |
81 * Removed ValueError raising for string formatting message checkers if the | |
82 string does not contain any string formattings (ticket #150). | |
83 * Fix Serbian plural forms (ticket #213). | |
537
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
84 * Small speed improvement in format_date() (ticket #216). |
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
85 * Fix number formatting for locales where CLDR specifies alt or draft |
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
86 items (ticket #217) |
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
87 * Fix bad check in format_time (ticket #257, reported with patch and tests by |
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
88 jomae) |
539
6d5452061971
add actual unit tests for #227 and add missing changelog entry
fschwarz
parents:
537
diff
changeset
|
89 * Fix so frontend.CommandLineInterface.run does not accumulate logging |
6d5452061971
add actual unit tests for #227 and add missing changelog entry
fschwarz
parents:
537
diff
changeset
|
90 handlers (#227, reported with initial patch by dfraser) |
537
93fc8b202287
add missing changelog entries in 0.9.6 section of trunk changelog
fschwarz
parents:
536
diff
changeset
|
91 * Fix exception if environment contains an invalid locale setting (#200) |
493 | 92 |
93 | |
454 | 94 Version 0.9.5 |
95 http://svn.edgewall.org/repos/babel/tags/0.9.5/ | |
96 (Apr 6 2010, from branches/stable/0.9.x) | |
97 | |
98 * Fixed the case where messages containing square brackets would break with | |
99 an unpack error. | |
100 * Backport of r467: Fuzzy matching regarding plurals should *NOT* be checked | |
101 against len(message.id) because this is always 2, instead, it's should be | |
102 checked against catalog.num_plurals (ticket #212). | |
103 | |
104 | |
396 | 105 Version 0.9.4 |
106 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
406 | 107 (Aug 25 2008, from branches/stable/0.9.x) |
396 | 108 |
109 * Currency symbol definitions that is defined with choice patterns in the | |
110 CLDR data are no longer imported, so the symbol code will be used instead. | |
111 * 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
|
112 * 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
|
113 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
|
114 * 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
|
115 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
|
116 * 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
|
117 "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
|
118 Manlio Perillo for the suggestion. |
406 | 119 * Fixed JavaScript extraction for regular expression literals (ticket #138) |
120 and concatenated strings. | |
409 | 121 * 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
|
122 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
|
123 (ticket #137). |
396 | 124 |
125 | |
322 | 126 Version 0.9.3 |
127 http://svn.edgewall.org/repos/babel/tags/0.9.3/ | |
380 | 128 (Jul 9 2008, from branches/stable/0.9.x) |
322 | 129 |
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
|
130 * 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
|
131 * 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
|
132 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
|
133 * 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
|
134 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
|
135 * 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
|
136 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
|
137 * 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
|
138 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
|
139 * 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
|
140 * Updated to CLDR 1.6. |
348
76bfb34282af
Fixes for timezone calculations in time formatting (#83).
cmlenz
parents:
345
diff
changeset
|
141 * Fixed timezone calculations when formatting datetime and time values. |
374
c79e7d5bb3a6
Added changelog entry for new `get_plural` function.
aronacher
parents:
348
diff
changeset
|
142 * 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
|
143 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
|
144 * 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
|
145 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
|
146 (ticket #68). |
339 | 147 |
322 | 148 |
292 | 149 Version 0.9.2 |
150 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
380 | 151 (Feb 4 2008, from branches/stable/0.9.x) |
292 | 152 |
294 | 153 * Fixed catalogs' charset values not being recognized (ticket #66). |
317 | 154 * Numerous improvements to the default plural forms. |
312
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
155 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
315 | 156 * Fixed bug in catalog updating, that in some cases pulled in translations |
157 from different catalogs based on the same template. | |
158 * Location lines in PO files do no longer get wrapped at hyphens in file | |
159 names (ticket #79). | |
317 | 160 * Fixed division by zero error in catalog compilation on empty catalogs |
161 (ticket #60). | |
312
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
162 |
25b883553910
Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents:
294
diff
changeset
|
163 |
277
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
164 Version 0.9.1 |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
165 http://svn.edgewall.org/repos/babel/tags/0.9.1/ |
285 | 166 (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
|
167 |
285 | 168 * Fixed catalog updating when a message is merged that was previously simple |
169 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
|
170 `ngettext`, or vice versa. |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
171 * 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
|
172 * Fixed output encoding of the `pybabel --list-locales` command. |
320 | 173 * 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
|
174 |
9886bf6f2d15
Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents:
263
diff
changeset
|
175 |
160 | 176 Version 0.9 |
177 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
263 | 178 (Aug 20 2007, from branches/stable/0.9.x) |
160 | 179 |
187 | 180 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
181 consistency with the command-line frontend. | |
219 | 182 * Added compilation of message catalogs to MO files (ticket #21). |
183 * Added updating of message catalogs from POT files (ticket #22). | |
213 | 184 * Support for significant digits in number formatting. |
185 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
186 manner. | |
219 | 187 * The number formatting functions now also work with numbers represented by |
188 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
|
189 * Added extensible infrastructure for validating translation catalogs. |
222 | 190 * Fixed the extractor not filtering out messages that didn't validate against |
191 the keyword's specification (ticket #39). | |
192 * Fixed the extractor raising an exception when encountering an empty string | |
193 msgid. It now emits a warning to stderr. | |
194 * Numerous Python message extractor fixes: it now handles nested function | |
195 calls within a gettext function call correctly, uses the correct line number | |
196 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
|
197 * 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
|
198 strings (ticket #57). |
233
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
199 * CLDR upgraded to the 1.5 release. |
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
200 * Improved timezone formatting. |
263 | 201 * Implemented scientific number formatting. |
202 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
203 on including only the language code in the `Accept-Language` header, and | |
204 sometimes even the incorrect language code. | |
160 | 205 |
166 | 206 |
152 | 207 Version 0.8.1 |
208 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
192 | 209 (Jul 2 2007, from branches/stable/0.8.x) |
152 | 210 |
211 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
212 variable contained multiple language codes separated by colon, as is | |
213 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
214 function is called at the module level in some modules, this bug would | |
215 completely break importing these modules on systems where `LANGUAGE` is set | |
216 that way. | |
217 * The character set specified in PO template files is now respected when | |
218 creating new catalog files based on that template. This allows the use of | |
219 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
|
220 * 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
|
221 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
|
222 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
|
223 are now always sorted alphabetically. |
166 | 224 * The Python message extractor now respects the special encoding comment to be |
225 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
|
226 * Added 'N_' (gettext noop) to the extractor's default keywords. |
183 | 227 * Made locale string parsing more robust, and also take the script part into |
228 account (ticket #27). | |
185
6503a227ba93
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
229 * Added a function to list all locales for which locale data is available. |
192 | 230 * 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
|
231 available locales (ticket #24). |
192 | 232 * The name of the command-line script has been changed from just `babel` to |
233 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
152 | 234 |
235 | |
139 | 236 Version 0.8 |
237 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
238 (Jun 20 2007, from branches/stable/0.8.x) | |
239 | |
240 * First public release |