From cadc4110fabbbe63d3b4c44011ecdd08f4fd7ad4 Mon Sep 17 00:00:00 2001 From: dcoutadeur Date: Fri, 9 Oct 2020 16:22:14 +0200 Subject: [PATCH 1/4] fix RGAA 1.2 criterium: applogo alt image should be empty (ref #2345) --- lemonldap-ng-portal/site/templates/bootstrap/menu.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-portal/site/templates/bootstrap/menu.tpl b/lemonldap-ng-portal/site/templates/bootstrap/menu.tpl index 535238b1a..108b58075 100644 --- a/lemonldap-ng-portal/site/templates/bootstrap/menu.tpl +++ b/lemonldap-ng-portal/site/templates/bootstrap/menu.tpl @@ -145,7 +145,7 @@
common/apps/" class="applogo img-fluid" - alt="" /> + alt="" />
From 59cb1db437014ea8567677eede97d4b3a5287fac Mon Sep 17 00:00:00 2001 From: dcoutadeur Date: Fri, 16 Oct 2020 16:07:31 +0200 Subject: [PATCH 2/4] fix RGAA 5.4 requires arrays to have defined captions (#2356) --- .../site/htdocs/static/bootstrap/css/styles.css | 7 ++++++- lemonldap-ng-portal/site/htdocs/static/languages/ar.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/de.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/en.json | 4 +++- lemonldap-ng-portal/site/htdocs/static/languages/es.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/fi.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/fr.json | 4 +++- lemonldap-ng-portal/site/htdocs/static/languages/it.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/nl.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/pl.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/pt.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/ro.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/tr.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/vi.json | 6 ++++-- lemonldap-ng-portal/site/htdocs/static/languages/zh.json | 6 ++++-- .../site/templates/bootstrap/sessionArray.tpl | 5 +++++ 16 files changed, 65 insertions(+), 27 deletions(-) diff --git a/lemonldap-ng-portal/site/htdocs/static/bootstrap/css/styles.css b/lemonldap-ng-portal/site/htdocs/static/bootstrap/css/styles.css index dc052135a..4a995cdab 100644 --- a/lemonldap-ng-portal/site/htdocs/static/bootstrap/css/styles.css +++ b/lemonldap-ng-portal/site/htdocs/static/bootstrap/css/styles.css @@ -174,4 +174,9 @@ input.key { /*font-style: normal;*/ /*font-weight: 400;*/ src: url(/static/common/fonts/password.ttf); -} \ No newline at end of file +} + +.info.table caption { + color: black; + caption-side: top; +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json index 82e592bea..86e8bdfca 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/de.json b/lemonldap-ng-portal/site/htdocs/static/languages/de.json index d9cb6e636..23d963bd8 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/de.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/de.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/en.json b/lemonldap-ng-portal/site/htdocs/static/languages/en.json index ab968b0ef..a383ff51d 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/en.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/es.json b/lemonldap-ng-portal/site/htdocs/static/languages/es.json index cf52cc86c..7fba35ef1 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/es.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/es.json @@ -318,5 +318,7 @@ "yourPhone":"Conozca su número de teléfono", "yourProfile":"Conozca su perfil", "yourTotpKey":"Su llave TOTP", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json index 370e5331c..b15fc3e53 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json index 50b643fbc..746fe9d6f 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json @@ -318,5 +318,7 @@ "yourPhone":"Connaître votre numéro de téléphone", "yourProfile":"Connaître vos informations personnelles", "yourTotpKey":"Votre clef TOTP", -"yubikey2f":"Yubikey" +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Dernières connexions", +"lastFailedConnexionLabel":"Dernières connexions échouées" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/it.json b/lemonldap-ng-portal/site/htdocs/static/languages/it.json index e36716b17..13b877e45 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/it.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/it.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"La tua chiave TOTP", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json index 41e2955b2..b9151913f 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json index f8763afa7..c5824477a 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json @@ -318,5 +318,7 @@ "yourPhone":"Twój numer telefonu", "yourProfile":"Twój profil", "yourTotpKey":"Twój klucz TOTP", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json index 8ef1f637d..e0c36a708 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json index adc2beb6a..8157abbf3 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json index 44b2cf460..6c0388670 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json @@ -318,5 +318,7 @@ "yourPhone":"Telefon numaranı bil", "yourProfile":"Profilini bil", "yourTotpKey":"TOTP anahtarınız", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json index 0378943e7..5a534c6cf 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json index a7d8834dc..78df30313 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json @@ -318,5 +318,7 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey" -} \ No newline at end of file +"yubikey2f":"Yubikey", +"lastConnexionLabel":"Last connexions", +"lastFailedConnexionLabel":"Last failed connexions" +} diff --git a/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl b/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl index 6e60ce812..c4c412c9e 100644 --- a/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl +++ b/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl @@ -2,6 +2,11 @@

">

+ + + + + From 4a1f08e681f4ff8c80106d2c312a88f0f97e0ce3 Mon Sep 17 00:00:00 2001 From: dcoutadeur Date: Sat, 17 Oct 2020 19:43:50 +0200 Subject: [PATCH 3/4] fix previous commit: RGAA 5.4 requires arrays to have defined captions (#2356) --- lemonldap-ng-portal/site/htdocs/static/languages/ar.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/de.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/en.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/es.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/fi.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/fr.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/it.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/nl.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/pl.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/pt.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/ro.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/tr.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/vi.json | 6 +++--- lemonldap-ng-portal/site/htdocs/static/languages/zh.json | 6 +++--- 14 files changed, 42 insertions(+), 42 deletions(-) diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json index 86e8bdfca..3a41ad923 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json @@ -178,6 +178,8 @@ "info":"معلومات", "ipAddr":"عنوان الأي بي", "key":"المفتاح", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"عمليات تسجيل الدخول الأخيرة الغير الناجحة", "lastLogins":"آخر تسجيلات دخول", "lastName":"اسم العائلة", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/de.json b/lemonldap-ng-portal/site/htdocs/static/languages/de.json index 23d963bd8..2d6504ea2 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/de.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/de.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Letzte fehlgeschlagene Anmeldungen", "lastLogins":"Letzte Anmeldungen", "lastName":"Nachname", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/en.json b/lemonldap-ng-portal/site/htdocs/static/languages/en.json index a383ff51d..2deb568b0 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/en.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", "lastLogins":"Last logins", "lastName":"Last name", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/es.json b/lemonldap-ng-portal/site/htdocs/static/languages/es.json index 7fba35ef1..5704b0f41 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/es.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/es.json @@ -178,6 +178,8 @@ "info":"Información", "ipAddr":"Dirección IP", "key":"Llave", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Últimas conexiones fallidas", "lastLogins":"Últimas conexiones", "lastName":"Apellido(s)", @@ -318,7 +320,5 @@ "yourPhone":"Conozca su número de teléfono", "yourProfile":"Conozca su perfil", "yourTotpKey":"Su llave TOTP", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json index b15fc3e53..c49bce5b2 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"IP-osoite", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Viimeiset virheelliset kirjautumiset", "lastLogins":"Viimeisimmät kirjautumiset", "lastName":"Sukunimi", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json index 746fe9d6f..bbca52d7c 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"Adresse IP", "key":"Clef", +"lastConnexionLabel":"Dernières connexions", +"lastFailedConnexionLabel":"Dernières connexions échouées", "lastFailedLogins":"Dernières connexions refusées", "lastLogins":"Dernières connexions", "lastName":"Nom", @@ -318,7 +320,5 @@ "yourPhone":"Connaître votre numéro de téléphone", "yourProfile":"Connaître vos informations personnelles", "yourTotpKey":"Votre clef TOTP", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Dernières connexions", -"lastFailedConnexionLabel":"Dernières connexions échouées" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/it.json b/lemonldap-ng-portal/site/htdocs/static/languages/it.json index 13b877e45..42262257c 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/it.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/it.json @@ -178,6 +178,8 @@ "info":"Informazioni", "ipAddr":"Indirizzo IP", "key":"Chiave", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Ultimi login non riusciti", "lastLogins":"Ultimi accessi", "lastName":"Cognome", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"La tua chiave TOTP", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json index b9151913f..5ef4f8cbc 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", "lastLogins":"Last logins", "lastName":"Last name", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json index c5824477a..b6ba27a3f 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json @@ -178,6 +178,8 @@ "info":"Informacja", "ipAddr":"Adres IP", "key":"Klucz", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Ostatnie nieudane logowania", "lastLogins":"Ostatnie logowania", "lastName":"Nazwisko", @@ -318,7 +320,5 @@ "yourPhone":"Twój numer telefonu", "yourProfile":"Twój profil", "yourTotpKey":"Twój klucz TOTP", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json index e0c36a708..68cbbdd5f 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", "lastLogins":"Last logins", "lastName":"Last name", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json index 8157abbf3..6484e19e8 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json @@ -178,6 +178,8 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", "lastLogins":"Last logins", "lastName":"Last name", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json index 6c0388670..17cb08214 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json @@ -178,6 +178,8 @@ "info":"Bilgi", "ipAddr":"IP adresi", "key":"Anahtar", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Son başarısız giriş denemeleri", "lastLogins":"Son girişler", "lastName":"Soyad", @@ -318,7 +320,5 @@ "yourPhone":"Telefon numaranı bil", "yourProfile":"Profilini bil", "yourTotpKey":"TOTP anahtarınız", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json index 5a534c6cf..cb1264023 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json @@ -178,6 +178,8 @@ "info":"Thông tin", "ipAddr":"Địa chỉ IP", "key":"Khóa", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Lần cuối đăng nhập thất bại", "lastLogins":"Đăng nhập lần cuối", "lastName":"Họ", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json index 78df30313..30e68b779 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json @@ -178,6 +178,8 @@ "info":"信息", "ipAddr":"IP 地址", "key":"Key", +"lastConnexionLabel":"Last connections", +"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"上次失败的认证", "lastLogins":"上次登陆", "lastName":"姓氏", @@ -318,7 +320,5 @@ "yourPhone":"Know your phone number", "yourProfile":"Know your profile", "yourTotpKey":"Your TOTP key", -"yubikey2f":"Yubikey", -"lastConnexionLabel":"Last connexions", -"lastFailedConnexionLabel":"Last failed connexions" +"yubikey2f":"Yubikey" } From 3d2d08e1fccb4a25ff1babb9d1f004db84546665 Mon Sep 17 00:00:00 2001 From: dcoutadeur Date: Sun, 18 Oct 2020 14:35:51 +0200 Subject: [PATCH 4/4] fix previous commit: RGAA 5.4 requires arrays to have defined captions (#2356) --- lemonldap-ng-portal/site/htdocs/static/languages/ar.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/de.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/en.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/es.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/fi.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/fr.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/it.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/nl.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/pl.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/pt.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/ro.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/tr.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/vi.json | 4 ++-- lemonldap-ng-portal/site/htdocs/static/languages/zh.json | 4 ++-- lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl | 4 ++-- lemonldap-ng-portal/t/63-History.t | 3 +++ 16 files changed, 33 insertions(+), 30 deletions(-) diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json index 3a41ad923..3b41e2e11 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ar.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ar.json @@ -178,10 +178,10 @@ "info":"معلومات", "ipAddr":"عنوان الأي بي", "key":"المفتاح", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"عمليات تسجيل الدخول الأخيرة الغير الناجحة", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"آخر تسجيلات دخول", +"lastLoginsCaptionLabel":"Last logins", "lastName":"اسم العائلة", "linkValidUntil":"تحتوي هذه الرسالة على رابط لإعادة تعيين كلمة المرور، وهذا الرابط صالح حتى", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/de.json b/lemonldap-ng-portal/site/htdocs/static/languages/de.json index 2d6504ea2..cfb7ce472 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/de.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/de.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Letzte fehlgeschlagene Anmeldungen", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Letzte Anmeldungen", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Nachname", "linkValidUntil":"Diese Nachricht enthält einen Link zum Zurücksetzen deines Passworts. Dieser Link ist gültig bis", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/en.json b/lemonldap-ng-portal/site/htdocs/static/languages/en.json index 2deb568b0..99f1a25b2 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/en.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/en.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Last logins", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Last name", "linkValidUntil":"This message contains a link to reset your password, this link is valid until ", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/es.json b/lemonldap-ng-portal/site/htdocs/static/languages/es.json index 5704b0f41..927a303df 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/es.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/es.json @@ -178,10 +178,10 @@ "info":"Información", "ipAddr":"Dirección IP", "key":"Llave", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Últimas conexiones fallidas", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Últimas conexiones", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Apellido(s)", "linkValidUntil":"Este mensaje contiene un enlace para reiniciar su contraseña, este enlace es válido hasta", "linkValidUntilCertif":"Este mensaje contiene un link para reiniciar su certificado. Este link is válido hasta", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json index c49bce5b2..144e98065 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fi.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"IP-osoite", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Viimeiset virheelliset kirjautumiset", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Viimeisimmät kirjautumiset", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Sukunimi", "linkValidUntil":"Tämä viesti sisältää linkin salasanan nollaamiseen, linkki on voimassa", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json index bbca52d7c..0e7fe1014 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/fr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/fr.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"Adresse IP", "key":"Clef", -"lastConnexionLabel":"Dernières connexions", -"lastFailedConnexionLabel":"Dernières connexions échouées", "lastFailedLogins":"Dernières connexions refusées", +"lastFailedLoginsCaptionLabel":"Dernières connexions refusées", "lastLogins":"Dernières connexions", +"lastLoginsCaptionLabel":"Dernières connexions", "lastName":"Nom", "linkValidUntil":"Ce message contient un lien pour réinitialiser votre mot de passe, ce lien est valide jusqu'au ", "linkValidUntilCertif":"Ce message contient un lien pour réinitialiser votre certificat, ce lien est valide jusqu'à ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/it.json b/lemonldap-ng-portal/site/htdocs/static/languages/it.json index 42262257c..b042e70f1 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/it.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/it.json @@ -178,10 +178,10 @@ "info":"Informazioni", "ipAddr":"Indirizzo IP", "key":"Chiave", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Ultimi login non riusciti", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Ultimi accessi", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Cognome", "linkValidUntil":"Questo messaggio contiene un link per reimpostare la password, questo link è valido fino al", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json index 5ef4f8cbc..a139fc4b0 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/nl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/nl.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Last logins", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Last name", "linkValidUntil":"This message contains a link to reset your password, this link is valid until ", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json index b6ba27a3f..96aed3e53 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pl.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pl.json @@ -178,10 +178,10 @@ "info":"Informacja", "ipAddr":"Adres IP", "key":"Klucz", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Ostatnie nieudane logowania", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Ostatnie logowania", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Nazwisko", "linkValidUntil":"Ta wiadomość zawiera link do zresetowania hasła, ten link jest ważny do ", "linkValidUntilCertif":"Ta wiadomość zawiera link do zresetowania certyfikatu, ten link jest ważny do ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json index 68cbbdd5f..bbb1d8b19 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/pt.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/pt.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Last logins", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Last name", "linkValidUntil":"This message contains a link to reset your password, this link is valid until ", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json index 6484e19e8..2ddb1ea24 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/ro.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/ro.json @@ -178,10 +178,10 @@ "info":"Information", "ipAddr":"IP address", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Last failed logins", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Last logins", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Last name", "linkValidUntil":"This message contains a link to reset your password, this link is valid until ", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json index 17cb08214..c38d14214 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/tr.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/tr.json @@ -178,10 +178,10 @@ "info":"Bilgi", "ipAddr":"IP adresi", "key":"Anahtar", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Son başarısız giriş denemeleri", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Son girişler", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Soyad", "linkValidUntil":"Bu mesaj parolanızı sıfırlamak için bir bağlantı içerir, bu bağlantı şu zamana kadar geçerlidir", "linkValidUntilCertif":"Bu mesaj sertifikanızı sıfırlamak için bir bağlantı içerir, bu bağlantı şu zamana kadar geçerlidir", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json index cb1264023..ef7ddf41f 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/vi.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/vi.json @@ -178,10 +178,10 @@ "info":"Thông tin", "ipAddr":"Địa chỉ IP", "key":"Khóa", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"Lần cuối đăng nhập thất bại", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"Đăng nhập lần cuối", +"lastLoginsCaptionLabel":"Last logins", "lastName":"Họ", "linkValidUntil":"Thông báo này có chứa liên kết để đặt lại mật khẩu của bạn, liên kết này hợp lệ cho đến khi", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json index 30e68b779..ecc89fdd7 100644 --- a/lemonldap-ng-portal/site/htdocs/static/languages/zh.json +++ b/lemonldap-ng-portal/site/htdocs/static/languages/zh.json @@ -178,10 +178,10 @@ "info":"信息", "ipAddr":"IP 地址", "key":"Key", -"lastConnexionLabel":"Last connections", -"lastFailedConnexionLabel":"Last failed connections", "lastFailedLogins":"上次失败的认证", +"lastFailedLoginsCaptionLabel":"Last failed logins", "lastLogins":"上次登陆", +"lastLoginsCaptionLabel":"Last logins", "lastName":"姓氏", "linkValidUntil":"此消息包含重置您密码的链接,该链接有效期截至", "linkValidUntilCertif":"This message contains a link to reset your certificate, this link is valid until ", diff --git a/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl b/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl index c4c412c9e..d0a708c01 100644 --- a/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl +++ b/lemonldap-ng-portal/site/templates/bootstrap/sessionArray.tpl @@ -3,9 +3,9 @@
Last denied connexionsLast connexions
- + - + diff --git a/lemonldap-ng-portal/t/63-History.t b/lemonldap-ng-portal/t/63-History.t index 3c696378e..406a48ad0 100644 --- a/lemonldap-ng-portal/t/63-History.t +++ b/lemonldap-ng-portal/t/63-History.t @@ -47,6 +47,9 @@ my @c = ( $res->[2]->[0] =~ /
Last denied connexionsLast failed logins Last connexionsLast logins
127.0.0.1/gs ); ok( @c == 1, " -> One entry found" ); count(2); +ok( $res->[2]->[0] =~ /trspan="lastLoginsCaptionLabel"/, 'History array caption found' ) or explain( $res->[2]->[0] ); +count(1); + ok( $res = $client->_get( '/', cookie => "lemonldap=$id1" ), 'Verify connection' ); count(1);