diff --git a/crates/ezidam/static/i18n/en.json b/crates/ezidam/static/i18n/en.json index ca58e73..244d365 100644 --- a/crates/ezidam/static/i18n/en.json +++ b/crates/ezidam/static/i18n/en.json @@ -31,5 +31,8 @@ "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" + "totp.verify_code": "Verify code", + "redirect.hello": "Hello!", + "redirect.preparing_app": "Preparing application", + "redirect.not_redirected": "Click here if you are not redirected" } \ No newline at end of file diff --git a/crates/ezidam/static/i18n/fr.json b/crates/ezidam/static/i18n/fr.json index 29221e2..73bcfb7 100644 --- a/crates/ezidam/static/i18n/fr.json +++ b/crates/ezidam/static/i18n/fr.json @@ -31,5 +31,8 @@ "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" + "totp.verify_code": "Verifier le code", + "redirect.hello": "Bonjour!", + "redirect.preparing_app": "Préparation de l'application", + "redirect.not_redirected": "Cliquez ici si vous n'êtes pas redirigé" } diff --git a/crates/ezidam/templates/pages/oauth/redirect.html.tera b/crates/ezidam/templates/pages/oauth/redirect.html.tera index 8f04d18..ae87d06 100644 --- a/crates/ezidam/templates/pages/oauth/redirect.html.tera +++ b/crates/ezidam/templates/pages/oauth/redirect.html.tera @@ -8,15 +8,15 @@
-
+
{% include "utils/logo" %}
-

Hello!

-

Preparing application

+

+

{{ user::avatar(username=username, name=name, size="xl", css="mb-3") }} @@ -34,7 +34,7 @@
@@ -48,3 +48,7 @@ {% endblock page %} + +{% block i18n %} +localize("#redirect_page"); +{% endblock i18n %}