Skip to content

Commit

Permalink
[TASK] Add translations for Opt-In / Opt-Out
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikdro committed Apr 23, 2018
1 parent 9295d02 commit e11564b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ prototype(Neos.Neos:Page) {
content = Neos.Fusion:RawArray {
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'))}
deny = ${Translation.translate('deny', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))}
link = ${Translation.translate('link-text', null, [], Configuration.setting('KaufmannDigital.CookieConsent.translations.source'), Configuration.setting('KaufmannDigital.CookieConsent.translations.package'))}

href = ${LinkBuilder.fromNodeIdentifier(Configuration.setting('KaufmannDigital.CookieConsent.policyPageNode'))}
Expand Down
6 changes: 6 additions & 0 deletions Resources/Private/Translations/de/Main.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<trans-unit id="dismiss">
<source>Okay</source>
</trans-unit>
<trans-unit id="allow">
<source>Cookies erlauben</source>
</trans-unit>
<trans-unit id="deny">
<source>Cookies ablehnen</source>
</trans-unit>
<trans-unit id="link-text">
<source>Datenschutzerklärung</source>
</trans-unit>
Expand Down
6 changes: 6 additions & 0 deletions Resources/Private/Translations/en/Main.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<trans-unit id="dismiss">
<source>Got it!</source>
</trans-unit>
<trans-unit id="allow">
<source>Allow cookies</source>
</trans-unit>
<trans-unit id="deny">
<source>Decline</source>
</trans-unit>
<trans-unit id="link-text">
<source>Learn more</source>
</trans-unit>
Expand Down

0 comments on commit e11564b

Please sign in to comment.