From 538e0196e21e92a555ac1bf7cee20c91d4010a91 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 30 Jun 2012 19:01:05 -0300 Subject: [PATCH] Error page support for I18n. --- .../WEB-INF/classes/messages_en.properties | 30 ++++++++----------- .../WEB-INF/classes/messages_es.properties | 23 ++++++++------ .../main/webapp/WEB-INF/defs/definitions.xml | 2 +- .../main/webapp/jsp/browserNotSupported.jsp | 21 +++++++------ .../src/main/webapp/jsp/errorTemplate.jsp | 11 ++++--- 5 files changed, 42 insertions(+), 45 deletions(-) diff --git a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_en.properties b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_en.properties index c57fdc26..c22c2148 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_en.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_en.properties @@ -25,10 +25,7 @@ CLOSE=Close NOT_READY_A_USER=Not a member yet? NOT_READY_A_USER_MESSAGE=Registration is free and takes just a moment. JOIN_NOW=Join Now! -MINDMAP=Mindmap -ROLE=Role YOUR_ROLE=Your Role -CAPTCHA= Word Verification FORGOT_PASSWORD=Forgot Password ? CHANGE_PASSWORD=Change Password CHANGE_LANGUAGE=Change Language @@ -54,8 +51,6 @@ SITE.TITLE=WiseMapping SITE.SLOGAN=Visual Thinking Evolution SAVE=Save DISCARD_CHANGES=Discard Changes -ABOUT=About -ABOUT_TITLE=What is WiseMapping? KEYBOARD=Keyboard Shortcuts KEYBOARD_MSG=These are the keyboard shortcuts you can use in the editor! HOME=Home @@ -94,7 +89,6 @@ PUBLISH_DETAILS=By publishing the map you make it visible to everyone on the Int DETAIL=Detail INSERT=Insert ACCOUNT_DETAIL=Do you want to change you user options?. Here is the place. -UNSUPPORTED_BROWSER=Unsupported Browser SVG_EXPORT_FORMAT_DETAILS=Scalable Vector Graphics (SVG) is an XML markup language for describing two-dimensional vector graphics. This format will enable you to print your maps without quality lost at any resolution. PDF_EXPORT_FORMAT_DETAILS=Get your map as Portable Document Format(PDF) to share use in your presentations. IMG_EXPORT_FORMAT_DETAILS=Get a graphic representation of your map including all colors and shapes to reuse in documents or for archiving @@ -155,11 +149,6 @@ IMPORT_MINDMAP_INFO=You can import FreeMind 0.9 and WiseMapping maps to your lis PRINT=Print IMPORT_MAP_ERROR=FreeMind file could not be imported. {0} MAP_TITLE_ALREADY_EXISTS=You have already a map with the same name -EMBEDDED_VIEWER_MESSAGE=Once you make your map public, you will be able to embed a mind map viewer in your own web site, blog or post just as we did it here!
Try it!!, you can drag nodes, pan the map, and zoom in and out. -COLLABORATE=Collaborate -GO_TO= Go to my maps -JOIN_WISEMAPPING=Join WiseMapping -IT_IS_FREE=It's free! #####FOOTER COPYRIGHT=Powered by WiseMapping TERMS_AND_CONDITIONS=Terms and Conditions @@ -167,19 +156,13 @@ CONTACT=Contact ACCOUNT_ACTIVED= Your account has been activated ACCOUNT_ACTIVED_FAIL = Account Activation Failed -BROWSE=Browse UNDO_EDITION=Undo Edition UNDO=Undo REDO_EDITION=Redo Edition REDO=Redo NO_HISTORY_RESULTS= No history information available. REVERT=revert -INSTALL_CFG=You need to install the Google Chrome Frame Plugin -INSTALL_CFG_REASON = We used to support IE 7/8 by rendering VML instead of SVG. In a few words, VML was the SVG equivalent in the Microsoft world, and we have invested a lot of energy in VML during several years solving several performance and instability issues among others things. Since Internet Explorer 9 has support for HTML 5.0 (thus SVG support), we decided to deprecate the support of VML. The side effect of this is that all users using Internet Explorer 7/8 will have to install a plugin from Google that enables the display of HTML 5.0 web pages.
You might have to reopen the browser after you have installed the plugin.

