[Zope3-checkins] CVS: zopeproducts/bugtracker/browser/skin -
configure.zcml:1.3 template.pt:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 12 15:55:50 EDT 2003
Update of /cvs-repository/zopeproducts/bugtracker/browser/skin
In directory cvs.zope.org:/tmp/cvs-serv11962/browser/skin
Modified Files:
configure.zcml template.pt
Log Message:
- Fixed bug that would not allow Web-based users to create and view bugs.
- Internationalized the Bug Tracker Product.
- Localized the Bug Tracker to German.
=== zopeproducts/bugtracker/browser/skin/configure.zcml 1.2 => 1.3 ===
--- zopeproducts/bugtracker/browser/skin/configure.zcml:1.2 Sun Aug 3 14:34:01 2003
+++ zopeproducts/bugtracker/browser/skin/configure.zcml Tue Aug 12 14:55:16 2003
@@ -1,19 +1,15 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- i18n_domain="bugtracker"
- >
+<configure xmlns="http://namespaces.zope.org/browser">
- <browser:skin name="tracker" layers="tracker rotterdam default" />
+ <skin name="tracker" layers="tracker rotterdam default" />
- <browser:page
+ <page
for="*"
name="skin_macros"
permission="zope.View"
layer="tracker"
template="template.pt" />
- <browser:page
+ <page
for="*"
name="dialog_macros"
permission="zope.View"
=== zopeproducts/bugtracker/browser/skin/template.pt 1.2 => 1.3 ===
--- zopeproducts/bugtracker/browser/skin/template.pt:1.2 Sat Jul 26 14:13:32 2003
+++ zopeproducts/bugtracker/browser/skin/template.pt Tue Aug 12 14:55:16 2003
@@ -5,8 +5,10 @@
lang="en">
<head>
- <title metal:define-slot="title"
- tal:content="context/title|default">Zope 3 Bug Tracker</title>
+ <title
+ metal:define-slot="title"
+ tal:content="context/title|default"
+ i18n:domain="bugtracker" i18n:translate="">Zope 3 Bug Tracker</title>
<style type="text/css"
@@ -80,9 +82,9 @@
<body>
- <div id="global">
+ <div id="global" i18n:domain="bugtracker">
<img tal:attributes="src context/++resource++zope3logo.gif" />
- <span id="title"> Bug Tracker</span>
+ <span id="title" i18n:translate=""> Bug Tracker</span>
</div>
<div id="workspace">
@@ -118,8 +120,9 @@
</div>
<div id="actions" metal:define-slot="actions">
- <div class="user">
- You are logged in as <d tal:replace="request/user/getTitle" />.
+ <div class="user" i18n:domain="bugtracker" i18n:translate="">
+ You are logged in as
+ <d tal:replace="request/user/getTitle" i18n:name="user_title"/>.
</div>
<div class="clear"></div>
</div>
@@ -156,7 +159,7 @@
<div id="helpers">
<div class="box" id="itemHelp" tal:condition="pagetip|nothing">
- <h4>Tip</h4>
+ <h4 i18n:translate="">Tip</h4>
<div class="body">
<div class="content odd">
<metal:block define-slot="pagetip"
@@ -172,7 +175,7 @@
<div class="box" id="help"
tal:define="results view/@@find_help_topics|nothing"
tal:condition="results">
- <h4>Online Help</h4>
+ <h4 i18n:translate="">Online Help</h4>
<div class="body">
<a href="#"
tal:repeat="entry results"
@@ -201,7 +204,8 @@
</div>
</div>
- <div id="footer" metal:define-macro="footer">
+ <div id="footer" metal:define-macro="footer"
+ i18n:domain="bugtracker" i18n:translate="">
Powered by Zope 3. Written by Stephan Richter in 2003.
</div>
More information about the Zope3-Checkins
mailing list