[Zope3-checkins] SVN: Zope3/branches/3.2/src/zope/app/apidoc/codemodule/browser/introspector.pt Fixed bad message id:

Dmitry Vasiliev dima at hlabs.spb.ru
Sat Dec 17 14:56:42 EST 2005


Log message for revision 40855:
  Fixed bad message id:
  
  tal:condition shouldn't be used with i18n:name in this context
  

Changed:
  U   Zope3/branches/3.2/src/zope/app/apidoc/codemodule/browser/introspector.pt

-=-
Modified: Zope3/branches/3.2/src/zope/app/apidoc/codemodule/browser/introspector.pt
===================================================================
--- Zope3/branches/3.2/src/zope/app/apidoc/codemodule/browser/introspector.pt	2005-12-17 19:36:04 UTC (rev 40854)
+++ Zope3/branches/3.2/src/zope/app/apidoc/codemodule/browser/introspector.pt	2005-12-17 19:56:42 UTC (rev 40855)
@@ -15,12 +15,12 @@
        tal:content="view/klassView/context/getPath"
        i18n:name="class-name" />
     (
-     <span tal:replace="context/zope:name"
-           tal:condition="context/zope:name"
-           i18n:name="object-name"/>
-     <i tal:condition="not: context/zope:name"
-        i18n:name="object-name"
-        i18n:translate="">&lt;no name&gt;</i>
+     <tal:block i18n:name="object-name">
+       <span tal:replace="context/zope:name"
+         tal:condition="context/zope:name"/>
+       <i tal:condition="not: context/zope:name"
+         i18n:translate="">&lt;no name&gt;</i>
+     </tal:block>
     )
   </h1>
   <em tal:define="parent view/parent"



More information about the Zope3-Checkins mailing list