From ff5c5b6aae61803e4513c918530ac8b879f2e659 Mon Sep 17 00:00:00 2001 From: sebousan Date: Fri, 22 Mar 2024 16:14:47 +0100 Subject: [PATCH] add modal label for cookie-consent --- i18n/en.yml | 1 + i18n/fr.yml | 1 + layouts/partials/footer/cookie-banner/modal.html | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/i18n/en.yml b/i18n/en.yml index c49d47a..44f52a5 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -24,6 +24,7 @@ contact: whatsapp: WhatsApp cookie_banner: accept: Accept + label: Cookie notice refuse: Refuse text: 'By continuing to browse this site, you accept the use of Cookies to offer you personalized features and to carry out audience measurements. To find out more and configure these cookies:' title: Cookie banner diff --git a/i18n/fr.yml b/i18n/fr.yml index a04bd4e..026a7d2 100644 --- a/i18n/fr.yml +++ b/i18n/fr.yml @@ -24,6 +24,7 @@ contact: whatsapp: WhatsApp cookie_banner: accept: Accepter + label: Avis sur les cookies refuse: Refuser text: 'En poursuivant votre navigation sur ce site, vous acceptez l’utilisation de Cookies pour vous proposer notamment des fonctionnalités personnalisées et pour réaliser des mesures d’audience. Pour en savoir plus et paramétrer ces cookies :' title: Bandeau cookie diff --git a/layouts/partials/footer/cookie-banner/modal.html b/layouts/partials/footer/cookie-banner/modal.html index 140b83d..a8a79c7 100644 --- a/layouts/partials/footer/cookie-banner/modal.html +++ b/layouts/partials/footer/cookie-banner/modal.html @@ -4,9 +4,9 @@ {{- $cookie_text := partial "func/PrepareHTML" (i18n "cookie_banner.text") -}} {{- $cookie_refuse := partial "func/PrepareHTML" (i18n "cookie_banner.refuse") -}} {{- $cookie_accept := partial "func/PrepareHTML" (i18n "cookie_banner.accept") -}} -