From b70bce66efe16c1cb635400be3f8d08a3a0492bf Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Wed, 9 Aug 2023 22:37:53 +0200 Subject: [PATCH] translated base of settings: header + menu items --- crates/ezidam/static/i18n/en.json | 6 ++++- crates/ezidam/static/i18n/fr.json | 6 ++++- .../pages/settings/personal.html.tera | 23 ++++++++++++------- .../pages/settings/security.html.tera | 23 ++++++++++++------- .../templates/pages/settings/visual.html.tera | 23 ++++++++++++------- 5 files changed, 55 insertions(+), 26 deletions(-) diff --git a/crates/ezidam/static/i18n/en.json b/crates/ezidam/static/i18n/en.json index 244d365..ebdb790 100644 --- a/crates/ezidam/static/i18n/en.json +++ b/crates/ezidam/static/i18n/en.json @@ -34,5 +34,9 @@ "totp.verify_code": "Verify code", "redirect.hello": "Hello!", "redirect.preparing_app": "Preparing application", - "redirect.not_redirected": "Click here if you are not redirected" + "redirect.not_redirected": "Click here if you are not redirected", + "user_settings.settings": "Settings", + "user_settings.personal": "Personal", + "user_settings.security": "Security", + "user_settings.visual": "Visual" } \ No newline at end of file diff --git a/crates/ezidam/static/i18n/fr.json b/crates/ezidam/static/i18n/fr.json index 73bcfb7..d9d0e28 100644 --- a/crates/ezidam/static/i18n/fr.json +++ b/crates/ezidam/static/i18n/fr.json @@ -34,5 +34,9 @@ "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é" + "redirect.not_redirected": "Cliquez ici si vous n'êtes pas redirigé", + "user_settings.settings": "Réglages", + "user_settings.personal": "Personnel", + "user_settings.security": "Sécurité", + "user_settings.visual": "Visuel" } diff --git a/crates/ezidam/templates/pages/settings/personal.html.tera b/crates/ezidam/templates/pages/settings/personal.html.tera index f7c54ad..f77b361 100644 --- a/crates/ezidam/templates/pages/settings/personal.html.tera +++ b/crates/ezidam/templates/pages/settings/personal.html.tera @@ -2,13 +2,11 @@ {% block content %} -