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

View file

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

View file

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

View file

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

Binary file not shown.

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: $Id$\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"
"Language-Team: loops developers <helmutm@cy55.de>\n"
"MIME-Version: 1.0\n"
@ -430,6 +430,27 @@ msgstr "Typ"
msgid "Node"
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"
msgstr "Ganz nach oben"
@ -442,8 +463,8 @@ msgstr "Nach unten"
msgid "Bottom"
msgstr "Ganz nach unten"
msgid "Edit Permissions"
msgstr "Berechtigungen bearbeiten"
msgid "Options"
msgstr "Optionen"
msgid "Currently assigned target"
msgstr "Derzeit zugeordnetes Zielobjekt"

View file

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