Skip to content

Commit c563326

Browse files
author
Cari Spruiell
committed
Merge remote-tracking branch 'remotes/api/MAGETWO-44053-GITHUB-Bug-i18n-phrases-with-apostrophes-in-Knockout-templates-are-untranslatable-and-my-fix-1951' into API-Bug-Branch
2 parents 5ddd966 + 3fa8b51 commit c563326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Translation/Model/Js/DataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ protected function getPhrases($content)
129129
if ($result) {
130130
if (isset($matches[2])) {
131131
foreach ($matches[2] as $match) {
132-
$phrases[] = $match;
132+
$phrases[] = str_replace('\\\'', '\'', $match);
133133
}
134134
}
135135
}

0 commit comments

Comments
 (0)