[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.pt Added i18n:domain and some translation slots

Dmitry Vasiliev dima at hlabs.spb.ru
Mon Dec 5 10:13:16 EST 2005


Log message for revision 40538:
  Added i18n:domain and some translation slots
  

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

-=-
Modified: Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.pt
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.pt	2005-12-05 15:12:52 UTC (rev 40537)
+++ Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.pt	2005-12-05 15:13:15 UTC (rev 40538)
@@ -1,4 +1,5 @@
-<html metal:use-macro="context/@@standard_macros/view">
+<html metal:use-macro="context/@@standard_macros/view"
+  i18n:domain="zope">
 <head>
   <metal:block fill-slot="extrahead">
     <link type="text/css" rel="stylesheet" href="apidoc.css"
@@ -18,18 +19,22 @@
            tal:condition="context/zope:name"
            i18n:name="object-name"/>
      <i tal:condition="not: context/zope:name"
-        i18n:name="object-name">&lt;no name&gt;</i>
+        i18n:name="object-name"
+        i18n:translate="">&lt;no name&gt;</i>
     )
   </h1>
   <em tal:define="parent view/parent"
-      tal:condition="parent">
+      tal:condition="parent"
+      i18n:translate="">
     Parent:
     <a href=""
+       i18n:name="parent"
        tal:attributes="
            href string: ${parent/@@absolute_url}/@@introspector.html">
       <span tal:replace="parent/zope:name"
             tal:condition="parent/zope:name" />
-      <span tal:condition="not: parent/zope:name">&lt;No Name&gt;</span>
+      <span tal:condition="not: parent/zope:name"
+            i18n:translate="">&lt;No Name&gt;</span>
     </a>
   </em>
 



More information about the Zope3-Checkins mailing list