Commit 2af948e1 authored by Yusei Tahara's avatar Yusei Tahara

Don't use Localizer directly. Use Base_translateString script instead.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23492 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 596904c6
......@@ -61,7 +61,7 @@
isAnon mtool/isAnonymousUser|nothing;">\n
<tal:block tal:condition="isAnon">\n
<tal:block tal:define="dummy python: response.expireCookie(\'__ac\', path=\'/\');\n
url python: \'%s?portal_status_message=%s\' % (here.absolute_url(), here.getPortalObject().Localizer.translate(\'ui\', \'Login+and/or+password+is+incorrect.\'));\n
url python: \'%s?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
dummy python: response.redirect(url);" />\n
</tal:block>\n
......@@ -91,6 +91,12 @@
<key> <string>title</string> </key>
<value> <string>Login Page Template used by login and registration main page</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
704
\ No newline at end of file
705
\ 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