diff --git a/.DS_Store b/.DS_Store index c9e2757..db14af5 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/README.md b/README.md index 2f647ea..7c05151 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,9 @@ tarteaucitron.init({ //"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */ - "readmoreLink": "/cookiespolicy" /* Change the default readmore link pointing to tarteaucitron.io */ + "readmoreLink": "/cookiespolicy", /* Change the default readmore link pointing to tarteaucitron.io */ + + "mandatory": false /* Show a message about mandatory cookies */ }); ``` diff --git a/lang/tarteaucitron.bg.js b/lang/tarteaucitron.bg.js index 111664a..11ccb1e 100644 --- a/lang/tarteaucitron.bg.js +++ b/lang/tarteaucitron.bg.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Други", "details": "Services to display web content." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.cn.js b/lang/tarteaucitron.cn.js index debe951..3de0d26 100644 --- a/lang/tarteaucitron.cn.js +++ b/lang/tarteaucitron.cn.js @@ -70,5 +70,8 @@ tarteaucitron.lang = { "other": { "title": "其他", "details": "旨在显示网页内容的服务。" - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.cs.js b/lang/tarteaucitron.cs.js index 429f841..15d482b 100644 --- a/lang/tarteaucitron.cs.js +++ b/lang/tarteaucitron.cs.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Jiný", "details": "Služby pro zobrazení webového obsahu." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.da.js b/lang/tarteaucitron.da.js index 385f7b0..698aa87 100644 --- a/lang/tarteaucitron.da.js +++ b/lang/tarteaucitron.da.js @@ -73,5 +73,8 @@ tarteaucitron.lang = { "other": { "title": "Andet", "details": "Tjenester til visning af webindhold." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.de.js b/lang/tarteaucitron.de.js index 3ae1414..2c8919a 100644 --- a/lang/tarteaucitron.de.js +++ b/lang/tarteaucitron.de.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Andere", "details": "Dienste zum Anzeigen von Web-Inhalten." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.el.js b/lang/tarteaucitron.el.js index 9d9a285..d754416 100644 --- a/lang/tarteaucitron.el.js +++ b/lang/tarteaucitron.el.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Λοιπές υπηρεσίες", "details": "Υπηρεσίες που παρουσιάζουν άλλο περιεχόμενο." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.en.js b/lang/tarteaucitron.en.js index 3f6e9c6..495d92f 100644 --- a/lang/tarteaucitron.en.js +++ b/lang/tarteaucitron.en.js @@ -73,5 +73,8 @@ tarteaucitron.lang = { "other": { "title": "Other", "details": "Services to display web content." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.es.js b/lang/tarteaucitron.es.js index 51c2694..11c509d 100644 --- a/lang/tarteaucitron.es.js +++ b/lang/tarteaucitron.es.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Otro", "details": "Servicios para mostrar contenido web." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.fi.js b/lang/tarteaucitron.fi.js index 5847084..20201c1 100644 --- a/lang/tarteaucitron.fi.js +++ b/lang/tarteaucitron.fi.js @@ -76,5 +76,8 @@ tarteaucitron.lang = { "other": { "title": "Muut", "details": "Palvelut web-sisältöjen näyttämiseen." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.fr.js b/lang/tarteaucitron.fr.js index de05159..c5ed091 100644 --- a/lang/tarteaucitron.fr.js +++ b/lang/tarteaucitron.fr.js @@ -74,5 +74,8 @@ tarteaucitron.lang = { "other": { "title": "Autre", "details": "Services visant à afficher du contenu web." - } + }, + + "mandatoryTitle": "Cookies obligatoires", + "mandatoryText": "Ce site utilise des cookies nécessaires à son bon fonctionnement qui ne peuvent pas être désactivés." }; diff --git a/lang/tarteaucitron.hu.js b/lang/tarteaucitron.hu.js index 55336d6..47a00ce 100644 --- a/lang/tarteaucitron.hu.js +++ b/lang/tarteaucitron.hu.js @@ -73,5 +73,8 @@ tarteaucitron.lang = { "other": { "title": "Ostatné", "details": "Služby na zobrazovanie webového obsahu." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.it.js b/lang/tarteaucitron.it.js index 7b47331..273edf8 100644 --- a/lang/tarteaucitron.it.js +++ b/lang/tarteaucitron.it.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Altro", "details": "Servizi per visualizzare contenuti web." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.ja.js b/lang/tarteaucitron.ja.js index fc4893d..80d54d2 100644 --- a/lang/tarteaucitron.ja.js +++ b/lang/tarteaucitron.ja.js @@ -73,5 +73,8 @@ tarteaucitron.lang = { "other": { "title": "Other", "details": "Services to display web content." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.nl.js b/lang/tarteaucitron.nl.js index e5a98fe..6b82edf 100644 --- a/lang/tarteaucitron.nl.js +++ b/lang/tarteaucitron.nl.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Overig", "details": "Diensten om webinhoud weer te geven." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.oc.js b/lang/tarteaucitron.oc.js index 190ef14..a741fb2 100644 --- a/lang/tarteaucitron.oc.js +++ b/lang/tarteaucitron.oc.js @@ -74,5 +74,8 @@ tarteaucitron.lang = { "other": { "title": "Autre", "details": "Servicis que cèrcan a afichar de contengut web." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.pl.js b/lang/tarteaucitron.pl.js index 4d55cd1..abebe0c 100644 --- a/lang/tarteaucitron.pl.js +++ b/lang/tarteaucitron.pl.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Inne", "details": "Usługi do wyświetlania treści internetowych." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.pt.js b/lang/tarteaucitron.pt.js index 6ec6e64..608bde7 100644 --- a/lang/tarteaucitron.pt.js +++ b/lang/tarteaucitron.pt.js @@ -70,5 +70,8 @@ tarteaucitron.lang = { "other": { "title": "De outros", "details": "Serviços para exibir conteúdo da web." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.ro.js b/lang/tarteaucitron.ro.js index 5611dfe..dd597bc 100644 --- a/lang/tarteaucitron.ro.js +++ b/lang/tarteaucitron.ro.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Alte", "details": "Servicii pentru afișarea conținutului web." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.ru.js b/lang/tarteaucitron.ru.js index d5f30b5..db1bbde 100644 --- a/lang/tarteaucitron.ru.js +++ b/lang/tarteaucitron.ru.js @@ -72,5 +72,8 @@ tarteaucitron.lang = { "other": { "title": "Другие", "details": "Службы для отображения веб-контента." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.se.js b/lang/tarteaucitron.se.js index 4814acc..f3145c7 100644 --- a/lang/tarteaucitron.se.js +++ b/lang/tarteaucitron.se.js @@ -73,5 +73,8 @@ tarteaucitron.lang = { "other": { "title": "Övrig", "details": "Tjänster för att visa webbinnehåll." - } -}; \ No newline at end of file + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." +}; diff --git a/lang/tarteaucitron.sk.js b/lang/tarteaucitron.sk.js index e2479f9..a985844 100644 --- a/lang/tarteaucitron.sk.js +++ b/lang/tarteaucitron.sk.js @@ -148,6 +148,9 @@ tarteaucitron.lang = { "details": "Služby na zobrazovanie webového obsahu." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.tr.js b/lang/tarteaucitron.tr.js index e647433..7dfdde2 100644 --- a/lang/tarteaucitron.tr.js +++ b/lang/tarteaucitron.tr.js @@ -76,5 +76,8 @@ tarteaucitron.lang = { "other": { "title": "diğer\n", "details": "Web içeriğini görüntüleme hizmetleri." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/lang/tarteaucitron.vi.js b/lang/tarteaucitron.vi.js index 89cd12c..8771adc 100644 --- a/lang/tarteaucitron.vi.js +++ b/lang/tarteaucitron.vi.js @@ -73,5 +73,8 @@ tarteaucitron.lang = { "other": { "title": "Dịch vụ khác", "details": "Dịch vụ hiển thị nội dung web." - } + }, + + "mandatoryTitle": "Mandatory cookies", + "mandatoryText": "This site uses cookies necessary for its proper functioning which cannot be deactivated." }; diff --git a/tarteaucitron.js b/tarteaucitron.js index c4ab692..6acfabb 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -17,7 +17,7 @@ var scripts = document.getElementsByTagName('script'), var tarteaucitron = { - "version": 20200501, + "version": 20200521, "cdn": cdn, "user": {}, "lang": {}, @@ -214,7 +214,8 @@ var tarteaucitron = { "moreInfoLink": true, "privacyUrl": "", "useExternalCss": false, - "useExternalJs": false + "useExternalJs": false, + "mandatory": false }, params = tarteaucitron.parameters; @@ -321,6 +322,28 @@ var tarteaucitron = { html += ' '; html += '