Fred fix a speling error in Zope 3.2.

parent 49be6525
......@@ -135,7 +135,7 @@ class EditView(BrowserView):
notify(ObjectModifiedEvent(content))
except WidgetsError, errors:
self.errors = errors
status = _("An error occured.")
status = _("An error occurred.")
transaction.abort()
else:
setUpEditWidgets(self, self.schema, source=self.adapted,
......@@ -178,7 +178,7 @@ class AddView(EditView):
self.createAndAdd(data)
except WidgetsError, errors:
self.errors = errors
self.update_status = _("An error occured.")
self.update_status = _("An error occurred.")
return self.update_status
self.request.response.redirect(self.nextURL())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment