annotate ChangeLog @ 402:dd624ef2740d trunk

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