From b35bd70646a14f9fd16fcb4e4f932b6b5e19fd0c Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Wed, 16 Jun 2021 09:48:28 +0200 Subject: [PATCH] totp: add more instructions --- lemonldap-ng-portal/site/htdocs/static/languages/ar.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/de.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/en.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/es.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/fi.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/fr.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/it.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/nl.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/pl.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/pt.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/ro.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/tr.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/vi.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/zh.json | 3 +++ lemonldap-ng-portal/site/htdocs/static/languages/zh_TW.json | 3 +++ .../site/templates/bootstrap/totp2fregister.tpl | 6 ++++-- 16 files changed, 49 insertions(+), 2 deletions(-) diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json index 8d353cad9..81c8b2da0 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"يرجى لمس جهاز U2F وامض الآن.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/de.json b/lemonldap-ng-portal/site/htdocs/static/languages/de.json index 3a6d0a6cc..efea7a485 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/de.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/de.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"Es existiert bereits ein TOTP-Secret", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/en.json b/lemonldap-ng-portal/site/htdocs/static/languages/en.json index 6e28d248f..5e726567c 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/en.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/es.json b/lemonldap-ng-portal/site/htdocs/static/languages/es.json index fd05e973e..403ef39c6 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/es.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/es.json @@ -293,6 +293,9 @@ "totp2f":"Aplicación OTP", "totpExistingKey":"Un secreto TOTP ya existe", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Por favor toque el dispositivo U2F centelleante ahora.", "touchU2fDeviceOrEnterTotp":"Por favor toque el dispositivo U2F centelleante o ingrese el código TOTP.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json index 747cd88db..381ea6844 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json index 6e8031968..ab2ec94f9 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json @@ -293,6 +293,9 @@ "totp2f":"Application OTP", "totpExistingKey":"Un périphérique TOTP est déja enregistré, vous devez le supprimer pour pouvoir en ajouter un nouveau", "totpMissingCode":"Veuillez entrer le code fourni par votre application TOTP", +"totpQrCode":"Scannez ce QR code dans votre application TOTP", +"totpRegisterCode":"Recopiez le code affiché par votre application", +"totpRegisterName":"Choisissez un nom pour votre périphérique TOTP", "totpSecretKey":"Si votre application n'accepte pas les QR codes, saisissez la clé suivante:", "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", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/it.json b/lemonldap-ng-portal/site/htdocs/static/languages/it.json index 393477784..e0d8bdace 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/it.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/it.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"Un segreto TOTP esiste già", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Adesso tocca il dispositivo U2F lampeggiante.", "touchU2fDeviceOrEnterTotp":"Tocca il dispositivo U2F lampeggiante o inserisci il codice TOTP.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json index cbd8cc01d..8e885a8b6 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json index 37cdc341f..4242d52e5 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json @@ -293,6 +293,9 @@ "totp2f":"Aplikacja OTP", "totpExistingKey":"Sekret TOTP już istnieje", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Dotknij teraz migającego urządzenia U2F.", "touchU2fDeviceOrEnterTotp":"Dotknij migającego urządzenia U2F lub wprowadź kod TOTP.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json index fb0b7dfb6..3b1191369 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json index 6797951e0..ec8ee6dcc 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json index 8b4b3f6ba..8a6b22f14 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json @@ -293,6 +293,9 @@ "totp2f":"OTP Uygulaması", "totpExistingKey":"Bir TOTP sırrı zaten mevcut", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Lütfen şimdi yanıp sönen U2F cihazına dokunun.", "touchU2fDeviceOrEnterTotp":"Lütfen şimdi yanıp sönen U2F cihazına dokunun veya TOTP kodunu girin.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json index 8d9c8fd91..43d90fbde 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "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.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json index 6165cc0be..8e4c5e0ae 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json @@ -293,6 +293,9 @@ "totp2f":"OTP App", "totpExistingKey":"A TOTP device is already registered, you must remove it before adding a new TOTP device", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"Please touch the flashing U2F device now.", "touchU2fDeviceOrEnterTotp":"Please touch the flashing U2F device or enter TOTP code.", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/zh_TW.json b/lemonldap-ng-portal/site/htdocs/static/languages/zh_TW.json index f3d421e5b..753ba6e63 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/zh_TW.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/zh_TW.json @@ -293,6 +293,9 @@ "totp2f":"OTP 應用程式", "totpExistingKey":"TOTP 祕密已存在", "totpMissingCode":"Please enter the code supplied by your TOTP application", +"totpQrCode":"Scan this QR code in your TOTP application", +"totpRegisterCode":"Input the code provided by your application", +"totpRegisterName":"Choose a name for this TOTP device", "totpSecretKey":"If your TOTP application does not support QR codes, enter the following key instead:", "touchU2fDevice":"請立刻碰觸閃爍中的 U2F 裝置。", "touchU2fDeviceOrEnterTotp":"請立刻碰觸閃爍中的 U2F 裝置或輸入 TOTP 代碼。", diff --git a/lemonldap-ng-portal/site/templates/bootstrap/totp2fregister.tpl b/lemonldap-ng-portal/site/templates/bootstrap/totp2fregister.tpl index 63268e34b..506a83481 100644 --- a/lemonldap-ng-portal/site/templates/bootstrap/totp2fregister.tpl +++ b/lemonldap-ng-portal/site/templates/bootstrap/totp2fregister.tpl @@ -10,7 +10,9 @@
+

+

@@ -18,11 +20,11 @@
- +
- +