#1386 - Add translation

This commit is contained in:
Christophe Maudoux 2018-04-01 12:53:16 +02:00
parent 835b4f80d1
commit 0e84c1da3e
13 changed files with 57 additions and 23 deletions

View File

@ -274,11 +274,7 @@ sub _displayRegister {
unless ($list2FDevices) {
$self->logger->debug("No 2F Device found");
$list2FDevices = [];
};
my $list3FDevices = [ {name => 'a', type => 'typea', epoch => '11111'}, {name => 'a', type => 'typea', epoch => '11111'}, {name => 'a', type => 'typea', epoch => '11111'}, ];
};
#my @listClefsU2F = map {
#if ( $_->{type} eq "U2F" ) {

View File

@ -89,6 +89,7 @@
"accessDenied":"ليس لديك إذن بالدخول لهذا التطبيق",
"accountCreated":"تم إنشاء حسابك و إرسال كلمة المرور المؤقتة إلى بريدك الإلكتروني.",
"accountCreationSuccess":"تم إنشاء حسابك بنجاح.",
"action":"Action",
"anotherInformation":"معلومات أخرى:",
"areYouSure":"هل أنت واثق؟",
"askToRenew":"هذا التطبيق يحتاج إلى مصادقة أكثر حداثة. هل تريد إعادة المصادقة؟",
@ -148,6 +149,7 @@
"mail":"البريد",
"mailSent2":"تم إرسال رسالة إلى عنوان بريدك الإلكتروني.",
"maintenanceMode":"هذا التطبيق في صيانة، يرجى محاولة الاتصال في وقت لاحق",
"name":"Name",
"newMessages":"رسالة جديدة (رسائل)",
"newPassword":"كلمة مرور جديدة",
"newPwdSentTo":"تم إرسال تأكيد إلى عنوان بريدك الإلكتروني.",
@ -180,7 +182,6 @@
"refreshrights": "قم بتحديث حقوقي",
"refuse":"رفض",
"register": "تسجيل",
"unregister": "إلغاء",
"registerRequestAlreadyIssued":"تم إصدار طلب تسجيل لهذا الحساب من قبل",
"rememberChoice":"تذكر اختياري",
"removeOtherSessions":"إزالة الجلسات الأخرى",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "يرجى لمس جهاز U2F وامض الآن.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "فشل التحقق من U2F. أعد محاولة الاتصال بالمشرف أو اتصل به",
"u2fPermission": "قد تتم مطالبتك بالسماح للموقع إذن الوصول إلى مفاتيح الأمان الخاصة بك.بعد منح الإذن، سيبدأ الجهاز في العملية.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "تعذر الوصول إلى المفتاح. أعد محاولة الاتصال بالمشرف أو اتصل به",
"unregister": "إلغاء",
"updateCdc": "تحديث ملف تعريف ارتباط المجال المشترك",
"upgradeSession":"ترقية الجلسة",
"user":"المستخدم",

View File

@ -89,6 +89,7 @@
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"action":"Action",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"askToRenew":"This application needs a more recent authentication. Do you want to reauthenticate ?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
"maintenanceMode":"This application is in maintenance, please try to connect later",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
@ -180,7 +182,6 @@
"refreshrights": "Refresh my rights",
"refuse":"Refuse",
"register": "Registrieren",
"unregister": "Abmelden",
"registerRequestAlreadyIssued":"A register request for this account was already issued on ",
"rememberChoice":"Remember my choice",
"removeOtherSessions":"Remove other sessions",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Please touch the flashing U2F device now.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "U2F verification failed. Retry or contact your administrator",
"u2fPermission": "You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Unable to access to your key. Retry or contact your administrator",
"unregister": "Abmelden",
"updateCdc": "Update Common Domain Cookie",
"upgradeSession":"Upgrade session",
"user":"User",

View File

