Charly 2 anni fa
parent
commit
8136a7c409
3 ha cambiato i file con 38 aggiunte e 4 eliminazioni
  1. +7
    -2
      config/packages/ch_cookie_consent.yaml
  2. +2
    -2
      config/packages/framework.yaml
  3. +29
    -0
      translations/CHCookieConsentBundle.fr.yml

+ 7
- 2
config/packages/ch_cookie_consent.yaml Vedi File

ch_cookie_consent:
categories: ['analytics', 'tracking', 'social_media', 'marketing']
ch_cookie_consent:
theme: 'light' # light, dark
categories: # Below are the default supported categories
- 'piwik'
use_logger: true # Logs user actions to database
position: 'bottom' # top, bottom
simplified: false # When set to true the user can only deny or accept all cookies at once

+ 2
- 2
config/packages/framework.yaml Vedi File

# see https://symfony.com/doc/current/reference/configuration/framework.html # see https://symfony.com/doc/current/reference/configuration/framework.html
framework: framework:
secret: '%env(APP_SECRET)%' secret: '%env(APP_SECRET)%'
#csrf_protection: true
csrf_protection: true
#http_method_override: true #http_method_override: true


# Enables session support. Note that the session will ONLY be started if you read or write from it. # Enables session support. Note that the session will ONLY be started if you read or write from it.
cookie_secure: auto cookie_secure: auto
cookie_samesite: lax cookie_samesite: lax


#esi: true
esi: true
#fragments: true #fragments: true
php_errors: php_errors:
log: true log: true

+ 29
- 0
translations/CHCookieConsentBundle.fr.yml Vedi File

ch_cookie_consent:
title: 'Cookies'
intro: "Un cookie est un fichier texte qui enregistre des informations concernant votre navigation sur ce site internet. Nous en utilisons notamment pour réaliser des statistiques de visite."
read_more: 'En savoir plus'
analytics:
title: 'Google Analytics'
description: "Analyse d'audience du site web"
tracking:
title: 'Do you want tracking cookies?'
description: ''
marketing:
title: 'Do you want personalised ads?'
description: ''
social_media:
title: 'Do you want social media cookies?'
description: ''
site:
title: 'Site'
description: 'Fonctionnement du site'
piwik:
title: 'Piwik'
description: 'Statistiques du site'
no: 'Non'
yes: 'Oui'
save: 'Sauvegarder'
use_only_functional_cookies: 'Only use functional cookies'
use_all_cookies: 'Allow all cookies'
show_details: 'Show details'
hide_details: 'Hide details'

Loading…
Annulla
Salva