From 5a4927d3eafc8f4a08b131d5440934c6e904c873 Mon Sep 17 00:00:00 2001 From: Wilhelm Behncke Date: Thu, 23 May 2019 14:04:49 +0200 Subject: [PATCH] FEATURE: Add `content.header` option with translations --- Resources/Private/Fusion/Root.fusion | 1 + Resources/Private/Translations/de/Main.xlf | 3 +++ Resources/Private/Translations/en/Main.xlf | 3 +++ 3 files changed, 7 insertions(+) diff --git a/Resources/Private/Fusion/Root.fusion b/Resources/Private/Fusion/Root.fusion index 7f5e252..3565f87 100644 --- a/Resources/Private/Fusion/Root.fusion +++ b/Resources/Private/Fusion/Root.fusion @@ -17,6 +17,7 @@ prototype(Neos.Neos:Page) { compliance = ${Configuration.setting('KaufmannDigital.CookieConsent.compliance')} cookie = ${Configuration.setting('KaufmannDigital.CookieConsent.cookie')} content = Neos.Fusion:RawArray { + header = ${Translation.translate('header', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))} message = ${Translation.translate('message', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))} dismiss = ${Translation.translate('dismiss', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))} allow = ${Translation.translate('allow', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))} diff --git a/Resources/Private/Translations/de/Main.xlf b/Resources/Private/Translations/de/Main.xlf index 9aa62ca..c5f77c6 100644 --- a/Resources/Private/Translations/de/Main.xlf +++ b/Resources/Private/Translations/de/Main.xlf @@ -2,6 +2,9 @@ + + Cookie Richtlinien + Um unsere Webseite für Sie optimal zu gestalten und fortlaufend verbessern zu können, verwenden wir Cookies. Durch die weitere Nutzung der Webseite stimmen Sie der Verwendung von Cookies zu. Weitere Informationen zu Cookies erhalten Sie in unserer diff --git a/Resources/Private/Translations/en/Main.xlf b/Resources/Private/Translations/en/Main.xlf index a59c22f..bb2585e 100644 --- a/Resources/Private/Translations/en/Main.xlf +++ b/Resources/Private/Translations/en/Main.xlf @@ -2,6 +2,9 @@ + + Cookie Policy + This website uses cookies to ensure you get the best experience on our website.