Преглед изворни кода

Merge branch 'master' into feat/hide-read-more

Amauri CHAMPEAUX пре 6 година
родитељ
комит
dac62f1a22

+ 23 - 88
README.md

@@ -1,5 +1,5 @@
-[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/SASAICAGENCY)
-
+[![](https://data.jsdelivr.com/v1/package/gh/AmauriC/tarteaucitron.js/badge)](https://www.jsdelivr.com/package/gh/AmauriC/tarteaucitron.js) 
+[![npm](https://img.shields.io/npm/v/tarteaucitronjs.svg)](https://www.npmjs.com/package/tarteaucitronjs) [![GitHub contributors](https://img.shields.io/github/contributors/AmauriC/tarteaucitron.js.svg)](https://github.com/AmauriC/tarteaucitron.js/graphs/contributors)
 
 tarteaucitron.js
 ================
@@ -19,83 +19,6 @@ Bonus:
 - Load service when user click on Allow (without reload of the page),
 - Incorporate a fallback system (display a link instead of social button and a static banner instead of advertising).
 
-## Supported services
-* Advertising network
-  * Amazon
-  * Clicmanager
-  * Criteo
-  * FERank (pub)
-  * Google Adsense
-  * Google Adsense Search (form)
-  * Google Adsense Search (result)
-  * Google Adwords (conversion)
-  * Google Adwords (remarketing)
-  * Pubdirecte
-  * Twenga
-  * vShop
-
-* APIs
-  * Google jsapi
-  * Google Maps
-  * Google Tag Manager
-  * Timeline JS
-  * Typekit (adobe)
-
-* Audience measurement
-  * Alexa
-  * Clicky
-  * Crazyegg
-  * FERank
-  * Get+
-  * Google Analytics (ga.js)
-  * Google Analytics (universal)
-  * StatCounter
-  * VisualRevenue
-  * Xiti
-
-* Comment
-  * Disqus
-  * Facebook (commentaire)
-
-* Social network
-  * AddThis
-  * AddToAny (feed)
-  * AddToAny (share)
-  * eKomi
-  * Facebook
-  * Facebook (like box)
-  * Google+
-  * Google+ (badge)
-  * Linkedin
-  * Pinterest
-  * Shareaholic
-  * ShareThis
-  * Twitter
-  * Twitter (cards)
-  * Twitter (timelines)
-
-* Support
-  * UserVoice
-  * Zopim
-
-* Video
-  * Calameo
-  * Dailymotion
-  * Prezi
-  * SlideShare
-  * Vimeo
-  * YouTube
-
-
-## Visitors outside the EU
-In PHP for example, you can bypass all the script by setting this var `tarteaucitron.user.bypass = true;` if the visitor is not in the EU.
-
-## Tested on
-- IE 6+
-- FF 3+
-- Safari 4+
-- Chrome 14+
-- Opera 10+
 
 # Installation guide
 [Visit opt-out.ferank.eu](https://opt-out.ferank.eu/)
@@ -108,15 +31,27 @@ In PHP for example, you can bypass all the script by setting this var `tarteauci
 
 <script type="text/javascript">
 tarteaucitron.init({
-    "hashtag": "#tarteaucitron", /* Ouverture automatique du panel avec le hashtag */
-    "highPrivacy": false, /* désactiver le consentement implicite (en naviguant) ? */
-    "orientation": "top", /* le bandeau doit être en haut (top) ou en bas (bottom) ? */
-    "adblocker": false, /* Afficher un message si un adblocker est détecté */
-    "showAlertSmall": true, /* afficher le petit bandeau en bas à droite ? */
-    "cookieslist": true, /* Afficher la liste des cookies installés ? */
-    "removeCredit": false, /* supprimer le lien vers la source ? */
-    "cookieDomain": ".my-multisite-domaine.fr", /* Nom de domaine sur lequel sera posé le cookie - pour les multisites / sous-domaines - Facultatif */
-    "readmoreLink": "/cookiespolicy" /* Pour changer les liens Read more, si vous avez une page listant tous les cookies par exemple - Facultatif */
+    "privacyUrl": "", /* Privacy policy url */
+
+    "hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
+    "cookieName": "tartaucitron", /* Cookie name */
+    
+    "orientation": "top", /* Banner position (top - bottom) */
+    "showAlertSmall": true, /* Show the small banner on bottom right */
+    "cookieslist": true, /* Show the cookie list */
+
+    "adblocker": false, /* Show a Warning if an adblocker is detected */
+    "AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
+    "highPrivacy": false, /* Disable auto consent */
+    "handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
+
+    "removeCredit": false, /* Remove credit link */
+    "moreInfoLink": true, /* Show more info link */
+    "useExternalCss": false /* If false, the tarteaucitron.css file will be loaded */
+
+    //"cookieDomain": ".my-multisite-domaine.fr" /* Shared cookie for subdomain website */
+                          
+    "readmoreLink": "/cookiespolicy" /* Change the default readmore link pointing to opt-out.ferank.eu */
 });
 </script>
 ```

+ 227 - 23
css/tarteaucitron.css

@@ -1,3 +1,75 @@
+.modal-open{
+    overflow: hidden;
+    height: 100%;
+}
+
+#contentWrapper {display:unset;}
+
+/***
+* Reset CSS
+*/
+#tarteaucitronRoot div, #tarteaucitronRoot span, #tarteaucitronRoot applet, #tarteaucitronRoot object, #tarteaucitronRoot iframe, #tarteaucitronRoot h1, #tarteaucitronRoot h2, #tarteaucitronRoot h3, #tarteaucitronRoot h4, #tarteaucitronRoot h5, #tarteaucitronRoot h6, #tarteaucitronRoot p, #tarteaucitronRoot blockquote, #tarteaucitronRoot pre, #tarteaucitronRoot a, #tarteaucitronRoot abbr, #tarteaucitronRoot acronym, #tarteaucitronRoot address, #tarteaucitronRoot big, #tarteaucitronRoot cite, #tarteaucitronRoot code, #tarteaucitronRoot del, #tarteaucitronRoot dfn, #tarteaucitronRoot em, #tarteaucitronRoot img, #tarteaucitronRoot ins, #tarteaucitronRoot kbd, #tarteaucitronRoot q, #tarteaucitronRoot s, #tarteaucitronRoot samp, #tarteaucitronRoot small, #tarteaucitronRoot strike, #tarteaucitronRoot strong, #tarteaucitronRoot sub, #tarteaucitronRoot sup, #tarteaucitronRoot tt, #tarteaucitronRoot var, #tarteaucitronRoot b, #tarteaucitronRoot u, #tarteaucitronRoot i, #tarteaucitronRoot center, #tarteaucitronRoot dl, #tarteaucitronRoot dt, #tarteaucitronRoot dd, #tarteaucitronRoot ol, #tarteaucitronRoot ul, #tarteaucitronRoot li, #tarteaucitronRoot fieldset, #tarteaucitronRoot form, #tarteaucitronRoot label, #tarteaucitronRoot legend, #tarteaucitronRoot table, #tarteaucitronRoot caption, #tarteaucitronRoot tbody, #tarteaucitronRoot tfoot, #tarteaucitronRoot thead, #tarteaucitronRoot tr, #tarteaucitronRoot th, #tarteaucitronRoot td, #tarteaucitronRoot article, #tarteaucitronRoot aside, #tarteaucitronRoot canvas, #tarteaucitronRoot details, #tarteaucitronRoot embed, #tarteaucitronRoot figure, #tarteaucitronRoot figcaption, #tarteaucitronRoot footer, #tarteaucitronRoot header, #tarteaucitronRoot hgroup, #tarteaucitronRoot menu, #tarteaucitronRoot nav, #tarteaucitronRoot output, #tarteaucitronRoot ruby, #tarteaucitronRoot section, #tarteaucitronRoot summary, #tarteaucitronRoot time, #tarteaucitronRoot mark, #tarteaucitronRoot audio, #tarteaucitronRoot video {
+    margin: 0;
+    padding: 0;
+    border: 0;
+    font-size: 100%;
+    font: inherit;
+    vertical-align: baseline;
+    /*background: initial;*/
+    text-align: initial;
+    text-shadow: initial;
+}
+/* HTML5 display-role reset for older browsers */
+#tarteaucitronRoot article, #tarteaucitronRoot aside, #tarteaucitronRoot details, #tarteaucitronRoot figcaption, #tarteaucitronRoot figure, #tarteaucitronRoot footer, #tarteaucitronRoot header, #tarteaucitronRoot hgroup, #tarteaucitronRoot menu, #tarteaucitronRoot nav, #tarteaucitronRoot section {
+    display: block;
+}
+#tarteaucitronRoot ol, #tarteaucitronRoot ul {
+    list-style: none;
+}
+#tarteaucitronRoot blockquote, #tarteaucitronRoot q {
+    quotes: none;
+}
+#tarteaucitronRoot blockquote:before, #tarteaucitronRoot blockquote:after, #tarteaucitronRoot q:before, #tarteaucitronRoot q:after {
+    content: '';
+    content: none;
+}
+#tarteaucitronRoot table {
+    border-collapse: collapse;
+    border-spacing: 0;
+}
+
+#tarteaucitronRoot a:focus, #tarteaucitronRoot button:focus {
+    /*outline: 2px solid #cb3333;*/
+}
+
+/***
+ * Better scroll management
+ */
+div#tarteaucitronMainLineOffset {
+    margin-top: 0!important;
+}
+
+div#tarteaucitronServices {
+    margin-top: 21px!important;
+}
+
+#tarteaucitronServices::-webkit-scrollbar {
+    width: 5px;
+}
+
+#tarteaucitronServices::-webkit-scrollbar-track {
+    -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0);
+}
+
+#tarteaucitronServices::-webkit-scrollbar-thumb {
+  background-color: #ddd;
+  outline: 0px solid slategrey;
+}
+
+div#tarteaucitronServices {
+    box-shadow: 0 0 35px #575757;
+}
+
 /***
  * Responsive layout for the control panel
  */
