Adapt templates to new translation (#595)

This commit is contained in:
Xavier Guimard 2016-04-10 06:28:56 +00:00
parent 0abcee5663
commit 51d3741123
22 changed files with 99 additions and 103 deletions

View File

@ -3,7 +3,7 @@
<div class="checkbox"> <div class="checkbox">
<label for="checkLogins"> <label for="checkLogins">
<input type="checkbox" id="checkLogins" name="checkLogins" <TMPL_IF NAME="ASK_LOGINS">checked</TMPL_IF> /> <input type="checkbox" id="checkLogins" name="checkLogins" <TMPL_IF NAME="ASK_LOGINS">checked</TMPL_IF> />
<lang en="Check my last logins" fr="Voir mes derni&egrave;res connexions"/> <span trspan="checkLastLogins">Check my last logins</span>
</label> </label>
</div> </div>
</TMPL_IF> </TMPL_IF>

View File

@ -19,9 +19,9 @@
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"> <h3 class="panel-title">
<TMPL_IF NAME="LIST"> <TMPL_IF NAME="LIST">
<lang en="Select your Identity Provider" fr="Choisissez votre fournisseur d'identit&eacute;"/> <span trspan="selectIdP">Select your Identity Provider</span>
<TMPL_ELSE> <TMPL_ELSE>
<lang en="Confirmation" fr="Confirmation"/> <span trspan="confirmation">Confirmation</span>
</TMPL_IF> </TMPL_IF>
</h3> </h3>
</div> </div>
@ -52,7 +52,7 @@
<div class="checkbox"> <div class="checkbox">
<label for="remember"> <label for="remember">
<input type="checkbox" id="remember" name="cookie_type" value="1"> <input type="checkbox" id="remember" name="cookie_type" value="1">
<lang en="Remember my choice" fr="Se souvenir de mon choix"/> <span trspan="rememberChoice">Remember my choice</span>
</label> </label>
</div> </div>
</TMPL_IF> </TMPL_IF>
@ -62,7 +62,7 @@
<TMPL_IF NAME="ACTIVE_TIMER"> <TMPL_IF NAME="ACTIVE_TIMER">
<div class="alert alert-info"> <div class="alert alert-info">
<p id="timer"><lang en="Automatically accept in 5 seconds" fr="Acceptation automatique dans 5 secondes"/></p> <p id="timer" trspan="autoAccept">Automatically accept in 5 seconds</p>
</div> </div>
<!-- //if:jsminified <!-- //if:jsminified
@ -75,11 +75,11 @@
<div class="buttons"> <div class="buttons">
<button type="submit" class="positive btn btn-success"> <button type="submit" class="positive btn btn-success">
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="Accept" fr="Accepter" /> <span trspan="accept">Accept</span>
</button> </button>
<button type="submit" class="negative btn btn-danger" onclick="$('#confirm').attr('value','-<TMPL_VAR NAME="CONFIRMKEY">');"> <button type="submit" class="negative btn btn-danger" onclick="$('#confirm').attr('value','-<TMPL_VAR NAME="CONFIRMKEY">');">
<span class="glyphicon glyphicon-stop"></span> <span class="glyphicon glyphicon-stop"></span>
<lang en="Refuse" fr="Refuser" /> <span trspan="refuse">Refuse</span>
</button> </button>
</div> </div>

View File

@ -1,9 +1,9 @@
<!-- Custom HTML footer --> <!-- Custom HTML footer -->
<p> <p>
<lang en="Service provided by" fr="Ce service est fourni par" /> <span trspan="serviceProvidedBy">Service provided by</span>
<a href="http://lemonldap-ng.org" target="_blank" class="btn btn-default btn-xs"> <a href="http://lemonldap-ng.org" target="_blank" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-new-window"></span> <span class="glyphicon glyphicon-new-window"></span>
LemonLDAP::NG LemonLDAP::NG
</a> </a>
<lang en="free software covered by the GPL license" fr="logiciel libre prot&eacute;g&eacute; par la licence GPL" />. <span trspan="gplSoft">free software covered by the GPL license</span>.
</p> </p>

View File

@ -4,19 +4,19 @@
<TMPL_IF ERROR403> <TMPL_IF ERROR403>
<div class="message message-negative alert"> <div class="message message-negative alert">
<lang en="You have no access authorization for this application" fr="Vous n'avez pas les droits d'acc&egrave;s &agrave; cette application" /> <span trspan="accessDenied">You have no access authorization for this application</span>
</div> </div>
</TMPL_IF> </TMPL_IF>
<TMPL_IF ERROR500> <TMPL_IF ERROR500>
<div class="message message-negative alert"> <div class="message message-negative alert">
<lang en="Error occurs on the server" fr="Une erreur est survenue sur le serveur" /> <span trspan="serverError">Error occurs on the server</span>
</div> </div>
</TMPL_IF> </TMPL_IF>
<TMPL_IF ERROR503> <TMPL_IF ERROR503>
<div class="message message-warning alert"> <div class="message message-warning alert">
<lang en="This application is in maintenance, please try to connect later" fr="Cette application est en maintenance, merci de r&eacute;essayer plus tard" /> <span trspan="maintenanceMode">This application is in maintenance, please try to connect later</span>
</div> </div>
</TMPL_IF> </TMPL_IF>
@ -24,7 +24,7 @@
<TMPL_IF URL> <TMPL_IF URL>
<div class="message message-warning alert"> <div class="message message-warning alert">
<lang en="You were redirect from " fr="Vous avez &eacute;t&eacute; redirig&eacute; depuis " /> <span trspan="redirectedFrom">You were redirect from </span>
<a href="<TMPL_VAR NAME="URL">"><TMPL_VAR NAME="URL"></a> <a href="<TMPL_VAR NAME="URL">"><TMPL_VAR NAME="URL"></a>
</div> </div>
</TMPL_IF> </TMPL_IF>
@ -32,12 +32,12 @@
<div class="buttons"> <div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button"> <a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span> <span class="glyphicon glyphicon-home"></span>
<lang en="Go to portal" fr="Aller au portail" /> <span trspan="goToPortal">Go to portal</span>
</a> </a>
<TMPL_IF NAME="LOGOUT_URL"> <TMPL_IF NAME="LOGOUT_URL">
<a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-danger" role="button"> <a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-danger" role="button">
<span class="glyphicon glyphicon-log-out"></span> <span class="glyphicon glyphicon-log-out"></span>
<lang en="Logout" fr="Se d&eacute;connecter" /> <span trspan="logout">Logout</span>
</a> </a>
</TMPL_IF> </TMPL_IF>
</div> </div>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<title><lang en="Authentication portal" fr="Portail d'authentification"/></title> <title trspan="authPortal">Authentication portal</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" />

View File

@ -9,23 +9,23 @@
</TMPL_IF> </TMPL_IF>
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><lang en="Information" fr="Information"/></h3> <h3 class="panel-title" trspan="info">Information</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<TMPL_VAR NAME="MSG"> <TMPL_VAR NAME="MSG">
</div> </div>
</div> </div>
<div class="alert alert-info"> <div class="alert alert-info">
<p id="timer"><lang en="You'll be redirected in 10 seconds" fr="Vous allez &ecirc;tre redirig&eacute;(e) automatiquement dans 10 secondes"/></p> <p id="timer" trspan="redirectedIn">You'll be redirected in 10 seconds</p>
</div> </div>
<div class="buttons"> <div class="buttons">
<button type="submit" class="positive btn btn-success"> <button type="submit" class="positive btn btn-success">
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="Continue" fr="Continuer" /> <span trspan="continue">Continue</span>
</button> </button>
<button type="reset" class="negative btn btn-danger" onclick="stop();"> <button type="reset" class="negative btn btn-danger" onclick="stop();">
<span class="glyphicon glyphicon-stop"></span> <span class="glyphicon glyphicon-stop"></span>
<lang en="Wait" fr="Attendre" /> <span trspan="wait">Wait</span>
</button> </button>
</div> </div>
</form> </form>

View File

@ -79,7 +79,7 @@
<div class="buttons"> <div class="buttons">
<button type="submit" class="btn btn-success"> <button type="submit" class="btn btn-success">
<span class="glyphicon glyphicon-log-in"></span> <span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" /> <span trspan="connect">Connect</span>
</button> </button>
</div> </div>
@ -161,7 +161,7 @@
<div class="buttons"> <div class="buttons">
<button type="submit" class="btn btn-success"> <button type="submit" class="btn btn-success">
<span class="glyphicon glyphicon-log-in"></span>&nbsp; <span class="glyphicon glyphicon-log-in"></span>&nbsp;
<lang en="Connect" fr="Se connecter" /> <span trspan="connect">Connect</span>
</button> </button>
</div> </div>
</div> </div>
@ -188,7 +188,7 @@
<TMPL_IF NAME="MSG"><TMPL_VAR NAME="MSG"></TMPL_IF> <TMPL_IF NAME="MSG"><TMPL_VAR NAME="MSG"></TMPL_IF>
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button"> <a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span>&nbsp; <span class="glyphicon glyphicon-home"></span>&nbsp;
<lang en="Go to portal" fr="Aller au portail" /> <span trspan="goToPortal">Go to portal</span>
</a> </a>
</div> </div>
</div> </div>
@ -199,7 +199,7 @@
<div class="buttons"> <div class="buttons">
<a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-danger" role="button"> <a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-danger" role="button">
<span class="glyphicon glyphicon-log-out"></span>&nbps; <span class="glyphicon glyphicon-log-out"></span>&nbps;
<lang en="Logout" fr="Se d&eacute;connecter"/> <span trspan="logout">Logout</span>
</a> </a>
</div> </div>
</div> </div>

View File

@ -18,11 +18,11 @@
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" /> <input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
</TMPL_IF> </TMPL_IF>
<h3><lang en="Forgot your password?" fr="Mot de passe oubli&eacute; ?"/></h3> <h3 trspan="forgotPwd">Forgot your password?</h3>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i> </span>
<input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">" class="form-control" placeholder="<lang en="Mail" fr="Adresse mail"/>" required /> <input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">" class="form-control" trplaceholder="mail" required />
</div> </div>
<TMPL_IF NAME=CAPTCHA_IMG> <TMPL_IF NAME=CAPTCHA_IMG>
@ -38,7 +38,7 @@
<button type="submit" class="btn btn-success" > <button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-send"></span> <span class="glyphicon glyphicon-send"></span>
<lang en="Send me a new password" fr="Envoyez-moi un nouveau mot de passe" /> <span trspan="sendPwd">Send me a new password</span>
</button> </button>
</div> </div>
@ -58,25 +58,25 @@
<input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail"> <input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail">
</TMPL_IF> </TMPL_IF>
<h3><lang en="Resend confirmation mail?" fr="Renvoyer le mail de confirmation ?"/></h3> <h3 trspan="resendConfirmMail">Resend confirmation mail?</h3>
<p class="alert alert-info"> <p class="alert alert-info">
<lang en="A password reset request was already issued on " fr="Une demande de r&eacute;initialisation de mot de passe a d&eacute;j&agrave; &eacute;t&eacute; faite le " /> <span trspan="pwdResetAlreadyIssued">A password reset request was already issued on </span>
<TMPL_VAR NAME="STARTMAILDATE">. <TMPL_VAR NAME="STARTMAILDATE">.
<lang en="Do you want the confirmation mail to be resent?" fr="Voulez-vous que le message de confirmation soit renvoy&eacute; ?" /> <span trspan="resentConfirm">Do you want the confirmation mail to be resent?</span>
</p> </p>
<div class="checkbox"> <div class="checkbox">
<label for="resendconfirmation"> <label for="resendconfirmation">
<input id="resendconfirmation" type="checkbox" name="resendconfirmation"> <input id="resendconfirmation" type="checkbox" name="resendconfirmation">
<lang en="Yes, resend the mail" fr="Oui, renvoyer le mail"/> <span trspan="confirmPwd">Yes, resend the mail</span>
</label> </label>
</div> </div>
<div class="form-group"> <div class="form-group">
<button type="submit" class="btn btn-success"> <button type="submit" class="btn btn-success">
<lang en="Submit" fr="Valider" /> <span trspan="submit">Submit</span>
</button> </button>
</div> </div>
@ -98,28 +98,28 @@
<input type="hidden" id="mail_token" name="mail_token" value="<TMPL_VAR NAME="MAIL_TOKEN">" /> <input type="hidden" id="mail_token" name="mail_token" value="<TMPL_VAR NAME="MAIL_TOKEN">" />
</TMPL_IF> </TMPL_IF>
<h3><lang en="Change your password" fr="Changez votre mot de passe" /></h3> <h3><span trspan="changePwd">Change your password</span></h3>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
<input name="newpassword" type="password" class="form-control" placeholder="<lang en="New password" fr="Nouveau mot de passe" />" /> <input name="newpassword" type="password" class="form-control" trplaceholder="newPassword" />
</div> </div>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
<input name="confirmpassword" type="password" class="form-control" placeholder="<lang en="Confirm password" fr="Confirmez le mot de passe" />" /> <input name="confirmpassword" type="password" class="form-control" trplaceholder="confirmPwd" />
</div> </div>
<div class="checkbox"> <div class="checkbox">
<label for="reset"> <label for="reset">
<input id="reset" type="checkbox" name="reset" /> <input id="reset" type="checkbox" name="reset" />
<lang en="Generate the password automatically" fr="G&eacute;n&eacute;rer le mot de passe automatiquement" /> <span trspan="generatePwd">Generate the password automatically</span>
</label> </label>
</div> </div>
<div class="form-group"> <div class="form-group">
<button type="submit" class="btn btn-success"> <button type="submit" class="btn btn-success">
<lang en="Submit" fr="Soumettre" /> <span trspan="submit">Submit</span>
</button> </button>
</div> </div>
@ -132,10 +132,10 @@
<form action="#" method="post" class="login" role="form"> <form action="#" method="post" class="login" role="form">
<div class="form"> <div class="form">
<h3> <h3>
<lang en="A message has been sent to your mail address." fr="Un message a &eacute;t&eacute; envoy&eacute; &agrave; votre adresse mail." /> <span trspan="mailSent2">A message has been sent to your mail address.</span>
</h3> </h3>
<p class="alert alert-info"> <p class="alert alert-info">
<lang en="This message contains a link to reset your password, this link is valid until " fr="Ce message contient un lien pour r&eacute;initialiser votre mot de passe, ce lien est valide jusqu'au " /> <span trspan="linkValidUntil">This message contains a link to reset your password, this link is valid until </span>
<TMPL_VAR NAME="EXPMAILDATE">. <TMPL_VAR NAME="EXPMAILDATE">.
</p> </p>
</div> </div>
@ -146,7 +146,7 @@
<form action="#" method="post" class="login" role="form"> <form action="#" method="post" class="login" role="form">
<div class="form"> <div class="form">
<h3> <h3>
<lang en="Your new password has been sent to your mail address." fr="Votre nouveau mot de passe a &eacute;t&eacute; envoy&eacute; &agrave; votre adresse mail." /> <span trspan="newPwdSentTo">Your new password has been sent to your mail address.</span>
</h3> </h3>
</div> </div>
</form> </form>
@ -157,7 +157,7 @@
<div class="buttons"> <div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN">" class="btn btn-primary" role="button"> <a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN">" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span> <span class="glyphicon glyphicon-home"></span>
<lang en="Go back to portal" fr="Retourner au portail" /> <span trspan="back2Portal">Go back to portal</span>
</a> </a>
</div> </div>

View File

@ -36,32 +36,32 @@
<TMPL_IF NAME="Appslist"> <TMPL_IF NAME="Appslist">
<li><a href="#appslist"><span> <li><a href="#appslist"><span>
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/application_cascade.png" width="16" height="16" alt="appslist" /> <img src="<TMPL_VAR NAME="SKIN_PATH">/common/application_cascade.png" width="16" height="16" alt="appslist" />
<lang en="Your applications" fr="Vos applications" /> <span trspan="yourApps">Your applications</span>
</span></a></li> </span></a></li>
</TMPL_IF> </TMPL_IF>
<TMPL_IF NAME="ChangePassword"> <TMPL_IF NAME="ChangePassword">
<li><a href="#password"><span> <li><a href="#password"><span>
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/vcard_edit.png" width="16" height="16" alt="password" /> <img src="<TMPL_VAR NAME="SKIN_PATH">/common/vcard_edit.png" width="16" height="16" alt="password" />
<lang en="Password" fr="Mot de passe" /> <span trspan="password">Password</span>
</span></a></li> </span></a></li>
</TMPL_IF> </TMPL_IF>
<TMPL_IF NAME="LoginHistory"> <TMPL_IF NAME="LoginHistory">
<li><a href="#loginHistory"><span> <li><a href="#loginHistory"><span>
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/calendar.png" width="16" height="16" alt="login history" /> <img src="<TMPL_VAR NAME="SKIN_PATH">/common/calendar.png" width="16" height="16" alt="login history" />
<lang en="Login history" fr="Historique des connexions" /> <span trspan="loginHistory">Login history</span>
</span></a></li> </span></a></li>
</TMPL_IF> </TMPL_IF>
<TMPL_IF NAME="Logout"> <TMPL_IF NAME="Logout">
<li><a href="#logout"><span> <li><a href="#logout"><span>
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/door_out.png" width="16" height="16" alt="logout" /> <img src="<TMPL_VAR NAME="SKIN_PATH">/common/door_out.png" width="16" height="16" alt="logout" />
<lang en="Logout" fr="D&eacute;connexion" /> <span trspan="logout">Logout</span>
</span></a></li> </span></a></li>
</TMPL_IF> </TMPL_IF>
</TMPL_LOOP> </TMPL_LOOP>
</ul> </ul>
<div class="user navbar-right"> <div class="user navbar-right">
<p class="navbar-text"><lang en="Connected as" fr="Connect&eacute; en tant que" /> <TMPL_VAR NAME="AUTH_USER"></p> <p class="navbar-text"><span trspan="connectedAs">Connected as</span> <TMPL_VAR NAME="AUTH_USER"></p>
</div> </div>
</div> </div>
@ -152,7 +152,7 @@
<div id="password"> <div id="password">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><lang en="Change your password" fr="Changez votre mot de passe" /></h3> <h3 class="panel-title" trspan="changePwd">Change your password</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<TMPL_INCLUDE NAME="password.tpl"> <TMPL_INCLUDE NAME="password.tpl">
@ -166,7 +166,7 @@
<TMPL_IF NAME="SUCCESS_LOGIN"> <TMPL_IF NAME="SUCCESS_LOGIN">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><lang en="Last logins" fr="Derni&egrave;res connexions" /></h3> <h3 class="panel-title" trspan="lastLogins">Last logins</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<TMPL_VAR NAME="SUCCESS_LOGIN"> <TMPL_VAR NAME="SUCCESS_LOGIN">
@ -176,7 +176,7 @@
<TMPL_IF NAME="FAILED_LOGIN"> <TMPL_IF NAME="FAILED_LOGIN">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><lang en="Last failed logins" fr="Derni&egrave;res connexions refus&eacute;es" /></h3> <h3 class="panel-title" trspan="lastFailedLogins">Last failed logins</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<TMPL_VAR NAME="FAILED_LOGIN"> <TMPL_VAR NAME="FAILED_LOGIN">
@ -190,12 +190,12 @@
<div id="logout"> <div id="logout">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><lang en="Are you sure ?" fr="&Ecirc;tes vous s&ucirc;r ?" /></h3> <h3 class="panel-title" trspan="areYouSure">Are you sure ?</h3>
</div> </div>
<div class="panel-body buttons"> <div class="panel-body buttons">
<a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-success" role="button"> <a href="<TMPL_VAR NAME="LOGOUT_URL">" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="I'm sure" fr="Je suis s&ucirc;r" /> <span trspan="imSure">I'm sure</span>
</a> </a>
</div> </div>
</div> </div>

View File

@ -12,7 +12,7 @@
</TMPL_IF> </TMPL_IF>
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><lang en="You have some new messages" fr="Vous avez de nouveaux messages"/></h3> <h3 class="panel-title" trspan="gotNewMessages">You have some new messages</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form well"> <div class="form well">
@ -24,7 +24,7 @@
<div class="buttons"> <div class="buttons">
<button type="submit" class="positive btn btn-success"> <button type="submit" class="positive btn btn-success">
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="Accept" fr="Accepter" /> <span trspan="accept">Accept</span>
</button> </button>
</div> </div>

View File

@ -10,7 +10,7 @@
<TMPL_IF NAME="ID"> <TMPL_IF NAME="ID">
<div class="alert alert-info"> <div class="alert alert-info">
<h3><lang en="Your identity is" fr="Votre identit&eacute; est&nbsp;"/>: <TMPL_VAR NAME="ID"></h3> <h3><span trspan="yourIdentityIs">Your identity is</span>: <TMPL_VAR NAME="ID"></h3>
</div> </div>
</TMPL_IF> </TMPL_IF>
@ -25,7 +25,7 @@
<div class="buttons"> <div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="positive btn btn-success"> <a href="<TMPL_VAR NAME="PORTAL_URL">" class="positive btn btn-success">
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="Go to portal" fr="Aller au portail" /> <span trspan="goToPortal">Go to portal</span>
</a> </a>
</div> </div>

View File

@ -1,13 +1,13 @@
<div class="form"> <div class="form">
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-link"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-link"></i> </span>
<input name="openid_identifier" type="text" class="form-control" placeholder="<lang en="Please enter your OpenID login" fr="Entrez votre identifiant OpenID"/>" /> <input name="openid_identifier" type="text" class="form-control" trplaceholder="enterOpenIDLogin" />
</div> </div>
<TMPL_INCLUDE NAME="checklogins.tpl"> <TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-success" > <button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-log-in"></span> <span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" /> <span trspan="connect">Connect</span>
</button> </button>
</div> </div>

View File

@ -25,7 +25,7 @@
<TMPL_ELSE> <TMPL_ELSE>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
<input name="oldpassword" type="password" value="<TMPL_VAR NAME=OLDPASSWORD>" class="form-control" placeholder="<lang en="Current password" fr="Mot de passe actuel" />" required/> <input name="oldpassword" type="password" value="<TMPL_VAR NAME=OLDPASSWORD>" class="form-control" trplaceholder="currentPwd" required/>
</div> </div>
</TMPL_IF> </TMPL_IF>
@ -33,16 +33,16 @@
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
<input name="newpassword" type="password" class="form-control" placeholder="<lang en="New password" fr="Nouveau mot de passe" />" required /> <input name="newpassword" type="password" class="form-control" trplaceholder="newPassword" required />
</div> </div>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
<input name="confirmpassword" type="password" class="form-control" placeholder="<lang en="Confirm password" fr="Confirmez le mot de passe" />" required/> <input name="confirmpassword" type="password" class="form-control" trplaceholder="confirmPwd" required/>
</div> </div>
<button type="submit" class="btn btn-success" > <button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="Submit" fr="Soumettre" /> <span trspan="submit">Submit</span>
</button> </button>
</div> </div>
</form> </form>

View File

@ -20,17 +20,17 @@
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i> </span>
<input name="firstname" type="text" value="<TMPL_VAR NAME="FIRSTNAME">" class="form-control" placeholder="<lang en="First name" fr="Pr&eacute;nom"/>" required /> <input name="firstname" type="text" value="<TMPL_VAR NAME="FIRSTNAME">" class="form-control" trplaceholder="firstName" required />
</div> </div>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i> </span>
<input name="lastname" type="text" value="<TMPL_VAR NAME="LASTNAME">" class="form-control" placeholder="<lang en="Last name" fr="Nom"/>" required /> <input name="lastname" type="text" value="<TMPL_VAR NAME="LASTNAME">" class="form-control" trplaceholder="lastName" required />
</div> </div>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i> </span>
<input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">" class="form-control" placeholder="<lang en="Mail" fr="Adresse mail"/>" required /> <input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">" class="form-control" trplaceholder="mail" required />
</div> </div>
<TMPL_IF NAME=CAPTCHA_IMG> <TMPL_IF NAME=CAPTCHA_IMG>
@ -46,7 +46,7 @@
<button type="submit" class="btn btn-success" > <button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<lang en="Submit" fr="Envoyer" /> <span trspan="submit">Submit</span>
</button> </button>
</div> </div>
@ -72,25 +72,25 @@
<input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail"> <input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail">
</TMPL_IF> </TMPL_IF>
<h3><lang en="Resend confirmation mail?" fr="Renvoyer le mail de confirmation ?"/></h3> <h3 trspan="resendConfirmMail">Resend confirmation mail?</h3>
<p class="alert alert-info"> <p class="alert alert-info">
<lang en="A register request for this account was already issued on " fr="Une demande de cr&eacute;ation pour ce compte a d&eacute;j&agrave; &eacute;t&eacute; faite le " /> <span trspan="registerRequestAlreadyIssued">A register request for this account was already issued on </span>
<TMPL_VAR NAME="STARTMAILDATE">. <TMPL_VAR NAME="STARTMAILDATE">.
<lang en="Do you want the confirmation mail to be resent?" fr="Voulez-vous que le message de confirmation soit renvoy&eacute; ?" /> <span trspan="resentConfirm">Do you want the confirmation mail to be resent?</span>
</p> </p>
<div class="checkbox"> <div class="checkbox">
<label for="resendconfirmation"> <label for="resendconfirmation">
<input id="resendconfirmation" type="checkbox" name="resendconfirmation"> <input id="resendconfirmation" type="checkbox" name="resendconfirmation">
<lang en="Yes, resend the mail" fr="Oui, renvoyer le mail"/> <span trspan="yesResendMail">Yes, resend the mail</span>
</label> </label>
</div> </div>
<div class="form-group"> <div class="form-group">
<button type="submit" class="btn btn-success"> <button type="submit" class="btn btn-success">
<lang en="Submit" fr="Valider" /> <span trspan="submit">Submit</span>
</button> </button>
</div> </div>
@ -101,11 +101,9 @@
<TMPL_IF NAME="DISPLAY_CONFIRMMAILSENT"> <TMPL_IF NAME="DISPLAY_CONFIRMMAILSENT">
<form action="#" method="post" class="login" role="form"> <form action="#" method="post" class="login" role="form">
<div class="form"> <div class="form">
<h3> <h3 trspan="mailSent2">A message has been sent to your mail address.</h3>
<lang en="A message has been sent to your mail address." fr="Un message a &eacute;t&eacute; envoy&eacute; &agrave; votre adresse mail." />
</h3>
<p class="alert alert-info"> <p class="alert alert-info">
<lang en="A confirmation link has been sent, this link is valid until " fr="Un lien de confirmation a &eacute;t&eacute; envoy&eacute;, ce lien est valide jusqu'au " /> <span trspan="confirmLinkSent">A confirmation link has been sent, this link is valid until </span>
<TMPL_VAR NAME="EXPMAILDATE">. <TMPL_VAR NAME="EXPMAILDATE">.
</p> </p>
</div> </div>
@ -115,9 +113,7 @@
<TMPL_IF NAME="DISPLAY_MAILSENT"> <TMPL_IF NAME="DISPLAY_MAILSENT">
<form action="#" method="post" class="login" role="form"> <form action="#" method="post" class="login" role="form">
<div class="form"> <div class="form">
<h3> <h3 trspan="accountCreated">Your account has been created, your temporary password has been sent to your mail address.</h3>
<lang en="Your account has been created, your temporary password has been sent to your mail address." fr="Votre compte a &eacute;t&eacute; cr&eacute;&eacute;, un mot de passe temporaire a &eacute;t&eacute; envoy&eacute; &agrave; votre adresse mail." />
</h3>
</div> </div>
</form> </form>
</TMPL_IF> </TMPL_IF>
@ -127,7 +123,7 @@
<div class="buttons"> <div class="buttons">
<a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN">" class="btn btn-primary" role="button"> <a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN">" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span> <span class="glyphicon glyphicon-home"></span>
<lang en="Go back to portal" fr="Retourner au portail" /> <span trspan="back2Portal">Go back to portal</span>
</a> </a>
</div> </div>

View File

@ -1,12 +1,12 @@
<div class="form"> <div class="form">
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i> </span>
<input name="user" type="text" value="<TMPL_VAR NAME="LOGIN">" class="form-control" placeholder="<lang en="Login" fr="Identifiant"/>" required /> <input name="user" type="text" value="<TMPL_VAR NAME="LOGIN">" trplaceholder="login" required />
</div> </div>
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
<input name="password" type="password" class="form-control" placeholder="<lang en="Password" fr="Mot de passe"/>" required /> <input name="password" type="password" class="form-control" trplaceholder="password" required />
</div> </div>
<TMPL_IF NAME=CAPTCHA_IMG> <TMPL_IF NAME=CAPTCHA_IMG>
@ -24,7 +24,7 @@
<button type="submit" class="btn btn-success" > <button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-log-in"></span> <span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" /> <span trspan="connect">Connect</span>
</button> </button>
</div> </div>
@ -32,14 +32,14 @@
<TMPL_IF NAME="DISPLAY_RESETPASSWORD"> <TMPL_IF NAME="DISPLAY_RESETPASSWORD">
<a class="btn btn-info" href="<TMPL_VAR NAME="MAIL_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="key">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF>"> <a class="btn btn-info" href="<TMPL_VAR NAME="MAIL_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="key">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF>">
<span class="glyphicon glyphicon-info-sign"></span> <span class="glyphicon glyphicon-info-sign"></span>
<lang en="Reset my password" fr="R&eacute;initialiser mon mot de passe"/> <span trspan="resetPwd">Reset my password</span>
</a> </a>
</TMPL_IF> </TMPL_IF>
<TMPL_IF NAME="DISPLAY_REGISTER"> <TMPL_IF NAME="DISPLAY_REGISTER">
<a class="btn btn-warning" href="<TMPL_VAR NAME="REGISTER_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="key">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF>"> <a class="btn btn-warning" href="<TMPL_VAR NAME="REGISTER_URL">?skin=<TMPL_VAR NAME="SKIN"><TMPL_IF NAME="key">&<TMPL_VAR NAME="CHOICE_PARAM">=<TMPL_VAR NAME="key"></TMPL_IF>">
<span class="glyphicon glyphicon-plus-sign"></span> <span class="glyphicon glyphicon-plus-sign"></span>
<lang en="Create an account" fr="Cr&eacute;er un compte"/> <span trspan="createAccount">Create an account</span>
</a> </a>
</TMPL_IF> </TMPL_IF>
</div> </div>

View File

@ -1,13 +1,13 @@
<div class="form"> <div class="form">
<div class="form-group input-group"> <div class="form-group input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-chevron-right"></i> </span> <span class="input-group-addon"><i class="glyphicon glyphicon-chevron-right"></i> </span>
<input name="yubikeyOTP" type="text" class="form-control" placeholder="<lang en="Please use your Yubikey" fr="Utilisez votre Yubikey"/>" /> <input name="yubikeyOTP" type="text" class="form-control" trplaceholder="enterYubikey" />
</div> </div>
<TMPL_INCLUDE NAME="checklogins.tpl"> <TMPL_INCLUDE NAME="checklogins.tpl">
<button type="submit" class="btn btn-success" > <button type="submit" class="btn btn-success" >
<span class="glyphicon glyphicon-log-in"></span> <span class="glyphicon glyphicon-log-in"></span>
<lang en="Connect" fr="Se connecter" /> <span trspan="connect">Connect</span>
</button> </button>
</div> </div>

View File

@ -1,11 +1,11 @@
<TMPL_INCLUDE NAME="mail_header.tpl"> <TMPL_INCLUDE NAME="mail_header.tpl">
<p> <p>
<lang en="Hello" fr="Bonjour" /> $cn,<br /> <span trspan="hello">Hello</span> $cn,<br />
<br /> <br />
<span><img src="cid:arrow:skins/common/bullet_go.png" /></span> <span><img src="cid:arrow:skins/common/bullet_go.png" /></span>
<a href="$url" style="text-decoration:none;color:orange;"> <a href="$url" style="text-decoration:none;color:orange;">
<lang en="Click here to reset your password" fr="Cliquez ici pour r&eacute;initialiser votre mot de passe" /> <span trspan="click2Reset">Click here to reset your password</span>
</a> </a>
</p> </p>

View File

@ -2,8 +2,8 @@
<div id="footer" style="font-size:9pt;"> <div id="footer" style="font-size:9pt;">
<p> <p>
<lang en="This mail was sent automatically" fr="Ceci est un message automatique" /><br /> <span trspan="autoMail">This mail was sent automatically</span><br />
<lang en="The request was issued from IP" fr="La demande provient de l'IP" /> <span trspan="requestIssuedFromIP">The request was issued from IP</span>
$ipAddr $ipAddr
</p> </p>
</div> </div>

View File

@ -1,14 +1,14 @@
<TMPL_INCLUDE NAME="mail_header.tpl"> <TMPL_INCLUDE NAME="mail_header.tpl">
<p> <p>
<lang en="Hello" fr="Bonjour" /> $cn,<br /> <span trspan="hello">Hello</span> $cn,<br />
<br /> <br />
<TMPL_IF NAME="RESET"> <TMPL_IF NAME="RESET">
<lang en="Your new password is" fr="Votre nouveau mot de passe est" /> <span trspan="newPwdIs">Your new password is</span>
<span><img src="cid:key:skins/common/key.png" /></span> <span><img src="cid:key:skins/common/key.png" /></span>
<b>$password</b> <b>$password</b>
<TMPL_ELSE> <TMPL_ELSE>
<lang en="Your password was changed." fr="Votre mot de passe a &eacute;t&eacute; chang&eacute;." /> <span trspan="pwdChanged">Your password was changed.</span>
</TMPL_IF> </TMPL_IF>
</p> </p>

View File

@ -1,11 +1,11 @@
<TMPL_INCLUDE NAME="mail_header.tpl"> <TMPL_INCLUDE NAME="mail_header.tpl">
<p> <p>
<lang en="Hello" fr="Bonjour" /> $firstname $lastname,<br /> <span trspan="hello">Hello</span> $firstname $lastname,<br />
<br /> <br />
<span><img src="cid:arrow:skins/common/bullet_go.png" /></span> <span><img src="cid:arrow:skins/common/bullet_go.png" /></span>
<a href="$url" style="text-decoration:none;color:orange;"> <a href="$url" style="text-decoration:none;color:orange;">
<lang en="Click here to confirm your account registration" fr="Cliquez ici pour confirmer l'enregistrement de votre compte" /> <span trspan="click2Register">Click here to confirm your account registration</span>
</a> </a>
</p> </p>

View File

@ -1,16 +1,16 @@
<TMPL_INCLUDE NAME="mail_header.tpl"> <TMPL_INCLUDE NAME="mail_header.tpl">
<p> <p>
<lang en="Hello" fr="Bonjour" /> $firstname $lastname,<br /> <span trspan="hello">Hello</span> $firstname $lastname,<br />
<br /> <br />
<lang en="Your account was successfully created." fr="Votre compte a bien &eacute;t&eacute; cr&eacute;&eacute;." /> <span trspan="accountCreated">Your account was successfully created.</span>
<br /> <br />
<br /> <br />
<lang en="Your login is" fr="Votre identifiant est" /> <span trspan="yourLoginIs">Your login is</span>
<span><img src="cid:key:skins/common/bullet_go.png" /></span> <span><img src="cid:key:skins/common/bullet_go.png" /></span>
<b>$login</b> <b>$login</b>
<br /> <br />
<lang en="Your password is" fr="Votre mot de passe est" /> <span trspan="pwdIs">Your password is</span>
<span><img src="cid:key:skins/common/key.png" /></span> <span><img src="cid:key:skins/common/key.png" /></span>
<b>$password</b> <b>$password</b>
</p> </p>

View File

@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<title><lang en="Authentication portal" fr="Portail d'authentification"/></title> <title trspan="authPortal">Authentication portal</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" />
@ -33,20 +33,20 @@ form {
<body onload="document.location.href='<TMPL_VAR NAME="URL">'"> <body onload="document.location.href='<TMPL_VAR NAME="URL">'">
</TMPL_IF> </TMPL_IF>
<h1><lang en="Redirection in progress..." fr="Redirection en cours..."/></h1> <h1 trspan="redirectionInProgres">Redirection in progress...</h1>
<noscript> <noscript>
<p><lang en="It appears that your browser<br/>does not support Javascript." fr="Il semble que votre navigateur<br/>ne prend pas en charge Javascript."/></p> <p>It appears that your browser<br/>does not support Javascript.</p>
</noscript> </noscript>
<TMPL_IF NAME="HIDDEN_INPUTS"> <TMPL_IF NAME="HIDDEN_INPUTS">
<form id="form" action="<TMPL_VAR NAME="URL">" method="<TMPL_VAR NAME="FORM_METHOD">" class="login"> <form id="form" action="<TMPL_VAR NAME="URL">" method="<TMPL_VAR NAME="FORM_METHOD">" class="login">
<TMPL_VAR NAME="HIDDEN_INPUTS"> <TMPL_VAR NAME="HIDDEN_INPUTS">
<noscript> <noscript>
<input type="submit" value="<lang en="Please click here" fr="Cliquez ici"/>"/> <input type="submit" value="Please click here"/>
</noscript> </noscript>
</form> </form>
<TMPL_ELSE> <TMPL_ELSE>
<noscript> <noscript>
<p><a href="<TMPL_VAR NAME="URL">"><lang en="Please click here" fr="Cliquez ici"/></a></p> <p><a href="<TMPL_VAR NAME="URL">" trspan="clickHere">Please click here</a></p>
</noscript> </noscript>
</TMPL_IF> </TMPL_IF>
</body> </body>