Skip to content

Commit

Permalink
Merge pull request #62 from lucmuller/master
Browse files Browse the repository at this point in the history
[RELEASE] Version 3.1.0
[FEATURE] New constant : tarteaucitronForceLanguage to for language to one of ar,bg,ca,cn,cs,da,de,et,el,en,es,fi,fr,hu,it,ja,lb,lt,lv,nl,no,oc,pl,pt,ro,ru,se,sk,sv,tr,uk,vi,zh
[BREAKING CHANGE] Version 3.0 drop support of TYPO3 8
  • Loading branch information
lucmuller authored May 24, 2024
2 parents aabe5e6 + ba02200 commit 273d1bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Configuration/Typoscript/constants.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ ameos {
#cat=plugin.ameos_tarteaucitron.init; type=bool; label=Minified Version of main script
minified = 0

#cat=plugin.ameos_tarteaucitron.init; type=bool; label=Force language (one of ar,bg,ca,cn,cs,da,de,et,el,en,es,fi,fr,hu,it,ja,lb,lt,lv,nl,no,oc,pl,pt,ro,ru,se,sk,sv,tr,uk,vi,zh)
tarteaucitronForceLanguage =

services {
#cat=plugin.ameos_tarteaucitron.services.apis; type=boolean; label=Google jsapi
jsapi = 0
Expand Down
6 changes: 6 additions & 0 deletions Configuration/Typoscript/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ page {
jsFooterInline {
29052018 = COA
29052018 {
5 = TEXT
5 {
value = tarteaucitronForceLanguage = '{$ameos.tarteaucitron.tarteaucitronForceLanguage}';
if.isTrue = {$ameos.tarteaucitron.tarteaucitronForceLanguage}
}

10 = COA
10 {
wrap = tarteaucitron.init({|});
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'title' => 'AMEOS - TarteAuCitron (GDPR cookie banner and tracking management / French RGPD compatible)',
'description' => 'Integrates tarteaucitron.js in TYPO3 (see : https://tarteaucitron.io )',
'category' => 'frontend',
'version' => '3.0.1',
'version' => '3.1.0',
'state' => 'stable',
'uploadfolder' => false,
'createDirs' => '',
Expand Down

0 comments on commit 273d1bf

Please sign in to comment.