Commit ed7acc5a authored by Yusei Tahara's avatar Yusei Tahara

2008-09-04 yusei

* Update English messages.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23437 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7324d91f
......@@ -21,7 +21,7 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Accept decision</string> </value>
<value> <string>Accept Decision</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,11 +85,8 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
481
\ No newline at end of file
483
\ No newline at end of file
......@@ -76,24 +76,24 @@ if context.cb_dataValid:\n
try:\n
portal_type_list = [x.getPortalType() for x in object_list]\n
except AttributeError:\n
error_message = Base_translateString(\'Sorry+you+can+not+paste+theses+Items+here\')\n
error_message = Base_translateString(\'Sorry,+you+can+not+paste+theses+items+here.\')\n
else:\n
allowed_type_list = [x for x in context.getVisibleAllowedContentTypeList()]\n
for portal_type in portal_type_list:\n
if portal_type not in allowed_type_list:\n
error_message = Base_translateString(\'Sorry+you+can+not+paste+theses+Items+here\')\n
error_message = Base_translateString(\'Sorry,+you+can+not+paste+theses+items+here.\')\n
if context.cb_dataValid and error_message==\'\':\n
try:\n
new_item_list = context.manage_pasteObjects(REQUEST[\'__cp\'])\n
except KeyError:\n
msg = Base_translateString(\'Nothing+To+Paste.\')\n
msg = Base_translateString(\'Nothing+to+paste.\')\n
return REQUEST.RESPONSE.redirect(context.absolute_url() + \'/\' + form_id + \'?portal_status_message=%s\' % msg)\n
else:\n
new_id_list = [i[\'new_id\'] for i in new_item_list]\n
for my_id in new_id_list:\n
context[my_id].flushActivity(invoke=0, method_id=\'immediateReindexObject\')\n
context[my_id].recursiveImmediateReindexObject()\n
msg = Base_translateString(\'Item(s)+Pasted.\')\n
msg = Base_translateString(\'Item(s)+pasted.\')\n
return REQUEST.RESPONSE.redirect(context.absolute_url() + \'/\' + form_id + \'?portal_status_message=%s\' % msg)\n
elif context.cb_dataValid and error_message!=\'\':\n
return REQUEST.RESPONSE.redirect(context.absolute_url() + \'/\' + form_id + \'?portal_status_message=%s\' % error_message)\n
......@@ -185,6 +185,12 @@ else:\n
<key> <string>title</string> </key>
<value> <string>Paste objects to a folder from the clipboard</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
2008-09-04 yusei
* Update English messages.
2008-09-03 yusei
* Remove Route Tool portal type which is not used.
......
949
\ No newline at end of file
951
\ No newline at end of file
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