diff --git a/crates/ezidam/static/i18n/en.json b/crates/ezidam/static/i18n/en.json index 2292c28..5fec117 100644 --- a/crates/ezidam/static/i18n/en.json +++ b/crates/ezidam/static/i18n/en.json @@ -1,4 +1,5 @@ { + "error.go_home": "Go to homepage", "header.settings": "Settings", "header.admin_panel": "Admin panel", "header.logout": "Logout", diff --git a/crates/ezidam/static/i18n/fr.json b/crates/ezidam/static/i18n/fr.json index 654d942..963fa75 100644 --- a/crates/ezidam/static/i18n/fr.json +++ b/crates/ezidam/static/i18n/fr.json @@ -1,4 +1,5 @@ { + "error.go_home": "Aller à la page d'accueil", "header.settings": "Réglages", "header.admin_panel": "Console d'administration", "header.logout": "Se déconnecter", diff --git a/crates/ezidam/templates/pages/error.html.tera b/crates/ezidam/templates/pages/error.html.tera index 6e272ca..e377706 100644 --- a/crates/ezidam/templates/pages/error.html.tera +++ b/crates/ezidam/templates/pages/error.html.tera @@ -4,7 +4,7 @@
-
+
{{ http_code }}

{{ http_reason }}

@@ -14,7 +14,7 @@
@@ -25,4 +25,8 @@ -{% endblock page %} \ No newline at end of file +{% endblock page %} + +{% block i18n %} +localize("#error_page"); +{% endblock i18n %}