File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
app/code/Magento/Email/Model/Template
dev/tests/integration/testsuite/Magento/Email/Model/Template Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -321,6 +321,8 @@ public function setDesignParams(array $designParams)
321
321
}
322
322
323
323
/**
324
+ * Get Css processor
325
+ *
324
326
* @deprecated 100.1.2
325
327
* @return Css\Processor
326
328
*/
@@ -333,6 +335,8 @@ private function getCssProcessor()
333
335
}
334
336
335
337
/**
338
+ * Get pub directory
339
+ *
336
340
* @deprecated 100.1.2
337
341
* @param string $dirType
338
342
* @return ReadInterface
@@ -523,6 +527,7 @@ public function mediaDirective($construction)
523
527
524
528
/**
525
529
* Retrieve store URL directive
530
+ *
526
531
* Support url and direct_url properties
527
532
*
528
533
* @param string[] $construction
@@ -849,7 +854,7 @@ public function cssDirective($construction)
849
854
return $ css ;
850
855
} else {
851
856
// Return CSS comment for debugging purposes
852
- return '/* ' . sprintf ( __ ('Contents of %s could not be loaded or is empty ' ), $ file ) . ' */ ' ;
857
+ return '/* ' . __ ('Contents of the specified CSS file could not be loaded or is empty ' ) . ' */ ' ;
853
858
}
854
859
}
855
860
@@ -958,6 +963,8 @@ public function getCssFilesContent(array $files)
958
963
}
959
964
960
965
/**
966
+ * Apply inline css
967
+ *
961
968
* Merge HTML and CSS and return HTML that has CSS styles applied "inline" to the HTML tags. This is necessary
962
969
* in order to support all email clients.
963
970
*
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public function cssDirectiveDataProvider()
267
267
'Empty or missing file ' => [
268
268
TemplateTypesInterface::TYPE_HTML ,
269
269
'file="css/non-existent-file.css" ' ,
270
- '/* Contents of css/non-existent- file.css could not be loaded or is empty */ '
270
+ '/* Contents of the specified CSS file could not be loaded or is empty */ '
271
271
],
272
272
'File with compilation error results in error message ' => [
273
273
TemplateTypesInterface::TYPE_HTML ,
You can’t perform that action at this time.
0 commit comments