better comments + add translations

This commit is contained in:
Lena 2018-08-14 15:55:49 +02:00
parent 412206eea5
commit f64fecd67b
11 changed files with 87 additions and 10 deletions

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Dozvědět se více", "more": "Dozvědět se více",
"source": "Zobrazit oficiální stránku", "source": "Zobrazit oficiální stránku",
"credit": "Správce cookies od tarteaucitron.js", "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ý.", "fallback": "je vypnutý.",

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Weiter lesen", "more": "Weiter lesen",
"source": "Zur offiziellen Webseite", "source": "Zur offiziellen Webseite",
"credit": "Cookies manager von tarteaucitron.js", "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.", "fallback": "ist deaktiviert.",

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Read more", "more": "Read more",
"source": "View the official website", "source": "View the official website",
"credit": "Cookies manager by tarteaucitron.js", "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.", "fallback": "is disabled.",

View File

@ -1,12 +1,12 @@
/*global tarteaucitron */ /*global tarteaucitron */
tarteaucitron.lang = { tarteaucitron.lang = {
"adblock": "Hola! Este sitio web es transparente y le da la opción de activar los servicios de terceros.", "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 personalizar los servicios.", "adblock_call": "Por favor deshabilite su AdBlocker para empezar a personalizar los servicios.",
"reload": "Actualizar esta página", "reload": "Actualizar esta página",
"alertBigScroll": "Al continuar para desplazarse,", "alertBigScroll": "Al continuar para desplazarse,",
"alertBigClick": "Si continuas navegando por este sitio web,", "alertBigClick": "Si continuas navegando por este sitio web,",
"alertBig": "estas permitiendo servicios de terceros", "alertBig": "estar 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 lo que deseas activar",
"alertSmall": "Gestionar servicios", "alertSmall": "Gestionar servicios",
@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Leer más", "more": "Leer más",
"source": "Ver sitio web oficial", "source": "Ver sitio web oficial",
"credit": "Gestor de cookies realizada por tarteaucitron.js", "credit": "Gestor de cookies realizada 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á deshabilitado.", "fallback": "está deshabilitado.",
@ -35,12 +43,12 @@ tarteaucitron.lang = {
"details": "Las redes publicitarias pueden generar ingresos mediante la venta de espacios publicitarios en el sitio." "details": "Las redes publicitarias pueden generar ingresos mediante la venta de espacios publicitarios en el sitio."
}, },
"analytic": { "analytic": {
"title": "Medición de audiencia", "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." "details": "Los servicios de medición de audiencia se usan para generar asistencia estadísticas útiles para mejorar el sitio."
}, },
"social": { "social": {
"title": "Redes sociales", "title": "Redes sociales",
"details": "Las redes sociales pueden aumentar la usabilidad del sitio web y ayudar a promoverlo cuando se comparte." "details": "Las redes sociales pueden aumentar la usabilidad del sitio web y ayudar a promoverlo a través de la contribución."
}, },
"video": { "video": {
"title": "Videos", "title": "Videos",
@ -56,7 +64,7 @@ tarteaucitron.lang = {
}, },
"api": { "api": {
"title": "APIs", "title": "APIs",
"details": "Los APIs se utilizan para cargar scripts: geolocalización, motor de búsqueda, traducciones, ..." "details": "APIs se utilizan para cargar scripts: geolocalización, motor de búsqueda, traducciones, ..."
}, },
"other": { "other": {
"title": "Otro", "title": "Otro",

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "En savoir plus", "more": "En savoir plus",
"source": "Voir le site officiel", "source": "Voir le site officiel",
"credit": "Gestion des cookies par tarteaucitron.js", "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é.", "fallback": "est désactivé.",

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Saperne di più", "more": "Saperne di più",
"source": "Vai al sito ufficiale", "source": "Vai al sito ufficiale",
"credit": "Gestione dei cookies da tarteaucitron.js", "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", "fallback": "è disattivato",

View File

@ -30,6 +30,14 @@ tarteaucitron.lang = {
"fallback": "is uitgeschakeld.", "fallback": "is uitgeschakeld.",
"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",
"ads": { "ads": {
"title": "Advertentienetwerk", "title": "Advertentienetwerk",
"details": "Advertentienetwerken kunnen inkomsten genereren door advertentieruimte op de site te verkopen." "details": "Advertentienetwerken kunnen inkomsten genereren door advertentieruimte op de site te verkopen."

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Więcej informacji", "more": "Więcej informacji",
"source": "Zobacz oficjalną stronę internetowa", "source": "Zobacz oficjalną stronę internetowa",
"credit": "Cookies menadżer z tarteaucitron.js", "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.", "fallback": "jest nieaktywna.",

View File

@ -25,6 +25,15 @@ tarteaucitron.lang = {
"more": "Ler mais", "more": "Ler mais",
"source": "Ver o site oficial", "source": "Ver o site oficial",
"credit": "Gerenciador de cookies por tarteaucitron.js", "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.", "fallback": "está desativado.",
"ads": { "ads": {
"title": "Rede de anúncios", "title": "Rede de anúncios",

View File

@ -27,6 +27,14 @@ tarteaucitron.lang = {
"more": "Подробнее", "more": "Подробнее",
"source": "Посетите официальный сайт", "source": "Посетите официальный сайт",
"credit": "Кукис манаджер tarteaucitron.js", "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": "Деактивирован.", "fallback": "Деактивирован.",

View File

@ -353,7 +353,7 @@ var tarteaucitron = {
tarteaucitron.addScript(tarteaucitron.cdn + 'advertising.js?v=' + tarteaucitron.version, '', function () { tarteaucitron.addScript(tarteaucitron.cdn + 'advertising.js?v=' + tarteaucitron.version, '', function () {
if (tarteaucitronNoAdBlocker === true || defaults.adblocker === false) { if (tarteaucitronNoAdBlocker === true || defaults.adblocker === false) {
// create wrapper container // create a wrapper container at the same level than tarteaucitron so we can add an aria-hidden when tarteaucitron is opened
var wrapper = document.createElement('div'); var wrapper = document.createElement('div');
wrapper.id = "contentWrapper"; wrapper.id = "contentWrapper";
@ -369,10 +369,6 @@ var tarteaucitron = {
body.appendChild(div, body); body.appendChild(div, body);
div.innerHTML = html; div.innerHTML = html;
// move el into wrapper
//wrapper.appendChild(el);
if (tarteaucitron.job !== undefined) { if (tarteaucitron.job !== undefined) {
tarteaucitron.job = tarteaucitron.cleanArray(tarteaucitron.job); tarteaucitron.job = tarteaucitron.cleanArray(tarteaucitron.job);
for (index = 0; index < tarteaucitron.job.length; index += 1) { for (index = 0; index < tarteaucitron.job.length; index += 1) {