diff --git a/locales/de/LC_MESSAGES/loops.mo b/locales/de/LC_MESSAGES/loops.mo index 155a886..616b70a 100644 Binary files a/locales/de/LC_MESSAGES/loops.mo and b/locales/de/LC_MESSAGES/loops.mo differ diff --git a/locales/de/LC_MESSAGES/loops.po b/locales/de/LC_MESSAGES/loops.po index a9a5ad5..8586a11 100644 --- a/locales/de/LC_MESSAGES/loops.po +++ b/locales/de/LC_MESSAGES/loops.po @@ -180,13 +180,13 @@ msgid "Create Event..." msgstr "Termin anlegen..." msgid "Create a new event" -msgstr "Einen neuen Termin anlegen" +msgstr "Einen neuen Termin anlegen." msgid "Create Task..." msgstr "Aufgabe anlegen..." msgid "Create a new task" -msgstr "Eine neue Aufgabe anlegen" +msgstr "Eine neue Aufgabe anlegen." msgid "Edit Task..." msgstr "Aufgabe bearbeiten..." @@ -194,6 +194,12 @@ msgstr "Aufgabe bearbeiten..." msgid "Modify task" msgstr "Aufgabe bearbeiten" +msgid "Create Project..." +msgstr "Project anlegen..." + +msgid "Create a new project." +msgstr "Eine neues Projekt anlegen." + msgid "Create Work Item..." msgstr "Aktivität anlegen..." diff --git a/organize/browser/party.py b/organize/browser/party.py index 2aa8be4..6256d2a 100644 --- a/organize/browser/party.py +++ b/organize/browser/party.py @@ -19,8 +19,6 @@ """ Definition of view classes and other browser related stuff (e.g. actions) for loops.organize.party. - -$Id$ """ from email.MIMEText import MIMEText diff --git a/organize/browser/task.py b/organize/browser/task.py index 4427114..5f24eca 100644 --- a/organize/browser/task.py +++ b/organize/browser/task.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2008 Helmut Merz helmutm@cy55.de +# Copyright (c) 2011 Helmut Merz helmutm@cy55.de # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,8 +18,6 @@ """ Definition of view classes and other browser related stuff for tasks. - -$Id$ """ from zope import interface, component @@ -51,6 +49,17 @@ actions.register('createTask', 'portlet', DialogAction, prerequisites=['registerDojoDateWidget'], ) +actions.register('createProject', 'portlet', DialogAction, + title=_(u'Create Project...'), + description=_(u'Create a new project.'), + viewName='create_concept.html', + dialogName='createProject', + typeToken='.loops/concepts/project', + fixedType=True, + innerForm='inner_concept_form.html', + prerequisites=['registerDojoDateWidget'], +) + organize_macros = ViewPageTemplateFile('view_macros.pt')