1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,77 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-/** |
|
4 |
- * Slick slider for Contao |
|
5 |
- * |
|
6 |
- * Copyright (c) 2016 Benjamin Roth |
|
7 |
- * |
|
8 |
- * @license LGPL-3.0+ |
|
9 |
- */ |
|
10 |
- |
|
11 |
- |
|
12 |
-/** |
|
13 |
- * Fields |
|
14 |
- */ |
|
15 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_autoPlaySpeed'][0] = "Autoplay speed"; |
|
16 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_autoPlaySpeed'][1] = "Time in milliseconds between slides. 0 deactivates autoplay."; |
|
17 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_speed'][0] = "Slide speed"; |
|
18 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_speed'][1] = "Transition time in milliseconds."; |
|
19 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_initialSlide'][0] = "Initial slide"; |
|
20 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_initialSlide'][1] = "Slide to start on. Iteration starts with 0."; |
|
21 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToShow'][0] = "Slides to show"; |
|
22 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToShow'][1] = "Number of slides to show."; |
|
23 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToScroll'][0] = "Slides to scroll"; |
|
24 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToScroll'][1] = "Number of slides to scroll."; |
|
25 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_infinite'][0] = "Infinite"; |
|
26 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_infinite'][1] = "Infinte loop sliding. Will start over after reaching end or start."; |
|
27 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_arrows'][0] = "Show navigation"; |
|
28 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_arrows'][1] = "Shows navigation elements."; |
|
29 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_pagination'][0] = "Show pagination"; |
|
30 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_pagination'][1] = "Shows pagination elements."; |
|
31 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_stopOnInteraction'][0] = "Stop autoplay on interaction"; |
|
32 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_stopOnInteraction'][1] = "Autoplay will be stopped if user interacts with slider."; |
|
33 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_preload'][0] = "Preload images"; |
|
34 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_preload'][1] = "All images will be preloaded."; |
|
35 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][0] = "Fade"; |
|
36 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][1] = "Slides will fade over instead of sliding in."; |
|
37 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][0] = "Adaptive height"; |
|
38 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][1] = "The slider height adapts to the currently showing slides."; |
|
39 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints'][0] = "Breakpoints"; |
|
40 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints'][1] = "Breakpoint configuration for slider"; |
|
41 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints_width'][0] = "Breakpoint in pixel"; |
|
42 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints_width'][1] = "Min. width of the breakpoint"; |
|
43 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][0] = "Text"; |
|
44 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][1] = "Text to be placed on background image."; |
|
45 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgPosition'][0] = "Image position"; |
|
46 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgPosition'][1] = "Defines the position of the image."; |
|
47 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgSize'][0] = "Background image size"; |
|
48 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgSize'][1] = "Defines the image size in relation to it's container."; |
|
49 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_minHeight'][0] = "Force min-height"; |
|
50 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_minHeight'][1] = "The minimum height of the slide is based on the image aspect ratio."; |
|
51 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgOpacity'][0] = "Background image opacity"; |
|
52 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgOpacity'][1] = "The opacity of the background image."; |
|
53 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgRepeat'][0] = "Background image repetition."; |
|
54 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgRepeat'][1] = "Defines if the background image is meant to be repeated."; |
|
55 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_addText'][0] = "Add text"; |
|
56 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_addText'][1] = "Add a text to the image slide."; |
|
57 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_addImageLink'][0] = "Add image link"; |
|
58 |
-$GLOBALS['TL_LANG']['tl_content']['eSM_slider_addImageLink'][1] = "Adds an link to the image slide."; |
|
59 |
-/** |
|
60 |
- * Legends |
|
61 |
- */ |
|
62 |
-$GLOBALS['TL_LANG']['tl_content']['swiper_legend'] = "Slick Slider settings"; |
|
63 |
-$GLOBALS['TL_LANG']['tl_content']['breakpoint_legend'] = "Slick Slider breakpoint settings"; |
|
64 |
- |
|
65 |
-/** |
|
66 |
- * References |
|
67 |
- */ |
|
68 |
- |
|
69 |
-$GLOBALS['TL_LANG']['tl_content']['REF']['eSM_slider_arrows'] = [ |
|
70 |
- 'inside' => 'Inside', |
|
71 |
- 'outside' => 'Outside', |
|
72 |
-]; |
|
73 |
-/** |
|
74 |
- * Misc |
|
75 |
- */ |
|
76 |
- |
|
77 |
-$GLOBALS['TL_LANG']['tl_content']['includeTemplatesJQuery'] = "The <em>%s</em> template needs to be included in the page layout."; |
|
78 | 0 |
\ No newline at end of file |
... | ... |
@@ -63,6 +63,14 @@ $GLOBALS['TL_LANG']['tl_content']['swiper_legend'] = "Slick Slider settings"; |
63 | 63 |
$GLOBALS['TL_LANG']['tl_content']['breakpoint_legend'] = "Slick Slider breakpoint settings"; |
64 | 64 |
|
65 | 65 |
/** |
66 |
+ * References |
|
67 |
+ */ |
|
68 |
+ |
|
69 |
+$GLOBALS['TL_LANG']['tl_content']['REF']['eSM_slider_arrows'] = [ |
|
70 |
+ 'inside' => 'Inside', |
|
71 |
+ 'outside' => 'Outside', |
|
72 |
+]; |
|
73 |
+/** |
|
66 | 74 |
* Misc |
67 | 75 |
*/ |
68 | 76 |
|
... | ... |
@@ -36,6 +36,10 @@ $GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][0] = "Fade"; |
36 | 36 |
$GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][1] = "Slides will fade over instead of sliding in."; |
37 | 37 |
$GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][0] = "Adaptive height"; |
38 | 38 |
$GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][1] = "The slider height adapts to the currently showing slides."; |
39 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints'][0] = "Breakpoints"; |
|
40 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints'][1] = "Breakpoint configuration for slider"; |
|
41 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints_width'][0] = "Breakpoint in pixel"; |
|
42 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints_width'][1] = "Min. width of the breakpoint"; |
|
39 | 43 |
$GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][0] = "Text"; |
40 | 44 |
$GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][1] = "Text to be placed on background image."; |
41 | 45 |
$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgPosition'][0] = "Image position"; |
... | ... |
@@ -56,6 +60,7 @@ $GLOBALS['TL_LANG']['tl_content']['eSM_slider_addImageLink'][1] = "Adds an lin |
56 | 60 |
* Legends |
57 | 61 |
*/ |
58 | 62 |
$GLOBALS['TL_LANG']['tl_content']['swiper_legend'] = "Slick Slider settings"; |
63 |
+$GLOBALS['TL_LANG']['tl_content']['breakpoint_legend'] = "Slick Slider breakpoint settings"; |
|
59 | 64 |
|
60 | 65 |
/** |
61 | 66 |
* Misc |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,64 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+/** |
|
4 |
+ * Slick slider for Contao |
|
5 |
+ * |
|
6 |
+ * Copyright (c) 2016 Benjamin Roth |
|
7 |
+ * |
|
8 |
+ * @license LGPL-3.0+ |
|
9 |
+ */ |
|
10 |
+ |
|
11 |
+ |
|
12 |
+/** |
|
13 |
+ * Fields |
|
14 |
+ */ |
|
15 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_autoPlaySpeed'][0] = "Autoplay speed"; |
|
16 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_autoPlaySpeed'][1] = "Time in milliseconds between slides. 0 deactivates autoplay."; |
|
17 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_speed'][0] = "Slide speed"; |
|
18 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_speed'][1] = "Transition time in milliseconds."; |
|
19 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_initialSlide'][0] = "Initial slide"; |
|
20 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_initialSlide'][1] = "Slide to start on. Iteration starts with 0."; |
|
21 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToShow'][0] = "Slides to show"; |
|
22 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToShow'][1] = "Number of slides to show."; |
|
23 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToScroll'][0] = "Slides to scroll"; |
|
24 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToScroll'][1] = "Number of slides to scroll."; |
|
25 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_infinite'][0] = "Infinite"; |
|
26 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_infinite'][1] = "Infinte loop sliding. Will start over after reaching end or start."; |
|
27 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_arrows'][0] = "Show navigation"; |
|
28 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_arrows'][1] = "Shows navigation elements."; |
|
29 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_pagination'][0] = "Show pagination"; |
|
30 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_pagination'][1] = "Shows pagination elements."; |
|
31 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_stopOnInteraction'][0] = "Stop autoplay on interaction"; |
|
32 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_stopOnInteraction'][1] = "Autoplay will be stopped if user interacts with slider."; |
|
33 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_preload'][0] = "Preload images"; |
|
34 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_preload'][1] = "All images will be preloaded."; |
|
35 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][0] = "Fade"; |
|
36 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][1] = "Slides will fade over instead of sliding in."; |
|
37 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][0] = "Adaptive height"; |
|
38 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][1] = "The slider height adapts to the currently showing slides."; |
|
39 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][0] = "Text"; |
|
40 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][1] = "Text to be placed on background image."; |
|
41 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgPosition'][0] = "Image position"; |
|
42 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgPosition'][1] = "Defines the position of the image."; |
|
43 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgSize'][0] = "Background image size"; |
|
44 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgSize'][1] = "Defines the image size in relation to it's container."; |
|
45 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_minHeight'][0] = "Force min-height"; |
|
46 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_minHeight'][1] = "The minimum height of the slide is based on the image aspect ratio."; |
|
47 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgOpacity'][0] = "Background image opacity"; |
|
48 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgOpacity'][1] = "The opacity of the background image."; |
|
49 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgRepeat'][0] = "Background image repetition."; |
|
50 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgRepeat'][1] = "Defines if the background image is meant to be repeated."; |
|
51 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_addText'][0] = "Add text"; |
|
52 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_addText'][1] = "Add a text to the image slide."; |
|
53 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_addImageLink'][0] = "Add image link"; |
|
54 |
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_addImageLink'][1] = "Adds an link to the image slide."; |
|
55 |
+/** |
|
56 |
+ * Legends |
|
57 |
+ */ |
|
58 |
+$GLOBALS['TL_LANG']['tl_content']['swiper_legend'] = "Slick Slider settings"; |
|
59 |
+ |
|
60 |
+/** |
|
61 |
+ * Misc |
|
62 |
+ */ |
|
63 |
+ |
|
64 |
+$GLOBALS['TL_LANG']['tl_content']['includeTemplatesJQuery'] = "The <em>%s</em> template needs to be included in the page layout."; |
|
0 | 65 |
\ No newline at end of file |