Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,77 @@
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.";
0 78
\ No newline at end of file