This repository was archived by the owner on Nov 3, 2023. It is now read-only.
File tree 4 files changed +15
-7
lines changed
4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,16 @@ source_file = system/modules/core/languages/en/tl_form_field.xlf
122
122
source_lang = en
123
123
file_filter = system/modules/core/languages/<lang>/tl_form_field.xlf
124
124
125
+ [contao.v3_4-core-tl_image_size]
126
+ source_file = system/modules/core/languages/en/tl_image_size.xlf
127
+ source_lang = en
128
+ file_filter = system/modules/core/languages/<lang>/tl_image_size.xlf
129
+
130
+ [contao.v3_4-core-tl_image_size_item]
131
+ source_file = system/modules/core/languages/en/tl_image_size_item.xlf
132
+ source_lang = en
133
+ file_filter = system/modules/core/languages/<lang>/tl_image_size_item.xlf
134
+
125
135
[contao.v3_4-core-tl_install]
126
136
source_file = system/modules/core/languages/en/tl_install.xlf
127
137
source_lang = en
Original file line number Diff line number Diff line change @@ -262,9 +262,8 @@ public function listImageSize($row)
262
262
263
263
/**
264
264
* Show a hint if a JavaScript library needs to be included in the page layout
265
- * @param object
266
265
*/
267
- public function showJsLibraryHint ($ dc )
266
+ public function showJsLibraryHint ()
268
267
{
269
268
if ($ _POST || Input::get ('act ' ) != 'edit ' )
270
269
{
@@ -278,7 +277,7 @@ public function showJsLibraryHint($dc)
278
277
}
279
278
280
279
System::loadLanguageFile ('tl_layout ' );
281
- Message::addInfo (sprintf ($ GLOBALS ['TL_LANG ' ]['tl_image_size ' ]['picturefill ' ], $ GLOBALS [ ' TL_LANG ' ][ ' tl_layout ' ][ ' addPicturefill ' ][ 0 ] ));
280
+ Message::addInfo (sprintf ($ GLOBALS ['TL_LANG ' ]['tl_image_size ' ]['picturefill ' ], ' picturefill.js ' , ' respimage.js ' ));
282
281
}
283
282
284
283
Original file line number Diff line number Diff line change @@ -277,9 +277,8 @@ public function listImageSizeItem($row)
277
277
278
278
/**
279
279
* Show a hint if a JavaScript library needs to be included in the page layout
280
- * @param object
281
280
*/
282
- public function showJsLibraryHint ($ dc )
281
+ public function showJsLibraryHint ()
283
282
{
284
283
if ($ _POST || Input::get ('act ' ) != 'edit ' )
285
284
{
@@ -293,7 +292,7 @@ public function showJsLibraryHint($dc)
293
292
}
294
293
295
294
System::loadLanguageFile ('tl_layout ' );
296
- Message::addInfo (sprintf ($ GLOBALS ['TL_LANG ' ]['tl_image_size ' ]['picturefill ' ], $ GLOBALS [ ' TL_LANG ' ][ ' tl_layout ' ][ ' addPicturefill ' ][ 0 ] ));
295
+ Message::addInfo (sprintf ($ GLOBALS ['TL_LANG ' ]['tl_image_size ' ]['picturefill ' ], ' picturefill.js ' , ' respimage.js ' ));
297
296
}
298
297
299
298
Original file line number Diff line number Diff line change 99
99
<source >Delete image size ID %s</source >
100
100
</trans-unit >
101
101
<trans-unit id =" tl_image_size.picturefill" >
102
- <source >The < em> %s< /em> option needs to be enabled in the page layout.</source >
102
+ <source >The < em> %s< /em> or < em > %s < /em > polyfill needs to be enabled in the page layout.</source >
103
103
</trans-unit >
104
104
</body >
105
105
</file >
You can’t perform that action at this time.
0 commit comments