@ -89,6 +89,7 @@
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"action":"Action",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"askToRenew":"This application needs a more recent authentication. Do you want to reauthenticate ?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
"maintenanceMode":"This application is in maintenance, please try to connect later",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
@ -180,7 +182,6 @@
"refreshrights": "Refresh my rights",
"refuse":"Refuse",
"register": "Register",
"unregister": "Unregister",
"registerRequestAlreadyIssued":"A register request for this account was already issued on ",
"rememberChoice":"Remember my choice",
"removeOtherSessions":"Remove other sessions",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Please touch the flashing U2F device now.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "U2F verification failed. Retry or contact your administrator",
"u2fPermission": "You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Unable to access to your key. Retry or contact your administrator",
"unregister": "Unregister",
"updateCdc": "Update Common Domain Cookie",
"upgradeSession":"Upgrade session",
"user":"User",

View File

@ -89,6 +89,7 @@
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"action":"Action",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"askToRenew":"This application needs a more recent authentication. Do you want to reauthenticate ?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
"maintenanceMode":"This application is in maintenance, please try to connect later",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
@ -180,7 +182,7 @@
"refreshrights": "Refresh my rights",
"refuse":"Refuse",
"register": "Registro",
"unregister": "No Registrado",
"type":"Type",
"registerRequestAlreadyIssued":"A register request for this account was already issued on ",
"rememberChoice":"Remember my choice",
"removeOtherSessions":"Remove other sessions",
@ -204,6 +206,7 @@
"u2fPermission": "You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Unable to access to your key. Retry or contact your administrator",
"unregister": "No Registrado",
"updateCdc": "Update Common Domain Cookie",
"upgradeSession":"Upgrade session",
"user":"User",

View File

@ -89,6 +89,7 @@
"accessDenied":"Vous n'avez pas les droits d'accès à cette application",
"accountCreated":"Votre compte a été créé, un mot de passe temporaire a été envoyé à votre adresse mail.",
"accountCreationSuccess":"Votre compte a bien été créé.",
"action":"Action",
"anotherInformation":"Une autre information :",
"areYouSure":"Êtes vous sûr ?",
"askToRenew":"Cette application nécessite une authentification plus récente. Voulez-vous vous réauthentifier ?",
@ -148,6 +149,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",
"newMessages":"Nouveaux messages",
"newPassword":"Nouveau mot de passe",
"newPwdSentTo":"Une confirmation a été envoyée à votre adresse mail.",
@ -180,7 +182,6 @@
"refreshrights": "Rafraîchir mes droits",
"refuse":"Refuser",
"register": "Enregistrer",
"unregister": "Supprimer",
"registerRequestAlreadyIssued":"Une demande de création pour ce compte a déjà été faite le ",
"rememberChoice":"Se souvenir de mon choix",
"removeOtherSessions":"Fermer les autres sessions",
@ -200,10 +201,12 @@
"totpExistingKey":"Un secret TOTP existe déjà",
"touchU2fDevice": "Posez votre doigt sur le périphérique U2F",
"touchU2fDeviceOrEnterTotp": "Posez votre doigt sur le périphérique U2F ou entrez le code TOTP",
"type":"Type",
"u2fFailed": "La vérification U2F a échoué, réessayez ou contactez votre administrateur",
"u2fPermission": "Il est possible qu'on vous demande d'autoriser le site à accéder à votre clef. Après votre accord, la clef clignotera.",
"u2fWelcome": "Gestion du périphérique U2F",
"unableToGetKey": "Impossible d'accéder à la clef, réessayez ou contactez votre administrateur",
"unregister": "Supprimer",
"updateCdc": "Mise à jour du cookie de domaine commun",
"upgradeSession":"Se réauthentifier",
"user":"Utilisateur",

View File

