Merge pull request #374 from breakone/master

fixed german translation, added google web fonts service
This commit is contained in:
Amauri CHAMPEAUX 2019-10-29 16:58:25 +01:00 committed by GitHub
commit 82c4fb867d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -8,7 +8,7 @@ tarteaucitron.lang = {
"alertBigClick": "Wenn Sie diese Webseite benutzen,",
"alertBig": "stimmen Sie der Benutzung von externen Diensten zu",
"alertBigPrivacy": "Diese Webseite verwendet 'Cookies' und ermöglicht dadurch Kontrolle, welche Dienste benutzt werden dürfen",
"alertBigPrivacy": "Diese Webseite verwendet 'Cookies' um Inhalte und Anzeigen zu personalisieren und zu analysieren. Bestimmen Sie, welche Dienste benutzt werden dürfen",
"alertSmall": "Datenschutz-Einstellungen",
"personalize": "Personalisieren",
"acceptAll": "Alle akzeptieren",

View File

@ -1269,6 +1269,29 @@ tarteaucitron.services.googletagmanager = {
}
};
// google webfonts
tarteaucitron.services.googlefonts = {
"key": "googlefonts",
"type": "api",
"name": "Google Webfonts",
"uri": "https://www.google.com/intl/de/policies/privacy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.googleFonts === undefined) {
return;
}
tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
WebFont.load({
google: {
families: tarteaucitron.user.googleFonts
}
});
});
}
};
// hubspot
tarteaucitron.services.hubspot = {
"key": "hubspot",