Stephan Richter wrote:
On Thursday 28 April 2005 03:59, Dmitry Vasiliev wrote:
Ok, I fully agree with this changes, but then I have one more question.
Should we do this changes on ZopeX3.0 branch? That about backward
compatibility for 3.0, for example if someone use code like this: '<h1
Okay, let's not backport this bug fix.
Ugh... Seems like the test29.html was wrong.
For following input data:
<div i18n:translate="">At the tone the time will be
i18n:name="time">2:32 pm</span>... beep!</div>
<div>AT THE TONE THE TIME WILL BE 59 MINUTES AFTER 6 PM... BEEP!</div>
but the right result should was be (see zope.tal.driver.TestTranslations):
<div>AT THE TONE THE TIME WILL BE 59 minutes after 6 PM... BEEP!</div>
Seems like the wrong result was produced by double translate() call.
And for new (explicit) i18n:name behaviour result will be:
<div>AT THE TONE THE TIME WILL BE <span>59 minutes after 6 PM</span>...
Dmitry Vasiliev (dima at hlabs.spb.ru)
Zope3-dev mailing list