[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Added i18n domain
definitions
Dmitry Vasiliev
dima at hlabs.spb.ru
Wed Jun 8 03:25:52 EDT 2005
Log message for revision 30678:
Added i18n domain definitions
Changed:
U Zope3/trunk/src/zope/app/catalog/browser/advanced.pt
U Zope3/trunk/src/zope/app/intid/browser/registrations.pt
-=-
Modified: Zope3/trunk/src/zope/app/catalog/browser/advanced.pt
===================================================================
--- Zope3/trunk/src/zope/app/catalog/browser/advanced.pt 2005-06-08 07:22:02 UTC (rev 30677)
+++ Zope3/trunk/src/zope/app/catalog/browser/advanced.pt 2005-06-08 07:25:52 UTC (rev 30678)
@@ -1,4 +1,5 @@
-<html metal:use-macro="context/@@standard_macros/view">
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zope">
<body>
<div metal:fill-slot="body">
Modified: Zope3/trunk/src/zope/app/intid/browser/registrations.pt
===================================================================
--- Zope3/trunk/src/zope/app/intid/browser/registrations.pt 2005-06-08 07:22:02 UTC (rev 30677)
+++ Zope3/trunk/src/zope/app/intid/browser/registrations.pt 2005-06-08 07:25:52 UTC (rev 30678)
@@ -1,16 +1,20 @@
-<html metal:use-macro="context/@@standard_macros/view">
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zope">
<body>
<div metal:fill-slot="body">
<div metal:define-macro="body">
- <p i18n:translate=""><span tal:replace="view/len" /> objects</p>
+ <p i18n:translate=""><span i18n:name="count"
+ tal:replace="view/len" /> objects</p>
<table id="sortable" class="listing" summary="Content listing"
i18n:attributes="summary">
- <tr><th i18n:translate="">ID</th><th i18n:translate="">Object</th></tr>
- <tr tal:repeat="row view/items">
- <td tal:content="python:row[0]" />
- <td><a tal:content="python:row[1]" tal:attributes="href python:row[1]" /></td>
- </tr>
+ <tr><th i18n:translate="">ID</th><th
+ i18n:translate="">Object</th></tr>
+ <tr tal:repeat="row view/items">
+ <td tal:content="python:row[0]" />
+ <td><a tal:content="python:row[1]"
+ tal:attributes="href python:row[1]" /></td>
+ </tr>
</table>
</div>
</div>
More information about the Zope3-Checkins
mailing list