From 44e11197fc4474f712a5c48d56829d27decda678 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 7 Sep 2023 13:51:13 +0200
Subject: [PATCH] fix

---
 .../admin/communication/websites/agenda/events/_list.html.erb  | 2 +-
 config/locales/communication/en.yml                            | 3 +++
 config/locales/communication/fr.yml                            | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/app/views/admin/communication/websites/agenda/events/_list.html.erb b/app/views/admin/communication/websites/agenda/events/_list.html.erb
index 3c1f386ba..3198eeb2c 100644
--- a/app/views/admin/communication/websites/agenda/events/_list.html.erb
+++ b/app/views/admin/communication/websites/agenda/events/_list.html.erb
@@ -1,5 +1,5 @@
 <% if events.none? %>
-  <p><%= t('communication.website.agenda.events.none') %></p>
+  <p><%= t('admin.communication.website.agenda.events.none') %></p>
 <% else %>
   <div class="table-responsive">
     <table class="<%= table_classes %>">
diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml
index 098fdba4f..f67035ebb 100644
--- a/config/locales/communication/en.yml
+++ b/config/locales/communication/en.yml
@@ -722,6 +722,9 @@ en:
             tab: Organize structure
             description: In “Organize structure” mode, you do not see the blocks, only the titles. When you move a title, all the blocks follow. This is the ideal mode for organising long documents.
       website:
+        agenda:
+          events:
+            none: No event yet
         pages:
           as_list: See as a list
           as_tree: Organize structure
diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml
index 9467b766d..903ab9577 100644
--- a/config/locales/communication/fr.yml
+++ b/config/locales/communication/fr.yml
@@ -719,6 +719,9 @@ fr:
             tab: Organiser le plan
             description: Dans le mode “Organiser le plan”, vous ne voyez pas les blocs mais seulement les titres. Lorsque vous déplacez un titre, tous les blocs suivent. C'est le mode idéal pour ranger les documents longs.
       website:
+        agenda:
+          events:
+            none: Pas encore d'événements
         pages:
           as_list: Voir en liste
           as_tree: Organiser l'arborescence
-- 
GitLab