annotate ChangeLog @ 403:dc2f49f83087

Strip locale modifiers when parsing (#136), and treat 'C' and 'POSIX' as aliases for 'en_US_POSIX'.
author cmlenz
date Wed, 06 Aug 2008 10:20:49 +0000
parents 3510257d57d3
children b46081c35877
rev   line source
395
b4d207b1522d 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
b4d207b1522d 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/
b4d207b1522d 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)
b4d207b1522d 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
b4d207b1522d 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.
b4d207b1522d 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
b4d207b1522d 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).
b4d207b1522d 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
b4d207b1522d 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
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
10 Version 0.9.4
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
11 http://svn.edgewall.org/repos/babel/tags/0.9.4/
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
12 (???, from branches/stable/0.9.x)
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
13
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
14 * Currency symbol definitions that is defined with choice patterns in the
b283ae0e098d 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.
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
16 * Fixed quarter support in date formatting.
399
3510257d57d3 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
3510257d57d3 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
dc2f49f83087 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
dc2f49f83087 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).
dc2f49f83087 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
dc2f49f83087 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
dc2f49f83087 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.
396
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
24
b283ae0e098d Fixed quarters in date formatting.
cmlenz
parents: 395
diff changeset
25
322
8c634fa87793 fix invalid message extraction methods causing:
pjenvey
parents: 320
diff changeset
26 Version 0.9.3
8c634fa87793 fix invalid message extraction methods causing:
pjenvey
parents: 320
diff changeset
27 http://svn.edgewall.org/repos/babel/tags/0.9.3/
380
4103f3a757f2 Fix dates in ChangeLog.
cmlenz
parents: 375
diff changeset
28 (Jul 9 2008, from branches/stable/0.9.x)
322
8c634fa87793 fix invalid message extraction methods causing:
pjenvey
parents: 320
diff changeset
29
338
6fe060286ff0 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
30 * Fixed invalid message extraction methods causing an UnboundLocalError.
345
64d340f76701 Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents: 339
diff changeset
31 * Extraction method specification can now use a dot instead of the colon to
64d340f76701 Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents: 339
diff changeset
32 separate module and function name (ticket #105).
64d340f76701 Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents: 339
diff changeset
33 * Fixed message catalog compilation for locales with more than two plural
64d340f76701 Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents: 339
diff changeset
34 forms (ticket #95).
64d340f76701 Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents: 339
diff changeset
35 * Fixed compilation of message catalogs for locales with more than two plural
64d340f76701 Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
cmlenz
parents: 339
diff changeset
36 forms where the translations were empty (ticket #97).
338
6fe060286ff0 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
37 * The stripping of the comment tags in comments is optional now and
6fe060286ff0 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
38 is done for each line in a comment.
375
369300a7ebd3 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 a JavaScript message extractor.
369300a7ebd3 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 * Updated to CLDR 1.6.
348
6482dc682455 Fixes for timezone calculations in time formatting (#83).
cmlenz
parents: 345
diff changeset
41 * Fixed timezone calculations when formatting datetime and time values.
374
edc3428a34de Added changelog entry for new `get_plural` function.
aronacher
parents: 348
diff changeset
42 * Added a `get_plural` function into the plurals module that returns the
edc3428a34de Added changelog entry for new `get_plural` function.
aronacher
parents: 348
diff changeset
43 correct plural forms for a locale as tuple.
375
369300a7ebd3 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
44 * Added support for alias definitions in the CLDR data files, meaning that
369300a7ebd3 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
45 the chance for items missing in certain locales should be greatly reduced
369300a7ebd3 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 (ticket #68).
339
6104e7967a12 Added !JavaScript extractor
aronacher
parents: 338
diff changeset
47
322
8c634fa87793 fix invalid message extraction methods causing:
pjenvey
parents: 320
diff changeset
48
292
a59bf720ef60 woops, misplaced changelog
pjenvey
parents: 291
diff changeset
49 Version 0.9.2
a59bf720ef60 woops, misplaced changelog
pjenvey
parents: 291
diff changeset
50 http://svn.edgewall.org/repos/babel/tags/0.9.2/
380
4103f3a757f2 Fix dates in ChangeLog.
cmlenz
parents: 375
diff changeset
51 (Feb 4 2008, from branches/stable/0.9.x)
292
a59bf720ef60 woops, misplaced changelog
pjenvey
parents: 291
diff changeset
52
294
94d7e2cc9938 mention the ticket, #66, in the last changelog
pjenvey
parents: 292
diff changeset
53 * Fixed catalogs' charset values not being recognized (ticket #66).
317
1837758b02be Fix for #60.
cmlenz
parents: 315
diff changeset
54 * Numerous improvements to the default plural forms.
312
61e6b1933af4 Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents: 294
diff changeset
55 * Fixed fuzzy matching when updating message catalogs (ticket #82).
315
5e80cf8e3299 Fix for #79 (location lines wrapping at hyphens).
cmlenz
parents: 313
diff changeset
56 * Fixed bug in catalog updating, that in some cases pulled in translations
5e80cf8e3299 Fix for #79 (location lines wrapping at hyphens).
cmlenz
parents: 313
diff changeset
57 from different catalogs based on the same template.
5e80cf8e3299 Fix for #79 (location lines wrapping at hyphens).
cmlenz
parents: 313
diff changeset
58 * Location lines in PO files do no longer get wrapped at hyphens in file
5e80cf8e3299 Fix for #79 (location lines wrapping at hyphens).
cmlenz
parents: 313
diff changeset
59 names (ticket #79).
317
1837758b02be Fix for #60.
cmlenz
parents: 315
diff changeset
60 * Fixed division by zero error in catalog compilation on empty catalogs
1837758b02be Fix for #60.
cmlenz
parents: 315
diff changeset
61 (ticket #60).
312
61e6b1933af4 Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents: 294
diff changeset
62
61e6b1933af4 Fix catalog updating with fuzzy matches. Closes #82.
cmlenz
parents: 294
diff changeset
63
277
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
64 Version 0.9.1
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
65 http://svn.edgewall.org/repos/babel/tags/0.9.1/
285
8e254e72c1cc Updated ChangeLog for [milestone:0.9.1].
cmlenz
parents: 279
diff changeset
66 (Sep 7 2007, from branches/stable/0.9.x)
277
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
67
285
8e254e72c1cc Updated ChangeLog for [milestone:0.9.1].
cmlenz
parents: 279
diff changeset
68 * Fixed catalog updating when a message is merged that was previously simple
8e254e72c1cc Updated ChangeLog for [milestone:0.9.1].
cmlenz
parents: 279
diff changeset
69 but now has a plural form, for example by moving from `gettext` to
277
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
70 `ngettext`, or vice versa.
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
71 * Fixed time formatting for 12 am and 12 pm.
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
72 * Fixed output encoding of the `pybabel --list-locales` command.
320
0f23b90ded7e Prepare ChangeLog for [milestone:0.9.2] release.
cmlenz
parents: 317
diff changeset
73 * MO files are now written in binary mode on windows (ticket #61).
277
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
74
7a3f4ca113e4 Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
cmlenz
parents: 263
diff changeset
75
160
80e51aabc440 Add MO file generation. Closes #21.
cmlenz
parents: 154
diff changeset
76 Version 0.9
80e51aabc440 Add MO file generation. Closes #21.
cmlenz
parents: 154
diff changeset
77 http://svn.edgewall.org/repos/babel/tags/0.9.0/
263
440bf35bf3d1 Updated ChangeLog for [milestone:0.9].
cmlenz
parents: 233
diff changeset
78 (Aug 20 2007, from branches/stable/0.9.x)
160
80e51aabc440 Add MO file generation. Closes #21.
cmlenz
parents: 154
diff changeset
79
187
7d036c8dcbba Add renaming of `init_catalog` to ChangeLog.
cmlenz
parents: 185
diff changeset
80 * The `new_catalog` distutils command has been renamed to `init_catalog` for
7d036c8dcbba Add renaming of `init_catalog` to ChangeLog.
cmlenz
parents: 185
diff changeset
81 consistency with the command-line frontend.
219
a9371d7a9929 Updated ChangeLog.
cmlenz
parents: 213
diff changeset
82 * Added compilation of message catalogs to MO files (ticket #21).
a9371d7a9929 Updated ChangeLog.
cmlenz
parents: 213
diff changeset
83 * Added updating of message catalogs from POT files (ticket #22).
213
8ad0863a6a5d Added ChangeLog entries for [216:217].
cmlenz
parents: 192
diff changeset
84 * Support for significant digits in number formatting.
8ad0863a6a5d Added ChangeLog entries for [216:217].
cmlenz
parents: 192
diff changeset
85 * Apply proper "banker's rounding" in number formatting in a cross-platform
8ad0863a6a5d Added ChangeLog entries for [216:217].
cmlenz
parents: 192
diff changeset
86 manner.
219
a9371d7a9929 Updated ChangeLog.
cmlenz
parents: 213
diff changeset
87 * The number formatting functions now also work with numbers represented by
a9371d7a9929 Updated ChangeLog.
cmlenz
parents: 213
diff changeset
88 Python `Decimal` objects (ticket #53).
220
677147547e2d Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents: 219
diff changeset
89 * Added extensible infrastructure for validating translation catalogs.
222
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
90 * Fixed the extractor not filtering out messages that didn't validate against
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
91 the keyword's specification (ticket #39).
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
92 * Fixed the extractor raising an exception when encountering an empty string
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
93 msgid. It now emits a warning to stderr.
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
94 * Numerous Python message extractor fixes: it now handles nested function
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
95 calls within a gettext function call correctly, uses the correct line number
7945923e5fa6 o extract_python fixes:
pjenvey
parents: 220
diff changeset
96 for multi-line function calls, and other small fixes (tickets #38 and #39).
225
3703ded648ab Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents: 222
diff changeset
97 * Improved support for detecting Python string formatting fields in message
3703ded648ab Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents: 222
diff changeset
98 strings (ticket #57).
233
bc22f5aef216 Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents: 225
diff changeset
99 * CLDR upgraded to the 1.5 release.
bc22f5aef216 Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents: 225
diff changeset
100 * Improved timezone formatting.
263
440bf35bf3d1 Updated ChangeLog for [milestone:0.9].
cmlenz
parents: 233
diff changeset
101 * Implemented scientific number formatting.
440bf35bf3d1 Updated ChangeLog for [milestone:0.9].
cmlenz
parents: 233
diff changeset
102 * Added mechanism to lookup locales by alias, for cases where browsers insist
440bf35bf3d1 Updated ChangeLog for [milestone:0.9].
cmlenz
parents: 233
diff changeset
103 on including only the language code in the `Accept-Language` header, and
440bf35bf3d1 Updated ChangeLog for [milestone:0.9].
cmlenz
parents: 233
diff changeset
104 sometimes even the incorrect language code.
160
80e51aabc440 Add MO file generation. Closes #21.
cmlenz
parents: 154
diff changeset
105
166
16d9c5fa593f Added note on [167] to ChangeLog.
cmlenz
parents: 160
diff changeset
106
152
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
107 Version 0.8.1
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
108 http://svn.edgewall.org/repos/babel/tags/0.8.1/
192
4087d50ff40e Move change for #34 to 0.8.1 release in ChangeLog.
cmlenz
parents: 189
diff changeset
109 (Jul 2 2007, from branches/stable/0.8.x)
152
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
110
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
111 * `default_locale()` would fail when the value of the `LANGUAGE` environment
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
112 variable contained multiple language codes separated by colon, as is
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
113 explicitly allowed by the GNU gettext tools. As the `default_locale()`
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
114 function is called at the module level in some modules, this bug would
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
115 completely break importing these modules on systems where `LANGUAGE` is set
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
116 that way.
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
117 * The character set specified in PO template files is now respected when
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
118 creating new catalog files based on that template. This allows the use of
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
119 characters outside the ASCII range in POT files (ticket #17).
154
4d2117dfd7f5 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
120 * The default ordering of messages in generated POT files, which is based on
4d2117dfd7f5 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
121 the order those messages are found when walking the source tree, is no
4d2117dfd7f5 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 longer subject to differences between platforms; directory and file names
4d2117dfd7f5 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 are now always sorted alphabetically.
166
16d9c5fa593f Added note on [167] to ChangeLog.
cmlenz
parents: 160
diff changeset
124 * The Python message extractor now respects the special encoding comment to be
16d9c5fa593f Added note on [167] to ChangeLog.
cmlenz
parents: 160
diff changeset
125 able to handle files containing non-ASCII characters (ticket #23).
179
10f9fd9e730b added 'N_' (gettext noop) to the extractor's default keywords
pjenvey
parents: 166
diff changeset
126 * Added 'N_' (gettext noop) to the extractor's default keywords.
183
6658dd28c6ca ChangeLog entry for [185].
cmlenz
parents: 181
diff changeset
127 * Made locale string parsing more robust, and also take the script part into
6658dd28c6ca ChangeLog entry for [185].
cmlenz
parents: 181
diff changeset
128 account (ticket #27).
185
170cffc66554 Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents: 183
diff changeset
129 * Added a function to list all locales for which locale data is available.
192
4087d50ff40e Move change for #34 to 0.8.1 release in ChangeLog.
cmlenz
parents: 189
diff changeset
130 * Added a command-line option to the `pybabel` command which prints out all
185
170cffc66554 Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents: 183
diff changeset
131 available locales (ticket #24).
192
4087d50ff40e Move change for #34 to 0.8.1 release in ChangeLog.
cmlenz
parents: 189
diff changeset
132 * The name of the command-line script has been changed from just `babel` to
4087d50ff40e Move change for #34 to 0.8.1 release in ChangeLog.
cmlenz
parents: 189
diff changeset
133 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34).
152
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
134
4b8ec5f16c85 Updated change log with recent fixes.
cmlenz
parents: 139
diff changeset
135
139
61d40b36ff06 Initialized change log.
cmlenz
parents: 1
diff changeset
136 Version 0.8
61d40b36ff06 Initialized change log.
cmlenz
parents: 1
diff changeset
137 http://svn.edgewall.org/repos/babel/tags/0.8.0/
61d40b36ff06 Initialized change log.
cmlenz
parents: 1
diff changeset
138 (Jun 20 2007, from branches/stable/0.8.x)
61d40b36ff06 Initialized change log.
cmlenz
parents: 1
diff changeset
139
61d40b36ff06 Initialized change log.
cmlenz
parents: 1
diff changeset
140 * First public release
Copyright (C) 2012-2017 Edgewall Software