Skip to content

Commit e74720b

Browse files
J. David IbanezJ. David Ibanez
J. David Ibanez
authored and
J. David Ibanez
committed
Get back the "UPGRADE.txt" file. Merge back the old "CHANGES.txt" file.
1 parent cd6c3ff commit e74720b

File tree

3 files changed

+250
-235
lines changed

3 files changed

+250
-235
lines changed

CHANGES.txt

+231
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,234 @@
5757

5858
Translations
5959
- Added the italian version, by Marco Bizzarri
60+
61+
62+
***************************************************************************
63+
See "RELEASE.txt" for the changes between 0.8.1 and 1.1.0b3
64+
***************************************************************************
65+
66+
0.8.1 (2002/02/25)
67+
68+
Now the language selection algorithm is compliant with the
69+
RFC 2068 (HTTP 1.1).
70+
71+
New meta type LocalFolder. Now the "locale folders" feature of
72+
the Localizer meta type are is deprecated, the new meta type
73+
LocalFolder should be used instead.
74+
75+
Change internationalization of Python code from Python products.
76+
77+
Little cleanups: LocalObjects moved to LocalFiles;..
78+
79+
80+
0.8.0 (2002/01/31)
81+
82+
Fixed bug in the ZMI reported by Magnus Heino.
83+
84+
Fixed use of file system message catalogs from ZPT.
85+
86+
Some improvements in the LanguageManager API.
87+
88+
Updated the few tests available to use PyUnit.
89+
90+
Fixed export of message catalogs, now the empty message is included.
91+
92+
Now LocalContent is CatalogAware, still remains to update the catalog
93+
each time it's edited.
94+
95+
Now LocalPropertyManager implements __getattr__ to define attributes
96+
of the form <name>_<lang>.
97+
98+
Moved the changeLanguageForm and changeLanguage helper methods to
99+
the LanguageManager class.
100+
101+
Added the ugettext method in LocalObjects, beginning to work with
102+
unicode.
103+
104+
Disabled the global gettext method that was added with a dynamnic patch
105+
to to the Application class.
106+
107+
Improvements in the LocalPropertyManager web interface.
108+
109+
Now it's possible to change the default template for a LocalContent object.
110+
111+
112+
0.7.1 (2001/10/26)
113+
114+
Improved zgettext.py script
115+
116+
First unit tests.
117+
118+
More online help screens.
119+
120+
Several security fixes.
121+
122+
Several bugs fixed.
123+
124+
Some minor improvements in the user interfaces.
125+
126+
Completed internationalization.
127+
128+
Updated several translations: french, hungarian and spanish.
129+
130+
131+
0.7.0 (2001/10/10)
132+
133+
Several fixes in zgettext.py
134+
135+
New meta type MessageCatalog, it's possible to create message catalogs
136+
with any id. Now the Localizer class no longer stores messages, but it
137+
can contain MessageCatalog instances; specifically, if it contains a
138+
MC named "Messages" gettext will behave in a similar way than before.
139+
140+
New mixin class LanguageManager that allows to manage list of available
141+
languages and a default language. Used in LocalPropertyManager,
142+
MessageCatalog and Localizer classes.
143+
144+
Added a dtml-gettext tag, useful for long messages.
145+
146+
Added the hungarian translation, thanks to Gabor Suveg.
147+
148+
Updated documentation.
149+
150+
More online help screens, improved some web interfaces.
151+
152+
0.6.2 (2001/10/01)
153+
154+
Completed the list of languages, ISO 639 compliance.
155+
156+
Now the language negotation algortithm is implemented in
157+
a helper function (before this code was replicated in several
158+
places).
159+
160+
Improvements in the message catalog user interface. Added a
161+
help screen.
162+
163+
Minor changes in standard files (VERSION.txt and LICENSE.txt)
164+
to comply ZDG guidelines.
165+
166+
0.6.1 (2001/09/28)
167+
168+
Added "original language" to LocalPropertyManager.
169+
170+
Minor improvements in the LocalPropertyManager user interface.
171+
172+
Now Localizer can be refreshed, except if Zope version >= 2.4.1b1.
173+
174+
Added the basque translation.
175+
176+
changeLanguageForm is a LocalDTMLFile again. Read UPGRADE.txt if
177+
you're upgrading from 0.6.0
178+
179+
Some internal changes in the way message translations are searched.
180+
Sometimes the translations were looked for in the wrong place, this
181+
bug is fixed.
182+
183+
Now the localizer tutorial works with Zope < 2.4
184+
185+
0.6.0 (2001/09/25)
186+
187+
LocalPropertyManager
188+
189+
LocalProperty must be used always.
190+
191+
Improved user interface: posibility to add/delete languages;
192+
show only few properties at a time.
193+
194+
Added a isLocalPropertyManager class attribute.
195+
196+
LocalPropertyManager can be used as base class for ZClasses.
197+
198+
LocalContent
199+
200+
Inherit also from PropertyManeger.
201+
202+
Localizer
203+
204+
Export and import message catalogs to and from .pot/.po files.
205+
206+
Changed the way to hook/unhook the traversal machinery.
207+
208+
Now changeLanguageForm is a DTML Method.
209+
210+
Now get_available_languages returns a list of tuples: [(id, title),..]
211+
212+
New method get_languages_map, used from changeLanguageForm.
213+
214+
Securtiy
215+
216+
Use "Declarative Assertions".
217+
218+
Several bugs fixed, mainly related with local folders. Also fixes
219+
in zgettext.py, and probably others I don't remember now.
220+
221+
222+
0.5.1 (2001/07/19)
223+
224+
Several fixes for LocalPropertyManager and LocalContent.
225+
226+
Added a tutorial (localizer_tutorial.zexp).
227+
228+
Now __version__ module attributes show the CVS revision number.
229+
230+
0.5.0 (2001/07/17)
231+
232+
Reorganization of the directory structure.
233+
234+
Added the LocalPropertyManager and LocalContent classes.
235+
236+
Patch OFS.Image to prevent browsers to cache images in localized folders.
237+
238+
0.4.0 (2001/07/10)
239+
240+
The gettext and locale modules have been removed, Python 2.x required.
241+
242+
License changed to GPL.
243+
244+
Management interface tabs internationalized, spanish and catalan
245+
translations updated.
246+
247+
Fixed a bug in changeLanguage when the Localizer was used with other
248+
SiteAccess, virtual hosting for example.
249+
250+
The script zgettext now keeps the locale.pot changes and uses msgmerge
251+
to build the .po files.
252+
253+
Added new files BUGS.txt, TODO.txt and UPGRADE.txt
254+
255+
Old LocalizedDTMLFile removed.
256+
257+
0.3.0 (2001/06/..)
258+
259+
Fixed a bug that prevented proper copy&paste of Localized objects.
260+
261+
Changed the usage of localized dtml files, old usage preserved for
262+
backwards compatibility.
263+
264+
Added support for page template files. Added documentation about
265+
how to localize zpt.
266+
267+
268+
0.2.1 (2001/05/23)
269+
270+
Ops, 0.2.0 bug fixed, I should test the code before releasing it,
271+
apologies.
272+
273+
274+
0.2.0 (2001/05/22)
275+
276+
Localized strings are looked for in all the Localizer instances in the path.
277+
278+
Now it's possible to override the user prefered language with the path.
279+
280+
Added the german version.
281+
282+
Some bugs fixed.
283+
284+
0.1.1 (2001/??/??)
285+
286+
Bug fixing release.
287+
288+
0.1.0 (2001/??/??)
289+
290+
Initial version.