@@ -25,18 +97,30 @@
         top: 0 !important;
         width: 100% !important;
     }
-    
+
     #tarteaucitron .tarteaucitronBorder {
         border: 0 !important;
     }
-    
+
     #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList {
         border: 0 !important;
     }
-    
+
     #tarteaucitron #tarteaucitronServices .tarteaucitronTitle {
         text-align: left !important;
     }
+
+    .tarteaucitronName .tarteaucitronH2 {
+        max-width: 80%;
+    }
+
+    #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk {
+        text-align: center !important;
+    }
+
+        #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk button {
+            margin-bottom: 5px;
+        }
 }
 
 @media screen and (min-width:768px) and (max-width:991px) {
@@ -56,6 +140,16 @@
     zoom: 1;
 }
 
+#tarteaucitronRoot div#tarteaucitron {
+    left: 0;
+    right: 0;
+    margin: auto;
+}
+
+#tarteaucitronRoot button#tarteaucitronBack {
+    background: #eee;
+}
+
 #tarteaucitron .clear {
     clear: both;
 }
@@ -67,15 +161,34 @@
     text-decoration: none;
 }
 
+#tarteaucitronRoot button {
+    background: transparent;
+    border: 0;
+}
+
+#tarteaucitronAlertBig strong, #tarteaucitronAlertSmall strong,
 #tarteaucitronAlertBig a, #tarteaucitronAlertSmall a {
     color: #fff;
 }
 
