some minor layout management clean-ups; more German translations (for management interface)

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3065 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2008-12-15 20:58:26 +00:00
parent 1e6b654ab6
commit 5e60b0bc79
7 changed files with 32 additions and 12 deletions

View file

@ -3,7 +3,7 @@
<configure <configure
xmlns:zope="http://namespaces.zope.org/zope" xmlns:zope="http://namespaces.zope.org/zope"
xmlns="http://namespaces.zope.org/browser" xmlns="http://namespaces.zope.org/browser"
i18n_domain="zope"> i18n_domain="loops">
<icon <icon
name="zmi_icon" name="zmi_icon"
@ -427,7 +427,7 @@
/> />
<editform <editform
label="Edit" label="Edit Node"
name="edit.html" name="edit.html"
schema="loops.interfaces.INode" schema="loops.interfaces.INode"
fields="title description nodeType viewName body" fields="title description nodeType viewName body"

View file

@ -60,7 +60,7 @@ class NodeLayoutInstance(LayoutInstance):
return view return view
class NavigationLayoutInstance(NodeLayoutInstance): class SubnodesLayoutInstance(NodeLayoutInstance):
def getLayouts(self, region): def getLayouts(self, region):
""" Return sublayout instances specified via subnodes of the current menu node. """ Return sublayout instances specified via subnodes of the current menu node.

View file

@ -33,14 +33,13 @@
view="AddLoopsLayoutNode.html" /> view="AddLoopsLayoutNode.html" />
<browser:editform <browser:editform
label="Edit Node" label="Edit Layout Node"
name="edit.html" name="edit.html"
schema="loops.layout.interfaces.ILayoutNode" schema="loops.layout.interfaces.ILayoutNode"
fields="title description nodeType viewName pageName body" fields="title description nodeType viewName pageName body"
for="loops.layout.interfaces.ILayoutNode" for="loops.layout.interfaces.ILayoutNode"
template="../../browser/edit.pt" template="../../browser/edit.pt"
permission="zope.ManageContent" permission="zope.ManageContent">
menu="zmi_views" title="Edit Node">
<widget field="description" height="2" /> <widget field="description" height="2" />
<widget field="body" height="3" /> <widget field="body" height="3" />
</browser:editform> </browser:editform>

View file

@ -22,8 +22,8 @@
<zope:adapter <zope:adapter
for="loops.layout.interfaces.ILayoutNode" for="loops.layout.interfaces.ILayoutNode"
name="navigation" name="subnodes"
factory="loops.layout.base.NavigationLayoutInstance" /> factory="loops.layout.base.SubnodesLayoutInstance" />
<zope:adapter <zope:adapter
for="loops.layout.interfaces.ILayoutNode" for="loops.layout.interfaces.ILayoutNode"

Binary file not shown.

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: $Id$\n" "Project-Id-Version: $Id$\n"
"POT-Creation-Date: 2007-05-22 12:00 CET\n" "POT-Creation-Date: 2007-05-22 12:00 CET\n"
"PO-Revision-Date: 2008-12-07 12:00 CET\n" "PO-Revision-Date: 2008-12-15 12:00 CET\n"
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n" "Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
"Language-Team: loops developers <helmutm@cy55.de>\n" "Language-Team: loops developers <helmutm@cy55.de>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -430,6 +430,27 @@ msgstr "Typ"
msgid "Node" msgid "Node"
msgstr "Navigationsknoten" msgstr "Navigationsknoten"
msgid "Contents"
msgstr "Inhalt"
msgid "Edit"
msgstr "Bearbeiten"
msgid "Edit Node"
msgstr "Knoten bearbeiten"
msgid "Edit Layout Node"
msgstr "Layout-Knoten bearbeiten"
msgid "Configure"
msgstr "Konfigurieren"
msgid "Add"
msgstr "Hinzufügen"
msgid "Edit Permissions"
msgstr "Berechtigungen"
msgid "Top" msgid "Top"
msgstr "Ganz nach oben" msgstr "Ganz nach oben"
@ -442,8 +463,8 @@ msgstr "Nach unten"
msgid "Bottom" msgid "Bottom"
msgstr "Ganz nach unten" msgstr "Ganz nach unten"
msgid "Edit Permissions" msgid "Options"
msgstr "Berechtigungen bearbeiten" msgstr "Optionen"
msgid "Currently assigned target" msgid "Currently assigned target"
msgstr "Derzeit zugeordnetes Zielobjekt" msgstr "Derzeit zugeordnetes Zielobjekt"

View file

@ -3,7 +3,7 @@
<configure <configure
xmlns:zope="http://namespaces.zope.org/zope" xmlns:zope="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser" xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="zope"> i18n_domain="loops">
<zope:adapter factory="loops.security.setter.BaseSecuritySetter" /> <zope:adapter factory="loops.security.setter.BaseSecuritySetter" />