We highly recommend using Firefox, Chrome or Internet Explorer 9 where this plugin is not required and the performance is much better. -INSTALL_CFG_CLICK_HERE=To install Google Chrome Frame Plugin click here INVALID_EMAIL_ERROR = The e-mail was not verified -BROWSER_NOT_SUPPORTED= Current Browser is not supported. -CHECK_BROWSERS= You can check supported browser at NO_PRODUCTION_DATABASE_CONFIGURED=Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.5 instead. You can find more information how to configure MySQL IMPORT=Import @@ -236,4 +219,15 @@ IS_OWNER=Is Owner OPTIONAL_CUSTOM_MESSAGE=Optional\: Include a personal message VIEW=view YOU=You -INFO_UPDATE_SUCCESS=Your info has been changed successfully \ No newline at end of file +INFO_UPDATE_SUCCESS=Your info has been changed successfully +OR_GREATER=or greater +IMPORTANT=Important + +BROWSER_RECOMMENDATION=Browsers are listed in order based on performance and hours of testing invested by our team. +BROWSER_NOT_SUPPORTED_TITLE=Ups\!\!\!. Your browser is not currently supported +BROWSER_NOT_SUPPORTED_MSG=Your browser has not been fully tested and it might not be completely functional. WiseMapping has been optimized for: +BROWSER_NOT_SUPPORTED_TRY_AGAIN=Try again with one of the browsers previously listed. + +INSTALL_CFG=Sorry, Microsoft Internet Explorer 8 is partially supported +INSTALL_CFG_REASON = Microsoft Internet Explorer 8 does not support HTML 5 SVG. SVG is the tecgnology used be WiseMapping to render and edit mindmaps. We strongly encourage update to either Microsoft Internet Explorer 9 or use other browser such as Google Chrome, Firefox o Safari. +INSTALL_CFG_CLICK_HERE=If you still want to use Microsoft Internet Explorer 8, click here to install Google Chrome Frame Plugin. Google Chrome Frame Plugin extends Internet Explorer capabilities adding support for HTML 5. diff --git a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties index 4d076af9..30054583 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties @@ -1,7 +1,7 @@ NAME=Nombre DESCRIPTION=Descripción SITE.TITLE=WiseMapping -SITE.SLOGAN=La Evoluci\u00f3n En Inteligencia Visual +SITE.SLOGAN=Evoluci\u00f3n En Inteligencia Visual VIEWERS=Lectores USER_REGISTRATION=Registración de Usuarios CANCEL=Cancelar @@ -24,14 +24,12 @@ CLOSE=Cerrar NOT_READY_A_USER=Todavía no usa WiseMapping? NOT_READY_A_USER_MESSAGE=La registración es rápida y solo toma un momento. JOIN_NOW=Inscribete Ahora ! -MINDMAP=Mindmap FORGOT_PASSWORD=Se olvidó la contrase\u00f1a ? CHANGE_PASSWORD=Cambiar la Contrase\u00f1a FAQ=Preguntas Frecuentes SHORT_FAQ=FAQ LOGIN=Entrar MSG=Mensaje -PROBLEM_DETAIL=Descripción MIND_FILE=Archivo EXPORT=Exportar SVG_EXPORT_FORMAT=Scalable Vector Graphics (SVG) @@ -43,8 +41,6 @@ DELETE=Borrar SAVE=Guardar DISCARD_CHANGES=Descartar cambios ABOUT=Acerca -ABOUT_TITLE=Que es WiseMapping? -HOME=Inicio LOGIN_ERROR=El nombre de usuario o la contrase\u00f1a introducidos no son correctos. USER_INACTIVE=Disculpe, su cuenta aun no ha sido activada. Usted recibira una notificación por email tan pronto la activemos. CREW=The Crew @@ -73,7 +69,6 @@ PUBLISH=Publicar PUBLISH_DETAILS=Publicando el mapa hara que el mismo sea visible por cualquier persona que utlice Internet. Copie el código de abajo para integrar el mapa con su sitio web o blog. INSERT=Insertar ACCOUNT_DETAIL=Desea cambiar sus preferencias? Este es el lugar. -UNSUPPORTED_BROWSER=Navegador no soportado SVG_EXPORT_FORMAT_DETAILS=Scalable Vector Graphics (SVG) es un XML markup language para describir gr\u00e1ficos vectoriale de dos dimensiones. Este formato le permitira imprimir sus mapas sin perdida de calidad o resolución. PDF_EXPORT_FORMAT_DETAILS=Obtenga su mapa como un documento (PDF) para compartirlo y usarlo en sus presentaciones. IMG_EXPORT_FORMAT_DETAILS=Obtenga una representación grafica de su mapa incluyendo todo los colores y formas para reusarlo en documentos o para ser archivado @@ -81,7 +76,6 @@ FREEMIND_EXPORT_FORMAT_DETAILS = FreeMind un aplicación de escritorio gra TERMSOFUSE=Términos de uso PRIVACYPOLICY= Politica de privacidad EXPORT_DETAILS=Exporte el mapa en el formato que desee y comience a utlizarlo en sus presentaciones -HERE=aqui DETAILS=Detalles WHO_ARE_WE=Quienes somos? MEMBERS=Miembros @@ -131,7 +125,6 @@ CONTACT=Contacto KEYBOARD=Atajos de Teclado KEYBOARD_MSG=Estos son los atajos de teclado que puede utilizar en el editor! -BROWSER=Browse UNDO_EDITION=Undo Edition REDO_EDITION=Redo Edition REVERT=revertir @@ -210,8 +203,20 @@ ADD_MESSAGE=Agregar un mensaje WHO_CAN_ACCESS=Quienes pueden acceder IS_OWNER=Es due\u00f1o OPTIONAL_CUSTOM_MESSAGE=Opcional\: Incluir un mensaje personalizado -IMPORT_MINDMAP_INFO=Es posible importar mapas en formato FreeMind 0.9 and WiseMapping. Seleccione el archivo a importar. +IMPORT_MINDMAP_INFO=Es posible importar mapas en formato FreeMind 0.9 y WiseMapping. Seleccione el archivo a importar. VIEW=ver YOU=Vos INFO_UPDATE_SUCCESS=Your info has been changed successfully +OR_GREATER=o superior +IMPORTANT=Importante +BROWSER_RECOMMENDATION=Browsers are listed based on performance and hours of testing invested by our team. +BROWSER_NOT_SUPPORTED_TITLE=Ups\!\!\!. Su navegador no esta soportado +BROWSER_NOT_SUPPORTED_MSG=El navegador que esta usando no ha sido probado extensivamente y es posible que no sea completamente funcional con el sitio. WiseMapping ha sido optimizado para: +BROWSER_NOT_SUPPORTED_TRY_AGAIN=Por favor, intente nuevamente con alguno de los browsers previamente listados. + + +INSTALL_CFG=Disculpe, Microsoft Internet Explorer 8 esta parcialmente soportado +INSTALL_CFG_REASON = Microsoft Internet Explorer 8 soporta parcialmente HTML 5 y SVG. SVG es la tecnolog\u00eda que WiseMapping usa para el editor de mapas. Le recomendamos que actualice a Microsoft Internet Explorer 9 o utilice otro navegador como ser Google Chrome, Firefox o Safari. +INSTALL_CFG_CLICK_HERE=Si desea seguir utilizando Internet Explorer 8, haga click ac\u00e1 para instalar Google Chrome Frame Plugin. Google Chrome Frame Plugin extiende las capaciadades de Internet Explorer con HTML 5. +HERE=aqu\u00ed diff --git a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml index 4dc7e9a6..a7c95e27 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml @@ -94,7 +94,7 @@ - + diff --git a/wise-webapp/src/main/webapp/jsp/browserNotSupported.jsp b/wise-webapp/src/main/webapp/jsp/browserNotSupported.jsp index 3c9a1bde..ae1ed2dd 100644 --- a/wise-webapp/src/main/webapp/jsp/browserNotSupported.jsp +++ b/wise-webapp/src/main/webapp/jsp/browserNotSupported.jsp @@ -1,22 +1,21 @@ <%@page pageEncoding="UTF-8" %> <%@include file="/jsp/init.jsp" %> -

Ups!!!. Your browser is not currently supported

+

-

Your browser has not been fully tested and it might not be completely functional. WiseMapping has been optimized - for:

+

- Try again with one of the browsers previously listed. +

- Note: Browsers are listed based on performance and - hours of testing invested by our team. + :

diff --git a/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp b/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp index 7c7b57e1..09b478a9 100644 --- a/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp +++ b/wise-webapp/src/main/webapp/jsp/errorTemplate.jsp @@ -13,9 +13,9 @@ -

- -

+ + +