translated redirect
This commit is contained in:
parent
411fdd7bf3
commit
9e8c51790e
3 changed files with 16 additions and 6 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -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é"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@
|
|||
<div>
|
||||
<div class="min-vh-100 d-flex flex-column justify-content-between">
|
||||
<div class="page page-center">
|
||||
<div class="container container-tight py-4">
|
||||
<div class="container container-tight py-4" id="redirect_page">
|
||||
<div class="text-center mb-4">
|
||||
{% include "utils/logo" %}
|
||||
</div>
|
||||
<div class="card card-md">
|
||||
<div class="card-body text-center">
|
||||
<div class="mb-4">
|
||||
<h2 class="card-title">Hello!</h2>
|
||||
<p class="text-muted">Preparing application</p>
|
||||
<h2 class="card-title" data-i18n="redirect.hello"></h2>
|
||||
<p class="text-muted" data-i18n="redirect.preparing_app"></p>
|
||||
</div>
|
||||
<div class="mb-4">
|
||||
{{ user::avatar(username=username, name=name, size="xl", css="mb-3") }}
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="text-center text-muted mt-3">
|
||||
<a href="{{ home_page }}" tabindex="-1">Click here if you are not redirected</a>
|
||||
<a href="{{ home_page }}" tabindex="-1" data-i18n="redirect.not_redirected"></a>
|
||||
<meta http-equiv="refresh" content="2; url={{ home_page }}">
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -48,3 +48,7 @@
|
|||
<script src="/js/demo.min.js" defer></script>
|
||||
</body>
|
||||
{% endblock page %}
|
||||
|
||||
{% block i18n %}
|
||||
localize("#redirect_page");
|
||||
{% endblock i18n %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue