Commit 851aaf97 authored by Yusei Tahara's avatar Yusei Tahara

2008-08-28 yusei

* Use N_ for translation string.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23210 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd7f23f6
......@@ -80,6 +80,8 @@ except ImportError:\n
class WorkflowException(Exception):\n
pass\n
\n
N_ = lambda msg, **kw: str(Message(\'erp5_ui\', msg, **kw))\n
\n
invoice = context\n
\n
LOG = lambda msg:context.log(\n
......@@ -122,7 +124,7 @@ if invoice.getSimulationState() == \'draft\':\n
try :\n
context.getPortalObject().portal_workflow.doActionFor(\n
invoice, \'confirm_action\',\n
comment=Message(\'erp5_ui\', \'Initialized by Delivery Builder\'),\n
comment=N_(\'Initialized by Delivery Builder\'),\n
skip_period_validation=1)\n
except WorkflowException, e:\n
# The user cannot pass the transition, it\'s OK\n
......@@ -194,6 +196,7 @@ invoice.activate(after_path_and_method_id=(related_simulation_movement_path_list
<string>WorkflowException</string>
<string>ImportError</string>
<string>Exception</string>
<string>N_</string>
<string>context</string>
<string>invoice</string>
<string>LOG</string>
......
2008-08-28 yusei
* Use N_ for translation string.
2008-06-27 yusei
* Start to develop version 5.2.
......@@ -18,4 +21,4 @@
* use related_simulation_movement_path_list to reduce activity dependencies.
2007-12-6 jerome
* initial creation, from splitting erp5_accounting
* initial creation, from splitting erp5_accounting
\ No newline at end of file
121
\ No newline at end of file
122
\ 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