From 1151f25b58531fa673ffebe23fba44584464b1bb Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Thu, 28 Aug 2008 09:42:21 +0000 Subject: [PATCH] 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 --- .../portal_skins/erp5_xhtml_style/logged_in.xml | 2 +- product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log | 5 ++++- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml index a49c496a81..2e67b4cb94 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml @@ -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/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&came_from=%s\' % (url, request[\'came_from\']) or url;\n dummy python: response.redirect(url);" />\n </tal:block>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log index 6ffedf06ae..9289622307 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log @@ -1,3 +1,6 @@ +2008-08-28 yusei +* Use Base_translateString instead of using Localizer method directly. + 2008-06-27 yusei * Start to develop version 5.2. @@ -227,4 +230,4 @@ 2006-06-15 Vincent * Initial commit. -* Valid XHTML1.0 Strict + CSS 2.0. +* Valid XHTML1.0 Strict + CSS 2.0. \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 5ae48373ad..b66073e9e4 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -585 \ No newline at end of file +586 \ No newline at end of file -- 2.30.9