Browse code

Fix language files

Benjamin Roth authored on12/12/2019 11:13:14
Showing2 changed files
... ...
@@ -11,10 +11,10 @@
11 11
 /**
12 12
  * Explanations
13 13
  */
14
-$GLOBALS['TL_LANG']['XPL']['cookieconsent_categories'][] = array
14
+$GLOBALS['TL_LANG']['XPL']['cookieconsent_categories'][0] = array
15 15
 (
16 16
   "Beispielkonfiguration für eine Kategorie",
17
-  "ads: {
17
+  nl2br("ads: {
18 18
     needed: false,
19 19
     wanted: false,
20 20
     checked: false,
... ...
@@ -30,13 +30,13 @@ $GLOBALS['TL_LANG']['XPL']['cookieconsent_categories'][] = array
30 30
         }
31 31
       }
32 32
     }
33
-  }"
33
+  }")
34 34
 );
35 35
 
36
-$GLOBALS['TL_LANG']['XPL']['cookieconsent_services'][] = array
36
+$GLOBALS['TL_LANG']['XPL']['cookieconsent_services'][0] = array
37 37
 (
38 38
   "Beispielkonfiguration für einen Service",
39
-  "analytics: {
39
+  nl2br("analytics: {
40 40
     category: 'necessary',
41 41
     type: 'dynamic-script',
42 42
     search: 'analytics',
... ...
@@ -50,5 +50,5 @@ $GLOBALS['TL_LANG']['XPL']['cookieconsent_services'][] = array
50 50
         }
51 51
       }
52 52
     }
53
-  }"
53
+  }")
54 54
 );
... ...
@@ -11,10 +11,10 @@
11 11
 /**
12 12
  * Explanations
13 13
  */
14
-$GLOBALS['TL_LANG']['XPL']['cookieconsent_categories'][] = array
14
+$GLOBALS['TL_LANG']['XPL']['cookieconsent_categories'][0] = array
15 15
 (
16 16
   "Example configuration for a category",
17
-  "ads: {
17
+  nl2br("ads: {
18 18
     needed: false,
19 19
     wanted: false,
20 20
     checked: false,
... ...
@@ -30,13 +30,13 @@ $GLOBALS['TL_LANG']['XPL']['cookieconsent_categories'][] = array
30 30
         }
31 31
       }
32 32
     }
33
-  }"
33
+  }")
34 34
 );
35 35
 
36
-$GLOBALS['TL_LANG']['XPL']['cookieconsent_services'][] = array
36
+$GLOBALS['TL_LANG']['XPL']['cookieconsent_services'][0] = array
37 37
 (
38 38
   "Example configuration for a service",
39
-  "analytics: {
39
+  nl2br("analytics: {
40 40
     category: 'necessary',
41 41
     type: 'dynamic-script',
42 42
     search: 'analytics',
... ...
@@ -50,5 +50,5 @@ $GLOBALS['TL_LANG']['XPL']['cookieconsent_services'][] = array
50 50
         }
51 51
       }
52 52
     }
53
-  }"
53
+  }")
54 54
 );