#1386 - Fix translation
This commit is contained in:
parent
0e84c1da3e
commit
79674979c1
|
@ -13,7 +13,7 @@ extends 'Lemonldap::NG::Portal::Main::Plugin', 'Lemonldap::NG::Common::TOTP';
|
||||||
|
|
||||||
has prefix => ( is => 'rw', default => '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' );
|
has logo => ( is => 'rw', default => 'totp.png' );
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"الرجاء الضغط هنا",
|
"clickHere":"الرجاء الضغط هنا",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"أغلق جلسة الدخول الموحد (سسو)",
|
"closeSSO":"أغلق جلسة الدخول الموحد (سسو)",
|
||||||
"code": "الشفرة",
|
"code":"الشفرة",
|
||||||
"confirmation":"التأكيد",
|
"confirmation":"التأكيد",
|
||||||
"confirmLinkSent":"تم إرسال رابط تأكيد، وهذا الرابط صالح حتى",
|
"confirmLinkSent":"تم إرسال رابط تأكيد، وهذا الرابط صالح حتى",
|
||||||
"confirmPwd":"تأكيد كلمة المرور",
|
"confirmPwd":"تأكيد كلمة المرور",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Please click here",
|
"clickHere":"Please click here",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Close your SSO session",
|
"closeSSO":"Close your SSO session",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
||||||
"confirmPwd":"Confirm password",
|
"confirmPwd":"Confirm password",
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
"gotNewMessages":"You have some new messages",
|
"gotNewMessages":"You have some new messages",
|
||||||
"goToPortal":"Go to portal",
|
"goToPortal":"Go to portal",
|
||||||
"gplSoft":"free software covered by the GPL license",
|
"gplSoft":"free software covered by the GPL license",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"I'm sure",
|
"imSure":"I'm sure",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
"ipAddr":"IP address",
|
"ipAddr":"IP address",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Please click here",
|
"clickHere":"Please click here",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Close your SSO session",
|
"closeSSO":"Close your SSO session",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
||||||
"confirmPwd":"Confirm password",
|
"confirmPwd":"Confirm password",
|
||||||
|
@ -134,6 +134,7 @@
|
||||||
"goToPortal":"Go to portal",
|
"goToPortal":"Go to portal",
|
||||||
"gplSoft":"free software covered by the GPL license",
|
"gplSoft":"free software covered by the GPL license",
|
||||||
"imSure":"I'm sure",
|
"imSure":"I'm sure",
|
||||||
|
"id":"Id",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
"ipAddr":"IP address",
|
"ipAddr":"IP address",
|
||||||
"lastFailedLogins":"Last failed logins",
|
"lastFailedLogins":"Last failed logins",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Please click here",
|
"clickHere":"Please click here",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Close your SSO session",
|
"closeSSO":"Close your SSO session",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
||||||
"confirmPwd":"Confirm password",
|
"confirmPwd":"Confirm password",
|
||||||
|
@ -132,6 +132,7 @@
|
||||||
"generatePwd":"Generate the password automatically",
|
"generatePwd":"Generate the password automatically",
|
||||||
"gotNewMessages":"You have some new messages",
|
"gotNewMessages":"You have some new messages",
|
||||||
"goToPortal":"Go to portal",
|
"goToPortal":"Go to portal",
|
||||||
|
"id":"Id",
|
||||||
"gplSoft":"free software covered by the GPL license",
|
"gplSoft":"free software covered by the GPL license",
|
||||||
"imSure":"I'm sure",
|
"imSure":"I'm sure",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Cliquez ici",
|
"clickHere":"Cliquez ici",
|
||||||
"clickOnYubikey":"Cliquez sur votre Yubikey",
|
"clickOnYubikey":"Cliquez sur votre Yubikey",
|
||||||
"closeSSO":"Fermer votre Session SSO",
|
"closeSSO":"Fermer votre Session SSO",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"Un lien de confirmation a été envoyé, ce lien est valide jusqu'au ",
|
"confirmLinkSent":"Un lien de confirmation a été envoyé, ce lien est valide jusqu'au ",
|
||||||
"confirmPwd":"Confirmez le mot de passe",
|
"confirmPwd":"Confirmez le mot de passe",
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
"gotNewMessages":"Vous avez de nouveaux messages",
|
"gotNewMessages":"Vous avez de nouveaux messages",
|
||||||
"goToPortal":"Aller au portail",
|
"goToPortal":"Aller au portail",
|
||||||
"gplSoft":"logiciel libre protégé par la licence GPL",
|
"gplSoft":"logiciel libre protégé par la licence GPL",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"Je suis sûr",
|
"imSure":"Je suis sûr",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
"ipAddr":"Adresse IP",
|
"ipAddr":"Adresse IP",
|
||||||
|
@ -149,7 +150,7 @@
|
||||||
"mail":"Adresse mail",
|
"mail":"Adresse mail",
|
||||||
"mailSent2":"Un message a été envoyé à votre adresse mail.",
|
"mailSent2":"Un message a été envoyé à votre adresse mail.",
|
||||||
"maintenanceMode":"Cette application est en maintenance, merci de réessayer plus tard",
|
"maintenanceMode":"Cette application est en maintenance, merci de réessayer plus tard",
|
||||||
"name":"Name",
|
"name":"Nom",
|
||||||
"newMessages":"Nouveaux messages",
|
"newMessages":"Nouveaux messages",
|
||||||
"newPassword":"Nouveau mot de passe",
|
"newPassword":"Nouveau mot de passe",
|
||||||
"newPwdSentTo":"Une confirmation a été envoyée à votre adresse mail.",
|
"newPwdSentTo":"Une confirmation a été envoyée à votre adresse mail.",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Per favore clicka qui",
|
"clickHere":"Per favore clicka qui",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Chiudi la sessione SSO",
|
"closeSSO":"Chiudi la sessione SSO",
|
||||||
"code": "Codice",
|
"code":"Codice",
|
||||||
"confirmation":"Conferma",
|
"confirmation":"Conferma",
|
||||||
"confirmLinkSent":"È stato inviato un link di conferma, questo link è valido fino al",
|
"confirmLinkSent":"È stato inviato un link di conferma, questo link è valido fino al",
|
||||||
"confirmPwd":"Conferma password",
|
"confirmPwd":"Conferma password",
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
"gotNewMessages":"Hai dei nuovi messaggi",
|
"gotNewMessages":"Hai dei nuovi messaggi",
|
||||||
"goToPortal":"Vai al portale",
|
"goToPortal":"Vai al portale",
|
||||||
"gplSoft":"Software libero coperto dalla licenza GPL",
|
"gplSoft":"Software libero coperto dalla licenza GPL",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"Sono sicuro",
|
"imSure":"Sono sicuro",
|
||||||
"info":"Informazioni",
|
"info":"Informazioni",
|
||||||
"ipAddr":"Indirizzo IP",
|
"ipAddr":"Indirizzo IP",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Please click here",
|
"clickHere":"Please click here",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Close your SSO session",
|
"closeSSO":"Close your SSO session",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
||||||
"confirmPwd":"Confirm password",
|
"confirmPwd":"Confirm password",
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
"gotNewMessages":"You have some new messages",
|
"gotNewMessages":"You have some new messages",
|
||||||
"goToPortal":"Go to portal",
|
"goToPortal":"Go to portal",
|
||||||
"gplSoft":"free software covered by the GPL license",
|
"gplSoft":"free software covered by the GPL license",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"I'm sure",
|
"imSure":"I'm sure",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
"ipAddr":"IP address",
|
"ipAddr":"IP address",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Please click here",
|
"clickHere":"Please click here",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Close your SSO session",
|
"closeSSO":"Close your SSO session",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
||||||
"confirmPwd":"Confirm password",
|
"confirmPwd":"Confirm password",
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
"gotNewMessages":"You have some new messages",
|
"gotNewMessages":"You have some new messages",
|
||||||
"goToPortal":"Go to portal",
|
"goToPortal":"Go to portal",
|
||||||
"gplSoft":"free software covered by the GPL license",
|
"gplSoft":"free software covered by the GPL license",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"I'm sure",
|
"imSure":"I'm sure",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
"ipAddr":"IP address",
|
"ipAddr":"IP address",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Please click here",
|
"clickHere":"Please click here",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Close your SSO session",
|
"closeSSO":"Close your SSO session",
|
||||||
"code": "Code",
|
"code":"Code",
|
||||||
"confirmation":"Confirmation",
|
"confirmation":"Confirmation",
|
||||||
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
"confirmLinkSent":"A confirmation link has been sent, this link is valid until ",
|
||||||
"confirmPwd":"Confirm password",
|
"confirmPwd":"Confirm password",
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
"gotNewMessages":"You have some new messages",
|
"gotNewMessages":"You have some new messages",
|
||||||
"goToPortal":"Go to portal",
|
"goToPortal":"Go to portal",
|
||||||
"gplSoft":"free software covered by the GPL license",
|
"gplSoft":"free software covered by the GPL license",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"I'm sure",
|
"imSure":"I'm sure",
|
||||||
"info":"Information",
|
"info":"Information",
|
||||||
"ipAddr":"IP address",
|
"ipAddr":"IP address",
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
"clickHere":"Vui lòng nhấp vào đây",
|
"clickHere":"Vui lòng nhấp vào đây",
|
||||||
"clickOnYubikey":"Click on your Yubikey",
|
"clickOnYubikey":"Click on your Yubikey",
|
||||||
"closeSSO":"Đóng phiên SSO của bạn",
|
"closeSSO":"Đóng phiên SSO của bạn",
|
||||||
"code": "Mã",
|
"code":"Mã",
|
||||||
"confirmation":"Xác nhận",
|
"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",
|
"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",
|
"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",
|
"gotNewMessages":"Bạn có một số tin nhắn mới",
|
||||||
"goToPortal":"Đi tới cổng thông tin",
|
"goToPortal":"Đi tới cổng thông tin",
|
||||||
"gplSoft":"phần mềm tự do được cấp phép bởi GPL",
|
"gplSoft":"phần mềm tự do được cấp phép bởi GPL",
|
||||||
|
"id":"Id",
|
||||||
"imSure":"Tôi chắc chắn",
|
"imSure":"Tôi chắc chắn",
|
||||||
"info":"Thông tin",
|
"info":"Thông tin",
|
||||||
"ipAddr":"Địa chỉ IP",
|
"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 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>
|
<td>
|
||||||
<span id="unregister" class="btn btn-danger" role="button">
|
<span id="unregister" class="btn btn-danger" role="button">
|
||||||
<span class="glyphicon glyphicon-minus-sign"></span>
|
<span class="glyphicon glyphicon-minus-sign"></span>
|
||||||
<span trspan="unregister">Unregister</span>
|
<span trspan="unregister">Unregister</span>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
<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> <input id="code" name="code" type="number" />
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<b><span trspan="name">Name</span> : </b> <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>
|
|
||||||
<span trspan="changeKey">Change key</span>
|
|
||||||
</span>
|
|
||||||
<span id="verify" class="btn btn-success" role="button">
|
|
||||||
<span class="glyphicon glyphicon-check"></span>
|
|
||||||
<span trspan="verify">Verify</span>
|
|
||||||
</span>
|
|
||||||
<span id="unregister" class="btn btn-danger" role="button">
|
|
||||||
<span class="glyphicon glyphicon-minus-sign"></span>
|
|
||||||
<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>
|
|
||||||
<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>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<span class="form-group">
|
<span class="form-group">
|
||||||
<b>Nom : </b> <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>
|
</span>
|
||||||
<span id="register" class="btn btn-warning" role="button">
|
<span id="register" class="btn btn-warning" role="button">
|
||||||
<span class="glyphicon glyphicon-plus-sign"></span>
|
<span class="glyphicon glyphicon-plus-sign"></span>
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<form action="/2fregisters/yubikey/register" method="post">
|
<form action="/2fregisters/yubikey/register" method="post">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<b>Nom : </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>
|
||||||
<br>
|
<br>
|
||||||
<b>Id : </b><input type="text" id="otp" name="otp" />
|
<b><span trspan="id">Id</span></b></b> : <input type="text" id="otp" name="otp" />
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user