-#tarteaucitron b {
+#tarteaucitron strong {
     font-size: 22px;
     font-weight: 500;
 }
 
+#tarteaucitron ul {
+    padding: 0;
+}
+
+#tarteaucitron .tarteaucitronH1, #tarteaucitron .tarteaucitronH2, #tarteaucitron .tarteaucitronH3, #tarteaucitron .tarteaucitronH4, #tarteaucitron .tarteaucitronH5, #tarteaucitron .tarteaucitronH6 {
+  display: block;
+}
+
+.cookie-list {
+    list-style: none;
+    padding: 0;
+    margin: 0;
+}
 /***
  * Root div added just before </body>
  */
@@ -96,6 +209,23 @@
     vertical-align: initial;
 }
 
+#tarteaucitronRoot .tarteaucitronH1 {
+    font-size: 1.5em;
+    text-align: center;
+    color: #fff;
+    margin: 15px 0 28px;
+}
+
+#tarteaucitronRoot .tarteaucitronH2 {
+    display: inline-block;
+    margin: 12px 0 0 10px;
+    color: #fff;
+}
+
+#tarteaucitronCookiesNumberBis.tarteaucitronH2 {
+    margin-left: 0;
+}
+
 /***
  * Control panel
  */
@@ -153,9 +283,13 @@
     width: 80%;
 }
 
-#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden,
+.tarteaucitronSelfLink, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden,
 #tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
     background: rgba(51, 51, 51, 0.07);
+}a.tarteaucitronSelfLink {
+    text-align: center!important;
+    display: block;
+    padding: 7px!important;
 }
 
 #tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
@@ -163,11 +297,15 @@
     position: relative;
 }
 
-#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle,
-#tarteaucitron #tarteaucitronServices .tarteaucitronTitle,
-#tarteaucitron #tarteaucitronInfo,
+#tarteaucitronCookiesList .tarteaucitronH3.tarteaucitronTitle {
+    width: 100%;
+    box-sizing: border-box;
+}
+
+#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle, 
+#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button, 
+#tarteaucitron #tarteaucitronInfo, 
 #tarteaucitron #tarteaucitronServices .tarteaucitronDetails {
-    background: #333;
     color: #fff;
     display: inline-block;
     font-size: 14px;
@@ -176,6 +314,7 @@
     padding: 5px 20px;
     text-align: left;
     width: auto;
+    background: #333;
 }
 
 #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a,
@@ -199,6 +338,7 @@
 
 #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle {
     padding: 5px 10px;
+    margin: 0;
 }
 
 #tarteaucitron #tarteaucitronInfo,
@@ -250,7 +390,7 @@
     margin-top: 2px;
 }
 
-#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName b {
+#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName button {
     color: #fff;
 }
 
@@ -289,6 +429,7 @@
     text-align: center;
     text-decoration: none;
     width: auto;
+    border: 0;
 }
 
 #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName .tarteaucitronListCookies {
@@ -296,6 +437,16 @@
     font-size: 12px;
 }
 
+#tarteaucitron .tarteaucitronH3 {
+    font-size: 18px;
+}
+
+#tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronName {
+    width: auto!important;
+    margin-left: 0!important;
+    font-size: 14px;
+}
+
 /***
  * Big alert
  */
@@ -307,7 +458,7 @@
     bottom: 0;
 }
 
-#tarteaucitronAlertBig {
+#tarteaucitronRoot #tarteaucitronAlertBig {
     background: #333;
     color: #fff;
     display: none;
@@ -316,22 +467,29 @@
     padding: 5px 5%;
     position: fixed;
     text-align: center;
-    width: 90%;
     box-sizing: content-box;
     z-index: 2147483645;
+    text-align: center;
+    padding: 10px;
+    margin: auto;
+    width: 100%;
 }
 
 #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