@ -89,6 +89,7 @@
"accessDenied":"Non hai un'autorizzazione di accesso per questa applicazione",
"accountCreated":"Il tuo account è stato creato, la tua password temporanea è stata inviata all'indirizzo email.",
"accountCreationSuccess":"Il tuo account è stato creato con successo.",
"action":"Action",
"anotherInformation":"Un'altra informazione:",
"areYouSure":"Sei sicuro?",
"askToRenew":"Questa applicazione richiede un'autenticazione più recente. Vuoi reautenticare?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"Vi é stato inviato un messaggio via mail",
"maintenanceMode":"Questa applicazione è in manutenzione, prova a connetterti più tardi",
"name":"Name",
"newMessages":"Nuovo(i) messaggio(i)",
"newPassword":"Nuova password",
"newPwdSentTo":"Una conferma è stata inviata all'indirizzo di posta elettronica.",
@ -180,7 +182,6 @@
"refreshrights": "Aggiorna i miei diritti",
"refuse":"Rifiuta",
"register": "Registra",
"unregister": "Non Registra",
"registerRequestAlreadyIssued":"Una richiesta di registrazione per questo conto é già stata rilasciata il",
"rememberChoice":"Ricordarsi della mia scelta",
"removeOtherSessions":"Rimuovere altre sessioni",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Adesso tocca il dispositivo U2F lampeggiante.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "Verifica U2F non riuscita. Riprovare o contattare l'amministratore",
"u2fPermission": "È possibile che venga richiesto di consentire il permesso del sito per accedere alle chiavi di sicurezza. Dopo aver concesso il permesso, il dispositivo inizierà a lampeggiare.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Impossibile accedere alla chiave. Riprovare o contattare l'amministratore",
"unregister": "Non Registra",
"updateCdc": "Aggiorna il Cookie di Common Domain",
"upgradeSession":"Sessione di aggiornamento",
"user":"Utente",

View File

@ -89,6 +89,7 @@
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"action":"Action",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"askToRenew":"This application needs a more recent authentication. Do you want to reauthenticate ?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
"maintenanceMode":"This application is in maintenance, please try to connect later",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
@ -180,7 +182,6 @@
"refreshrights": "Refresh my rights",
"refuse":"Refuse",
"register": "Registeren",
"unregister": "Uitschrijven",
"registerRequestAlreadyIssued":"A register request for this account was already issued on ",
"rememberChoice":"Remember my choice",
"removeOtherSessions":"Remove other sessions",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Please touch the flashing U2F device now.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "U2F verification failed. Retry or contact your administrator",
"u2fPermission": "You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Unable to access to your key. Retry or contact your administrator",
"unregister": "Uitschrijven",
"updateCdc": "Update Common Domain Cookie",
"upgradeSession":"Upgrade session",
"user":"User",

View File

@ -89,6 +89,7 @@
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"action":"Action",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"askToRenew":"This application needs a more recent authentication. Do you want to reauthenticate ?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
"maintenanceMode":"This application is in maintenance, please try to connect later",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
@ -180,7 +182,6 @@
"refreshrights": "Refresh my rights",
"refuse":"Refuse",
"register": "Registo",
"unregister": "Cancelar o Registro",
"registerRequestAlreadyIssued":"A register request for this account was already issued on ",
"rememberChoice":"Remember my choice",
"removeOtherSessions":"Remove other sessions",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Please touch the flashing U2F device now.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "U2F verification failed. Retry or contact your administrator",
"u2fPermission": "You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Unable to access to your key. Retry or contact your administrator",
"unregister": "Cancelar o Registro",
"updateCdc": "Update Common Domain Cookie",
"upgradeSession":"Upgrade session",
"user":"User",

View File

@ -89,6 +89,7 @@
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"action":"Action",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"askToRenew":"This application needs a more recent authentication. Do you want to reauthenticate ?",
@ -148,6 +149,7 @@
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
"maintenanceMode":"This application is in maintenance, please try to connect later",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
@ -180,7 +182,6 @@
"refreshrights": "Refresh my rights",
"refuse":"Refuse",
"register": "Register",
"unregister": "Unregister",
"registerRequestAlreadyIssued":"A register request for this account was already issued on ",
"rememberChoice":"Remember my choice",
"removeOtherSessions":"Remove other sessions",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Please touch the flashing U2F device now.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "U2F verification failed. Retry or contact your administrator",
"u2fPermission": "You may be prompted to allow the site permission to access your security keys. After granting permission, the device will start to blink.",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Unable to access to your key. Retry or contact your administrator",
"unregister": "Unregister",
"updateCdc": "Update Common Domain Cookie",
"upgradeSession":"Upgrade session",
"user":"User",

View File

