Commit 79674979 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

#1386 - Fix translation

parent 0e84c1da
......@@ -13,7 +13,7 @@ extends 'Lemonldap::NG::Portal::Main::Plugin', 'Lemonldap::NG::Common::TOTP';
has prefix => ( is => 'rw', default => 'totp' );
has template => ( is => 'ro', default => 'totpregister' );
has template => ( is => 'ro', default => 'totp2fregister' );
has logo => ( is => 'rw', default => 'totp.png' );
......
......@@ -110,7 +110,7 @@
"clickHere":"الرجاء الضغط هنا",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"أغلق جلسة الدخول الموحد (سسو)",
"code": "الشفرة",
"code":"الشفرة",
"confirmation":"التأكيد",
"confirmLinkSent":"تم إرسال رابط تأكيد، وهذا الرابط صالح حتى",
"confirmPwd":"تأكيد كلمة المرور",
......
......@@ -110,7 +110,7 @@
"clickHere":"Please click here",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Close your SSO session",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
"confirmPwd":"Confirm password",
......@@ -133,6 +133,7 @@
"gotNewMessages":"You have some new messages",
"goToPortal":"Go to portal",
"gplSoft":"free software covered by the GPL license",
"id":"Id",
"imSure":"I'm sure",
"info":"Information",
"ipAddr":"IP address",
......
......@@ -110,7 +110,7 @@
"clickHere":"Please click here",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Close your SSO session",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
"confirmPwd":"Confirm password",
......@@ -134,6 +134,7 @@
"goToPortal":"Go to portal",
"gplSoft":"free software covered by the GPL license",
"imSure":"I'm sure",
"id":"Id",
"info":"Information",
"ipAddr":"IP address",
"lastFailedLogins":"Last failed logins",
......
......@@ -110,7 +110,7 @@
"clickHere":"Please click here",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Close your SSO session",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
"confirmPwd":"Confirm password",
......@@ -132,6 +132,7 @@
"generatePwd":"Generate the password automatically",
"gotNewMessages":"You have some new messages",
"goToPortal":"Go to portal",
"id":"Id",
"gplSoft":"free software covered by the GPL license",
"imSure":"I'm sure",
"info":"Information",
......
......@@ -110,7 +110,7 @@
"clickHere":"Cliquez ici",
"clickOnYubikey":"Cliquez sur votre Yubikey",
"closeSSO":"Fermer votre Session SSO",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"Un lien de confirmation a été envoyé, ce lien est valide jusqu'au ",
"confirmPwd":"Confirmez le mot de passe",
......@@ -133,6 +133,7 @@
"gotNewMessages":"Vous avez de nouveaux messages",
"goToPortal":"Aller au portail",
"gplSoft":"logiciel libre protégé par la licence GPL",
"id":"Id",
"imSure":"Je suis sûr",
"info":"Information",
"ipAddr":"Adresse IP",
......@@ -149,7 +150,7 @@
"mail":"Adresse mail",
"mailSent2":"Un message a été envoyé à votre adresse mail.",
"maintenanceMode":"Cette application est en maintenance, merci de réessayer plus tard",
"name":"Name",
"name":"Nom",
"newMessages":"Nouveaux messages",
"newPassword":"Nouveau mot de passe",
"newPwdSentTo":"Une confirmation a été envoyée à votre adresse mail.",
......
......@@ -110,7 +110,7 @@
"clickHere":"Per favore clicka qui",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Chiudi la sessione SSO",
"code": "Codice",
"code":"Codice",
"confirmation":"Conferma",
"confirmLinkSent":"È stato inviato un link di conferma, questo link è valido fino al",
"confirmPwd":"Conferma password",
......@@ -133,6 +133,7 @@
"gotNewMessages":"Hai dei nuovi messaggi",
"goToPortal":"Vai al portale",
"gplSoft":"Software libero coperto dalla licenza GPL",
"id":"Id",
"imSure":"Sono sicuro",
"info":"Informazioni",
"ipAddr":"Indirizzo IP",
......
......@@ -110,7 +110,7 @@
"clickHere":"Please click here",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Close your SSO session",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
"confirmPwd":"Confirm password",
......@@ -133,6 +133,7 @@
"gotNewMessages":"You have some new messages",
"goToPortal":"Go to portal",
"gplSoft":"free software covered by the GPL license",
"id":"Id",
"imSure":"I'm sure",
"info":"Information",
"ipAddr":"IP address",
......
......@@ -110,7 +110,7 @@
"clickHere":"Please click here",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Close your SSO session",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
"confirmPwd":"Confirm password",
......@@ -133,6 +133,7 @@
"gotNewMessages":"You have some new messages",
"goToPortal":"Go to portal",
"gplSoft":"free software covered by the GPL license",
"id":"Id",
"imSure":"I'm sure",
"info":"Information",
"ipAddr":"IP address",
......
......@@ -110,7 +110,7 @@
"clickHere":"Please click here",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Close your SSO session",
"code": "Code",
"code":"Code",
"confirmation":"Confirmation",
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
"confirmPwd":"Confirm password",
......@@ -133,6 +133,7 @@
"gotNewMessages":"You have some new messages",
"goToPortal":"Go to portal",
"gplSoft":"free software covered by the GPL license",
"id":"Id",
"imSure":"I'm sure",
"info":"Information",
"ipAddr":"IP address",
......
......@@ -110,7 +110,7 @@
"clickHere":"Vui lòng nhấp vào đây",
"clickOnYubikey":"Click on your Yubikey",
"closeSSO":"Đóng phiên SSO của bạn",
"code": "Mã",
"code":"Mã",
"confirmation":"Xác nhận",
"confirmLinkSent":"Một liên kết xác nhận đã được gửi, liên kết này hợp lệ cho đến khi",
"confirmPwd":"Xác nhận mật khẩu",
......@@ -133,6 +133,7 @@
"gotNewMessages":"Bạn có một số tin nhắn mới",
"goToPortal":"Đi tới cổng thông tin",
"gplSoft":"phần mềm tự do được cấp phép bởi GPL",
"id":"Id",
"imSure":"Tôi chắc chắn",
"info":"Thông tin",
"ipAddr":"Địa chỉ IP",
......
......@@ -19,8 +19,8 @@
<td class="align-middle" style="vertical-align: middle"><TMPL_VAR NAME="type"></td><td class="align-middle"><TMPL_VAR NAME="name"></td><td class="align-middle"><TMPL_VAR NAME="epoch"></td>
<td>
<span id="unregister" class="btn btn-danger" role="button">
<span class="glyphicon glyphicon-minus-sign"></span>&nbsp;
<span trspan="unregister">Unregister</span>
<span class="glyphicon glyphicon-minus-sign"></span>&nbsp;
<span trspan="unregister">Unregister</span>
</span>
</td>
</tr>
......
<TMPL_INCLUDE NAME="header.tpl">
<div class="container">
<div id="color" class="message message-positive alert"><span id="msg"></span></div>
</div>
<main id="menucontent" class="container">
<div class="panel panel-info">
<div class="panel-body">
<div>
<canvas id="qr"></canvas>
<pre id="serialized">
</pre>
</div>
<div class="form-group">
<b><span trspan="name">Code</span> : </b>&nbsp;<input id="code" name="code" type="number" />
<br>
<br>
<b><span trspan="name">Name</span> : </b>&nbsp;<input type="text" id="TOTPName" name="TOTPName" value="MyTOTP"/>
</div>
<div class="buttons">
<span id="changekey" class="btn btn-warning" role="button">
<span class="glyphicon glyphicon-plus-sign"></span>&nbsp;
<span trspan="changeKey">Change key</span>
</span>
<span id="verify" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-check"></span>&nbsp;
<span trspan="verify">Verify</span>
</span>
<span id="unregister" class="btn btn-danger" role="button">
<span class="glyphicon glyphicon-minus-sign"></span>&nbsp;
<span trspan="unregister">Unregister</span>
</span>
</div>
</div>
</div>
</main>
<div class="buttons">
<a id="goback" href="<TMPL_VAR NAME="PORTAL_URL"><TMPL_IF NAME="AUTH_URL">/?url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-home"></span>&nbsp;
<span trspan="goToPortal">Go to portal</span>
</a>
</div>
<!-- //if:jsminified
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/qrious/dist/qrious.min.js"></script>
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/totpregistration.min.js"></script>
//else -->
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/qrious/dist/qrious.js"></script>
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/totpregistration.js"></script>
<!-- //endif -->
<TMPL_INCLUDE NAME="footer.tpl">
......@@ -11,7 +11,7 @@
</div>
<div class="buttons">
<span class="form-group">
<b>Nom : </b>&nbsp;<input type="text" id="keyName" name="keyName" value="MyU2FKey"/>
<b><span trspan="name">Name</span></b> : <input type="text" id="keyName" name="keyName" value="MyU2FKey"/>
</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span id="register" class="btn btn-warning" role="button">
<span class="glyphicon glyphicon-plus-sign"></span>&nbsp;
......
......@@ -8,10 +8,10 @@
<div class="panel-body">
<form action="/2fregisters/yubikey/register" method="post">
<div class="form-group">
<b>Nom :&nbsp;</b><input type="text" id="UBKName" name="UBKName" value="MyYubikey"/>
<b><span trspan="name">Name</span></b> : <input type="text" id="UBKName" name="UBKName" value="MyYubikey"/>
<br>
<br>
<b>Id &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;</b><input type="text" id="otp" name="otp" />
<b><span trspan="id">Id</span></b></b> : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="otp" name="otp" />
<input type="submit" value="Submit">
</div>
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment