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.
is_functional: true
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
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

View File

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

View File

@ -65,7 +65,7 @@ search:
footer:
GDPRsettings:
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
builtWith:

View File

@ -64,7 +64,7 @@ search:
footer:
GDPRsettings:
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
builtWith:

View File

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

View File

@ -11,10 +11,10 @@
<section class="GDPRbanner">
{{ 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>
{{ else }}
{{ T "footer.GDPRsettings.technical" }}
{{ T "footer.GDPRsettings.functional" }}
{{ end }}
{{ else }}
{{ T "footer.GDPRsettings.nocookie" }}