@ -89,6 +89,7 @@
"accessDenied":"Bạn không có quyền truy cập vào ứng dụng này",
"accountCreated":"Tài khoản của bạn đã được tạo, mật khẩu tạm thời của bạn đã được gửi đến địa chỉ mail của bạn.",
"accountCreationSuccess":"Tài khoản của bạn đã được tạo thành công.",
"action":"Action",
"anotherInformation":"Thông tin khác:",
"areYouSure":"Bạn có chắc không?",
"askToRenew":"Ứng dụng này cần có chứng thực gần đây hơn. Bạn có muốn chứng thực lại?",
@ -148,6 +149,7 @@
"mail":"Thư",
"mailSent2":"Một tin nhắn đã được gửi đến địa chỉ thư của bạn.",
"maintenanceMode":"Ứng dụng này đang trong quá trình bảo trì, hãy thử kết nối sau",
"name":"Name",
"newMessages":"(Các) tin nhắn mới",
"newPassword":"Mật khẩu mới",
"newPwdSentTo":"Một xác nhận đã được gửi đến địa chỉ thư của bạn.",
@ -180,7 +182,6 @@
"refreshrights": "Làm mới lại quyền của tôi",
"refuse":"Từ chối",
"register": "Đăng ký",
"unregister": "Hủy đăng ký",
"registerRequestAlreadyIssued":"Yêu cầu đăng ký cho tài khoản này đã được cấp phát",
"rememberChoice":"Hãy nhớ sự lựa chọn của tôi",
"removeOtherSessions":"Xóa các phiên khác",
@ -200,10 +201,12 @@
"totpExistingKey":"A TOTP secret already exists",
"touchU2fDevice": "Vui lòng chạm vào thiết bị U2F nhấp nháy ngay bây giờ.",
"touchU2fDeviceOrEnterTotp": "Please touch the flashing U2F device or enter TOTP code.",
"type":"Type",
"u2fFailed": "Xác minh U2F không thành công. Thử lại hoặc liên hệ với quản trị viên của bạn ",
"u2fPermission": "Bạn có thể được nhắc cho phép trang web được phép truy cập vào các khóa bảo mật của bạn. Sau khi cho phép, thiết bị sẽ bắt đầu nhấp nháy. ",
"u2fWelcome": "U2F device management",
"unableToGetKey": "Không thể truy cập khóa của bạn. Thử lại hoặc liên hệ với quản trị viên của bạn ",
"unregister": "Hủy đăng ký",
"updateCdc": "Cập nhật Cookie miền thông thường",
"upgradeSession":"Phiên nâng cấp",
"user":"Người dùng",

View File

@ -2,26 +2,34 @@
<div class="container">
<div class="message message-positive alert" trspan="choose2f"></div>
<TMPL_IF NAME="SFDEVICES">
<div class="alert alert-info">
<table class="table table-hover table-condensed table-responsive">
<thead>
<tr>
<th>TYPE</th>
<th>NAME</th>
<th>DATE</th>
<th>ACTION</th>
<th><span trspan="type">Type</span></th>
<th><span trspan="name">Name</span></th>
<th><span trspan="date">Date</span></th>
<th><span trspan="action">Action</span></th>
</tr>
</thead>
<tbody>
<TMPL_LOOP NAME="SFDEVICES">
<tr>
<td><TMPL_VAR NAME="type"></td><td><TMPL_VAR NAME="name"></td><td><TMPL_VAR NAME="epoch"></td>
<td><button type="button" name="sup" class="btn btn-danger">Supprimer</button></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>
<span id="unregister" class="btn btn-danger" role="button">
<span class="glyphicon glyphicon-minus-sign"></span>&nbsp;
<span trspan="unregister">Unregister</span>
</span>
</td>
</tr>
</TMPL_LOOP>
</tbody>
</table>
</div>
<br>
</TMPL_IF>
<div class="buttons">
<TMPL_LOOP NAME="MODULES">
&nbsp;&nbsp;

View File

@ -13,10 +13,10 @@
</pre>
</div>
<div class="form-group">
<b>Code&nbsp;: </b>&nbsp;<input id="code" name="code" type="number" />
<b><span trspan="name">Code</span> : </b>&nbsp;<input id="code" name="code" type="number" />
<br>
<br>
<b>Nom &nbsp;: </b>&nbsp;<input type="text" id="TOTPName" name="TOTPName" value="MyTOTP"/>
<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">