[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/container/browser/contents.py
Simplified some message id's
Dmitry Vasiliev
dima at hlabs.spb.ru
Thu Jun 9 07:08:47 EDT 2005
Log message for revision 30695:
Simplified some message id's
Changed:
U Zope3/trunk/src/zope/app/container/browser/contents.py
-=-
Modified: Zope3/trunk/src/zope/app/container/browser/contents.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/contents.py 2005-06-09 11:01:42 UTC (rev 30694)
+++ Zope3/trunk/src/zope/app/container/browser/contents.py 2005-06-09 11:08:47 UTC (rev 30695)
@@ -280,13 +280,10 @@
title = getDCTitle(ob)
if title:
self.error = _(
- "titled-object-cannot-be-copied",
"Object '${name}' (${title}) cannot be copied")
m["title"] = title
else:
- self.error = _(
- "untitled-object-cannot-be-copied",
- "Object '${name}' cannot be copied")
+ self.error = _("Object '${name}' cannot be copied")
self.error.mapping.update(m)
return
items.append(zapi.joinPath(container_path, id))
@@ -319,13 +316,10 @@
title = getDCTitle(ob)
if title:
self.error = _(
- "titled-object-cannot-be-moved",
"Object '${name}' (${title}) cannot be moved")
m["title"] = title
else:
- self.error = _(
- "untitled-object-cannot-be-moved",
- "Object '${name}' cannot be moved")
+ self.error = _("Object '${name}' cannot be moved")
self.error.mapping.update(m)
return
items.append(zapi.joinPath(container_path, id))
More information about the Zope3-Checkins
mailing list