From b9abb975070fceb8b5ecb99e17a85a54e6f3e1c1 Mon Sep 17 00:00:00 2001 From: Maximilien Bausson Date: Thu, 12 Oct 2023 10:39:06 +0200 Subject: [PATCH] Added translations for index breadcrumb --- app/views/domaines/index.html.erb | 5 ++++- config/locales/fr.yml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/domaines/index.html.erb b/app/views/domaines/index.html.erb index 6c997758e..ca1275d6a 100644 --- a/app/views/domaines/index.html.erb +++ b/app/views/domaines/index.html.erb @@ -1,4 +1,7 @@ -<%= render 'layouts/breadcrumb', breadcrumb_variables: {'Paramètres' => modeles_url, 'Domaines' => ''} %> +<%= render 'layouts/breadcrumb', breadcrumb_variables: { + t("breadcrumb.settings") => modeles_url, + t("breadcrumb.domaines") => ""} +%>
diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 2f01942e2..0b5170ff2 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -11,6 +11,7 @@ fr: close: Fermer breadcrumb: settings: Paramètres + domaines: Domaines pages: params_menu: location: