Récupération des commits 3a073633e8 et 09db2562a5

This commit is contained in:
Luc MULLER 2021-04-22 11:03:27 +02:00
parent 3a073633e8
commit b268e62532
29 changed files with 73 additions and 3 deletions

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "е изключен.",
"allowed": "Позволен",
"disallowed": "Забранено",
"ads": {
"title": "Рекламодатели",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "està deshabilitat.",
"allowed": "Permès",
"disallowed": "Desautoritzat",
"ads": {
"title": "Xarxa de publicitat",

View File

@ -40,6 +40,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "已禁用。",
"allowed": "允许的",
"disallowed": "不允许的",
"ads": {
"title": "广告组",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "je vypnutý.",
"allowed": "povoleno",
"disallowed": "nepovoleno",
"ads": {
"title": "Reklamní síť",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "er deaktiveret.",
"allowed": "tilladt",
"disallowed": "ikke tilladt",
"ads": {
"title": "Annonceringsnetværk",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "ist deaktiviert.",
"allowed": "erlaubt",
"disallowed": "nicht erlaubt",
"ads": {
"title": "Werbenetzwerke",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "είναι απενεργοποιημένο.",
"allowed": "επιτρέπεται",
"disallowed": "απαγορεύεται",
"ads": {
"title": "Διαφημιστικό Δίκτυο",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "is disabled.",
"allowed": "allowed",
"disallowed": "disallowed",
"ads": {
"title": "Advertising network",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "está deshabilitado.",
"allowed": "permitido",
"disallowed": "rechazado",
"ads": {
"title": "Red de publicidad",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "hylätty.",
"allowed": "sallittu",
"disallowed": "kielletty",
"ads": {
"title": "Mainosverkosto",

View File

@ -44,6 +44,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "est désactivé.",
"allowed": "autorisé",
"disallowed": "interdit",
"ads": {
"title": "Régies publicitaires",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "letiltott.",
"allowed": "megengedett",
"disallowed": "nem engedélyezett",
"ads": {
"title": "Reklámhálózat",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "è disattivato",
"allowed": "permesso",
"disallowed": "non consentito",
"ads": {
"title": "Regie pubblicitarie",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "is disabled.",
"allowed": "許可",
"disallowed": "許可されていません",
"ads": {
"title": "Advertising network",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "letiltott.",
"allowed": "atļauts",
"disallowed": "nav atļauts",
"ads": {
"title": "Reklámhálózat",

View File

@ -32,6 +32,8 @@ tarteaucitron.lang = {
"credit": "Cookie manager mogelijk gemaakt door tarteaucitron.js",
"fallback": "is uitgeschakeld.",
"allowed": "toegestaan",
"disallowed": "niet toegestaan",
"toggleInfoBox": "Toon/verberg informatie over cookie opslag",
"title": "Cookies beheer paneel",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback" : "er skrudd av.",
"allowed": "tillatt",
"disallowed": "ikke tillatt",
"ads" : {
"title" : "Annonsenettverk",

View File

@ -44,6 +44,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "es desactivat.",
"allowed": "allowed",
"disallowed": "disallowed",
"ads": {
"title": "Regias publicitàrias",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "jest nieaktywna.",
"allowed": "dozwolony",
"disallowed": "niedozwolone",
"ads": {
"title": "Sieć reklamowa",

View File

@ -41,6 +41,9 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "está desativado.",
"allowed": "permitido",
"disallowed": "não permitido",
"ads": {
"title": "Rede de anúncios",
"details": "As redes de anúncios podem gerar receitas com a venda de espaço publicitário no site."

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "este dezactivat.",
"allowed": "permis",
"disallowed": "nepermis",
"ads": {
"title": "Rețea de publicitate",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"fallback": "Деактивирован.",
"allowed": "разрешается",
"disallowed": "запрещено",
"ads": {
"title": "Рекламная сеть",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "är ur funktion.",
"allowed": "tillåten",
"disallowed": "tillåtet",
"ads": {
"title": "Annonsnätverk",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "je zakázané.",
"allowed": "povolený",
"disallowed": "nepovolený",
"ads": {
"title": "Reklamná sieť",

View File

@ -42,6 +42,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "är ur funktion.",
"allowed": "dovoljeno",
"disallowed": "nedovoljeno",
"ads": {
"title": "Annonsnätverk",

View File

@ -44,6 +44,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "devre dışı.",
"allowed": "izin verildi",
"disallowed": "izin verilmeyen",
"ads": {
"title": "Reklam yönetimi",

View File

@ -43,6 +43,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "tắt.",
"allowed": "được phép",
"disallowed": "không được phép",
"ads": {
"title": "Mạng quảng cáo",

View File

@ -40,6 +40,8 @@ tarteaucitron.lang = {
"icon": "Cookies",
"fallback": "已禁用。",
"allowed": "允许的",
"disallowed": "不允许的",
"ads": {
"title": "广告组",

View File

@ -17,7 +17,7 @@ var scripts = document.getElementsByTagName('script'),
var tarteaucitron = {
"version": 20210310,
"version": 20210422,
"cdn": cdn,
"user": {},
"lang": {},
@ -745,14 +745,15 @@ var tarteaucitron = {
isDenied = (cookie.indexOf(service.key + '=false') >= 0),
isAllowed = ((cookie.indexOf(service.key + '=true') >= 0) || (!service.needConsent && cookie.indexOf(service.key + '=false') < 0)),
isResponded = (cookie.indexOf(service.key + '=false') >= 0 || cookie.indexOf(service.key + '=true') >= 0),
isDNTRequested = (navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1" || window.doNotTrack === "1");
isDNTRequested = (navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1" || window.doNotTrack === "1"),
currentStatus = (isAllowed) ? tarteaucitron.lang.allowed : tarteaucitron.lang.disallowed;
if (tarteaucitron.added[service.key] !== true) {
tarteaucitron.added[service.key] = true;
html += '<li id="' + service.key + 'Line" class="tarteaucitronLine">';
html += ' <div class="tarteaucitronName">';
html += ' <span class="tarteaucitronH3" role="heading" aria-level="3">' + service.name + '</span>';
html += ' <span class="tarteaucitronH3" role="heading" aria-level="3">' + service.name + ' (<span id="tacCurrentStatus' + service.key + '">'+currentStatus+'</span>)</span>';
html += ' <span id="tacCL' + service.key + '" class="tarteaucitronListCookies"></span><br/>';
if (tarteaucitron.parameters.moreInfoLink == true) {
@ -955,6 +956,12 @@ var tarteaucitron = {
if (typeof tarteaucitronMagic === 'undefined' || tarteaucitronMagic.indexOf("_" + key + "_") < 0) { tarteaucitron.services[key].js(); }
tarteaucitron.sendEvent(key + '_loaded');
}
var itemStatusElem = document.getElementById('tacCurrentStatus'+key);
if(status == true){
itemStatusElem.innerHTML = tarteaucitron.lang.allowed;
}else{
itemStatusElem.innerHTML = tarteaucitron.lang.disallowed;
}
tarteaucitron.state[key] = status;
tarteaucitron.cookie.create(key, status);
tarteaucitron.userInterface.color(key, status);
@ -990,6 +997,12 @@ var tarteaucitron = {
if (typeof tarteaucitronMagic === 'undefined' || tarteaucitronMagic.indexOf("_" + key + "_") < 0) { tarteaucitron.services[key].js(); }
}
}
var itemStatusElem = document.getElementById('tacCurrentStatus'+key);
if(status == true){
itemStatusElem.innerHTML = tarteaucitron.lang.allowed;
}else{
itemStatusElem.innerHTML = tarteaucitron.lang.disallowed;
}
tarteaucitron.state[key] = status;
tarteaucitron.cookie.create(key, status);
tarteaucitron.userInterface.color(key, status);