rename "technical" to "functional"

This commit is contained in:
Massimo Maggioni 2022-01-30 20:16:12 +01:00
parent 3e2dff5e45
commit 05030585cc
7 changed files with 12 additions and 8 deletions

View File

@ -3,6 +3,10 @@ items:
description: This code gives us insight into the number of people that visit our website, where they are from and what they are clicking on. We follow the guidelines of the Dutch Government, which describe how to use Google Analytics without requiring explicit consent. description: This code gives us insight into the number of people that visit our website, where they are from and what they are clicking on. We follow the guidelines of the Dutch Government, which describe how to use Google Analytics without requiring explicit consent.
is_functional: true is_functional: true
script_file: ga.js script_file: ga.js
- title: Disqus comment (functional)
description: This code gives users the option to comment the articles.
is_functional: true
script_file: disqus.js
- title: Crisp chat - title: Crisp chat
description: This code gives users the option to chat directly with us through a chat box in the bottom right corner. Visitor data will (also) be sent to Crisp. description: This code gives users the option to chat directly with us through a chat box in the bottom right corner. Visitor data will (also) be sent to Crisp.
is_functional: false is_functional: false

View File

@ -31,7 +31,7 @@ params:
GDPRbanner: GDPRbanner:
enabled: true enabled: true
onlytechnical: false onlyfunctional: false
footer: footer:
since: 2020 since: 2020

View File

@ -65,7 +65,7 @@ search:
footer: footer:
GDPRsettings: GDPRsettings:
modify: Manage GDPR settings modify: Manage GDPR settings
technical: This website use only technical cookies functional: This website use only functional cookies
nocookie: This website doesn't use any cookie and doesn't collect any personal data nocookie: This website doesn't use any cookie and doesn't collect any personal data
builtWith: builtWith:

View File

@ -64,7 +64,7 @@ search:
footer: footer:
GDPRsettings: GDPRsettings:
other: Gestisci il consenso GDPR other: Gestisci il consenso GDPR
technical: Questo sito web utilizza solo cookie tecnici functional: Questo sito web utilizza solo cookie funzionali
nocookie: Questo sito web non usa cookie e non raccoglie dati personali nocookie: Questo sito web non usa cookie e non raccoglie dati personali
builtWith: builtWith:

View File

@ -1,5 +1,5 @@
{{ if .Site.Params.GDPRbanner.enabled }} {{ if .Site.Params.GDPRbanner.enabled }}
{{ if not .Site.Params.GDPRbanner.onlytechnical }} {{ if not .Site.Params.GDPRbanner.onlyfunctional }}
{{ partial "helper/consent.html" . }} {{ partial "gdpr/consent.html" . }}
{{ end }} {{ end }}
{{ end }} {{ end }}

View File

@ -11,10 +11,10 @@
<section class="GDPRbanner"> <section class="GDPRbanner">
{{ if .Site.Params.GDPRbanner.enabled }} {{ if .Site.Params.GDPRbanner.enabled }}
{{ if not .Site.Params.GDPRbanner.onlytechnical }} {{ if not .Site.Params.GDPRbanner.onlyfunctional }}
<a class="manage-consent" href="#manage-consent">{{ T "footer.GDPRsettings.modify" }}</a> <a class="manage-consent" href="#manage-consent">{{ T "footer.GDPRsettings.modify" }}</a>
{{ else }} {{ else }}
{{ T "footer.GDPRsettings.technical" }} {{ T "footer.GDPRsettings.functional" }}
{{ end }} {{ end }}
{{ else }} {{ else }}
{{ T "footer.GDPRsettings.nocookie" }} {{ T "footer.GDPRsettings.nocookie" }}