Commit 08088902 authored by Yusei Tahara's avatar Yusei Tahara

2008-08-28 yusei

* Use Base_translateString or translateString instead of N_ for translation message.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23238 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c06a049
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -69,7 +66,7 @@ ...@@ -69,7 +66,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>request = context.REQUEST\n <value> <string>request = context.REQUEST\n
N_ = context.Base_translateString\n Base_translateString = context.Base_translateString\n
\n \n
listbox = request.get(\'listbox\')\n listbox = request.get(\'listbox\')\n
start_date = context.getStartDate()\n start_date = context.getStartDate()\n
...@@ -109,7 +106,7 @@ if listbox is not None:\n ...@@ -109,7 +106,7 @@ if listbox is not None:\n
\n \n
delivery_builder.activate(activity=\'SQLQueue\', after_tag=tag).build(explanation_uid=explanation_uid_list)\n delivery_builder.activate(activity=\'SQLQueue\', after_tag=tag).build(explanation_uid=explanation_uid_list)\n
\n \n
message = N_("${obj_portal_type} updated.", mapping={\'obj_portal_type\' : context.getTranslatedPortalType()})\n message = Base_translateString("${obj_portal_type} updated.", mapping={\'obj_portal_type\':context.getTranslatedPortalType()})\n
message = message.replace(\' \', \'+\')\n message = message.replace(\' \', \'+\')\n
\n \n
redirect_url = \'%s/%s?%s\' % (context.absolute_url(), form_id, \n redirect_url = \'%s/%s?%s\' % (context.absolute_url(), form_id, \n
...@@ -163,7 +160,7 @@ context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -163,7 +160,7 @@ context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>request</string> <string>request</string>
<string>N_</string> <string>Base_translateString</string>
<string>listbox</string> <string>listbox</string>
<string>start_date</string> <string>start_date</string>
<string>stop_date</string> <string>stop_date</string>
...@@ -204,6 +201,12 @@ context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -204,6 +201,12 @@ context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>AmortisationTransaction_doSolveActions</string> </value> <value> <string>AmortisationTransaction_doSolveActions</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
2008-08-28 yusei
* Use Base_translateString or translateString instead of N_ for translation message.
2007-10-30 yo 2007-10-30 yo
* Set pricing_interaction_workflow to Immobilisation Line. * Set pricing_interaction_workflow to Immobilisation Line.
......
147 148
\ No newline at end of file \ 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