diff --git a/browser/form.py b/browser/form.py index e4f8c5e..f30b120 100644 --- a/browser/form.py +++ b/browser/form.py @@ -381,14 +381,14 @@ class CreateConceptForm(CreateObjectForm): def getTypesVocabulary(self, include=None): types = [] - if 'subtype' in include: + if include and 'subtype' in include: include = list(include) include.remove('subtype') parentType = self.target.conceptType subtypePred = self.conceptManager['issubtype'] types = [dict(token=ConceptTypeInfo(t).token, title=t.title) for t in parentType.getChildren([subtypePred])] - if include: + if include or include is None: return util.KeywordVocabulary(types + self.listTypes(include, ('hidden',))) return util.KeywordVocabulary(types) diff --git a/locales/de/LC_MESSAGES/loops.mo b/locales/de/LC_MESSAGES/loops.mo index 1b4fa12..8f881c1 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 57cb762..b5fc18e 100644 --- a/locales/de/LC_MESSAGES/loops.po +++ b/locales/de/LC_MESSAGES/loops.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: $Id$\n" "POT-Creation-Date: 2007-05-22 12:00 CET\n" -"PO-Revision-Date: 2011-02-09 12:00 CET\n" +"PO-Revision-Date: 2011-02-10 12:00 CET\n" "Last-Translator: Helmut Merz \n" "Language-Team: loops developers \n" "MIME-Version: 1.0\n" @@ -65,6 +65,9 @@ msgstr "Ordner ändern" msgid "Create Topic..." msgstr "Thema anlegen..." +msgid "Create Topic" +msgstr "Thema anlegen" + msgid "Create a new topic." msgstr "Ein neues Thema anlegen"