Commit a60f16ce authored by wenjie.zheng's avatar wenjie.zheng

Improved Grammar

parent dc047405
......@@ -50,22 +50,15 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>Base_translateString = context.Base_translateString\n
REQUEST = context.REQUEST\n
\n
\n
result, message0 = context.getPortalTypesProperties()\n
\n
message1 = Base_translateString("Portal Type Properties Have Been Updated.")\n
\n
<value> <string>REQUEST = context.REQUEST\n
result, message = context.getPortalTypesProperties() \n
ret_url = context.absolute_url() + \'/\' + REQUEST.get(\'form_id\', \'view\')\n
\n
if REQUEST is not None:\n
ret_url = context.absolute_url() + \'/\' + REQUEST.get(\'form_id\', \'view\')\n
if result:\n
REQUEST.RESPONSE.redirect("%s?portal_status_message= %s" % (ret_url,message0))\n
else:\n
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"% (ret_url,message1))\n
if not result:\n
message = context.Base_translateString("Portal type properties have been updated.")\n
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"% (ret_url, message))\n
</string> </value>
</item>
<item>
......
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