We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a150d24 commit c79b583Copy full SHA for c79b583
app/code/Magento/Translation/Model/Js/DataProvider.php
@@ -134,7 +134,8 @@ protected function getPhrases($content)
134
{
135
$phrases = [];
136
foreach ($this->config->getPatterns() as $pattern) {
137
- $result = preg_match_all($pattern, $content, $matches);
+ $concatenatedContent = preg_replace('~(["\'])\s*?\+\s*?\1~', '', $content);
138
+ $result = preg_match_all($pattern, $concatenatedContent, $matches);
139
140
if ($result) {
141
if (isset($matches[2])) {
0 commit comments