Error page support for I18n.

This commit is contained in:
Paulo Gustavo Veiga 2012-06-30 19:01:05 -03:00
parent 8e103f44c8
commit 538e0196e2
5 changed files with 42 additions and 45 deletions

View File

@ -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!<br/>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.<br/>You might have to reopen the browser after you have installed the plugin.<br/><br/>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
@ -237,3 +220,14 @@ OPTIONAL_CUSTOM_MESSAGE=Optional\: Include a personal message
VIEW=view
YOU=You
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.

View File

@ -1,7 +1,7 @@
NAME=Nombre
DESCRIPTION=Descripci&oacute;n
SITE.TITLE=WiseMapping
SITE.SLOGAN=La Evoluci\u00f3n En Inteligencia Visual
SITE.SLOGAN=Evoluci\u00f3n En Inteligencia Visual
VIEWERS=Lectores
USER_REGISTRATION=Registraci&oacute;n de Usuarios
CANCEL=Cancelar
@ -24,14 +24,12 @@ CLOSE=Cerrar
NOT_READY_A_USER=Todav&iacute;a no usa WiseMapping?
NOT_READY_A_USER_MESSAGE=La registraci&oacute;n es r&aacute;pida y solo toma un momento.
JOIN_NOW=Inscribete Ahora !
MINDMAP=Mindmap
FORGOT_PASSWORD=Se olvid&oacute; la contrase\u00f1a ?
CHANGE_PASSWORD=Cambiar la Contrase\u00f1a
FAQ=Preguntas Frecuentes
SHORT_FAQ=FAQ
LOGIN=Entrar
MSG=Mensaje
PROBLEM_DETAIL=Descripci&oacute;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&oacute;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&oacute;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&oacute;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&oacute;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&oacute;n de escritorio gra
TERMSOFUSE=T&eacute;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

View File

@ -94,7 +94,7 @@
</definition>
<definition name="browserNotSupported" extends="pageTemplate">
<put-attribute name="title" value="UNSUPPORTED_BROWSER"/>
<put-attribute name="title" value="BROWSER_NOT_SUPPORTED_TITLE"/>
<put-attribute name="body" value="/jsp/browserNotSupported.jsp"/>
</definition>

View File

@ -1,22 +1,21 @@
<%@page pageEncoding="UTF-8" %>
<%@include file="/jsp/init.jsp" %>
<h2>Ups!!!. Your browser is not currently supported</h2>
<h2><spring:message code="BROWSER_NOT_SUPPORTED_TITLE"/></h2>
<p>Your browser has not been fully tested and it might not be completely functional. WiseMapping has been optimized
for:</p>
<p><spring:message code="BROWSER_NOT_SUPPORTED_MSG"/></p>
<ul>
<li>Chrome 19 or greater</li>
<li>Firefox 11.0 or greater</li>
<li>Opera 11 or greater</li>
<li>Safari 5 or greater</li>
<li>Internet Explorer 8.0 or greater</li>
<li>Chrome 19 <spring:message code="OR_GREATER"/></li>
<li>Firefox 11.0 <spring:message code="OR_GREATER"/></li>
<li>Opera 11 <spring:message code="OR_GREATER"/></li>
<li>Safari 5 <spring:message code="OR_GREATER"/></li>
<li>Internet Explorer 8.0 <spring:message code="OR_GREATER"/></li>
</ul>
<p>
Try again with one of the browsers previously listed.
<spring:message code="BROWSER_NOT_SUPPORTED_TRY_AGAIN"/>
</p>
<p>
<span class="label label-info">Note:</span> Browsers are listed based on performance and
hours of testing invested by our team.
<span class="label label-info"><spring:message code="IMPORTANT"/>: </span><spring:message
code="BROWSER_RECOMMENDATION"/>
</p>

View File

@ -13,9 +13,9 @@
<spring:message code="${requestScope.title}"/>
</h2>
<p style="font-weight:bold;">
<strong>
<spring:message code="${requestScope.details}"/>
</p>
</strong>
<!--
<%
final Throwable exception = (Throwable) request.getAttribute("exception");
@ -23,8 +23,7 @@
exception.printStackTrace(response.getWriter());
String usrMail = "anonymous";
final User user = Utils.getUser(false);
if(user!=null)
{
if (user != null) {
usrMail = user.getEmail();
}