[Zope3-dev] automatic translation of message ids and Zope 3.3

2006-05-01 Thread Martijn Faassen

Hi there,

My Zope 3.2 says things like:

/home/faassen/working/doclib/release/z321/lib/python/zope/tal/talinterpreter.py:634: 
DeprecationWarning: 
/home/faassen/working/doclib/release/ReleaseZope/lib/python/documentlibrary/core/browser/templates/inputwidget.pt 
(line 11): Automatic translation of message id's is deprecated and will 
be removed in 3.3. Use explicit i18n:translate= instead.

  self._i18n_deprecate()

Given that the DocumentLibrary is an application that was never i18ned 
(but picks up a message id from somewhere in the Zope 3 core anyway), it 
was concluded in earlier discussions that breaking applications that 
were not i18ned in the first place was a bad idea.


In addition, we concluded that automatically translating message ids 
defined in Python (as Zope 3 does now, and Zope 2 does too) was in fact 
not such a bad idea after all. :)


This means that this deprecation warning needs to disappear. Shall I 
take it out? (presuming it's still in there)


Regards,

Martijn
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] automatic translation of message ids and Zope 3.3

2006-05-01 Thread Gary Poster


On May 1, 2006, at 8:34 AM, Martijn Faassen wrote:


Hi there,


Please see http://mail.zope.org/pipermail/zope3-dev/2006-April/ 
019278.html ff.


And/or svn up your zope.  ;-)

Gary
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] automatic translation of message ids and Zope 3.3

2006-05-01 Thread Martijn Faassen

Gary Poster wrote:


On May 1, 2006, at 8:34 AM, Martijn Faassen wrote:


Hi there,



Please see http://mail.zope.org/pipermail/zope3-dev/2006-April/ 
019278.html ff.


And/or svn up your zope.  ;-)


Oh, great! I missed that. Thanks. I noticed it when I was testing an app 
in Zope 3.2 in this case, so I wanted to make sure it worked with Zope 
3.3 without warnings.


Regards,

Martijn
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com