Commit 42e7e324 authored by Yusei Tahara's avatar Yusei Tahara

2008-08-29 yusei

* Replace N_ with translateString.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23279 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ace57c90
...@@ -68,10 +68,9 @@ ...@@ -68,10 +68,9 @@
<value> <string>document = state_change[\'object\']\n <value> <string>document = state_change[\'object\']\n
request = document.REQUEST\n request = document.REQUEST\n
\n \n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import translateString\n
N_ = lambda msg, **kwd: Message(\'erp5_ui\', msg, **kwd)\n
\n \n
request.set(\'portal_status_message\', N_(\'Status Message Changed.\'))\n request.set(\'portal_status_message\', translateString(\'Status Message Changed.\'))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -120,8 +119,7 @@ request.set(\'portal_status_message\', N_(\'Status Message Changed.\'))\n ...@@ -120,8 +119,7 @@ request.set(\'portal_status_message\', N_(\'Status Message Changed.\'))\n
<string>_getattr_</string> <string>_getattr_</string>
<string>request</string> <string>request</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>translateString</string>
<string>N_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
2008-08-29 yusei
* Replace N_ with translateString.
2008-06-17 rafael 2008-06-17 rafael
* Access Tab has your own scripts to handle preference. * Access Tab has your own scripts to handle preference.
......
381 382
\ 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