-#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert b {
+#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
     font: 15px verdana;
     color: #fff;
 }
 
-#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert b {
+#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
     font-weight: 700;
 }
 
-#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize {
+#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
+    cursor: pointer;
+}
+
+#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitron #tarteaucitronPrivacyUrl {
     background: #008300;
     color: #fff;
     cursor: pointer;
@@ -342,7 +500,7 @@
     margin-left: 7px;
 }
 
-#tarteaucitronAlertBig #tarteaucitronCloseAlert {
+#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitron #tarteaucitronPrivacyUrl {
     background: #fff;
     color: #333;
     font-size: 13px;
@@ -352,7 +510,7 @@
 }
 
 #tarteaucitronPercentage {
-    background: #0A0;
+    background: #0A0!important;
     box-shadow: 0 0 2px #fff, 0 1px 2px #555;
     height: 5px;
     left: 0;
@@ -364,9 +522,13 @@
 /***
  * Small alert
  */
+
+.tarteaucitronAlertSmallTop,.tarteaucitronAlertSmallBottom {
+    bottom: 0;
+}
+
 #tarteaucitronAlertSmall {
     background: #333;
-    bottom: 0;
     display: none;
     padding: 0;
     position: fixed;
@@ -453,7 +615,7 @@
     text-align: left;
 }
 
-#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList b {
+#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList strong {
     color: #333;
 }
 
@@ -464,7 +626,7 @@
     text-align: left;
 }
 
-#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle b {
+#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle strong {
     color: #fff;
     font-size: 16px;
 }
@@ -489,7 +651,7 @@
     width: 50%;
 }
 
-#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft a b {
+#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft a strong {
     color: darkred;
 }
 
@@ -523,7 +685,7 @@
     vertical-align: middle;
 }
 
-.tac_activate .tac_float b {
+.tac_activate .tac_float strong {
     color: #fff;
 }
 
@@ -542,4 +704,46 @@ ins.ferank-publicite, ins.adsbygoogle {
 div.amazon_product {
     height:240px;
     width:120px;
-}
+}
+.tarteaucitronIsAllowed .tarteaucitronDeny {
+    opacity: 0.4!important;
+}.tarteaucitronIsDenied .tarteaucitronAllow {
+    opacity: 0.4!important;
+}.tarteaucitronIsAllowed .tarteaucitronAllow {
+    opacity: 1!important;
+}.tarteaucitronIsDenied .tarteaucitronDeny {
+    opacity: 1!important;
+}
+.tarteaucitronLine .tarteaucitronAllow, .tarteaucitronLine .tarteaucitronAllow {
+    opacity: 0.4;
+}
+
+div#tarteaucitronInfo {
+    display: block!important;
+    position: initial!important;
+    text-align: center!important;
+    max-width: 80%!important;
+    padding: 15px 0!important;
+    margin: -10px auto 40px!important;
+    font-size: 1em!important;
+    border-bottom: 1px solid;
+    border-top: 1px solid;
+    border-color: #555;
+}
+
+a.tarteaucitronSelfLink {
+    position: absolute;
+    left: 0;
+    right: 0;
+    padding-top: 13px!important;
+    display: block;
+    text-shadow: 0 0 14px white;
+    text-transform: uppercase;
+}.tarteaucitronMainLine .tarteaucitronH2 {
+    font-size: 1.2em!important;
+    margin-top: 4px!important;
+}
+
+span.tarteaucitronTitle.tarteaucitronH3 {
+    margin-top: 12px!important;
+}

+ 75 - 0
lang/tarteaucitron.bg.js

@@ -0,0 +1,75 @@
+/*global tarteaucitron */
+tarteaucitron.lang = {
+    "adblock": "Здравей! Този сайт позволяа включването на бисквитки по избор.",
+    "adblock_call": "Моля изключете вашият adblocker и изберете бисквитките които искате, или спрете всички.",
+    "reload": "Презареди",
+    
+    "alertBigScroll": "Ако продължавате да скролвате,",
+    "alertBigClick": "Ако продължавате да използвате този сайт,",
+    "alertBig": "вив се съгласявате с всички бисквитки от трети лица.",
+    
+    "alertBigPrivacy": "Този сайт използва бисквитки и Ви дава право да изберете записването на определени или всички.",
+    "alertSmall": "Управление на услуги",
+    "personalize": "Ще избирам",
+    "acceptAll": "ОК, приемам всички",
+    "close": "Затвори",
+
+    "privacyUrl": "Политика за поверителност",
+    
+    "all": "Услуги които записват бисквитки на този сайт",
+
+    "info": "Зашитава вашата сигурност",
+    "disclaimer": "Позволяването на тези бисквитки от трети лица, Вие приемате те да записват и използват услуги за проследяване нужни за правилното им функциониране.",
+    "allow": "Разшреши",
+    "deny": "Забрани",
+    "noCookie": "Тази услуга не записва бисквитки.",
+    "useCookie": "Тази услуга може да запише",
+    "useCookieCurrent": "Тази услуга е записала",
+    "useNoCookie": "Тази услуга не е записала бисквитки.",
+    "more": "Прочети повече",
+    "source": "Официален сайт",
+    "credit": "Управление на бисквитките от tarteaucitron.js",
+
+    "toggleInfoBox": "Покажи/скрий информация за записването на бисквитки",
+    "title": "Управление на бисквитките",
+    "cookieDetail": "Информация за",
+    "ourSite": "в нашият сайт",
+    "newWindow": "(нов прозорец)",
+    "allowAll": "Разреши всички",
+    "denyAll": "Забрани всички",
+    
+    "fallback": "е изключен.",
+
+    "ads": {
+        "title": "Рекламодатели",
+        "details": "Ad networks can generate revenue by selling advertising space on the site."
+    },
+    "analytic": {
+        "title": "Аналитични",
+        "details": "The audience measurement services used to generate useful statistics attendance to improve the site."
+    },
+    "social": {
+        "title": "Социални",
+        "details": "Social networks can improve the usability of the site and help to promote it via the shares."
+    },
+    "video": {
+        "title": "Видео платформи",
+        "details": "Video sharing services help to add rich media on the site and increase its visibility."
+    },
+    "comment": {
+        "title": "Коментари",
+        "details": "Comments managers facilitate the filing of comments and fight against spam."
+    },
+    "support": {
+        "title": "Поддръжка",
+        "details": "Support services allow you to get in touch with the site team and help to improve it."
+    },
+    "api": {
+        "title": "Функционални",
+        "details": "APIs are used to load scripts: geolocation, search engines, translations, ..."
+    },
+    "other": {
+        "title": "Други",
+        "details": "Services to display web content."
+    }
+};

