Commit c26f7859 authored by Yusei Tahara's avatar Yusei Tahara

2008-08-28 yusei

* Use N_ for translation message.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23212 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea7dccda
...@@ -67,12 +67,14 @@ ...@@ -67,12 +67,14 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Message import Message\n <value> <string>from Products.ERP5Type.Message import Message\n
\n \n
N_ = lambda msg, **kw: str(Message(\'erp5_ui\', msg, **kw))\n
\n
payment_transaction = context\n payment_transaction = context\n
\n \n
if payment_transaction.getSimulationState() == "draft":\n if payment_transaction.getSimulationState() == "draft":\n
payment_transaction.portal_workflow.doActionFor(\n payment_transaction.portal_workflow.doActionFor(\n
payment_transaction, \'plan_action\',\n payment_transaction, \'plan_action\',\n
comment=Message(\'erp5_ui\', "Initialized by Delivery Builder"))\n comment=N_("Initialized by Delivery Builder"))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -117,6 +119,7 @@ if payment_transaction.getSimulationState() == "draft":\n ...@@ -117,6 +119,7 @@ if payment_transaction.getSimulationState() == "draft":\n
<tuple> <tuple>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>N_</string>
<string>context</string> <string>context</string>
<string>payment_transaction</string> <string>payment_transaction</string>
<string>_getattr_</string> <string>_getattr_</string>
......
2008-08-28 yusei
* Use N_ for translation message.
2008-07-02 yusei 2008-07-02 yusei
* Update title of Account_view.reference. * Update title of Account_view.reference.
In accounting, reference is "Document Reference", but, in account, reference must be "Reference". In accounting, reference is "Document Reference", but, in account, reference must be "Reference".
......
746 747
\ 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