From bc4d4b26e5090b1eb1492e07d54f37a7f50fc794 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 4 Sep 2008 08:00:48 +0000 Subject: [PATCH] Add i18n at the client side. Improve PT identation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23390 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../WizardTool_successfulConfiguration.xml | 16 +++++++++++----- ...rdTool_viewNextPossibleActionListRenderer.xml | 15 +++++++++------ .../Wizard_viewInstallationStatus.xml | 3 ++- bt5/erp5_wizard/bt/revision | 2 +- 4 files changed, 23 insertions(+), 13 deletions(-) diff --git a/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_successfulConfiguration.xml b/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_successfulConfiguration.xml index beb42e61f3..fa50062cb4 100644 --- a/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_successfulConfiguration.xml +++ b/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_successfulConfiguration.xml @@ -47,12 +47,18 @@ <div>\n \n - <h3>Configuration is over. Enjoy your new ERP5 system!</h3>\n - <p> Please click link below. \n - You will be redirected to a form in which you can login using \n - one of yours newly created ERP5 user accounts.\n + <h3 i18n:translate=""\n + i18n:domain="ui">Configuration is over. Enjoy your new ERP5 system!</h3>\n +\n + <p i18n:translate=""\n + i18n:domain="ui">\n + Please click link below. \n + You will be redirected to a form in which you can login using \n + one of yours newly created ERP5 user accounts.\n </p>\n - <a tal:attributes="href python: \'%s/logout_wizard\' %here.getPortalObject().absolute_url()"> \n + <a i18n:translate=""\n + i18n:domain="ui"\n + tal:attributes="href python: \'%s/logout_wizard\' %here.getPortalObject().absolute_url()"> \n Start using your new ERP5 system\n </a>\n \n diff --git a/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml b/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml index f1027f9ce7..a961f33172 100644 --- a/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml +++ b/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml @@ -55,12 +55,15 @@ tal:define="isAllowedExpress python: here.portal_wizard.getExpressConfigurationPreference(\'preferred_express_user_id\', None) is not None and\n here.portal_wizard.getExpressConfigurationPreference(\'preferred_express_password\', None) is not None">\n \n -<h5 id="wizard_message" style="visibility:hidden;" tal:content="python:test(isAllowedExpress, \'true\', \'false\')"></h5>\n -\n -<script type="text/javascript" src="wizard_helper.js"></script>\n -<noscript>\n -Please enable JavaScript in your web browser, otherwise the configuration server does not work properly.\n -</noscript>\n + <h5 id="wizard_message" \n + style="visibility:hidden;" \n + tal:content="python:test(isAllowedExpress, \'true\', \'false\')"></h5>\n + \n + <script type="text/javascript" src="wizard_helper.js"></script>\n + <noscript>\n + Please enable JavaScript in your web browser, otherwise the configuration server \n + does not work properly.\n + </noscript>\n \n </tal:block> diff --git a/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/Wizard_viewInstallationStatus.xml b/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/Wizard_viewInstallationStatus.xml index 7a8db8998b..0ccff4edbc 100644 --- a/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/Wizard_viewInstallationStatus.xml +++ b/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/Wizard_viewInstallationStatus.xml @@ -70,7 +70,8 @@ tal:content="here/Wizard_generateJavaScript"/>\n \n <div class="dialog_box">\n - <h2>Installation Report</h2>\n + <h2 i18n:translate=""\n + i18n:domain="ui">Installation Report</h2>\n \n <div id="server_installation_status" \n tal:content="structure here/portal_wizard/getInstallationStatusReportFromServer">\n diff --git a/bt5/erp5_wizard/bt/revision b/bt5/erp5_wizard/bt/revision index 8c0474e323..9cd72aa941 100644 --- a/bt5/erp5_wizard/bt/revision +++ b/bt5/erp5_wizard/bt/revision @@ -1 +1 @@ -69 \ No newline at end of file +72 \ No newline at end of file -- 2.30.9