+ 10 - 0
lang/tarteaucitron.cs.js

@@ -13,6 +13,8 @@ tarteaucitron.lang = {
     "personalize": "Přizpůsobit",
     "acceptAll": "OK, přijmout vše",
     "close": "Zavřít",
+
+    "privacyUrl": "Zásady ochrany osobních údajů",
     
     "all": "Nastavení všech služeb",
 
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "Dozvědět se více",
     "source": "Zobrazit oficiální stránku",
     "credit": "Správce cookies od tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
     
     "fallback": "je vypnutý.",
 

+ 10 - 0
lang/tarteaucitron.de.js

@@ -13,6 +13,8 @@ tarteaucitron.lang = {
     "personalize": "Personalisieren",
     "acceptAll": "OK, akzeptiere alles",
     "close": "Beenden",
+
+    "privacyUrl": "Datenschutz-Bestimmungen",
     
     "all": "Präferenz für alle Dienste",
 
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "Weiter lesen",
     "source": "Zur offiziellen Webseite",
     "credit": "Cookies manager von tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
     
     "fallback": "ist deaktiviert.",
 

+ 75 - 0
lang/tarteaucitron.el.js

@@ -0,0 +1,75 @@
+/*global tarteaucitron */
+tarteaucitron.lang = {
+    "adblock": "Γεια σας! Ο ιστότοπος αυτός σας επιτρέπει να επιλέξετε τις υπηρεσίες που παρέχονται από τρίτους που θα θέλατε να επιτρέψετε.",
+    "adblock_call": "Παρακαλώ απενεργοποιήστε τα προγράμματα απόρριψης διαφημίσεων για να ξεκινήσετε τις τροποποιήσεις σας.",
+    "reload": "Ανανέωση της σελίδας",
+    
+    "alertBigScroll": "Συνεχίζοντας την ανάγνωση (κύλιση) της σελίδας,",
+    "alertBigClick": "Αν συνεχίσετε την περιήγηση σας στον ιστότοπο,",
+    "alertBig": "επιτρέπετε όλες τις υπηρεσίες που παρέχονται από τρίτους",
+    
+    "alertBigPrivacy": "Ο ιστότοπος αυτός χρησιμοποιεί &quot;μπισκότα&quot; (cookies) και σας επιτρέπει να ελέγξετε τι θέλετε να ενεργοποιήσετε",
+    "alertSmall": "Διαχείριση υπηρεσιών",
+    "personalize": "Εξατομίκευση",
+    "acceptAll": "OK, αποδοχή όλων",
+    "close": "Κλείσιμο",
+
+    "privacyUrl": "Πολιτική απορρήτου",
+    
+    "all": "Προτίμηση για όλες τις υπηρεσίες",
+
+    "info": "Προστασία των προσωπικών σας δεδομένων",
+    "disclaimer": "Επιτρέποντας αυτές τις υπηρεσίες που παρέχονται από τρίτους, αποδέχεστε τα &quot;μπισκότα&quot; (cookies) τους καθώς και τη χρήση τεχνολογιών παρακολούθησης που είναι απαραίτητες για τη λειτουργία τους.",
+    "allow": "Επέτρεψε",
+    "deny": "Απόρριψε",
+    "noCookie": "Η υπηρεσία αυτή δε χρησιμοποιεί &quot;μπισκότα&quot; (cookies).",
+    "useCookie": "Η υπηρεσία αυτή μπορεί να αποθηκεύσει ",
+    "useCookieCurrent": "Η υπηρεσία αυτή έχει αποθηκεύσει ",
+    "useNoCookie": "Η υπηρεσία αυτή δεν έχει αποθηκεύσει κανένα &quot;μπισκότο&quot; (cookie).",
+    "more": "Διαβάστε περισσότερα",
+    "source": "Δείτε τον επίσημο ιστότοπο",
+    "credit": "Cookies manager by tarteaucitron.js",
+
+    "toggleInfoBox": "Προβολή/Απόκρυψη πληροφοριών για την αποθήκευση &quot;μπισκότων&quot; (cookies)",
+    "title": "Πίνακας διαχείρισης &quot;Μπισκότων&quot; (Cookies)",
+    "cookieDetail": "Λεπτομέρειες &quot;μπισκότων&quot; (cookies) για",
+    "ourSite": "στον ιστότοπο μας",
+    "newWindow": "(νέο παράθυρο)",
+    "allowAll": "Επέτρεψε όλα τα &quot;μπισκότα&quot; (cookies)",
+    "denyAll": "Απόρριψε όλα τα &quot;μπισκότα&quot; (cookies)",
+    
+    "fallback": "είναι απενεργοποιημένο.",
+
+    "ads": {
+        "title": "Διαφημιστικό Δίκτυο",
+        "details": "Τα διαφημιστικά δίκτυα μπορούν να αποφέρουν εισόδημα πουλώντας διαφημιστικό χώρο στη σελίδα."
+    },
+    "analytic": {
+        "title": "Μετρήσεις κοινού",
+        "details": "Οι υπηρεσίες μέτρησης κοινού χρησιμοποιούνται για τον υπολογισμό χρήσιμων στατιστικών επισκεψιμότητας του ιστοτόπου για την βελτίωση του."
+    },
+    "social": {
+        "title": "Κοινωνικά δίκτυα",
+        "details": "Τα κοινωνικά δίκτυα μπορούν να βελτιώσουν την χρηστικότητα του ιστοτόπου και να τον προωθήσουν μέσω κοινοποιήσεων."
+    },
+    "video": {
+        "title": "Βίντεο",
+        "details": "Υπηρεσίες διαμοιρασμού βίντεο που βοηθούν να παρουσιαστεί πλούσιο περιεχόμενο στον ιστότοπο και να αυξήσουν την αναγνωρισιμότητα του."
+    },
+    "comment": {
+        "title": "Σχόλια",
+        "details": "Οι διαχειριστές σχολίων βοηθούν την καταχώρηση σχολίων και προστατεύουν από κακόβουλες ενέργειες."
+    },
+    "support": {
+        "title": "Υποστήριξη",
+        "details": "Οι υποστηρικτικές υπηρεσίες σας επιτρέπουν να επικονωνείτε με την ομάδα υποστήριξης του ιστοτόπου και να βοηθήσετε στην βελτίωση του."
+    },
+    "api": {
+        "title": "APIs",
+        "details": "Τα API χρησιμοποιούνται για την φόρτωση προγραμμάτων: αναγνώρισης τοποθεσίας, μηχανών αναζήτησης, μεταφράσεων, ..."
+    },
+    "other": {
+        "title": "Λοιπές υπηρεσίες",
+        "details": "Υπηρεσίες που παρουσιάζουν άλλο περιεχόμενο."
+    }
+};

+ 10 - 0
lang/tarteaucitron.en.js

@@ -13,6 +13,8 @@ tarteaucitron.lang = {
     "personalize": "Personalize",
     "acceptAll": "OK, accept all",
     "close": "Close",
+
+    "privacyUrl": "Privacy policy",
     
     "all": "Preference for all services",
 
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "Read more",
     "source": "View the official website",
     "credit": "Cookies manager by tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
     
     "fallback": "is disabled.",
 

+ 19 - 9
lang/tarteaucitron.es.js

@@ -1,32 +1,42 @@
 /*global tarteaucitron */
 tarteaucitron.lang = {
-    "adblock": "Hola! Este sitio web es transparente y le da la opción de activar los servicios de terceros.",
-    "adblock_call": "Por favor deshabilite su AdBlocker para empezar a personalizar los servicios.",
+    "adblock": "¡Hola! Este sitio web es transparente y te da la opción de activar los servicios de terceros.",
+    "adblock_call": "Por favor deshabilita tu AdBlocker para empezar a personalizar los servicios.",
     "reload": "Actualizar esta página",
     
-    "alertBigScroll": "Al continuar para desplazarse,",
+    "alertBigScroll": "Al continuar desplazándote,",
     "alertBigClick": "Si continuas navegando por este sitio web,",
-    "alertBig": "estar permitiendo servicios terceros",
+    "alertBig": "estás permitiendo servicios terceros",
     
-    "alertBigPrivacy": "Este sitio web usa cookies y te permite controlar lo que deseas activar",
+    "alertBigPrivacy": "Este sitio web usa cookies y te permite controlar las que deseas activar",
     "alertSmall": "Gestionar servicios",
     "personalize": "Personalizar",
     "acceptAll": "OK, aceptar todas",
     "close": "Cerrar",
+
+    "privacyUrl": "Política de privacidad",
     
     "all": "Ajustes para todos los servicios",
 
     "info": "Protegiendo tu privacidad",
-    "disclaimer": "Aceptando estos servicios terceros, estas aceptando sus cookies y el uso de tecnologías de rastreo necesarias para su correcto funcionamiento.",
+    "disclaimer": "Aceptando estos servicios de terceros, estás aceptando sus cookies y el uso de tecnologías de rastreo necesarias para su correcto funcionamiento.",
     "allow": "Permitir",
     "deny": "Denegar",
-    "noCookie": "Este servicio no usa cookie.",
+    "noCookie": "Este servicio no usa cookies.",
     "useCookie": "Este servicio puede instalar",
     "useCookieCurrent": "Este servicio ha instalado",
     "useNoCookie": "Este servicio no ha instalado ninguna cookie.",
     "more": "Leer más",
     "source": "Ver sitio web oficial",
     "credit": "Gestor de cookies realizada por tarteaucitron.js",
+
+    "toggleInfoBox": "Mostrar/ocultar información sobre almacenamiento de cookies",
+    "title": "Panel de gestión de cookies",
+    "cookieDetail": "Detalles de las cookies para",
+    "ourSite": "en nuestra web",
+    "newWindow": "(ventana nueva)",
+    "allowAll": "Permitir todas las cookies",
+    "denyAll": "Denegar todas las cookies",
     
     "fallback": "está deshabilitado.",
 
@@ -35,8 +45,8 @@ tarteaucitron.lang = {
         "details": "Las redes publicitarias pueden generar ingresos mediante la venta de espacios publicitarios en el sitio."
     },
     "analytic": {
-        "title": "Mediciión de audiencia",
-        "details": "Los servicios de medición de audiencia se usan para generar asistencia estadísticas útiles para mejorar el sitio."
+        "title": "Medición de audiencia",
+        "details": "Los servicios de medición de audiencia se usan para generar estadísticas útiles para mejorar el sitio."
     },
     "social": {
         "title": "Redes sociales",

+ 10 - 0
lang/tarteaucitron.fr.js

@@ -14,6 +14,8 @@ tarteaucitron.lang = {
     "personalize": "Personnaliser",
     "close": "Fermer",
 
+    "privacyUrl": "Politique de confidentialité",
+
     "all": "Préférence pour tous les services",
 
     "info": "Protection de votre vie privée",
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "En savoir plus",
     "source": "Voir le site officiel",
     "credit": "Gestion des cookies par tarteaucitron.js",
+
+    "toggleInfoBox": "Afficher/masquer les informations sur le stockage des cookies",
+    "title": "Panneau de gestion des cookies",
+    "cookieDetail": "Détail des cookies",
+    "ourSite": "sur notre site",
+    "newWindow": "(nouvelle fenêtre)",
+    "allowAll": "Autoriser tous les cookies",
+    "denyAll": "Interdire tous les cookies",
     
     "fallback": "est désactivé.",
 

+ 10 - 0
lang/tarteaucitron.it.js

@@ -13,6 +13,8 @@ tarteaucitron.lang = {
     "acceptAll": "Ok, accetta tutto",
     "personalize": "Personalizza",
     "close": "Chiudi",
+
+    "privacyUrl": "Politica sulla riservatezza",
     
     "all": "Preferenze per tutti i servizi",
     
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "Saperne di più",
     "source": "Vai al sito ufficiale",
     "credit": "Gestione dei cookies da tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
     
     "fallback": "è disattivato",
     

+ 75 - 0
lang/tarteaucitron.nl.js

@@ -0,0 +1,75 @@
+/*global tarteaucitron */
+tarteaucitron.lang = {
+    "adblock": "Hallo! Deze site is transparant en laat u de services van derden kiezen die u wilt toestaan.",
+    "adblock_call": "Schakel uw adblocker uit om te beginnen met aanpassen.",
+    "reload": "Ververs de pagina",
+    
+    "alertBigScroll": "Door te blijven scrollen,",
+    "alertBigClick": "Als je doorgaat met het surfen op deze website,",
+    "alertBig": "sta je alle diensten van derden toe",
+    
+    "alertBigPrivacy": "Deze site maakt gebruik van cookies en geeft u controle over wat u wilt activeren",
+    "alertSmall": "Beheer instellingen",
+    "personalize": "Personaliseer",
+    "acceptAll": "OK, accepteer alle",
+    "close": "Sluit",
+
+    "privacyUrl": "Privacybeleid",
+
+    "all": "Voorkeur voor alle diensten",
+
+    "info": "Bescherming van uw privacy",
+    "disclaimer": "Door deze services van derden toe te staan, accepteert u hun cookies en het gebruik van trackingtechnologieën die nodig zijn voor hun goede werking.",
+    "allow": "Toestaan",
+    "deny": "Weigeren",
+    "noCookie": "Deze service gebruikt geen cookie",
+    "useCookie": "Deze service kan worden geïnstalleerd",
+    "useCookieCurrent": "Deze service is geïnstalleerd",
+    "useNoCookie": "Deze service heeft geen cookies geïnstalleerd.",
+    "more": "Lees meer",
+    "source": "Bekijk de officiële website",
+    "credit": "Cookie manager mogelijk gemaakt door tarteaucitron.js",
+    
+    "fallback": "is uitgeschakeld.",
+
+    "toggleInfoBox": "Toon/verberg informatie over cookie opslag",
+    "title": "Cookies beheer paneel",
+    "cookieDetail": "Cookie detail voor",
+    "ourSite": "op onze site",
+    "newWindow": "(nieuw venster)",
+    "allowAll": "Sta alle cookies toe",
+    "denyAll": "Weiger alle cookies",
+
+    "ads": {
+        "title": "Advertentienetwerk",
+        "details": "Advertentienetwerken kunnen inkomsten genereren door advertentieruimte op de site te verkopen."
+    },
+    "analytic": {
+        "title": "Bezoekers meting",
+        "details": "De bezoekersdiensten voor het publiek worden gebruikt om nuttige statistieken te genereren om de site te verbeteren."
+    },
+    "social": {
+        "title": "Sociale netwerken",
+        "details": "Sociale netwerken kunnen de bruikbaarheid van de site verbeteren en helpen deze via de shares te promoten."
+    },
+    "video": {
+        "title": "Videos",
+        "details": "Video sharing-services helpen om rich media op de site toe te voegen en de zichtbaarheid ervan te vergroten."
+    },
+    "comment": {
+        "title": "Comments",
+        "details": "Commentsmanagers faciliteren het indienen van opmerkingen en het bestrijden van spam."
+    },
+    "support": {
+        "title": "Support",
+        "details": "Support diensten stellen u in staat contact op te nemen met het team van de site en helpen het te verbeteren."
+    },
+    "api": {
+        "title": "APIs",
+        "details": "APIs worden gebruikt om scripts te laden: geolocatie, zoekmachines, vertalingen, ..."
+    },
+    "other": {
+        "title": "Overig",
+        "details": "Diensten om webinhoud weer te geven."
+    }
+};

+ 10 - 0
lang/tarteaucitron.pl.js

@@ -13,6 +13,8 @@ tarteaucitron.lang = {
     "personalize": "Personalizacja",
     "acceptAll": "OK, akceptuję wszystko",
     "close": "zamknij",
+
+    "privacyUrl": "Polityka prywatności",
     
     "all": "Preferencja dla wszystkich usług",
 
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "Więcej informacji",
     "source": "Zobacz oficjalną stronę internetowa",
     "credit": "Cookies menadżer z tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
     
     "fallback": "jest nieaktywna.",
 

+ 12 - 0
lang/tarteaucitron.pt.js

@@ -13,6 +13,9 @@ tarteaucitron.lang = {
     "personalize": "Personalizar",
     "acceptAll": "OK, aceitar tudo",
     "close": "Fechar",
+
+    "privacyUrl": "Política de Privacidade",
+
     "all": "Definições dos serviços",
     "info": "Proteger sua privacidade",
     "disclaimer": "Ao aceitar os serviços terceiros, você aceita o uso de cookies em conjunto de tecnologias de rastreamento que lhe são necessárias para funcionar",
@@ -25,6 +28,15 @@ tarteaucitron.lang = {
     "more": "Ler mais",
     "source": "Ver o site oficial",
     "credit": "Gerenciador de cookies por tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
+
     "fallback": "está desativado.",
     "ads": {
         "title": "Rede de anúncios",

+ 10 - 0
lang/tarteaucitron.ru.js

@@ -13,6 +13,8 @@ tarteaucitron.lang = {
     "personalize": "Персонализировать",
     "acceptAll": "Ок, все активировать",
     "close": "Закрыть",
+
+    "privacyUrl": "Политика конфиденциальности",
     
     "all": "Преференция всем сервисам",
 
@@ -27,6 +29,14 @@ tarteaucitron.lang = {
     "more": "Подробнее",
     "source": "Посетите официальный сайт",
     "credit": "Кукис манаджер tarteaucitron.js",
+
+    "toggleInfoBox": "Show/hide informations about cookie storage",
+    "title": "Cookies management panel",
+    "cookieDetail": "Cookie detail for",
+    "ourSite": "on our site",
+    "newWindow": "(new window)",
+    "allowAll": "Allow all cookies",
+    "denyAll": "Deny all cookies",
     
     "fallback": "Деактивирован.",
 

+ 27 - 0
package.json

@@ -0,0 +1,27 @@
+{
+  "name": "tarteaucitronjs",
+  "version": "1.0.0",
+  "description": "Comply to the European cookie law",
+  "dependencies": {},
+  "devDependencies": {},
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/AmauriC/tarteaucitron.js.git"
+  },
+  "keywords": [
+    "cookie",
+    "law",
+    "rgpd",
+    "gdpr",
+    "cookie"
+  ],
+  "author": "AIC Agency SAS",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/AmauriC/tarteaucitron.js/issues"
+  },
+  "homepage": "https://github.com/AmauriC/tarteaucitron.js#readme"
+}

Разлика између датотеке није приказан због своје велике величине
+ 360 - 172
tarteaucitron.js


Разлика између датотеке није приказан због своје велике величине
+ 481 - 68
tarteaucitron.services.js


Неке датотеке нису приказане због велике количине промена