Skip to content

Commit 98ae5c5

Browse files
author
Joan He
committed
Merge remote-tracking branch 'arcticfoxes/MAGETWO-98914' into 2.1.18-develop-pr
2 parents 355b916 + e18b086 commit 98ae5c5

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/Email/Model/Template
  • dev/tests/integration/testsuite/Magento/Email/Model/Template

2 files changed

+2
-2
lines changed

app/code/Magento/Email/Model/Template/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ public function cssDirective($construction)
837837
return $css;
838838
} else {
839839
// Return CSS comment for debugging purposes
840-
return '/* ' . sprintf(__('Contents of %s could not be loaded or is empty'), $file) . ' */';
840+
return '/* ' . __('Contents of the specified CSS file could not be loaded or is empty') . ' */';
841841
}
842842
}
843843

dev/tests/integration/testsuite/Magento/Email/Model/Template/FilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public function cssDirectiveDataProvider()
266266
'Empty or missing file' => [
267267
TemplateTypesInterface::TYPE_HTML,
268268
'file="css/non-existent-file.css"',
269-
'/* Contents of css/non-existent-file.css could not be loaded or is empty */'
269+
'/* Contents of the specified CSS file could not be loaded or is empty */'
270270
],
271271
'File with compilation error results in error message' => [
272272
TemplateTypesInterface::TYPE_HTML,

0 commit comments

Comments
 (0)