old/UPGRADE.txt UPGRADE.txt

+19-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
----> 0.8.1
1+
2+
***************************************************************************
3+
Localizer 0.8.1
4+
***************************************************************************
25

36
* The request variable USER_PREF_LANGUAGES isn't a list anymore,
47
now it's an object that represents a tree. Any code that directly
@@ -56,7 +59,9 @@
5659
way will be preserved for a while, probably a long while.
5760

5861

59-
----> 0.8.0
62+
***************************************************************************
63+
Localizer 0.8.0
64+
***************************************************************************
6065

6166
* The 0.7 version saw a big redesign of message catalogs, and
6267
also of the way they're used. Before they were implicitly called,
@@ -102,7 +107,9 @@
102107

103108

104109

105-
----> 0.7.0
110+
***************************************************************************
111+
Localizer 0.7.0
112+
***************************************************************************
106113

107114
* There're several changes that require all Localizer instances
108115
to be upgraded, to do so go to the management interfaces of
@@ -131,7 +138,9 @@
131138
doubt send me an email.
132139

133140

134-
----> 0.6.1
141+
***************************************************************************
142+
Localizer 0.6.1
143+
***************************************************************************
135144

136145
Before 0.6.0 changeLanguageForm was a LocalDTMLFile, in 0.6.0
137146
I changed it to a DTML Method. Now it's again a LocalDTMLFile.
@@ -145,7 +154,9 @@
145154
bindings can be used from a DTMLFile.
146155

147156

148-
----> 0.6
157+
***************************************************************************
158+
Localizer 0.6
159+
***************************************************************************
149160

150161
* LocalContent and LocalPropertyManager
151162

@@ -188,7 +199,9 @@
188199
Perhaps there're other minor changes that could break something.
189200

190201

191-
----> 0.3
202+
***************************************************************************
203+
Localizer 0.3
204+
***************************************************************************
192205

193206
In Localizer versions < 0.3 the way to localize DTML files was:
194207

0 commit comments

Comments
 (0)