Author: kcardineaud Date: 2011-07-19 18:05:25 +0200 (Tue, 19 Jul 2011) New Revision: 178 Url: http://nuiton.org/repositories/revision/scmwebeditor/178 Log: Add some i18n properties Removed: trunk/src/main/webapp/WEB-INF/content/accueil.jsp Modified: trunk/src/main/resources/i18n/scmwebeditor_en_GB.properties trunk/src/main/resources/i18n/scmwebeditor_fr_FR.properties trunk/src/main/webapp/WEB-INF/content/badFileRedirect.jsp trunk/src/main/webapp/WEB-INF/content/error.jsp trunk/src/main/webapp/WEB-INF/content/preview.jsp trunk/src/main/webapp/WEB-INF/content/recall.jsp trunk/src/main/webapp/WEB-INF/content/redirect.jsp Modified: trunk/src/main/resources/i18n/scmwebeditor_en_GB.properties =================================================================== --- trunk/src/main/resources/i18n/scmwebeditor_en_GB.properties 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/resources/i18n/scmwebeditor_en_GB.properties 2011-07-19 16:05:25 UTC (rev 178) @@ -36,4 +36,10 @@ scm.uploadSuccess=File upload successful scm.mustBeLog=You must be login to see this repository. scm.loginButton=Login -scm.privateScmAccess=You try to access a Private SCM. Please login \ No newline at end of file +scm.privateScmAccess=You try to access a Private SCM. Please login +scm.thankUsing=Thank you using SCMWebEditor +scm.beTransferred=You should be transferred automatically to the new page. If not please +scm.clickHere=click here +scm.redirection=Redirection... +badPathOrFileName=Bad repository path or file name! Please correct it. +scm.formTransferred=You should be transferred automatically to the form page. If not please \ No newline at end of file Modified: trunk/src/main/resources/i18n/scmwebeditor_fr_FR.properties =================================================================== --- trunk/src/main/resources/i18n/scmwebeditor_fr_FR.properties 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/resources/i18n/scmwebeditor_fr_FR.properties 2011-07-19 16:05:25 UTC (rev 178) @@ -1,11 +1,15 @@ +badPathOrFileName=L''adresse du depot ou le nom du fichier est incorrect \! scm.FileInEditor=Fichier dans l''editeur \: scm.badUsernameOrPassword=Identifiant ou mot de passe incorrect +scm.beTransferred=Vous devrais être redirige sur une nouvelle page. si non +scm.clickHere=cliquez ici scm.commitMessage=Message associe au commit scm.commitMessageTitle=laisser un message pour le commit scm.erreurRepo=Erreur sur le depot scm.exit=Quitter scm.exitJavascript=Quitter ScmWebEditor sans sauvegarder ? Toutes les modifications serons perdues. scm.exitTitle=Quitter ScmWebEditor sans sauvegarder. +scm.formTransferred=Vous devrais être redirige vers la page du formulaire. si non scm.info.ProblemWithRst=Si vous rencontrez des problemes avec RestruturedText, visitez le scm.info.rstWebsite=site de la documentation RST scm.language=Langage @@ -22,6 +26,7 @@ scm.passwordTitle=Mot de passe du depot scm.preview=Apercu scm.privateScmAccess=Pour modifier ce fichier, veuillez vous connecter. +scm.redirection=Redirection... scm.reset=Reinitialiser scm.resetTitle=Retour a la derniere revision du fichier scm.saveAndContinue=Sauvegarder et continuer @@ -29,6 +34,7 @@ scm.saveAndQuit=Sauvegarder et quitter scm.saveAndQuitTitle=Sauvegarder le fichier sur le depot et retourner à la page precedente. scm.text=Texte +scm.thankUsing=merci d'avoir utilise SCMWebEditor scm.upload=Ajouter un fichier scm.uploadFile=Url du fichier scm.uploadPath=Repertoire sur le depot Deleted: trunk/src/main/webapp/WEB-INF/content/accueil.jsp =================================================================== --- trunk/src/main/webapp/WEB-INF/content/accueil.jsp 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/webapp/WEB-INF/content/accueil.jsp 2011-07-19 16:05:25 UTC (rev 178) @@ -1,3 +0,0 @@ -<%@ page contentType="text/html; charset=UTF-8" %> - - <p>Parametres detectés</p> Modified: trunk/src/main/webapp/WEB-INF/content/badFileRedirect.jsp =================================================================== --- trunk/src/main/webapp/WEB-INF/content/badFileRedirect.jsp 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/webapp/WEB-INF/content/badFileRedirect.jsp 2011-07-19 16:05:25 UTC (rev 178) @@ -1,6 +1,7 @@ <%-- Document : BadFileRedirect Created on : 6 oct. 2009, 15:33:56 Author : glorieux --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> @@ -14,10 +15,9 @@ </head> <body> <a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> -<p>Bad SCM path or file name! Please correct it.</p> -<p>You should be transferred automatically to the form page. If not -please <a href="<%=request.getAttribute("projectUrl")%>">click -this link</a>.</p> +<p><s:text name="badPathOrFileName" /></p> +<p><s:text name="scm.formTransferred" /> You should be transferred automatically to the form page. If notplease <a href="<%=request.getAttribute("projectUrl")%>"> +<s:text name="scm.clickHere" /></a>.</p> <p>©2004-2009 CodeLutin</p> </body> </html> Modified: trunk/src/main/webapp/WEB-INF/content/error.jsp =================================================================== --- trunk/src/main/webapp/WEB-INF/content/error.jsp 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/webapp/WEB-INF/content/error.jsp 2011-07-19 16:05:25 UTC (rev 178) @@ -1,5 +1,6 @@ <%-- Document : Error Created on : 15 sept. 2009, 12:22:29 Author : glorieux --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> @@ -16,7 +17,7 @@ </head> <body> <a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> -<p>Bad Login or Password. Please Wait.</p> +<p><s:text name="scm.badUsernameOrPassword"/></p> <p>©2004-2009 CodeLutin</p> </body> </html> Modified: trunk/src/main/webapp/WEB-INF/content/preview.jsp =================================================================== --- trunk/src/main/webapp/WEB-INF/content/preview.jsp 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/webapp/WEB-INF/content/preview.jsp 2011-07-19 16:05:25 UTC (rev 178) @@ -1,7 +1,7 @@ <%@ taglib prefix="s" uri="/struts-tags"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%--Title and div for rst preview--%> - <h3 id="prevtitle" >Preview :</h3> + <h3 id="prevtitle" ><s:text name="scm.preview" /> :</h3> <div id="prev" title="Preview"> <div id="preview" > Modified: trunk/src/main/webapp/WEB-INF/content/recall.jsp =================================================================== --- trunk/src/main/webapp/WEB-INF/content/recall.jsp 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/webapp/WEB-INF/content/recall.jsp 2011-07-19 16:05:25 UTC (rev 178) @@ -1,12 +1,13 @@ <%-- Document : Recall Created on : 30 sept. 2009, 17:05:40 Author : glorieux --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Redirect...</title> +<title><s:text name="scm.redirection" /></title> <meta http-equiv="Refresh" content="0; url= <%=request.getAttribute("Redirect_url")%>"> </head> Modified: trunk/src/main/webapp/WEB-INF/content/redirect.jsp =================================================================== --- trunk/src/main/webapp/WEB-INF/content/redirect.jsp 2011-07-19 15:16:35 UTC (rev 177) +++ trunk/src/main/webapp/WEB-INF/content/redirect.jsp 2011-07-19 16:05:25 UTC (rev 178) @@ -1,12 +1,13 @@ <%-- Document : Redirect Created on : 10 sept. 2009, 13:43:11 Author : glorieux --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Redirection...</title> +<title><s:text name="scm.redirection" /></title> <link rel="icon" href="img/ScmWebEditor_little.png" type="image/png"> <link rel="stylesheet" type="text/css" href="css/main.css"> <meta http-equiv="Refresh" content="2; url= @@ -14,10 +15,8 @@ </head> <body> <a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> -<p>Thank you using RSTEditor</p> -<p>You should be transferred automatically to the new page. If not -please <a href="<%=request.getAttribute("Redirection_url")%>">click -this link</a>.</p> +<p><s:text name="scm.thankUsing" /></p> +<p><s:text name="scm.beTransferred" /> <a href="<%=request.getAttribute("Redirection_url")%>"><s:text name="scm.clickHere" /></a>.</p> <p>©2004-2009 CodeLutin</p> </body> </html>