Browse code

Add translations for breakpoint options

Benjamin Roth authored on13/10/2020 19:45:41
Showing3 changed files
... ...
@@ -164,13 +164,13 @@ $GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slider_breakpoints'] = array
164 164
         'eval'      => array('rgxp'=>'natural','minval'=>1,'style' => 'width: 95%;'),
165 165
       ],
166 166
       'breakpoint_slidesToShow'      => [
167
-        'label'     => &$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints_slidesToShow'],
167
+        'label'     => &$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToShow'],
168 168
         'exclude'   => true,
169 169
         'inputType' => 'text',
170 170
         'eval'      => array('rgxp'=>'natural','minval'=>1,'style' => 'width: 95%;'),
171 171
       ],
172 172
       'breakpoint_slidesToScroll'      => [
173
-        'label'     => &$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints_slidesToScroll'],
173
+        'label'     => &$GLOBALS['TL_LANG']['tl_content']['eSM_slider_slidesToScroll'],
174 174
         'exclude'   => true,
175 175
         'inputType' => 'text',
176 176
         'eval'      => array('rgxp'=>'natural','minval'=>1,'style' => 'width: 95%;'),
... ...
@@ -36,6 +36,10 @@ $GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][0]           = "Überblende
36 36
 $GLOBALS['TL_LANG']['tl_content']['eSM_slider_fade'][1]           = "Die Slides werden beim Wechsel überblendet anstatt geslidet.";
37 37
 $GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][0] = "Adaptive Höhe";
38 38
 $GLOBALS['TL_LANG']['tl_content']['eSM_slider_adaptiveHeight'][1] = "Die Höhe des Sliders passt sich automatisch den sichtbaren Slides an.";
39
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints'][0] = "Breakpoints";
40
+$GLOBALS['TL_LANG']['tl_content']['eSM_slider_breakpoints'][1] = "Breakpoint-Konfiguration für den 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] = "Minimalbreite des Breakpoints";
39 43
 $GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][0]           = "Text";
40 44
 $GLOBALS['TL_LANG']['tl_content']['eSM_slider_text'][1]           = "Ein Text der auf dem Hintergrundbild platziert wird.";
41 45
 $GLOBALS['TL_LANG']['tl_content']['eSM_slider_bgPosition'][0]     = "Bildposition";
... ...
@@ -56,6 +60,7 @@ $GLOBALS['TL_LANG']['tl_content']['eSM_slider_addImageLink'][1]   = "Es wird ein
56 60
  * Legends
57 61
  */
58 62
 $GLOBALS['TL_LANG']['tl_content']['swiper_legend'] = "Slick Slider Einstellungen";
63
+$GLOBALS['TL_LANG']['tl_content']['breakpoint_legend'] = "Slick Slider Breakpoint-Einstellungen";
59 64
 
60 65
 /**
61 66
  * Misc
... ...
@@ -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