diff --git a/crates/ezidam/static/i18n/en.json b/crates/ezidam/static/i18n/en.json index 69ca90b..ca58e73 100644 --- a/crates/ezidam/static/i18n/en.json +++ b/crates/ezidam/static/i18n/en.json @@ -28,5 +28,8 @@ "authorize.login": "Login", "authorize.password": "Password", "authorize.authorize": "Authorize", - "authorize.forgot_password": "Forgot your password?" + "authorize.forgot_password": "Forgot your password?", + "totp.verify_account": "Verify your account", + "totp.enter_code": "Enter the code displayed on your device", + "totp.verify_code": "Verify code" } \ No newline at end of file diff --git a/crates/ezidam/static/i18n/fr.json b/crates/ezidam/static/i18n/fr.json index 02aaab7..29221e2 100644 --- a/crates/ezidam/static/i18n/fr.json +++ b/crates/ezidam/static/i18n/fr.json @@ -28,5 +28,8 @@ "authorize.login": "Nom d'utilisateur", "authorize.password": "Mot de passe", "authorize.authorize": "Autoriser", - "authorize.forgot_password": "Mot de passe oublié?" + "authorize.forgot_password": "Mot de passe oublié?", + "totp.verify_account": "Vérification de votre compte", + "totp.enter_code": "Entrez le code de vérification sur votre appareil", + "totp.verify_code": "Verifier le code" } diff --git a/crates/ezidam/templates/pages/oauth/totp.html.tera b/crates/ezidam/templates/pages/oauth/totp.html.tera index 650d31a..5eb3de3 100644 --- a/crates/ezidam/templates/pages/oauth/totp.html.tera +++ b/crates/ezidam/templates/pages/oauth/totp.html.tera @@ -19,11 +19,11 @@ {% endif %} -
+
-

Verify your account

+

{{ user::avatar(username=username, name=name, size="lg", css="mb-3") }} @@ -38,9 +38,7 @@
- +
@@ -72,3 +70,7 @@ {% endblock page %} + +{% block i18n %} +localize("#totp_page"); +{% endblock i18n %}