diff --git a/crates/ezidam/static/i18n/en.json b/crates/ezidam/static/i18n/en.json index 5fec117..69ca90b 100644 --- a/crates/ezidam/static/i18n/en.json +++ b/crates/ezidam/static/i18n/en.json @@ -22,5 +22,11 @@ "reset_password.title": "Reset your password", "reset_password.new_password": "New password", "reset_password.confirm_password": "Confirm new password", - "reset_password.set_password": "Set new password" + "reset_password.set_password": "Set new password", + "authorize.access_app": "Access [[app_name]]", + "authorize.with_account": "With your [[business_name]] account", + "authorize.login": "Login", + "authorize.password": "Password", + "authorize.authorize": "Authorize", + "authorize.forgot_password": "Forgot your password?" } \ No newline at end of file diff --git a/crates/ezidam/static/i18n/fr.json b/crates/ezidam/static/i18n/fr.json index 963fa75..02aaab7 100644 --- a/crates/ezidam/static/i18n/fr.json +++ b/crates/ezidam/static/i18n/fr.json @@ -22,5 +22,11 @@ "reset_password.title": "Réinitialisation du mot de passe", "reset_password.new_password": "Nouveau mot de passe", "reset_password.confirm_password": "Confirmer le mot de passe", - "reset_password.set_password": "Enregistrer le mot de passe" + "reset_password.set_password": "Enregistrer le mot de passe", + "authorize.access_app": "Accéder à [[app_name]]", + "authorize.with_account": "Avec votre compte [[business_name]]", + "authorize.login": "Nom d'utilisateur", + "authorize.password": "Mot de passe", + "authorize.authorize": "Autoriser", + "authorize.forgot_password": "Mot de passe oublié?" } diff --git a/crates/ezidam/templates/pages/oauth/authorize.html.tera b/crates/ezidam/templates/pages/oauth/authorize.html.tera index 7501c44..480a2da 100644 --- a/crates/ezidam/templates/pages/oauth/authorize.html.tera +++ b/crates/ezidam/templates/pages/oauth/authorize.html.tera @@ -8,7 +8,7 @@
-
+
{% include "utils/logo" %}
@@ -22,8 +22,8 @@
-

Access {{ app_name }}

-

With your {{ business_name }} account

+

+

{% if user %} @@ -39,23 +39,19 @@
{% else %}
- - + +
- +
- +
{% endif %}
@@ -63,7 +59,7 @@ {% if user %} {% else %} {% endif %}
@@ -79,3 +75,10 @@ {% endblock page %} + +{% block i18n %} +localize("#authorize_page", { + 'app_name': '{{app_name}}', + 'business_name': '{{business_name}}', +}); +{% endblock i18n %}