From 45c36adefb3ee0dc8fb9908ff0007458b910d3c7 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 6 Nov 2023 18:40:29 +0100
Subject: [PATCH] loca

---
 app/views/admin/communication/blocks/copy.js.erb | 2 +-
 config/locales/communication/en.yml              | 2 ++
 config/locales/communication/fr.yml              | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/app/views/admin/communication/blocks/copy.js.erb b/app/views/admin/communication/blocks/copy.js.erb
index 4df6142b3..47ad1825f 100644
--- a/app/views/admin/communication/blocks/copy.js.erb
+++ b/app/views/admin/communication/blocks/copy.js.erb
@@ -5,7 +5,7 @@ notyf.open({
         x: 'center',
         y: 'bottom'
     },
-    message: "<%= 'block copié correctement' %>",
+    message: "<%= t('admin.communication.block.copied') %>",
     duration: 9000,
     ripple: true,
     dismissible: true
diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml
index 66c03ed33..2fca28844 100644
--- a/config/locales/communication/en.yml
+++ b/config/locales/communication/en.yml
@@ -255,6 +255,8 @@ en:
               too_soon: must be after "from hour"
   admin:
     communication:
+      block:
+        copied: The block has been copied to clipboard!
       website:
         agenda:
           events:
diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml
index de4bff2ca..8a0955dc6 100644
--- a/config/locales/communication/fr.yml
+++ b/config/locales/communication/fr.yml
@@ -255,6 +255,8 @@ fr:
               too_soon: doit être après l'heure de début
   admin:
     communication:
+      block:
+        copied: Le bloc a bien été copié dans le presse-papier.
       website:
         agenda:
           events:
-- 
GitLab