translated totp
This commit is contained in:
parent
c4c9ebea54
commit
411fdd7bf3
3 changed files with 16 additions and 8 deletions
|
|
@ -28,5 +28,8 @@
|
||||||
"authorize.login": "Login",
|
"authorize.login": "Login",
|
||||||
"authorize.password": "Password",
|
"authorize.password": "Password",
|
||||||
"authorize.authorize": "Authorize",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
@ -28,5 +28,8 @@
|
||||||
"authorize.login": "Nom d'utilisateur",
|
"authorize.login": "Nom d'utilisateur",
|
||||||
"authorize.password": "Mot de passe",
|
"authorize.password": "Mot de passe",
|
||||||
"authorize.authorize": "Autoriser",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,11 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="card card-md">
|
<div class="card card-md" id="totp_page">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="text-center mb-4">
|
<div class="text-center mb-4">
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<h2 class="card-title">Verify your account</h2>
|
<h2 class="card-title" data-i18n="totp.verify_account"></h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
{{ user::avatar(username=username, name=name, size="lg", css="mb-3") }}
|
{{ user::avatar(username=username, name=name, size="lg", css="mb-3") }}
|
||||||
|
|
@ -38,9 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
<form id="totp_form" action="" method="post" autocomplete="off" novalidate class="mt-4">
|
<form id="totp_form" action="" method="post" autocomplete="off" novalidate class="mt-4">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label required" for="code">
|
<label class="form-label required" for="code" data-i18n="totp.enter_code"></label>
|
||||||
Enter the code displayed on your device
|
|
||||||
</label>
|
|
||||||
<input
|
<input
|
||||||
class="form-control"
|
class="form-control"
|
||||||
type="text"
|
type="text"
|
||||||
|
|
@ -54,7 +52,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-footer">
|
<div class="form-footer">
|
||||||
<button type="submit" class="btn btn-primary w-100">Verify code</button>
|
<button type="submit" class="btn btn-primary w-100" data-i18n="totp.verify_code"></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -72,3 +70,7 @@
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
{% endblock page %}
|
{% endblock page %}
|
||||||
|
|
||||||
|
{% block i18n %}
|
||||||
|
localize("#totp_page");
|
||||||
|
{% endblock i18n %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue