Commit 1151f25b authored by Yusei Tahara's avatar Yusei Tahara

2008-08-28 yusei

* Use Base_translateString instead of using Localizer method directly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23216 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 939ad480
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
isAnon mtool/isAnonymousUser|nothing;">\n isAnon mtool/isAnonymousUser|nothing;">\n
<tal:block tal:condition="isAnon">\n <tal:block tal:condition="isAnon">\n
<tal:block tal:define="dummy python: response.expireCookie(\'__ac\', path=\'/\');\n <tal:block tal:define="dummy python: response.expireCookie(\'__ac\', path=\'/\');\n
url python: \'%s/login_form?portal_status_message=%s\' % (here.absolute_url(), here.getPortalObject().Localizer.translate(\'ui\', \'Login+and/or+password+is+incorrect.\'));\n url python: \'%s/login_form?portal_status_message=%s\' % (here.absolute_url(), here.Base_translateString(\'Login+and/or+password+is+incorrect.\'));\n
url python: request.get(\'came_from\') and \'%s&amp;came_from=%s\' % (url, request[\'came_from\']) or url;\n url python: request.get(\'came_from\') and \'%s&amp;came_from=%s\' % (url, request[\'came_from\']) or url;\n
dummy python: response.redirect(url);" />\n dummy python: response.redirect(url);" />\n
</tal:block>\n </tal:block>\n
......
2008-08-28 yusei
* Use Base_translateString instead of using Localizer method directly.
2008-06-27 yusei 2008-06-27 yusei
* Start to develop version 5.2. * Start to develop version 5.2.
......
585 586
\ 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